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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b350
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x4b0070]
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 esi, ecx
mov ebx, dword [ebp + 8]
call fcn.00436700
call fcn.0041d380
push eax
lea ecx, [ebp - 0x98]
call fcn.004227c0
mov dword [ebp - 4], 0
call fcn.0041d390
mov ecx, eax
call fcn.00422970
test al, al
je 0x436588
push ebx
lea ecx, [ebp - 0x98]
call fcn.00422a40
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x98]
call fcn.0041d5b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d4], eax
cmp eax, 0xffffffff
jne 0x4364c5
mov eax, 0x49d0fc
mov ecx, esi
push 0
push eax
call fcn.004370f0
mov bl, al
jmp 0x4366ca
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4364e9
mov eax, str.File_is_empty
mov ecx, esi
push edi
push eax
call fcn.004370f0
mov bl, al
jmp 0x4366ca
cmp edi, 0x400000
jbe 0x436507
mov eax, str.File_too_large
mov ecx, esi
push 0
push eax
call fcn.004370f0
mov bl, al
jmp 0x4366ca
push edi
mov dword [ebp - 0x2cc], 0
call fcn.00467dc4
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x2cc]
mov dword [ebp - 0x2d0], ebx
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], edi
je 0x436573
push ebx
call fcn.00467dcd
add esp, 4
mov ecx, esi
call fcn.00436700
mov eax, str.Could_not_read_file
mov ecx, esi
push 0
push eax
call fcn.004370f0
mov bl, al
jmp 0x4366ca
push ecx
push edi
push ebx
mov ecx, esi
call fcn.00436370
push dword [ebp - 0x2d0]
jmp 0x4366c0
push ecx
lea ecx, [ebp - 0x98]
call fcn.00422a20
call fcn.0041d3a0
test al, al
je 0x4365a4
call fcn.0041d3b0
jmp 0x4365bd
push 2
lea ecx, [ebp - 0x98]
call fcn.0041d5b0
xor edx, edx
mov ecx, eax
call fcn.00433950
add esp, 4
mov edi, eax
test edi, edi
jne 0x4365d7
push eax
push str.Error_opening_zip_file
mov ecx, esi
call fcn.004370f0
mov bl, al
jmp 0x4366ca
lea eax, [ebp - 0x2c8]
mov edx, ebx
push eax
lea eax, [ebp - 0x2d0]
push eax
push ecx
mov ecx, edi
call fcn.004339d0
add esp, 0xc
test eax, eax
je 0x43660b
push 0
push str.Could_not_find_ziped_file
mov ecx, esi
call fcn.004370f0
mov bl, al
jmp 0x4366ca
mov ebx, dword [ebp - 0x9c]
test ebx, ebx
jne 0x436629
push ebx
push str.File_is_empty
mov ecx, esi
call fcn.004370f0
mov bl, al
jmp 0x4366ca
cmp ebx, 0x400000
jbe 0x436646
push 0
push str.File_too_large
mov ecx, esi
call fcn.004370f0
mov bl, al
jmp 0x4366ca
push ebx
call fcn.00467dc4
mov edx, dword [ebp - 0x2d0]
mov ecx, edi
push ebx
push eax
mov dword [ebp - 0x2cc], eax
call fcn.00433ad0
add esp, 0xc
test eax, eax
je 0x43669f
cmp eax, 0x600
je 0x43669f
push dword [ebp - 0x2cc]
call fcn.00467dcd
add esp, 4
call fcn.0041d3a0
test al, al
jne 0x43668d
mov ecx, edi
call fcn.00433b20
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004370f0
mov bl, al
jmp 0x4366ca
call fcn.0041d3a0
test al, al
jne 0x4366af
mov ecx, edi
call fcn.00433b20
mov edi, dword [ebp - 0x2cc]
push ecx
push ebx
push edi
mov ecx, esi
call fcn.00436370
push edi
mov bl, al
call fcn.00467dcd
add esp, 4
lea ecx, [ebp - 0x98]
call fcn.00409b60
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 - 0x10]
xor ecx, ebp
call fcn.0046780a
mov esp, ebp
pop ebp
ret 8