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

Disassembly:
push 0xb4
mov eax, 0x5ada23
call fcn.00431b4a
xor ebx, ebx
mov dword [ebp - 0x14], 7
push ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0x5b0700
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
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.00435883
test al, al
je 0x437a3d
pop ebp
push ebx
pop eax
push edx
pop ebp
pop ecx
push esi
push edi
pop esi
push esp
push esp
push eax
pop esi
pop eax
push eax
push ebx
push ecx
pop ebp
pop ecx
pop ebp
push edx
push ecx
pop edi
push esp
push ecx
push edx
pop ebp
push esp
call fcn.004359dc
test al, al
je 0x437a62
push ebx
push esi
pop edi
pop edi
pop edx
push esi
push esp
pop edi
push esi
pop eax
pop ecx
push eax
push esp
pop ebx
pop edx
push esp
push eax
pop esi
pop esp
push ecx
pop eax
push edx
push ecx
push edi
pop esp
push eax
push esi
pop eax
call fcn.004356e5
test al, al
je 0x437a8b
push eax
pop ecx
push ebp
push edx
push edx
push edi
pop ebx
push edx
push ebx
push edi
pop ecx
push edi
push eax
pop ebx
push ebp
push edx
pop edx
push esi
pop edi
pop edi
pop edx
push edi
push ebp
pop esi
pop esp
push ecx
pop esi
pop esi
pop ebp
pop eax
pop edi
pop eax
call fcn.0043583e
test al, al
je 0x437aaf
push ebp
pop esp
push edx
push esp
push ebp
pop ebp
pop ebx
push esi
push edx
pop edi
pop ecx
push ebx
push ebx
push edx
push ebp
pop ebp
pop esi
pop eax
push ebp
pop ebp
pop ecx
pop ecx
push edx
push edx
pop eax
push eax
pop esp
call fcn.00435af0
test al, al
je 0x437ad2
push eax
pop ebx
push edi
pop edi
push ebp
push ecx
pop eax
pop edx
push esi
pop edi
push esp
pop ecx
push esi
push eax
pop edx
pop ebx
pop eax
push esi
pop esi
pop esp
push ebx
push esi
push edx
push esp
pop edx
pop 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 0x437cd0
call fcn.00435a66
test al, al
je 0x437b12
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 0x437b2b
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 0x437b54
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 0x437b7a
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
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push 0x80
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xbc], esi
cmp esi, 0xffffffff
jne 0x437c0c
call fcn.0043576f
test al, al
je 0x437bd2
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 0x437bee
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 0x437c56
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
jmp 0x437c56
call fcn.00435a21
test al, al
je 0x437c38
pop eax
push esp
pop ebx
push ebx
pop eax
pop ebp
pop edi
pop ebx
push ebp
pop eax
push ecx
push edi
push eax
push edi
pop esi
pop ebx
pop esi
push ecx
pop esi
pop ecx
pop ecx
pop ebx
pop eax
push ebp
pop eax
push ecx
pop esp
pop ebx
push edx
mov esi, dword [ebp - 0xbc]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.0043160f
mov ebx, eax
mov dword [ebp - 0xb8], ebx
pop ecx
test ebx, ebx
jne 0x437c5f
and dword [ebp - 0xb8], 0
jmp 0x437cd0
push edi
push 0
push ebx
call fcn.0044e770
add esp, 0xc
lea eax, [ebp - 0xc0]
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
call fcn.00435952
test al, al
je 0x437c9c
pop esp
push edi
push ebp
pop ebx
pop ebp
pop edx
push edx
push ebp
pop edx
push ebp
push ebx
push ebx
push ebp
push esi
push edi
push edi
push ebx
pop esp
pop ebx
pop eax
push esi
pop esi
call fcn.0043590d
test al, al
je 0x437cc4
pop esp
push ebp
pop edx
push ecx
push ebp
pop ebx
pop edx
push ebx
push ecx
push esi
push ebx
push ebx
pop esp
push esp
pop edx
push esp
push edi
pop esi
pop esi
push edx
pop edi
pop ecx
push ebp
push esp
pop esi
pop ebp
pop esi
push ebp
pop eax
pop ecx
push esp
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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