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

Disassembly:
mov ecx, dword [0x14670ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45245a
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4522d2
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.00453f30
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 0x452284
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.00451f70
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x6c]
test eax, eax
jle 0x4522c3
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.00451f70
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x4522d6
xor ecx, ecx
jmp 0x4522dd
add esp, 0x74
ret
add esp, 0x74
ret
lea ecx, [edx + 1]
cmp ecx, esi
jge 0x4522d6
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 0x4522fc
mov edi, dword [eax + 0x20]
add ebx, edi
cmp dword [eax + 0x14], ebx
ja 0x4522da
mov edi, dword [ebp + ecx + 8]
mov dword [esp + 0x50], edi
test edi, edi
jge 0x452315
xchg edi, ebx
neg ebx
xchg edi, ebx
nop
mov eax, dword [esp + 0x60]
mov dword [esp + 0x44], eax
lea eax, [0x13d98a0]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
jmp 0x4523d9
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 0x45234d
xor ecx, ecx
jmp 0x45237e
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], edi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.004141f0
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 0x45240d
test ecx, ecx
je 0x4523ba
nop
lea eax, [0x144eee0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 2
call fcn.0042b5f0
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 0x4522da
mov esi, dword [esi + 0x120]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x452331
cmp dword [esi + 0xa0], eax
ja 0x4523cb
cmp dword [esi + 0x88], eax
jbe 0x4523cb
jmp 0x452333
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 0x452396
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 0x452454
mov edx, dword [esp + 0x38]
lea ebp, [edx + ebx]
mov ecx, dword [ebp]
cmp dword [esi], ecx
ja 0x4523fa
cmp dword [esi + 4], ecx
jbe 0x4523fa
mov esi, dword [esi + 8]
add esi, ecx
mov dword [ebp], esi
mov esi, dword [esp + 0x7c]
jmp 0x4523fa
mov edx, dword [esp + 0x38]
jmp 0x4523fa
call fcn.00475a70
jmp fcn.004521d0