Function at 0x45eca0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
test ebx, ebx
je 0x45ef7f
cmp edi, 4
jle 0x45ed80
mov ebp, dword [ebx]
bswap ebp
test ebp, ebp
jne 0x45edf0
mov dword [esp + 0x10], 1
lea eax, [ebp + 1]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 4
mov dword [esp], 1
mov dword [esp + 8], eax
call fcn.004a4d50
test eax, eax
mov esi, eax
je 0x45ee50
mov dword [eax + 4], ebp
lea ebp, [esp + 0x10]
sub edi, 4
add ebx, 4
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov eax, dword [esi + 0xc]
add eax, esi
mov dword [esp], eax
call fcn.0071d040
cmp eax, 0xfffffffc
je 0x45efb1
jg 0x45edc0
cmp eax, 0xfffffffb
jne 0x45ed0e
mov eax, dword [esp + 0x10]
add eax, eax
cmp eax, 0x7fffffee
mov dword [esp + 0x10], eax
ja 0x45ee91
add eax, 1
mov dword [esp + 0xc], 0
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.004a4c70
test eax, eax
je 0x45ef00
mov esi, eax
jmp 0x45ed0e
jne 0x45ef3e
cmp byte [ebx], 0
jne 0x45ef3e
cmp byte [ebx + 1], 0
jne 0x45ef3e
cmp byte [ebx + 2], 0
jne 0x45ef3e
cmp byte [ebx + 3], 0
jne 0x45ef3e
mov eax, dword [esp + 0x70]
mov dword [eax], 0x880f80
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0xfffffffd
je 0x45eff2
test eax, eax
jne 0x45ed0e
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
add eax, esi
add eax, dword [esi + 0xc]
mov byte [eax], 0
mov eax, dword [esp + 0x70]
mov dword [eax], esi
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebp, 0x7fffffee
mov dword [esp + 0x10], ebp
jbe 0x45ecd4
lea eax, [esp + 0x3c]
mov dword [esp + 4], str.qUncompress:_Input_data_is_corrupted
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x742400
call fcn.0072013c
mov eax, dword [esp + 0x70]
mov dword [eax], 0x880f80
jmp 0x45edb7
lea eax, [esp + 0x14]
mov dword [esp + 4], str.qUncompress:_Input_data_is_corrupted
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x742400
call fcn.0072013c
jmp 0x45edad
lea eax, [esp + 0x28]
mov dword [esp + 4], str.qUncompress:_Input_data_is_corrupted
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0x742400
call fcn.0072013c
mov eax, dword [esp + 0x70]
mov dword [eax], 0x880f80
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004a4c50
mov eax, dword [esp + 0x70]
jmp 0x45edb7
lea eax, [esp + 0x3c]
mov dword [esp + 4], str.qUncompress:_Input_data_is_corrupted
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x742400
call fcn.0072013c
jmp 0x45eecd
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x742400
mov dword [esp + 4], str.qUncompress:_Input_data_is_corrupted
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.0072013c
jmp 0x45edad
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x742400
mov dword [esp + 4], str.qUncompress:_Data_is_null
jmp 0x45ef6e
lea eax, [esp + 0x3c]
mov dword [esp + 4], str.qUncompress:_Z_MEM_ERROR:_Not_enough_memory
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x742400
call fcn.0072013c
jmp 0x45eecd
lea eax, [esp + 0x3c]
mov dword [esp + 4], str.qUncompress:_Z_DATA_ERROR:_Input_data_is_corrupted
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x742400
call fcn.0072013c
jmp 0x45eecd