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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6547f9
sub esp, 0x70
lea eax, [0x77ada0]
mov dword [esp], eax
call fcn.00409d00
mov eax, dword [esp + 4]
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x6547dd
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 [0xa8f2d0]
test edx, edx
jne 0x6547c4
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x38], edx
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x84]
cmp ebx, 3
jne 0x654071
cmp ecx, 1
jb 0x6547f2
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.0045b4a0
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 0x654054
cmp ecx, 1
je 0x653ffc
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, [0x730dc0]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.00407570
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x7a022a]
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.004b5080
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 0x653f60
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 0x65460f
test ecx, ecx
jle 0x65408c
movzx ebx, byte [ecx + edx - 1]
cmp bl, 0x69
je 0x654492
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40
call fcn.00452d30
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 0x65447f
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.00453560
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x654446
mov eax, dword [esp + 0x34]
movzx ecx, byte [eax + 0xc]
test cl, cl
jne 0x65441c
movzx ecx, byte [eax + 0xd]
test cl, cl
je 0x654215
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.00448210
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0x34]
movsd qword [eax + 0x20], xmm0
movzx ecx, byte [eax + 0xc]
test cl, cl
je 0x654169
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 0x654148
movzx ecx, byte [eax + 0xe]
test cl, cl
jne 0x654148
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, [0x730dc0]
mov dword [esp], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
call fcn.00407570
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x79ca9b]
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.004b5080
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.00452910
mov eax, dword [esp + 0x14]
movsd xmm0, qword [esp + 0xc]
test eax, eax
je 0x65424b
mov eax, dword [esp + 0x34]
jmp 0x654140
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, [0x78f8d9]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.004c7080
movzx eax, byte [esp + 0x10]
test al, al
je 0x654380
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 0x654310
movzx ecx, byte [eax + 0xd]
test cl, cl
jne 0x654242
movsd qword [esp], xmm0
call fcn.004480d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00448210
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x2c]
ucomisd xmm0, xmm1
jne 0x6542dc
jnp 0x6542e5
mov eax, dword [esp + 0x34]
jmp 0x654242
mov eax, dword [esp + 0x34]
mov byte [eax + 0xd], 1
movsd qword [esp], xmm1
call fcn.004480d0
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 0x654242
movsd qword [esp], xmm0
call fcn.00448080
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00448120
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x2c]
ucomisd xmm0, xmm1
jne 0x654342
jnp 0x65434f
mov eax, dword [esp + 0x34]
movsd xmm0, xmm1
jmp 0x6542a2
mov eax, dword [esp + 0x34]
mov byte [eax + 0xc], 1
movsd qword [esp], xmm1
call fcn.00448080
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 0x6542a2
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, [0x730dc0]
mov dword [esp], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
call fcn.00407570
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x799f2b]
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.004b5080
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.00448120
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0x34]
movsd qword [eax + 0x20], xmm0
jmp 0x654140
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 0x6540ff
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 0x6540ff
mov edx, dword [esp + 0x34]
mov byte [edx + 0xd], 1
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
jmp 0x6540c4
mov dword [esp], edx
lea eax, [ecx - 1]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x40
call fcn.00452910
movsd xmm0, qword [esp + 0xc]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6544c7
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
jmp 0x65408c
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 0x6544f7
jnp 0x654518
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.00448080
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00448120
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 0x65456a
jnp 0x6545e7
movsd xmm0, qword [eax + 0x20]
movsd qword [esp], xmm0
call fcn.004480d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00448210
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 0x6544f7
jp 0x6544f7
movsd xmm0, qword [eax + 0x20]
movsd qword [esp], xmm0
call fcn.004480d0
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 0x6544f7
movsd xmm0, qword [eax + 0x20]
movsd qword [esp], xmm0
call fcn.00448080
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 0x65456a
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ebx, [0x709880]
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.004bc280
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x6547a7
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 0x65468f
jnp 0x6546b0
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.00448080
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00448120
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 0x654702
jnp 0x65477f
movsd xmm0, qword [eax + 0x20]
movsd qword [esp], xmm0
call fcn.004480d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00448210
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 0x65468f
jp 0x65468f
movsd xmm0, qword [eax + 0x20]
movsd qword [esp], xmm0
call fcn.004480d0
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 0x65468f
movsd xmm0, qword [eax + 0x20]
movsd qword [esp], xmm0
call fcn.00448080
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 0x654702
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.0044c9e0
mov eax, edx
mov edx, dword [esp + 0x7c]
jmp 0x653efc
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.0044c9e0
mov eax, ecx
jmp 0x653ed0
call fcn.004267e0
ud2
call fcn.0044b280
jmp fcn.00653e90