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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4790a1
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 0x430998
push eax
call fcn.00463d8a
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x4309a8
push eax
call fcn.00463d8a
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.004619b0
add esp, 0xc
call fcn.00405fd0
push eax
lea ecx, [ebp - 0x9c]
call fcn.0040b940
mov dword [ebp - 4], 0
call fcn.00405fe0
mov ecx, eax
call fcn.0040c970
test al, al
je 0x430adc
push edi
lea ecx, [ebp - 0x9c]
call fcn.0040bf60
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x9c]
call fcn.0040beb0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x430a41
push 0x63
push str.Error_opening_file
jmp 0x430bda
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x430a5c
push 0x63
push str.File_is_empty
jmp 0x430bda
cmp edi, 0x400000
jbe 0x430a70
push 0x63
push 0x47fd30
jmp 0x430bda
push edi
mov dword [ebp - 0x14], 0
call fcn.0045ed50
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 0x430abd
mov edi, dword [ebp - 0x18]
push edi
call fcn.0045ed0d
add esp, 4
mov ecx, esi
call fcn.00430540
push 0x63
push str.Could_not_read_file
jmp 0x430bda
push dword [ebp + 0xc]
mov ecx, esi
push edi
mov edi, dword [ebp - 0x18]
push edi
call fcn.00430d70
push edi
mov bl, al
call fcn.0045ed0d
add esp, 4
jmp 0x430d38
call fcn.00405fe0
push eax
lea ecx, [ebp - 0x9c]
call fcn.0040bf40
call fcn.00406370
test al, al
je 0x430b02
call fcn.00405ff0
mov ebx, eax
jmp 0x430bcf
push 0x84
lea eax, [ebp - 0x1a4]
push 0
push eax
call fcn.004619b0
add esp, 0xc
call fcn.00406000
push eax
lea ecx, [ebp - 0x1a4]
call fcn.0040b940
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 1
call fcn.0040beb0
mov ebx, eax
test ebx, ebx
je 0x430b94
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.0045ed50
mov edi, eax
add esp, 4
test edi, edi
je 0x430b94
push dword [ebp - 0x14]
push 0
push edi
call fcn.004619b0
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 0x430b96
xor edi, edi
push edi
lea ecx, [ebp - 0x9c]
call fcn.0040beb0
push eax
call fcn.0040e2d0
add esp, 8
mov ebx, eax
test edi, edi
je 0x430bba
push edi
call fcn.0045ed0d
add esp, 4
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0
call fcn.0040bba0
mov edi, dword [ebp - 0x3dc]
test ebx, ebx
jne 0x430c00
push 0x63
push str.Error_opening_zip_file
lea eax, [esi + 0x10]
push eax
call fcn.00465b55
push 0x31
lea eax, [esi + 0xd8]
push 0x47c5d8
push eax
call fcn.00465b55
add esp, 0x18
xor bl, bl
jmp 0x430d38
push 0x84
lea eax, [ebp - 0x120]
mov dword [ebp - 0x18], 0
push 0
push eax
call fcn.004619b0
add esp, 0xc
lea ecx, [ebp - 0x120]
push 0xffffffffffffffff
push edi
call fcn.0040ba10
push 0x47c770
push 0x47c774
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 2
call fcn.0040cc70
lea eax, [ebp - 0x3d4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
lea ecx, [ebp - 0x120]
call fcn.0040beb0
push eax
push ebx
call fcn.0040da10
add esp, 0x14
test eax, eax
je 0x430c73
push 0x63
push str.Could_not_find_ziped_file
jmp 0x430cde
mov edi, dword [ebp - 0x1a8]
test edi, edi
jne 0x430c86
push 0x63
push str.File_is_empty
jmp 0x430cde
cmp edi, 0x400000
jbe 0x430c97
push 0x63
push 0x47fd30
jmp 0x430cde
push edi
call fcn.0045ed50
push edi
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
push ebx
call fcn.0040e8d0
add esp, 0x14
test eax, eax
je 0x430d01
cmp eax, 0x600
je 0x430d01
mov edi, dword [ebp - 0x14]
push edi
call fcn.0045ed0d
add esp, 4
call fcn.00406370
test al, al
jne 0x430cd7
push ebx
call fcn.0040d570
add esp, 4
push 0x63
push str.Could_not_unzip_file
lea eax, [esi + 0x10]
push eax
call fcn.00465b55
push 0x31
lea eax, [esi + 0xd8]
push 0x47c5d8
push eax
call fcn.00465b55
add esp, 0x18
xor bl, bl
jmp 0x430d2d
call fcn.00406370
test al, al
jne 0x430d13
push ebx
call fcn.0040d570
add esp, 4
push dword [ebp + 0xc]
mov ecx, esi
push edi
mov edi, dword [ebp - 0x14]
push edi
call fcn.00430d70
push edi
mov bl, al
call fcn.0045ed0d
add esp, 4
lea ecx, [ebp - 0x120]
call fcn.0040bba0
lea ecx, [ebp - 0x9c]
call fcn.0040bba0
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.0045ecfc
mov esp, ebp
pop ebp
ret 8