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

Disassembly:
push 0xffffffffffffffff
push 0x4a0906
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x348], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cacfc]
xor eax, esp
push eax
lea eax, [esp + 0x364]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x374]
mov edi, ecx
mov eax, dword [edi]
xor ebp, ebp
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x43fbd9
push eax
call fcn.0048836e
add esp, 4
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x43fbe9
push eax
call fcn.0048836e
add esp, 4
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov edx, dword [0x4cc358]
push 0xffffffffffffffff
lea eax, [esp + 0x24]
xor ecx, ecx
push edx
lea esi, [esp + 0x24]
mov dword [esp + 0x24], eax
mov word [esp + 0x28], cx
call fcn.00402160
mov dword [esp + 0x36c], ebp
mov eax, dword [0x4cc3e0]
cmp word [eax], bp
jne 0x43fd32
cmp ebx, ebp
je 0x43fc34
push ebx
mov eax, esi
push eax
call fcn.00402020
mov ecx, dword [esp + 0x1c]
push ebp
push 0x80
push 3
push ebp
push 1
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43fc9b
push 0x63
push str.Error_opening_file
lea edx, [edi + 0x10]
push edx
call fcn.00489835
add esp, 0xc
push 0x31
push 0x4b06b8
add edi, 0xd8
push edi
call fcn.00489835
add esp, 0xc
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x43fc94
push eax
call fcn.0048836e
add esp, 4
xor al, al
jmp 0x43ff42
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebp
jne 0x43fcb2
push 0x63
push str.File_is_empty
jmp 0x43fc5d
cmp esi, 0x400000
jbe 0x43fcc3
push 0x63
push 0x4b6774
jmp 0x43fc5d
push esi
mov dword [esp + 0x18], ebp
call fcn.0048690e
add esp, 4
push 0
lea edx, [esp + 0x18]
push edx
push esi
mov ebp, eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], esi
je 0x43fd0f
push ebp
call fcn.00487d04
add esp, 4
mov esi, edi
call fcn.0043f9f0
push 0x63
push str.Could_not_read_file
lea eax, [edi + 0x10]
push eax
jmp 0x43fc61
push esi
push ebp
mov eax, edi
call fcn.0043fad0
push ebp
mov bl, al
call fcn.00487d04
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
add esp, 4
cmp eax, edx
jmp 0x43ff35
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00402020
mov ebx, dword [0x511380]
cmp ebx, ebp
jne 0x43fd7f
push 0x63
lea ecx, [edi + 0x10]
push str.Error_opening_zip_file
push ecx
call fcn.00489835
add esp, 0xc
push 0x31
push 0x4b06b8
add edi, 0xd8
push edi
call fcn.00489835
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
add esp, 0xc
cmp eax, edx
jmp 0x43fc89
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
lea eax, [esp + 0xac]
xor ecx, ecx
push edx
lea esi, [esp + 0xac]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0xac], eax
mov word [esp + 0xb0], cx
call fcn.00402160
push 0x4b08ac
mov eax, esi
push eax
mov ecx, 0x4b08a8
mov byte [esp + 0x374], 2
call fcn.00402610
cmp dword [ebx], 1
je 0x43fdd9
mov dword [0x5113b4], 0x80000
jmp 0x43fdff
mov eax, dword [esp + 0xa4]
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0041f7a0
mov dword [0x5113b4], eax
cmp eax, ebp
je 0x43fe4c
push 0x63
push str.Could_not_find_ziped_file
lea ecx, [edi + 0x10]
push ecx
call fcn.00489835
add esp, 0xc
push 0x31
push 0x4b06b8
add edi, 0xd8
push edi
call fcn.00489835
mov eax, dword [esp + 0xb0]
lea edx, [esp + 0xb4]
add esp, 0xc
cmp eax, edx
je 0x43fc7f
push eax
call fcn.0048836e
add esp, 4
jmp 0x43fc7f
mov ebp, dword [esp + 0x358]
test ebp, ebp
jne 0x43feaa
push 0x63
push str.File_is_empty
lea edx, [edi + 0x10]
push edx
call fcn.00489835
add esp, 0xc
push 0x31
push 0x4b06b8
add edi, 0xd8
push edi
call fcn.00489835
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0xb4]
add esp, 0xc
cmp eax, ecx
je 0x43fe9b
push eax
call fcn.0048836e
add esp, 4
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
cmp eax, edx
jmp 0x43fc89
cmp ebp, 0x400000
jbe 0x43febf
push 0x63
push 0x4b6774
lea eax, [edi + 0x10]
push eax
jmp 0x43fe62
push ebp
call fcn.0048690e
mov esi, eax
mov eax, dword [esp + 0x18]
add esp, 4
push esi
push eax
mov ecx, ebp
mov eax, ebx
call fcn.0041f9b0
add esp, 8
test eax, eax
je 0x43fefc
cmp eax, 0x600
je 0x43fefc
push esi
call fcn.00487d04
add esp, 4
push 0x63
push str.Could_not_unzip_file
jmp 0x43fe06
push ebp
push esi
mov eax, edi
call fcn.0043fad0
push esi
mov bl, al
call fcn.00487d04
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0xac]
add esp, 4
cmp eax, edx
je 0x43ff2b
push eax
call fcn.0048836e
add esp, 4
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x43ff40
push eax
call fcn.0048836e
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x364]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x348]
xor ecx, esp
call fcn.00486dc0
add esp, 0x35c
ret 4