Function at 0x431151
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
sub esp, 0x568
lea ebp, [esp - 4]
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp + 0x568], eax
push 0x14
mov eax, 0x4a974f
call fcn.0047276e
mov ebx, dword [ebp + 0x574]
mov edi, ecx
call fcn.004305b8
push 0xffffffffffffffff
call fcn.0042c278
push eax
lea ecx, [ebp + 0x4e4]
call fcn.0042b949
xor esi, esi
push 0xffffffffffffffff
mov dword [ebp - 4], esi
call fcn.0042c282
push eax
lea ecx, [ebp + 0x460]
call fcn.0042b949
mov byte [ebp - 4], 1
call fcn.0042c28c
test eax, eax
je 0x4312d2
push 3
call fcn.0042c292
push eax
call fcn.0042c28c
push eax
call fcn.00425746
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push 1
push ebx
push eax
mov dword [ebp - 0x14], eax
call fcn.004258ed
add esp, 0x20
test eax, eax
je 0x431240
push esi
push str.Could_not_find_ziped_file
mov ecx, edi
call fcn.004307e9
mov bl, al
lea ecx, [ebp + 0x460]
mov byte [ebp - 4], 0
call fcn.0042ad19
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x4e4]
call fcn.0042ad19
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x568]
xor ecx, ebp
call fcn.00472031
add ebp, 0x56c
leave
ret 8
mov eax, dword [ebp + 0x22c]
mov dword [ebp - 0x18], eax
cmp eax, esi
jne 0x431255
push esi
push str.File_is_empty
jmp 0x4311f2
cmp eax, 0x400000
jbe 0x431264
push esi
push 0x4b2c90
jmp 0x4311f2
push eax
call fcn.00471f88
push 3
push dword [ebp - 0x18]
mov ebx, eax
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.004259d4
add esp, 0x18
cmp eax, esi
je 0x4312a6
cmp eax, 0x600
je 0x4312a6
push ebx
call fcn.004737a7
push dword [ebp - 0x14]
call fcn.00424de1
pop ecx
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x4311f2
push dword [ebp - 0x14]
call fcn.00424de1
pop ecx
push dword [ebp + 0x578]
push dword [ebp - 0x18]
push ebx
mov ecx, edi
call fcn.00430fe5
push ebx
mov byte [ebp - 0xd], al
call fcn.004737a7
mov bl, byte [ebp - 0xd]
pop ecx
jmp 0x4311fb
lea ecx, [ebp + 0x460]
call fcn.0042ae4c
test al, al
je 0x4313aa
push ebx
lea ecx, [ebp + 0x4e4]
call fcn.0042aefb
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
lea ecx, [ebp + 0x4e4]
call fcn.0042ad33
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
push esi
cmp eax, 0xffffffff
jne 0x431326
push str.Error_opening_file
jmp 0x4311f2
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, esi
je 0x43124d
cmp ebx, 0x400000
ja 0x43125c
push ebx
mov dword [ebp - 0x1c], esi
call fcn.00471f88
pop ecx
push esi
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], ebx
je 0x431389
push dword [ebp - 0x14]
call fcn.004737a7
pop ecx
mov ecx, edi
call fcn.004305b8
push esi
push str.Could_not_read_file
jmp 0x4311f2
push dword [ebp + 0x578]
mov ecx, edi
push ebx
push dword [ebp - 0x14]
call fcn.00430fe5
push dword [ebp - 0x14]
mov bl, al
call fcn.004737a7
pop ecx
jmp 0x4311fb
call fcn.0042c282
push eax
lea ecx, [ebp + 0x4e4]
call fcn.0042aefb
push 2
push esi
lea ecx, [ebp + 0x4e4]
call fcn.0042ae77
push eax
call fcn.00425746
lea ecx, [ebp + 0x230]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 1
push ebx
push eax
mov dword [ebp - 0x14], eax
call fcn.004258ed
add esp, 0x20
test eax, eax
jne 0x4311ec
mov eax, dword [ebp + 0x45c]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x43124d
cmp eax, 0x400000
ja 0x43125c
push eax
call fcn.00471f88
push 3
push dword [ebp - 0x1c]
mov ebx, eax
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.004259d4
add esp, 0x18
cmp eax, esi
je 0x431438
cmp eax, 0x600
jne 0x43128b
push dword [ebp - 0x14]
call fcn.00424de1
pop ecx
push dword [ebp + 0x578]
push dword [ebp - 0x1c]
jmp 0x4312b8