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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479181
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x49a324]
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 eax, dword [esi]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3dc], edi
test eax, eax
je 0x430a18
push eax
call fcn.00463e3a
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x430a28
push eax
call fcn.00463e3a
add esp, 4
push 0x84
lea eax, [ebp - 0x9c]
mov dword [esi], 0
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00461a60
add esp, 0xc
call fcn.00406040
push eax
lea ecx, [ebp - 0x9c]
call fcn.0040b9c0
mov dword [ebp - 4], 0
call fcn.00406050
mov ecx, eax
call fcn.0040c9f0
test al, al
je 0x430b5c
push edi
lea ecx, [ebp - 0x9c]
call fcn.0040bfe0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x9c]
call fcn.0040bf30
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x430ac1
push 0x63
push str.Error_opening_file
jmp 0x430c5a
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x430adc
push 0x63
push str.File_is_empty
jmp 0x430c5a
cmp edi, 0x400000
jbe 0x430af0
push 0x63
push str.File_too_large
jmp 0x430c5a
push edi
mov dword [ebp - 0x14], 0
call fcn.0045ee00
add esp, 4
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x14]
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x430b3d
mov edi, dword [ebp - 0x18]
push edi
call fcn.0045edbd
add esp, 4
mov ecx, esi
call fcn.004305c0
push 0x63
push str.Could_not_read_file
jmp 0x430c5a
push dword [ebp + 0xc]
mov ecx, esi
push edi
mov edi, dword [ebp - 0x18]
push edi
call fcn.00430df0
push edi
mov bl, al
call fcn.0045edbd
add esp, 4
jmp 0x430db8
call fcn.00406050
push eax
lea ecx, [ebp - 0x9c]
call fcn.0040bfc0
call fcn.004063e0
test al, al
je 0x430b82
call fcn.00406060
mov ebx, eax
jmp 0x430c4f
push 0x84
lea eax, [ebp - 0x1a4]
push 0
push eax
call fcn.00461a60
add esp, 0xc
call fcn.00406070
push eax
lea ecx, [ebp - 0x1a4]
call fcn.0040b9c0
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 1
call fcn.0040bf30
mov ebx, eax
test ebx, ebx
je 0x430c14
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x3d8], eax
inc eax
push eax
mov dword [ebp - 0x14], eax
call fcn.0045ee00
mov edi, eax
add esp, 4
test edi, edi
je 0x430c14
push dword [ebp - 0x14]
push 0
push edi
call fcn.00461a60
add esp, 0xc
push 0
push 0
push dword [ebp - 0x3d8]
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x430c16
xor edi, edi
push edi
lea ecx, [ebp - 0x9c]
call fcn.0040bf30
push eax
call fcn.0040e350
add esp, 8
mov ebx, eax
test edi, edi
je 0x430c3a
push edi
call fcn.0045edbd
add esp, 4
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0
call fcn.0040bc20
mov edi, dword [ebp - 0x3dc]
test ebx, ebx
jne 0x430c80
push 0x63
push str.Error_opening_zip_file
lea eax, [esi + 0x10]
push eax
call fcn.00465c05
push 0x31
lea eax, [esi + 0xd8]
push 0x47c5d8
push eax
call fcn.00465c05
add esp, 0x18
xor bl, bl
jmp 0x430db8
push 0x84
lea eax, [ebp - 0x120]
mov dword [ebp - 0x18], 0
push 0
push eax
call fcn.00461a60
add esp, 0xc
lea ecx, [ebp - 0x120]
push 0xffffffffffffffff
push edi
call fcn.0040ba90
push 0x47c770
push 0x47c774
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 2
call fcn.0040ccf0
lea eax, [ebp - 0x3d4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
lea ecx, [ebp - 0x120]
call fcn.0040bf30
push eax
push ebx
call fcn.0040da90
add esp, 0x14
test eax, eax
je 0x430cf3
push 0x63
push str.Could_not_find_ziped_file
jmp 0x430d5e
mov edi, dword [ebp - 0x1a8]
test edi, edi
jne 0x430d06
push 0x63
push str.File_is_empty
jmp 0x430d5e
cmp edi, 0x400000
jbe 0x430d17
push 0x63
push str.File_too_large
jmp 0x430d5e
push edi
call fcn.0045ee00
push edi
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
push ebx
call fcn.0040e950
add esp, 0x14
test eax, eax
je 0x430d81
cmp eax, 0x600
je 0x430d81
mov edi, dword [ebp - 0x14]
push edi
call fcn.0045edbd
add esp, 4
call fcn.004063e0
test al, al
jne 0x430d57
push ebx
call fcn.0040d5f0
add esp, 4
push 0x63
push str.Could_not_unzip_file
lea eax, [esi + 0x10]
push eax
call fcn.00465c05
push 0x31
lea eax, [esi + 0xd8]
push 0x47c5d8
push eax
call fcn.00465c05
add esp, 0x18
xor bl, bl
jmp 0x430dad
call fcn.004063e0
test al, al
jne 0x430d93
push ebx
call fcn.0040d5f0
add esp, 4
push dword [ebp + 0xc]
mov ecx, esi
push edi
mov edi, dword [ebp - 0x14]
push edi
call fcn.00430df0
push edi
mov bl, al
call fcn.0045edbd
add esp, 4
lea ecx, [ebp - 0x120]
call fcn.0040bc20
lea ecx, [ebp - 0x9c]
call fcn.0040bc20
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.0045edac
mov esp, ebp
pop ebp
ret 8