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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5535f0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x5a0800]
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.00434a20
call fcn.00415670
push eax
lea ecx, [ebp - 0x94]
call fcn.00411b10
mov dword [ebp - 4], 0
call fcn.00415680
mov ecx, eax
call fcn.00412970
test al, al
je 0x434732
push ebx
lea ecx, [ebp - 0x94]
call fcn.00412090
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00411eb0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x434681
mov eax, str.Error_opening_file
mov ecx, esi
push 0
push eax
call fcn.00434a70
mov bl, al
jmp 0x43487e
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4346a5
mov eax, str.File_is_empty
mov ecx, esi
push edi
push eax
call fcn.00434a70
mov bl, al
jmp 0x43487e
cmp edi, 0x400000
jbe 0x4346c3
mov eax, 0x560dd8
mov ecx, esi
push 0
push eax
call fcn.00434a70
mov bl, al
jmp 0x43487e
push edi
mov dword [ebp - 0x2cc], 0
call fcn.004e7709
add esp, 4
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x2cc]
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 - 0x2cc], edi
je 0x434729
mov edi, dword [ebp - 0x2c8]
push edi
call fcn.004e7712
add esp, 4
mov ecx, esi
call fcn.00434a20
mov eax, str.Could_not_read_file
mov ecx, esi
push 0
push eax
call fcn.00434a70
mov bl, al
jmp 0x43487e
push dword [ebp + 0xc]
push edi
jmp 0x434865
call fcn.00415680
push eax
lea ecx, [ebp - 0x94]
call fcn.00412000
call fcn.00415ba0
test al, al
je 0x434753
call fcn.00415690
jmp 0x43476b
push 2
push 0
lea ecx, [ebp - 0x94]
call fcn.00412720
push eax
call fcn.0042fff0
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x434785
push eax
push str.Error_opening_zip_file
mov ecx, esi
call fcn.00434a70
mov bl, al
jmp 0x43487e
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.0042f5c0
add esp, 0x14
test eax, eax
je 0x4347b8
push 0
push str.Could_not_find_ziped_file
mov ecx, esi
call fcn.00434a70
mov bl, al
jmp 0x43487e
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x4347d6
push ebx
push str.File_is_empty
mov ecx, esi
call fcn.00434a70
mov bl, al
jmp 0x43487e
cmp ebx, 0x400000
jbe 0x4347f3
push 0
push 0x560dd8
mov ecx, esi
call fcn.00434a70
mov bl, al
jmp 0x43487e
push ebx
call fcn.004e7709
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.00430440
add esp, 0x18
test eax, eax
je 0x43484f
cmp eax, 0x600
je 0x43484f
push dword [ebp - 0x2c8]
call fcn.004e7712
add esp, 4
call fcn.00415ba0
test al, al
jne 0x43483d
push edi
call fcn.0042f350
add esp, 4
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00434a70
mov bl, al
jmp 0x43487e
call fcn.00415ba0
test al, al
jne 0x434861
push edi
call fcn.0042f350
add esp, 4
push dword [ebp + 0xc]
push ebx
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push edi
call fcn.004348b0
push edi
mov bl, al
call fcn.004e7712
add esp, 4
lea ecx, [ebp - 0x94]
call fcn.00411c90
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.004e6d11
mov esp, ebp
pop ebp
ret 8