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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554e7b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x5a9464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x481c42
push eax
call fcn.0052630b
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x481c52
push eax
call fcn.0052630b
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004594c0
push eax
lea ecx, [ebp - 0x94]
call fcn.00452de0
mov dword [ebp - 4], 0
call fcn.004594d0
mov ecx, eax
call fcn.00453a20
test al, al
je 0x481d52
push ebx
lea ecx, [ebp - 0x94]
call fcn.004531f0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.004537d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x481cce
push 0x63
push str.Error_opening_file
jmp 0x481f31
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x481ec9
cmp edi, 0x400000
ja 0x481eda
push edi
mov dword [ebp - 0x2cc], 0
call fcn.005093a4
add esp, 4
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x2cc]
push 0
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 - 0x2cc], edi
je 0x481d49
mov edi, dword [ebp - 0x2c8]
push edi
call fcn.00509080
add esp, 4
mov ecx, esi
call fcn.00481830
push 0x63
push str.Could_not_read_file
jmp 0x481f31
push dword [ebp + 0xc]
push edi
jmp 0x481f6a
call fcn.00459790
test al, al
jne 0x481e46
call fcn.004594d0
push eax
lea ecx, [ebp - 0x94]
call fcn.004531d0
call fcn.00459740
test al, al
je 0x481d80
call fcn.004594e0
jmp 0x481d98
push 2
push 0
lea ecx, [ebp - 0x94]
call fcn.004537d0
push eax
call fcn.00470530
add esp, 0xc
mov edi, eax
test edi, edi
je 0x481e83
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.0046fe40
add esp, 0x14
test eax, eax
jne 0x481eb6
mov ebx, dword [ebp - 0x98]
test ebx, ebx
je 0x481ec9
cmp ebx, 0x400000
ja 0x481eda
push ebx
call fcn.005093a4
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.004709c0
add esp, 0x18
test eax, eax
je 0x481e2e
cmp eax, 0x600
je 0x481e2e
push dword [ebp - 0x2c8]
call fcn.00509080
add esp, 4
call fcn.00459740
test al, al
jne 0x481f2a
push edi
call fcn.0046fc20
jmp 0x481f27
call fcn.00459740
test al, al
jne 0x481f66
push edi
call fcn.0046fc20
jmp 0x481f63
call fcn.004594d0
push eax
lea ecx, [ebp - 0x94]
call fcn.004531d0
call fcn.00459740
test al, al
je 0x481e67
call fcn.004594e0
jmp 0x481e7d
push 0
lea ecx, [ebp - 0x94]
call fcn.004537d0
push eax
call fcn.00474ae0
add esp, 8
mov edi, eax
test edi, edi
jne 0x481e8f
push 0x63
push str.Error_opening_zip_file
jmp 0x481f31
lea eax, [ebp - 0x2d4]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x2cc]
movlpd qword [ebp - 0x2d4], xmm0
push eax
push ebx
push edi
call fcn.004742e0
add esp, 0x10
test eax, eax
je 0x481ebf
push 0x63
push str.Could_not_find_ziped_file
jmp 0x481f31
mov ebx, dword [ebp - 0x2d4]
test ebx, ebx
jne 0x481ed2
push 0x63
push str.File_is_empty
jmp 0x481f31
cmp ebx, 0x400000
jbe 0x481ee3
push 0x63
push 0x564624
jmp 0x481f31
push ebx
call fcn.005093a4
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.00474c50
add esp, 0x10
test eax, eax
je 0x481f54
cmp eax, 0x600
je 0x481f54
push dword [ebp - 0x2c8]
call fcn.00509080
add esp, 4
call fcn.00459740
test al, al
jne 0x481f2a
push edi
call fcn.004741f0
add esp, 4
push 0x63
push str.Could_not_unzip_file
lea eax, [esi + 0x10]
push eax
call fcn.00531897
push 0x31
lea eax, [esi + 0xd8]
push 0x58c674
push eax
call fcn.00531897
add esp, 0x18
xor bl, bl
jmp 0x481f83
call fcn.00459740
test al, al
jne 0x481f66
push edi
call fcn.004741f0
add esp, 4
push dword [ebp + 0xc]
push ebx
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push edi
call fcn.00481fb0
push edi
mov bl, al
call fcn.00509080
add esp, 4
lea ecx, [ebp - 0x94]
call fcn.00452f30
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00508d84
mov esp, ebp
pop ebp
ret 8