Function at 0x437c90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474d95
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x491130]
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 eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x29c], ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.0040a9e0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 4], 0
test ebx, ebx
je 0x437d39
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
cmovae eax, edx
cmp word [eax + ebx*2 - 2], 0x5c
je 0x437d32
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + ebx*2 - 2], 0x2f
je 0x437d32
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + ebx*2 - 2], 0x3a
jne 0x437d39
mov edx, 0x486b34
jmp 0x437d3e
mov edx, 0x478c84
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437d43
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040ad30
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x298]
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x437dd0
mov dword [ecx], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x437d98
cmp eax, 0x12
jne 0x437d9a
xor eax, eax
test eax, eax
mov dword [esi], eax
mov dword [esi + 8], 0x486420
setne al
mov byte [esi + 4], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 1
cmp eax, 8
jb 0x437f21
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004012b0
jmp 0x437f21
lea edx, [ebp - 0x264]
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x437de0
sub edx, ecx
lea eax, [ebp - 0x264]
mov ecx, dword [ebp - 0x29c]
sar edx, 1
push edx
push eax
call fcn.00405eb0
mov eax, dword [ebp - 0x290]
mov ebx, dword [ebp - 0x294]
test eax, 0x400
je 0x437e26
mov dword [edi], 0
mov dword [ebx], 0
jmp 0x437ecc
and eax, 0x10
lea ecx, [ebp - 0x264]
or eax, 0x20
lea edx, [ecx + 2]
shr eax, 4
mov dword [edi], eax
mov dword [ebx], eax
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437e50
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00405eb0
push dword [ebp - 0x290]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.00434790
mov edx, dword [ebp - 0x2c]
add esp, 8
mov dword [edi + 4], eax
cmp edx, 8
jb 0x437ec6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x437ebc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437f3f
push edx
push ecx
call fcn.0044b9a2
add esp, 8
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov edx, dword [ebp - 0x14]
mov dword [esi], 0
mov byte [esi + 4], 0
mov dword [esi + 8], 0x486420
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x437f21
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 4
cmp edx, 0x1000
jb 0x437f17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437f44
push edx
push ecx
call fcn.0044b9a2
add esp, 8
mov eax, esi
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.0044b98f
mov esp, ebp
pop ebp
ret
call fcn.00451171
call fcn.00451171
int3