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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x4528d0
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 0x4528b9
mov edi, dword [0x14d1b28]
test edi, edi
jne 0x452712
cmp esi, 0x8000
jae 0x45269c
mov eax, esi
xor ecx, ecx
jmp 0x4527d7
mov eax, dword [0x14b1144]
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 0x45277f
mov eax, dword [0x14d1298]
test eax, eax
je 0x4526f5
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
xor edx, edx
jmp 0x452729
lea eax, [0x14b1060]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.00429bf0
jmp 0x452722
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.00416250
add esp, 0x34
ret
add esp, 0x34
ret
shr ecx, 1
inc edx
cmp ecx, 1
ja 0x452726
mov dword [esp + 0x18], edx
nop
lea eax, [0x14d1fa0]
mov dword [esp], eax
call fcn.0040a9c0
mov eax, dword [esp + 0x18]
cmp eax, 0x13
jae 0x452775
lea ecx, [0x14d1fa4]
lea eax, [ecx + eax*8]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.0042a290
nop
nop
lea eax, [0x14d1fa0]
mov dword [esp], eax
call fcn.0040abc0
jmp 0x452722
mov ecx, 0x13
call fcn.0046c710
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
call fcn.0043d780
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.0043dee0
call fcn.0043d960
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.0043dfe0
call fcn.0043d9a0
call fcn.0043d7f0
lea eax, [0xd565da]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0043bb80
inc ecx
shr esi, 1
cmp esi, 0x1000
ja 0x4527d4
mov edx, dword [edx + 0x18]
mov ebx, dword [edx + 0x58]
test ebx, ebx
je 0x4527f0
mov edx, dword [edx + 0x78]
test edx, edx
je 0x452840
movzx eax, cl
cmp eax, 3
jae 0x4528af
mov byte [esp + 0xf], cl
shl eax, 6
lea ecx, [0x14d2040]
add eax, ecx
mov dword [esp + 0x2c], eax
nop
mov dword [esp], eax
call fcn.0040a9c0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
movzx eax, byte [esp + 0xf]
mov byte [esp + 4], al
call fcn.00451fb0
nop
nop
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0040abc0
jmp 0x452722
mov edx, dword [ebx + 0x30]
test byte [edx], al
movzx ebx, cl
cmp ebx, 3
jae 0x4528a3
lea esi, [edx + ebx*8 + 0x238]
cmp dword [esi], 0x8000
jb 0x45288c
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.004521d0
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 0x452722
mov eax, ebx
mov ecx, 3
call fcn.0046c710
mov ecx, 3
call fcn.0046c710
lea eax, [0xd624c7]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.0043bb80
nop
call fcn.004697c0
jmp fcn.00452640