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

Disassembly:
sub esp, 0x4f8
mov eax, dword [0x570f20]
xor eax, esp
mov dword [esp + 0x4f4], eax
mov eax, dword [esp + 0x500]
push ebx
push ebp
mov ebp, dword [esp + 0x504]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x6c]
xor ebx, ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x14], ebx
test al, 1
jne 0x459dcf
push ebp
call fcn.00457af0
test al, 6
je 0x459e06
mov ecx, dword [esp + 0x50c]
push ecx
push ebp
call fcn.00459350
push str.out_of_place
push ebp
call fcn.00457b20
add esp, 0x10
pop ebp
pop ebx
mov ecx, dword [esp + 0x4f4]
xor ecx, esp
call fcn.004a7314
add esp, 0x4f8
ret
push esi
mov esi, dword [esp + 0x510]
cmp esi, 9
jae 0x459e40
push esi
push ebp
call fcn.00459350
push str.too_short
push ebp
call fcn.00457b20
add esp, 0x10
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4f4]
xor ecx, esp
call fcn.004a7314
add esp, 0x4f8
ret
movzx eax, word [ebp + 0x2a6]
test eax, 0x8000
je 0x459e70
push esi
push ebp
call fcn.00459350
add esp, 8
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4f4]
xor ecx, esp
call fcn.004a7314
add esp, 0x4f8
ret
push edi
test al, 4
jne 0x45a2d4
mov edi, 0x51
cmp esi, edi
cmovb edi, esi
push edi
lea edx, [esp + 0x30]
push edx
push ebp
call fcn.00457d50
sub esi, edi
mov dword [esp + 0x520], esi
mov ecx, 3
lea esi, [esp + 0x3a]
add esp, 0xc
sub esi, ecx
lea eax, [ecx - 2]
lea edx, [esp + 0x2c]
mov dword [esp + 0x18], esi
cmp ebx, edi
jae 0x459f11
cmp byte [edx + eax - 1], 0
je 0x459f11
cmp eax, edi
jae 0x459f01
cmp byte [esp + eax + 0x2c], 0
je 0x459f01
lea esi, [ecx - 1]
cmp esi, edi
jae 0x459f04
mov esi, dword [esp + 0x18]
cmp byte [esi + ecx], 0
je 0x459f04
cmp ecx, edi
jae 0x459f09
cmp byte [esp + ecx + 0x2c], 0
je 0x459f09
lea esi, [ebx + 4]
cmp esi, edi
jae 0x459f0e
cmp byte [esp + ebx + 0x30], 0
je 0x459f0e
add eax, 5
add ebx, 5
add ecx, 5
cmp eax, 0x51
jb 0x459eb1
jmp 0x459f11
inc ebx
jmp 0x459f11
add ebx, 2
jmp 0x459f11
add ebx, 3
jmp 0x459f11
add ebx, 4
lea eax, [ebx - 1]
cmp eax, 0x4e
ja 0x45a2ca
lea eax, [ebx + 1]
mov dword [esp + 0x28], eax
cmp eax, edi
jae 0x45a2c0
cmp byte [esp + ebx + 0x2d], 0
jne 0x45a2c0
push 0x69434350
mov esi, ebp
call fcn.00457e10
add esp, 4
test eax, eax
jne 0x45a2b4
push eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x51c]
lea ecx, [esp + ebx + 0x36]
push eax
mov dword [ebp + 0x7c], ecx
lea ecx, [esp + 0x110]
sub edi, ebx
push 0x400
push ecx
sub edi, 2
lea ecx, [esp + 0x94]
mov dword [esp + 0x28], 0x84
mov dword [ebp + 0x80], edi
call fcn.00458250
add esp, 0x14
cmp dword [esp + 0x14], 0
jne 0x45a246
movzx esi, byte [esp + 0x80]
movzx edx, byte [esp + 0x81]
movzx eax, byte [esp + 0x82]
movzx ecx, byte [esp + 0x83]
shl esi, 8
add esi, edx
shl esi, 8
add esi, eax
shl esi, 8
add esi, ecx
push esi
lea edx, [esp + 0x30]
push edx
lea edi, [ebp + 0x25c]
push edi
push ebp
mov dword [esp + 0x28], esi
call fcn.00455880
add esp, 0x10
test eax, eax
je 0x45a250
movzx eax, byte [ebp + 0xfb]
push eax
lea ecx, [esp + 0x84]
push ecx
push esi
lea edx, [esp + 0x38]
push edx
push edi
push ebp
call fcn.004558b0
add esp, 0x18
test eax, eax
je 0x45a250
movzx eax, byte [esp + 0x100]
movzx ecx, byte [esp + 0x101]
movzx edx, byte [esp + 0x102]
mov ebx, dword [ebp + 0x238]
shl eax, 8
add eax, ecx
movzx ecx, byte [esp + 0x103]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
xor edi, edi
mov dword [esp + 0x20], eax
cmp ebx, edi
je 0x45a073
cmp esi, dword [ebp + 0x23c]
jbe 0x45a093
push ebx
push ebp
mov dword [ebp + 0x238], edi
mov dword [ebp + 0x23c], edi
call fcn.0045dca0
add esp, 8
push esi
push ebp
call fcn.0045da20
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x45a23c
mov dword [ebp + 0x238], ebx
mov dword [ebp + 0x23c], esi
push 0
mov ecx, 0x21
lea esi, [esp + 0x84]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x51c]
lea edi, [edi + edi*2]
push eax
add edi, edi
lea edx, [esp + 0x110]
push 0x400
add edi, edi
lea ecx, [ebx + 0x84]
push edx
mov esi, ebp
mov dword [esp + 0x28], edi
call fcn.00458250
add esp, 0x14
cmp dword [esp + 0x14], 0
jne 0x45a230
mov esi, dword [esp + 0x18]
push ebx
push esi
lea eax, [esp + 0x34]
push eax
lea eax, [ebp + 0x25c]
push eax
push ebp
call fcn.00455bf0
add esp, 0x14
test eax, eax
je 0x45a250
mov eax, dword [esp + 0x20]
push 1
lea edx, [eax + eax*2 + 0x21]
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x51c]
sub esi, edi
push eax
sub esi, 0x84
lea ecx, [ebx + edx*4]
lea edx, [esp + 0x110]
mov dword [esp + 0x20], esi
push 0x400
push edx
mov esi, ebp
call fcn.00458250
mov eax, dword [esp + 0x528]
add esp, 0x14
test eax, eax
je 0x45a16a
test dword [ebp + 0x70], 0x100000
jne 0x45a16a
mov dword [esp + 0x10], str.extra_compressed_data
jmp 0x45a250
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x45a226
push eax
push ebp
call fcn.00459350
mov eax, dword [ebp + 0xac]
push eax
push ebx
lea eax, [ebp + 0x25c]
push eax
push ebp
mov dword [esp + 0x34], 1
call fcn.00457830
mov esi, dword [esp + 0x3c]
add esp, 0x18
test esi, esi
je 0x45a21d
push 0
push 0x10
push esi
push ebp
call fcn.00454eb0
mov edi, dword [esp + 0x38]
push edi
push ebp
call fcn.0045da20
add esp, 0x18
mov dword [esi + 0x74], eax
test eax, eax
je 0x45a1f8
push edi
lea ecx, [esp + 0x30]
push ecx
push eax
call fcn.004a6860
mov edx, dword [esp + 0x24]
or dword [esi + 0xe8], 0x10
add esp, 0xc
or dword [esi + 8], 0x1000
mov dword [esi + 0x7c], edx
mov dword [esi + 0x78], ebx
mov dword [ebp + 0x238], 0
jmp 0x45a20c
mov eax, 0x8000
or word [ebp + 0x2a6], ax
mov dword [esp + 0x10], str.out_of_memory
push esi
push ebp
call fcn.00455480
add esp, 8
cmp dword [esp + 0x10], 0
jne 0x45a250
mov dword [ebp + 0x78], 0
jmp 0x45a29b
mov dword [esp + 0x10], str.truncated
jmp 0x45a250
mov edx, dword [ebp + 0x94]
mov dword [esp + 0x10], edx
jmp 0x45a250
mov dword [esp + 0x10], str.out_of_memory
jmp 0x45a250
mov eax, dword [ebp + 0x94]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x1c], 0
mov dword [ebp + 0x78], 0
jne 0x45a26f
mov esi, dword [esp + 0x514]
push esi
push ebp
call fcn.00459350
add esp, 8
mov eax, dword [esp + 0x24]
push eax
mov edx, 0x8000
or word [ebp + 0x2a6], dx
push ebp
call fcn.00455480
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x45a29b
push eax
push ebp
call fcn.00457b20
add esp, 8
mov ecx, dword [esp + 0x504]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a7314
add esp, 0x4f8
ret
mov ecx, dword [ebp + 0x94]
mov dword [esp + 0x10], ecx
jmp 0x45a25e
mov dword [esp + 0x10], str.bad_compression_method
jmp 0x45a25e
mov dword [esp + 0x10], str.bad_keyword
jmp 0x45a25e
mov dword [esp + 0x10], str.too_many_profiles
jmp 0x45a265