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

Disassembly:
push 0xffffffffffffffff
push 0x597a9b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x5fd890]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5fd890]
xor eax, esp
push eax
lea eax, [esp + 0x2dc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2ec]
mov eax, dword [ebp]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x18], edi
cmp eax, ebx
je 0x433bea
push eax
call fcn.005668e2
add esp, 4
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x433bfa
push eax
call fcn.005668e2
add esp, 4
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov edx, dword [0x602be0]
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], eax
xor ecx, ecx
push edx
or eax, 0xffffffff
lea esi, [esp + 0x20]
mov word [esp + 0x24], cx
call fcn.00417140
mov dword [esp + 0x2e4], ebx
mov eax, dword [0x602c68]
cmp word [eax], bx
mov ebx, esi
jne 0x433d5d
push edi
call fcn.00417000
mov eax, dword [esp + 0x1c]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x433ca8
push 0x63
push str.Error_opening_file
lea ecx, [ebp + 0x10]
push ecx
call fcn.00567ab6
add esp, 0xc
push 0x31
push 0x5cd760
add ebp, 0xd8
push ebp
call fcn.00567ab6
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
add esp, 0xc
cmp eax, edx
je 0x433ca1
push eax
call fcn.005668e2
add esp, 4
xor al, al
jmp 0x433e87
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x433cec
push 0x63
push str.File_is_empty
lea eax, [ebp + 0x10]
push eax
call fcn.00567ab6
add esp, 0xc
push 0x31
push 0x5cd760
add ebp, 0xd8
push ebp
call fcn.00567ab6
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
add esp, 0xc
cmp eax, ecx
jmp 0x433c96
cmp esi, 0x400000
jbe 0x433d01
push 0x63
push str.File_too_large
lea edx, [ebp + 0x10]
push edx
jmp 0x433cc2
push esi
mov dword [esp + 0x18], 0
call fcn.00466c9d
add esp, 4
push 0
lea edx, [esp + 0x18]
push edx
push esi
mov edi, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], esi
je 0x433d4d
push edi
call fcn.00466c92
add esp, 4
mov esi, ebp
call fcn.00433ec0
push 0x63
push str.Could_not_read_file
jmp 0x433cbe
push esi
mov eax, edi
mov ecx, ebp
call fcn.00433ae0
push edi
jmp 0x433e66
push eax
call fcn.00417000
cmp byte [0x61998c], 0
je 0x433d77
mov eax, dword [0x619990]
mov dword [esp + 0x14], eax
jmp 0x433d8f
mov eax, dword [esp + 0x1c]
push 0
push eax
mov ebx, 2
call fcn.00441b50
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x433d9f
push 0x63
push str.Error_opening_zip_file
jmp 0x433c6a
mov edx, dword [esp + 0x18]
push eax
lea edi, [esp + 0xa8]
lea ecx, [esp + 0x1c]
call fcn.00441bc0
add esp, 4
test eax, eax
je 0x433dc7
push 0x63
push str.Could_not_find_ziped_file
jmp 0x433cbe
mov eax, dword [esp + 0x2d0]
mov ebx, eax
test eax, eax
jne 0x433de4
push 0x63
push str.File_is_empty
lea edx, [ebp + 0x10]
push edx
jmp 0x433cc2
cmp eax, 0x400000
jbe 0x433dfb
push 0x63
push str.File_too_large
lea edx, [ebp + 0x10]
push edx
jmp 0x433cc2
push eax
call fcn.00466c9d
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, eax
add esp, 4
push ebx
mov ecx, esi
mov eax, edi
call fcn.00441d10
add esp, 4
test eax, eax
je 0x433e4d
cmp eax, 0x600
je 0x433e4d
push esi
call fcn.00466c92
add esp, 4
cmp byte [0x61998c], 0
jne 0x433e3d
call fcn.00441d50
push 0x63
push str.Could_not_unzip_file
lea edx, [ebp + 0x10]
push edx
jmp 0x433cc2
cmp byte [0x61998c], 0
jne 0x433e5b
call fcn.00441d50
push ebx
mov eax, esi
mov ecx, ebp
call fcn.00433ae0
push esi
mov bl, al
call fcn.00466c92
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
add esp, 4
cmp eax, edx
je 0x433e85
push eax
call fcn.005668e2
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x2dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.00565f92
add esp, 0x2d4
ret 4