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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45164a
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4514c2
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.004530e0
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 0x451474
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.00451160
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x6c]
test eax, eax
jle 0x4514b3
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.00451160
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x4514c6
xor ecx, ecx
jmp 0x4514cd
add esp, 0x74
ret
add esp, 0x74
ret
lea ecx, [edx + 1]
cmp ecx, esi
jge 0x4514c6
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 0x4514ec
mov edi, dword [eax + 0x20]
add ebx, edi
cmp dword [eax + 0x14], ebx
ja 0x4514ca
mov edi, dword [ebp + ecx + 8]
mov dword [esp + 0x50], edi
test edi, edi
jge 0x451505
xchg edi, ebx
neg ebx
xchg edi, ebx
nop
mov eax, dword [esp + 0x60]
mov dword [esp + 0x44], eax
lea eax, [0x768e40]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
jmp 0x4515c9
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 0x45153d
xor ecx, ecx
jmp 0x45156e
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], edi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.004134b0
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 0x4515fd
test ecx, ecx
je 0x4515aa
nop
lea eax, [0x7a2260]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 2
call fcn.0042b070
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 0x4514ca
mov esi, dword [esi + 0x124]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x451521
cmp dword [esi + 0xa0], eax
ja 0x4515bb
cmp dword [esi + 0x88], eax
jbe 0x4515bb
jmp 0x451523
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 0x451586
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 0x451644
mov edx, dword [esp + 0x38]
lea ebp, [edx + ebx]
mov ecx, dword [ebp]
cmp dword [esi], ecx
ja 0x4515ea
cmp dword [esi + 4], ecx
jbe 0x4515ea
mov esi, dword [esi + 8]
add esi, ecx
mov dword [ebp], esi
mov esi, dword [esp + 0x7c]
jmp 0x4515ea
mov edx, dword [esp + 0x38]
jmp 0x4515ea
call fcn.0046aa70
jmp fcn.004513c0