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

Disassembly:
push 0xffffffffffffffff
push 0x5b0deb
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x62c930]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62c930]
xor eax, esp
push eax
lea eax, [esp + 0x2dc]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2ec]
mov edi, ecx
mov eax, dword [edi]
xor ebp, ebp
cmp eax, ebp
je 0x453285
push eax
call fcn.0058622f
add esp, 4
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x453295
push eax
call fcn.0058622f
add esp, 4
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov edx, dword [0x62e978]
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.00444050
mov dword [esp + 0x2e4], ebp
mov eax, dword [0x62ea00]
cmp word [eax], bp
jne 0x4533cc
cmp ebx, ebp
je 0x4532dd
push ebx
mov eax, esi
push eax
call fcn.00443f10
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 0x453344
push 0x63
push 0x60b64c
lea edx, [edi + 0x10]
push edx
call fcn.00587c1f
add esp, 0xc
push 0x31
push 0x602afc
add edi, 0xd8
push edi
call fcn.00587c1f
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
add esp, 0xc
cmp eax, ecx
je 0x45333d
push eax
call fcn.0058622f
add esp, 4
xor al, al
jmp 0x4534f1
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x45335c
push 0x63
push str.File_is_empty
jmp 0x453306
cmp esi, 0x400000
jbe 0x45336d
push 0x63
push 0x60b690
jmp 0x453306
push esi
mov dword [esp + 0x1c], 0
call fcn.005759c5
add esp, 4
push 0
lea edx, [esp + 0x1c]
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 + 0x18], esi
je 0x4533bd
push ebp
call fcn.005759d0
add esp, 4
mov esi, edi
call fcn.00453520
push 0x63
push str.Could_not_read_file
lea eax, [edi + 0x10]
push eax
jmp 0x45330a
push esi
push ebp
mov eax, edi
call fcn.00453180
push ebp
jmp 0x4534d0
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00443f10
cmp byte [0x62e5e7], 0
je 0x4533e8
mov ebp, dword [0x63573c]
jmp 0x4533fa
mov ecx, dword [esp + 0x1c]
push 2
push ebp
push ecx
call fcn.0045c430
add esp, 0xc
mov ebp, eax
test ebp, ebp
jne 0x45340a
push 0x63
push str.Error_opening_zip_file
jmp 0x453306
lea edx, [esp + 0xa4]
push edx
push ebp
lea edx, [esp + 0x20]
mov ecx, ebx
call fcn.0045c4a0
add esp, 8
test eax, eax
je 0x453435
push 0x63
push str.Could_not_find_ziped_file
lea eax, [edi + 0x10]
push eax
jmp 0x45330a
mov eax, dword [esp + 0x2d0]
mov ebx, eax
test eax, eax
jne 0x45344e
push 0x63
push str.File_is_empty
jmp 0x453306
cmp eax, 0x400000
jbe 0x453461
push 0x63
push 0x60b690
jmp 0x453306
push eax
call fcn.005759c5
mov edx, dword [esp + 0x1c]
mov esi, eax
add esp, 4
push esi
push edx
mov ecx, ebx
mov eax, ebp
call fcn.0045c5f0
add esp, 8
test eax, eax
je 0x4534b4
cmp eax, 0x600
je 0x4534b4
push esi
call fcn.005759d0
add esp, 4
cmp byte [0x62e5e7], 0
jne 0x4534a4
push ebp
call fcn.0045c630
add esp, 4
push 0x63
push str.Could_not_unzip_file
lea eax, [edi + 0x10]
push eax
jmp 0x45330a
cmp byte [0x62e5e7], 0
jne 0x4534c6
push ebp
call fcn.0045c630
add esp, 4
push ebx
push esi
mov eax, edi
call fcn.00453180
push esi
mov bl, al
call fcn.005759d0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
add esp, 4
cmp eax, edx
je 0x4534ef
push eax
call fcn.0058622f
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.005832f8
add esp, 0x2d4
ret 4