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

Disassembly:
push 0xffffffffffffffff
push 0x7bdf96
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2f0]
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
cmp eax, edi
je 0x5b8725
push eax
call fcn.007238ab
add esp, 4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x5b8735
push eax
call fcn.007238ab
add esp, 4
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.00596610
push eax
lea ecx, [esp + 0x44]
call fcn.0059d4d0
mov dword [esp + 0x2e8], edi
call fcn.00596620
mov ecx, eax
call fcn.0059cec0
test al, al
je 0x5b8878
push ebx
lea ecx, [esp + 0x44]
call fcn.0059d0e0
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [esp + 0x58]
call fcn.0059ccc0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5b87d6
push 0x63
push str.Error_opening_file
lea eax, [esi + 0x10]
push eax
call fcn.0072c591
push 0x31
push 0x830150
add esi, 0xd8
push esi
call fcn.0072c591
add esp, 0x18
lea ecx, [esp + 0x40]
mov dword [esp + 0x2e8], 0xffffffff
call fcn.0059cc80
xor al, al
jmp 0x5b89c9
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, edi
jne 0x5b87f1
push 0x63
push str.File_is_empty
lea ecx, [esi + 0x10]
push ecx
jmp 0x5b87a0
cmp ebp, 0x400000
jbe 0x5b8806
push 0x63
push 0x801054
lea edx, [esi + 0x10]
push edx
jmp 0x5b87a0
lea eax, [ebp + 8]
push eax
mov dword [esp + 0x20], edi
call fcn.0070a654
mov edi, eax
lea eax, [ebp + 8]
push eax
push 0
push edi
call fcn.007202b0
add esp, 0x10
push 0
lea eax, [esp + 0x20]
push eax
push ebp
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x1c], ebp
je 0x5b8861
push edi
call fcn.00725356
add esp, 4
mov ecx, esi
call fcn.005b71a0
push 0x63
push str.Could_not_read_file
lea ecx, [esi + 0x10]
push ecx
jmp 0x5b87a0
mov edx, dword [esp + 0x2f4]
push edx
push ebp
push edi
mov ecx, esi
call fcn.005b8520
push edi
jmp 0x5b89a9
call fcn.00596620
push eax
lea ecx, [esp + 0x44]
call fcn.0059d0c0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call fcn.00596630
test al, al
je 0x5b896a
call fcn.00596640
mov ebp, eax
cmp ebp, edi
jne 0x5b88b3
push 0x63
push str.Error_opening_zip_file
jmp 0x5b879c
push ebx
lea ecx, [esp + 0x28]
call fcn.00403bf0
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
push ebp
mov byte [esp + 0x2f8], 1
call fcn.0063f7f0
add esp, 0x10
test eax, eax
lea ecx, [esp + 0x24]
sete bl
mov byte [esp + 0x2e8], 0
call fcn.00403c30
test bl, bl
je 0x5b890a
push 0x63
push str.Could_not_find_ziped_file
lea ecx, [esi + 0x10]
push ecx
jmp 0x5b87a0
mov eax, dword [esp + 0x2d8]
mov dword [esp + 0x18], eax
cmp eax, edi
jne 0x5b8929
push 0x63
push str.File_is_empty
lea edx, [esi + 0x10]
push edx
jmp 0x5b87a0
cmp eax, 0x400000
jbe 0x5b893c
push 0x63
push 0x801054
jmp 0x5b879c
push eax
call fcn.0070a654
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push eax
push edx
push ebp
mov dword [esp + 0x28], eax
call fcn.0063e180
add esp, 0x14
test eax, eax
jne 0x5b898b
push 0x63
push str.Could_not_unzip_file
jmp 0x5b879c
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
lea ecx, [esp + 0x4c]
call fcn.0059cef0
push eax
call fcn.00645940
add esp, 0x10
cmp eax, edi
jl 0x5b895e
mov ecx, dword [esp + 0x2f4]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.005b8520
mov ecx, dword [esp + 0x14]
push ecx
mov bl, al
call fcn.00725356
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x2e8], 0xffffffff
call fcn.0059cc80
mov al, bl
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x2d8
ret 8