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

Disassembly:
mov ecx, dword [0xd1dd94]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45153a
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4513b2
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.00453010
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 0x451364
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.00451050
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x6c]
test eax, eax
jle 0x4513a3
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.00451050
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x4513b6
xor ecx, ecx
jmp 0x4513bd
add esp, 0x74
ret
add esp, 0x74
ret
lea ecx, [edx + 1]
cmp ecx, esi
jge 0x4513b6
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 0x4513dc
mov edi, dword [eax + 0x20]
add ebx, edi
cmp dword [eax + 0x14], ebx
ja 0x4513ba
mov edi, dword [ebp + ecx + 8]
mov dword [esp + 0x50], edi
test edi, edi
jge 0x4513f5
xchg edi, ebx
neg ebx
xchg edi, ebx
nop
mov eax, dword [esp + 0x60]
mov dword [esp + 0x44], eax
lea eax, [0xca0260]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
jmp 0x4514b9
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 0x45142d
xor ecx, ecx
jmp 0x45145e
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], edi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00410d10
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 0x4514ed
test ecx, ecx
je 0x45149a
nop
lea eax, [0xd05c40]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 2
call fcn.00427ea0
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 0x4513ba
mov esi, dword [esi + 0x120]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x451411
cmp dword [esi + 0xa0], eax
ja 0x4514ab
cmp dword [esi + 0x88], eax
jbe 0x4514ab
jmp 0x451413
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 0x451476
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 0x451534
mov edx, dword [esp + 0x38]
lea ebp, [edx + ebx]
mov ecx, dword [ebp]
cmp dword [esi], ecx
ja 0x4514da
cmp dword [esi + 4], ecx
jbe 0x4514da
mov esi, dword [esi + 8]
add esi, ecx
mov dword [ebp], esi
mov esi, dword [esp + 0x7c]
jmp 0x4514da
mov edx, dword [esp + 0x38]
jmp 0x4514da
call fcn.004743e0
jmp fcn.004512b0