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

Disassembly:
push 0x3cc
mov eax, 0x4eecac
call fcn.00495bb6
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.0046480b
call fcn.0043391c
push eax
lea ecx, [ebp - 0x94]
call fcn.0042f1ba
and dword [ebp - 4], 0
call fcn.00433928
mov ecx, eax
call fcn.0042fcb7
test al, al
je 0x4644ff
push ebx
lea ecx, [ebp - 0x94]
call fcn.0042f666
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push Ordinal_1
call fcn.0042f4fb
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x46445b
push str.Error_opening_file
jmp 0x46458e
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x464473
push ebx
push str.File_is_empty
jmp 0x46458e
cmp edi, 0x400000
jbe 0x464486
push ebx
push str.File_too_large
jmp 0x46458e
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004954b1
pop ecx
mov ebx, eax
lea eax, [ebp - 0x3d4]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x3d0]
mov dword [ebp - 0x3d8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x3d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3d4], edi
je 0x4644e0
push ebx
call fcn.00495de5
pop ecx
mov ecx, esi
call fcn.0046480b
push 0
push str.Could_not_read_file
jmp 0x46458e
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004646c0
push dword [ebp - 0x3d8]
mov bl, al
call fcn.00495de5
pop ecx
jmp 0x4646ab
call fcn.00433928
push eax
lea ecx, [ebp - 0x94]
call fcn.0042f5e3
call fcn.00433c95
test al, al
je 0x464522
call fcn.0043392e
mov edi, eax
jmp 0x464584
call fcn.00433934
push eax
lea ecx, [ebp - 0x19c]
call fcn.0042f1ba
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0042fad9
push eax
call fcn.00465054
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.0042fad9
push eax
call fcn.0045add6
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x46456f
push ebx
call fcn.00495de5
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.0042f32e
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x46459c
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.00464846
mov bl, al
jmp 0x4646ab
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.0042f1df
push 0x4fd6dc
push 0x4fd6e0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.0042ff02
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.0042f4fb
push eax
push edi
call fcn.0045a581
add esp, 0x14
test eax, eax
je 0x4645fc
push 0
push str.Could_not_find_ziped_file
jmp 0x46466a
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x46460e
push ebx
push str.File_is_empty
jmp 0x46466a
cmp ebx, 0x400000
jbe 0x46461f
push 0
push str.File_too_large
jmp 0x46466a
push ebx
call fcn.004954b1
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.0045b2a1
add esp, 0x14
test eax, eax
je 0x464675
cmp eax, 0x600
je 0x464675
push dword [ebp - 0x3d0]
call fcn.00495de5
pop ecx
call fcn.00433c95
test al, al
jne 0x464663
push edi
call fcn.0045a364
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00464846
mov bl, al
jmp 0x4646a0
call fcn.00433c95
test al, al
jne 0x464685
push edi
call fcn.0045a364
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.004646c0
push edi
mov bl, al
call fcn.00495de5
pop ecx
lea ecx, [ebp - 0x118]
call fcn.0042f32e
lea ecx, [ebp - 0x94]
call fcn.0042f32e
mov al, bl
call fcn.00495b60
ret 8