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

Disassembly:
push ebp
sub esp, 0x29c
lea ebp, [esp - 4]
mov eax, dword [0x551bd0]
xor eax, ebp
mov dword [ebp + 0x29c], eax
push 0x30
mov eax, 0x508d15
call fcn.0049dfed
mov ebx, dword [ebp + 0x2a8]
mov edi, ecx
mov dword [ebp - 0x1c], edi
call fcn.0043d442
call fcn.0043ef12
push eax
lea ecx, [ebp + 0x218]
call fcn.004431f5
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0043ef18
mov ecx, eax
call fcn.00442fbc
test al, al
je 0x43dff4
push ebx
lea ecx, [ebp + 0x218]
call fcn.00443043
push esi
push 0x80
push 3
push esi
push 1
push connect
lea ecx, [ebp + 0x218]
call fcn.00442fe7
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
push esi
cmp eax, 0xffffffff
jne 0x43df5a
push str.Error_opening_file
mov ecx, edi
call fcn.0043d617
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x218]
call fcn.00442e9d
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 + 0x29c]
xor ecx, ebp
call fcn.0049a49b
add ebp, 0x2a0
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, esi
jne 0x43df6f
push esi
push str.File_is_empty
jmp 0x43df1b
cmp ebx, 0x400000
jbe 0x43df7f
push esi
push 0x51425c
jmp 0x43df1b
lea eax, [ebx + 8]
push eax
mov dword [ebp - 0x14], esi
call fcn.00499a0f
mov edi, eax
lea eax, [ebx + 8]
push eax
push esi
push edi
call fcn.0049d740
add esp, 0x10
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], ebx
je 0x43dfd6
push edi
call fcn.0049ac10
pop ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0043d442
mov ecx, dword [ebp - 0x1c]
push esi
push str.Could_not_read_file
jmp 0x43df1d
push dword [ebp + 0x2ac]
mov ecx, dword [ebp - 0x1c]
push ebx
push edi
call fcn.0043dd07
push edi
mov bl, al
call fcn.0049ac10
pop ecx
jmp 0x43df24
call fcn.0043ef18
push eax
lea ecx, [ebp + 0x218]
call fcn.0044302f
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
call fcn.0043ef1e
test al, al
je 0x43e0bf
call fcn.0043ef24
mov dword [ebp - 0x14], eax
cmp eax, esi
jne 0x43e02f
push esi
push str.Error_opening_zip_file
jmp 0x43df1b
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00401685
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00487dea
add esp, 0x10
mov ebx, eax
neg ebx
push esi
sbb bl, bl
push 1
lea ecx, [ebp - 0x3c]
inc bl
mov byte [ebp - 4], 0
call fcn.0040184d
test bl, bl
je 0x43e079
push esi
push str.Could_not_find_ziped_file
jmp 0x43df1b
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x43df67
cmp eax, 0x400000
ja 0x43df77
push eax
call fcn.00499a0f
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.00487152
add esp, 0x14
test eax, eax
jne 0x43e0e0
push esi
push str.Could_not_unzip_file
jmp 0x43df1b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
lea ecx, [ebp + 0x218]
call fcn.00442fe7
push eax
call fcn.0047a9cc
add esp, 0x10
cmp eax, esi
jl 0x43e0b4
push dword [ebp + 0x2ac]
mov ecx, edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.0043dd07
push dword [ebp - 0x10]
jmp 0x43dfe7