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

Disassembly:
push 0x3dc
mov eax, 0x671077
call fcn.00621869
mov esi, ecx
mov edi, dword [ebp + 8]
call fcn.00533157
push 0x84
xor ebx, ebx
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.00639410
add esp, 0xc
lea ecx, [ebp - 0xa4]
push 0x70cd50
call fcn.0050da40
mov dword [ebp - 4], ebx
mov eax, dword [0x70cdd8]
cmp word [eax], bx
jne 0x532f89
test edi, edi
je 0x532ec4
push edi
lea ecx, [ebp - 0xa4]
call fcn.0050da65
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push 0
cmp ebx, 0xffffffff
jne 0x532ef3
push str.Error_opening_file
jmp 0x53301e
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x532f0b
push eax
push 0x6d7174
jmp 0x53301e
cmp edi, 0x400000
jbe 0x532f1f
push 0
push str.File_too_large
jmp 0x53301e
and dword [ebp - 0x18], 0
push edi
call fcn.006206f9
pop ecx
push 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x3e8], eax
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 - 0x18], edi
je 0x532f6b
mov edi, dword [ebp - 0x3e8]
push edi
call fcn.006206eb
pop ecx
mov ecx, esi
call fcn.00533157
push 0
push str.Could_not_read_file
jmp 0x53301e
push ecx
push edi
mov edi, dword [ebp - 0x3e8]
mov ecx, esi
push edi
call fcn.00532dc6
push edi
mov bl, al
call fcn.006206eb
pop ecx
jmp 0x533142
push eax
lea ecx, [ebp - 0xa4]
call fcn.0050da65
cmp byte [0x704a99], 0
je 0x532fa6
mov ebx, dword [0x716b3c]
jmp 0x533014
push 0x84
lea eax, [ebp - 0x1b4]
push ebx
push eax
call fcn.00639410
add esp, 0xc
lea ecx, [ebp - 0x1b4]
push 0x70ce60
call fcn.0050da40
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1b4]
call fcn.00514a78
mov ecx, dword [ebp - 0xa4]
xor edx, edx
push eax
push 2
mov dword [ebp - 0x3e8], eax
call fcn.0051a227
mov ebx, eax
mov eax, dword [ebp - 0x3e8]
pop ecx
pop ecx
test eax, eax
je 0x533005
push eax
call fcn.006206eb
pop ecx
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0
call fcn.0041b502
test ebx, ebx
jne 0x53302c
push ebx
push str.Error_opening_zip_file
mov ecx, esi
call fcn.00533862
mov bl, al
jmp 0x533142
and dword [ebp - 0x3e8], 0
lea eax, [ebp - 0x12c]
push 0x84
push 0
push eax
call fcn.00639410
add esp, 0xc
lea ecx, [ebp - 0x12c]
push 0xffffffffffffffff
push edi
call fcn.0050da1c
push 0x6d3908
push 0x6cec00
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.0050de18
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x3e8]
push eax
push ecx
mov ecx, ebx
call fcn.0051a31d
add esp, 0xc
test eax, eax
je 0x53309c
push 0
push str.Could_not_find_ziped_file
jmp 0x533106
mov edi, dword [ebp - 0x1b8]
test edi, edi
jne 0x5330ae
push edi
push 0x6d7174
jmp 0x533106
cmp edi, 0x400000
jbe 0x5330bf
push 0
push str.File_too_large
jmp 0x533106
push edi
call fcn.006206f9
mov edx, dword [ebp - 0x3e8]
mov ecx, ebx
push edi
push eax
mov dword [ebp - 0x18], eax
call fcn.0051a350
add esp, 0xc
test eax, eax
je 0x533111
cmp eax, 0x600
je 0x533111
mov edi, dword [ebp - 0x18]
push edi
call fcn.006206eb
cmp byte [0x704a99], 0
pop ecx
jne 0x5330ff
mov ecx, ebx
call fcn.0051a381
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00533862
mov bl, al
jmp 0x533137
cmp byte [0x704a99], 0
jne 0x533121
mov ecx, ebx
call fcn.0051a381
push ecx
push edi
mov edi, dword [ebp - 0x18]
mov ecx, esi
push edi
call fcn.00532dc6
push edi
mov bl, al
call fcn.006206eb
pop ecx
lea ecx, [ebp - 0x12c]
call fcn.0041b502
lea ecx, [ebp - 0xa4]
call fcn.0041b502
mov al, bl
call fcn.00621813
ret 8