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

Disassembly:
mov ecx, dword [0x6816e0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45059a
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x450412
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.00452030
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 0x4503c4
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.004500b0
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x6c]
test eax, eax
jle 0x450403
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.004500b0
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x450416
xor ecx, ecx
jmp 0x45041d
add esp, 0x74
ret
add esp, 0x74
ret
lea ecx, [edx + 1]
cmp ecx, esi
jge 0x450416
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 0x45043c
mov edi, dword [eax + 0x20]
add ebx, edi
cmp dword [eax + 0x14], ebx
ja 0x45041a
mov edi, dword [ebp + ecx + 8]
mov dword [esp + 0x50], edi
test edi, edi
jge 0x450455
xchg edi, ebx
neg ebx
xchg edi, ebx
nop
mov eax, dword [esp + 0x60]
mov dword [esp + 0x44], eax
lea eax, [0x6364e0]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
jmp 0x450519
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 0x45048d
xor ecx, ecx
jmp 0x4504be
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], edi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00412690
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 0x45054d
test ecx, ecx
je 0x4504fa
nop
lea eax, [0x6493e0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 2
call fcn.0042a250
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 0x45041a
mov esi, dword [esi + 0x124]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x450471
cmp dword [esi + 0xa0], eax
ja 0x45050b
cmp dword [esi + 0x88], eax
jbe 0x45050b
jmp 0x450473
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 0x4504d6
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 0x450594
mov edx, dword [esp + 0x38]
lea ebp, [edx + ebx]
mov ecx, dword [ebp]
cmp dword [esi], ecx
ja 0x45053a
cmp dword [esi + 4], ecx
jbe 0x45053a
mov esi, dword [esi + 8]
add esi, ecx
mov dword [ebp], esi
mov esi, dword [esp + 0x7c]
jmp 0x45053a
mov edx, dword [esp + 0x38]
jmp 0x45053a
call fcn.00467f80
jmp fcn.00450310