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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x452810
sub esp, 0x34
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov ebx, dword [esp + 0x38]
mov ebp, ebx
mov esi, dword [esp + 0x3c]
sub esi, ebp
lea edi, [esi - 1]
test esi, edi
jne 0x4527f9
mov edi, dword [0x1ae10c8]
test edi, edi
jne 0x452652
cmp esi, 0x8000
jae 0x4525dc
mov eax, esi
xor ecx, ecx
jmp 0x452717
mov eax, dword [0x1ab7224]
test byte [eax], al
nop
nop
mov dword [esp + 0x28], ebx
mov ecx, ebp
shr ebp, 0x16
mov eax, dword [eax + ebp*4]
shr ecx, 0xd
and ecx, 0x1ff
mov ecx, dword [eax + ecx*4 + 0x40000]
mov dword [esp + 0x14], ecx
test byte [ecx], al
test byte [eax], al
lea eax, [ecx + 0x3b]
mov dword [esp], eax
call fcn.00401f30
cmp byte [esp + 4], 2
jne 0x4526bf
mov eax, dword [0x1ae0534]
test eax, eax
je 0x452635
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
xor edx, edx
jmp 0x452669
lea eax, [0x1ab7140]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004297d0
jmp 0x452662
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.00415e80
add esp, 0x34
ret
add esp, 0x34
ret
shr ecx, 1
inc edx
cmp ecx, 1
ja 0x452666
mov dword [esp + 0x18], edx
nop
lea eax, [0x1ae1700]
mov dword [esp], eax
call fcn.0040a440
mov eax, dword [esp + 0x18]
cmp eax, 0x13
jae 0x4526b5
lea ecx, [0x1ae1704]
lea eax, [ecx + eax*8]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.00429e70
nop
nop
lea eax, [0x1ae1700]
mov dword [esp], eax
call fcn.0040a640
jmp 0x452662
mov ecx, 0x13
call fcn.0046ca90
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
call fcn.0043d790
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.0043def0
call fcn.0043d970
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.0043dff0
call fcn.0043d9b0
call fcn.0043d800
lea eax, [0x109018a]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0043bac0
inc ecx
shr esi, 1
cmp esi, 0x1000
ja 0x452714
mov edx, dword [edx + 0x18]
mov ebx, dword [edx + 0x58]
test ebx, ebx
je 0x452730
mov edx, dword [edx + 0x78]
test edx, edx
je 0x452780
movzx eax, cl
cmp eax, 3
jae 0x4527ef
mov byte [esp + 0xf], cl
shl eax, 6
lea ecx, [0x1ae17a0]
add eax, ecx
mov dword [esp + 0x2c], eax
nop
mov dword [esp], eax
call fcn.0040a440
mov eax, dword [esp + 0x38]
mov dword [esp], eax
movzx eax, byte [esp + 0xf]
mov byte [esp + 4], al
call fcn.00451ef0
nop
nop
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0040a640
jmp 0x452662
mov edx, dword [ebx + 0x30]
test byte [edx], al
movzx ebx, cl
cmp ebx, 3
jae 0x4527e3
lea esi, [edx + ebx*8 + 0x238]
cmp dword [esi], 0x8000
jb 0x4527cc
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], esi
mov dword [esp], edx
mov byte [esp + 4], cl
call fcn.00452110
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov ecx, ebp
lea edx, [edx + ebx*8 + 0x234]
mov ebx, dword [edx]
mov dword [ebp], ebx
mov dword [edx], ecx
add dword [esi], eax
jmp 0x452662
mov eax, ebx
mov ecx, 3
call fcn.0046ca90
mov ecx, 3
call fcn.0046ca90
lea eax, [0x10a1255]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.0043bac0
nop
call fcn.00469c30
jmp fcn.00452580