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

Disassembly:
mov ecx, dword [0xaebd08]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45232a
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4521a2
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.00453dc0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x5c], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0x64]
test eax, eax
jle 0x452154
shl eax, 2
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x1c]
sub edx, eax
mov dword [esp], edx
lea eax, [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], edx
call fcn.00451e40
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x6c]
test eax, eax
jle 0x452193
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00451e40
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x4521a6
xor ecx, ecx
jmp 0x4521ad
add esp, 0x74
ret
add esp, 0x74
ret
lea ecx, [edx + 1]
cmp ecx, esi
jge 0x4521a6
mov edx, ecx
shl ecx, 4
mov ebx, dword [ebp + ecx]
lea edi, [ebp + ecx]
mov dword [esp + 0x60], edi
mov edi, dword [eax + 0x1c]
test ebx, ebx
jl 0x4521cc
mov edi, dword [eax + 0x20]
add ebx, edi
cmp dword [eax + 0x14], ebx
ja 0x4521aa
mov edi, dword [ebp + ecx + 8]
mov dword [esp + 0x50], edi
test edi, edi
jge 0x4521e5
xchg edi, ebx
neg ebx
xchg edi, ebx
nop
mov eax, dword [esp + 0x60]
mov dword [esp + 0x44], eax
lea eax, [0xa6eaa0]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
jmp 0x4522a9
xor esi, esi
mov dword [esp + 0x4c], edx
mov eax, dword [ebp + ecx + 0xc]
add eax, dword [esi + 0x9c]
mov esi, dword [esp + 0x50]
test esi, esi
jl 0x45221d
xor ecx, ecx
jmp 0x45224e
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], edi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00413a40
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x5c]
mov edi, dword [esp + 0x24]
mov esi, eax
mov eax, ecx
mov ecx, esi
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
jmp 0x4522dd
test ecx, ecx
je 0x45228a
nop
lea eax, [0xab3960]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 2
call fcn.0042b850
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
jmp 0x4521aa
mov esi, dword [esi + 0x124]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x452201
cmp dword [esi + 0xa0], eax
ja 0x45229b
cmp dword [esi + 0x88], eax
jbe 0x45229b
jmp 0x452203
lea ecx, [edx + 4]
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
cmp ebp, edi
jae 0x452266
shr ebp, 5
movzx ebp, byte [eax + ebp]
mov edx, dword [esp + 0x38]
shr edx, 2
and edx, 7
mov ecx, edx
xchg ebp, eax
shr al, cl
xchg ebp, eax
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x452324
mov edx, dword [esp + 0x38]
lea ebp, [edx + ebx]
mov ecx, dword [ebp]
cmp dword [esi], ecx
ja 0x4522ca
cmp dword [esi + 4], ecx
jbe 0x4522ca
mov esi, dword [esi + 8]
add esi, ecx
mov dword [ebp], esi
mov esi, dword [esp + 0x7c]
jmp 0x4522ca
mov edx, dword [esp + 0x38]
jmp 0x4522ca
call fcn.0046b960
jmp fcn.004520a0