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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x654729
sub esp, 0x70
lea eax, [0x7c49e0]
mov dword [esp], eax
call fcn.00409dc0
mov eax, dword [esp + 4]
mov ecx, dword [0xbc7270]
test ecx, ecx
jne 0x65470d
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov dword [eax], 0xd
mov ecx, dword [esp + 0x78]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x3c], ecx
mov edx, dword [0xbc7270]
test edx, edx
jne 0x6546f4
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x38], edx
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x84]
cmp ebx, 3
jne 0x653fa1
cmp ecx, 1
jb 0x654722
movzx eax, byte [edx]
mov byte [esp + 8], al
lea eax, [ecx - 1]
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0046c480
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
test ebx, ebx
jne 0x653f84
cmp ecx, 1
je 0x653f2c
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.00407630
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x7e938f]
mov dword [esp], eax
mov dword [esp + 4], 0x20
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bcb10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
movzx ecx, byte [ebp]
cmp cl, 0x27
jne 0x653e90
mov ecx, dword [esp + 0x34]
mov dword [ecx + 0x10], eax
mov edx, eax
sar eax, 0x1f
mov dword [ecx + 0x14], eax
mov byte [ecx + 0xc], 1
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], eax
mov byte [ecx + 0xd], 1
cvtsi2sd xmm0, edx
movsd qword [ecx + 0x20], xmm0
mov byte [ecx + 0xe], 1
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x70
ret
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], edx
add esp, 0x70
ret
cmp ebx, 4
je 0x65453f
test ecx, ecx
jle 0x653fbc
movzx ebx, byte [ecx + edx - 1]
cmp bl, 0x69
je 0x6543c2
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40
call fcn.00463d10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x18]
test edx, edx
je 0x6543af
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40
call fcn.00464540
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x654376
mov eax, dword [esp + 0x34]
movzx ecx, byte [eax + 0xc]
test cl, cl
jne 0x65434c
movzx ecx, byte [eax + 0xd]
test cl, cl
je 0x654145
mov byte [eax + 0xe], 1
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00448450
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0x34]
movsd qword [eax + 0x20], xmm0
movzx ecx, byte [eax + 0xc]
test cl, cl
je 0x654099
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x70
ret
movzx ecx, byte [eax + 0xd]
test cl, cl
jne 0x654078
movzx ecx, byte [eax + 0xe]
test cl, cl
jne 0x654078
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
call fcn.00407630
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x7e54e1]
mov dword [esp], eax
mov dword [esp + 4], 0x19
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bcb10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x40
call fcn.004638f0
mov eax, dword [esp + 0x14]
movsd xmm0, qword [esp + 0xc]
test eax, eax
je 0x65417b
mov eax, dword [esp + 0x34]
jmp 0x654070
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
lea edx, [0x7dc446]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.004d8c30
movzx eax, byte [esp + 0x10]
test al, al
je 0x6542b0
mov eax, dword [esp + 0x34]
mov byte [eax + 0xe], 1
movsd xmm0, qword [esp + 0x2c]
movsd qword [eax + 0x20], xmm0
movzx ecx, byte [eax + 0xc]
test cl, cl
je 0x654240
movzx ecx, byte [eax + 0xd]
test cl, cl
jne 0x654172
movsd qword [esp], xmm0
call fcn.00448310
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00448450
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x2c]
ucomisd xmm0, xmm1
jne 0x65420c
jnp 0x654215
mov eax, dword [esp + 0x34]
jmp 0x654172
mov eax, dword [esp + 0x34]
mov byte [eax + 0xd], 1
movsd qword [esp], xmm1
call fcn.00448310
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, edx
jmp 0x654172
movsd qword [esp], xmm0
call fcn.004482c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00448360
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x2c]
ucomisd xmm0, xmm1
jne 0x654272
jnp 0x65427f
mov eax, dword [esp + 0x34]
movsd xmm0, xmm1
jmp 0x6541d2
mov eax, dword [esp + 0x34]
mov byte [eax + 0xc], 1
movsd qword [esp], xmm1
call fcn.004482c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov eax, edx
movsd xmm0, qword [esp + 0x2c]
jmp 0x6541d2
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
call fcn.00407630
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x7e299a]
mov dword [esp], eax
mov dword [esp + 4], 0x14
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bcb10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov byte [eax + 0xe], 1
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00448360
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0x34]
movsd qword [eax + 0x20], xmm0
jmp 0x654070
mov edx, dword [esp + 0x34]
mov byte [edx + 0xc], 1
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
test eax, eax
sete al
test ecx, ecx
sete cl
and ecx, eax
test cl, cl
je 0x65402f
mov byte [edx + 0xd], 1
mov eax, dword [esp + 0x24]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 0x1c], eax
jmp 0x65402f
mov edx, dword [esp + 0x34]
mov byte [edx + 0xd], 1
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
jmp 0x653ff4
mov dword [esp], edx
lea eax, [ecx - 1]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x40
call fcn.004638f0
movsd xmm0, qword [esp + 0xc]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6543f7
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
jmp 0x653fbc
mov eax, dword [esp + 0x34]
mov byte [eax + 0xf], 1
xorps xmm1, xmm1
movsd qword [eax + 0x28], xmm1
movsd qword [eax + 0x30], xmm0
ucomisd xmm0, xmm1
sete cl
setnp al
and ecx, eax
mov eax, dword [esp + 0x34]
mov byte [eax + 0xe], cl
ucomisd xmm0, xmm1
jne 0x654427
jnp 0x654448
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x70
ret
movsd xmm0, qword [eax + 0x28]
movsd qword [eax + 0x20], xmm0
movsd qword [esp], xmm0
call fcn.004482c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00448360
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0x34]
movsd xmm1, qword [eax + 0x20]
ucomisd xmm1, xmm0
sete cl
setnp al
and ecx, eax
mov eax, dword [esp + 0x34]
mov byte [eax + 0xc], cl
ucomisd xmm1, xmm0
jne 0x65449a
jnp 0x654517
movsd xmm0, qword [eax + 0x20]
movsd qword [esp], xmm0
call fcn.00448310
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00448450
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0x34]
movsd xmm1, qword [eax + 0x20]
ucomisd xmm1, xmm0
sete cl
setnp al
and ecx, eax
mov eax, dword [esp + 0x34]
mov byte [eax + 0xd], cl
ucomisd xmm1, xmm0
jne 0x654427
jp 0x654427
movsd xmm0, qword [eax + 0x20]
movsd qword [esp], xmm0
call fcn.00448310
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, edx
jmp 0x654427
movsd xmm0, qword [eax + 0x20]
movsd qword [esp], xmm0
call fcn.004482c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov eax, edx
jmp 0x65449a
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ebx, [0x746420]
mov dword [esp + 0x58], ebx
lea ebx, [eax + 0x28]
mov dword [esp + 0x5c], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c3d80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x6546d7
mov eax, dword [esp + 0x34]
mov byte [eax + 0xf], 1
movsd xmm0, qword [eax + 0x30]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
sete cl
setnp al
and ecx, eax
mov eax, dword [esp + 0x34]
mov byte [eax + 0xe], cl
ucomisd xmm1, xmm0
jne 0x6545bf
jnp 0x6545e0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x70
ret
movsd xmm0, qword [eax + 0x28]
movsd qword [eax + 0x20], xmm0
movsd qword [esp], xmm0
call fcn.004482c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00448360
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0x34]
movsd xmm1, qword [eax + 0x20]
ucomisd xmm1, xmm0
sete cl
setnp al
and ecx, eax
mov eax, dword [esp + 0x34]
mov byte [eax + 0xc], cl
ucomisd xmm1, xmm0
jne 0x654632
jnp 0x6546af
movsd xmm0, qword [eax + 0x20]
movsd qword [esp], xmm0
call fcn.00448310
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00448450
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0x34]
movsd xmm1, qword [eax + 0x20]
ucomisd xmm1, xmm0
sete cl
setnp al
and ecx, eax
mov eax, dword [esp + 0x34]
mov byte [eax + 0xd], cl
ucomisd xmm1, xmm0
jne 0x6545bf
jp 0x6545bf
movsd xmm0, qword [eax + 0x20]
movsd qword [esp], xmm0
call fcn.00448310
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], eax
mov eax, edx
jmp 0x6545bf
movsd xmm0, qword [eax + 0x20]
movsd qword [esp], xmm0
call fcn.004482c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov eax, edx
jmp 0x654632
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x70
ret
lea edi, [eax + 0x38]
mov edx, eax
mov eax, dword [esp + 0x7c]
call fcn.0044cc20
mov eax, edx
mov edx, dword [esp + 0x7c]
jmp 0x653e2c
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.0044cc20
mov eax, ecx
jmp 0x653e00
call fcn.00426730
ud2
call fcn.0044b4c0
jmp fcn.00653dc0