Function at 0x437cf4
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0xb8
mov eax, 0x5ada5b
call fcn.00431b4a
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xbc], eax
and dword [ebp - 4], 0
call fcn.00435a66
test al, al
je 0x437d36
push ecx
push esi
pop esp
push ebx
pop edi
push ecx
push ebp
push esi
pop edx
pop esp
push eax
pop eax
pop ecx
pop ebp
push ebp
push esp
push ecx
push ecx
push edi
pop esi
push ebp
push esi
push esp
pop ebp
pop esp
pop ecx
pop eax
pop eax
pop ebx
call fcn.0043572a
test al, al
je 0x437d4f
push ebx
push edi
pop esp
pop ebx
push ebp
pop ecx
push esp
push ebx
push ecx
pop eax
pop ebx
pop eax
pop eax
push eax
pop edx
push esp
call fcn.00435c04
test al, al
je 0x437d78
pop edx
push edx
pop ebx
pop edx
push esp
push ebx
push ebp
push esp
pop edx
pop esp
push ecx
push edi
push edi
pop esi
push ebx
push ecx
pop ebx
push ebp
pop edi
push edx
pop edx
pop ebp
push eax
push esi
push ebx
push ecx
push esp
pop esi
push edi
pop ebx
pop edi
pop ebp
call fcn.0043565b
test al, al
je 0x437d9e
push ebp
push eax
push edx
push esp
pop ebp
pop ecx
push ebp
pop edi
pop esp
pop ebx
pop esi
push esp
push ecx
pop edx
pop edi
push esp
push edx
pop ebp
push eax
push edi
push edx
push esi
push edi
push ecx
pop ebp
pop esi
pop esi
pop edi
push esi
xor ebx, ebx
mov dword [ebp - 0x14], 7
push ebx
xor eax, eax
mov dword [ebp - 0x18], ebx
push 0x5b0700
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
call fcn.00408220
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call fcn.00446165
mov dword [ebp - 0xb8], ebx
call fcn.0043576f
test al, al
je 0x437dfa
pop edx
push edx
pop edx
pop esi
push esi
pop edx
pop esp
pop edi
push esp
pop esi
push ecx
push ebp
pop esp
pop esp
push ebp
pop edx
pop edx
pop esi
pop ecx
pop esp
push esi
push ebx
pop eax
pop ebx
pop ecx
push edi
push ebx
pop ebx
pop ebp
pop edi
call fcn.00435616
test al, al
je 0x437e16
push esp
push ecx
push ecx
pop edx
push ebx
pop esp
push edi
push esi
pop ecx
push eax
pop ecx
pop edi
pop ecx
push ebp
pop eax
push ebx
push edi
push ebx
push edx
call fcn.004357b4
test al, al
je 0x437e32
push edx
push esi
push edi
pop edi
pop esp
push ebx
push ecx
pop esi
pop edx
pop eax
pop eax
pop ebx
push ebx
pop ecx
pop ebx
pop ecx
pop ebp
push esi
push esi
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437f82
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push 0x80
push 4
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xc0], esi
cmp esi, 0xffffffff
je 0x437f7b
call fcn.004357f9
test al, al
je 0x437ea6
pop eax
pop eax
pop ebp
push ecx
pop ecx
push eax
pop edx
push ecx
pop ebx
pop ecx
pop esp
push edi
pop edi
push ebp
push esp
push ebp
push ebx
pop esp
push esp
push edi
push edi
push edi
pop edx
pop ecx
pop ebp
push eax
push ebx
pop ebx
call fcn.0043583e
test al, al
je 0x437ed4
pop eax
push esi
pop esi
push ebp
push ebx
pop edx
pop edi
pop edi
push ecx
pop edx
pop ebx
push esi
pop edx
push ebp
pop esi
pop esi
push ebx
pop esp
push eax
push ebp
pop ebx
pop edi
push edi
push edi
push esi
push esp
push esi
pop edi
push ecx
pop esp
pop ebx
mov esi, dword [ebp - 0xc0]
call fcn.00435c04
test al, al
je 0x437ef4
push eax
pop ecx
pop eax
push eax
pop edx
pop ebx
pop ecx
pop ebp
push esi
pop ebp
push eax
push ebp
pop edi
push esi
push edi
push esp
push esi
push esp
push eax
push eax
pop esp
pop eax
pop eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp - 0xbc]
push eax
mov dword [ebx], eax
call fcn.0043160f
mov esi, eax
mov dword [ebp - 0xb8], esi
pop ecx
test esi, esi
jne 0x437fa6
call fcn.0043576f
test al, al
je 0x437f43
pop edx
push edx
pop edx
pop esi
push esi
pop edx
pop esp
pop edi
push esp
pop esi
push ecx
push ebp
pop esp
pop esp
push ebp
pop edx
pop edx
pop esi
pop ecx
pop esp
push esi
push ebx
pop eax
pop ebx
pop ecx
push edi
push ebx
pop ebx
pop ebp
pop edi
call fcn.00435616
test al, al
je 0x437f5f
push esp
push ecx
push ecx
pop edx
push ebx
pop esp
push edi
push esi
pop ecx
push eax
pop ecx
pop edi
pop ecx
push ebp
pop eax
push ebx
push edi
push ebx
push edx
call fcn.004357b4
test al, al
je 0x437f7b
push edx
push esi
push edi
pop edi
pop esp
push ebx
push ecx
pop esi
pop edx
pop eax
pop eax
pop ebx
push ebx
pop ecx
pop ebx
pop ecx
pop ebp
push esi
push esi
and dword [ebp - 0xb8], 0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0042c46b
push 0
push 1
lea ecx, [ebp + 8]
call fcn.0042c46b
mov eax, dword [ebp - 0xb8]
call fcn.00431af4
ret
push dword [ebx]
push 0
push esi
call fcn.0044e770
add esp, 0xc
call fcn.004357f9
test al, al
je 0x437fd8
pop eax
pop eax
pop ebp
push ecx
pop ecx
push eax
pop edx
push ecx
pop ebx
pop ecx
pop esp
push edi
pop edi
push ebp
push esp
push ebp
push ebx
pop esp
push esp
push edi
push edi
push edi
pop edx
pop ecx
pop ebp
push eax
push ebx
pop ebx
call fcn.0043583e
test al, al
je 0x438006
pop eax
push esi
pop esi
push ebp
push ebx
pop edx
pop edi
pop edi
push ecx
pop edx
pop ebx
push esi
pop edx
push ebp
pop esi
pop esi
push ebx
pop esp
push eax
push ebp
pop ebx
pop edi
push edi
push edi
push esi
push esp
push esi
pop edi
push ecx
pop esp
pop ebx
mov esi, dword [ebp - 0xb8]
call fcn.00435c04
test al, al
je 0x438026
push eax
pop ecx
pop eax
push eax
pop edx
pop ebx
pop ecx
pop ebp
push esi
pop ebp
push eax
push ebp
pop edi
push esi
push edi
push esp
push esi
push esp
push eax
push eax
pop esp
pop eax
pop eax
mov edi, dword [ebp - 0xc0]
lea eax, [ebp - 0xc4]
push 0
push eax
mov eax, dword [ebp - 0xbc]
push dword [eax]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
call fcn.0043558c
test al, al
je 0x43806e
push ecx
push edi
push ebp
push ebx
pop ebx
pop ebp
pop ecx
push edi
push ecx
pop esi
push esp
pop edx
push edi
push ebp
pop ebp
push ebx
pop ebp
pop esi
push ebp
pop ebx
push ecx
push esp
pop ecx
push ebx
push ebx
pop esi
pop esi
pop edx
pop ebx
push ebx
pop ebp
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x437f82