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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov rax, qword [rsp + 0x130]
add rax, 8
mov r8, qword [rsp + 0x120]
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.14003d230
mov rcx, qword [rsp + 0x130]
mov r9, qword [rax]
mov r8, rcx
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x90]
call fcn.14004a550
cmp dword [rsp + 0x140], 1
jne 0x140047848
mov dword [rsp + 0x98], 3
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0xa4], 2
mov rax, qword [rsp + 0x128]
cmp dword [rax], 0xffffffff
je 0x140047643
mov dword [rsp + 0x40], 0xffffffff
jmp 0x14004764b
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x24], eax
jmp 0x14004765f
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 4
jge 0x140047848
cmp dword [rsp + 0x24], 0xffffffff
jne 0x140047681
mov rax, qword [rsp + 0x128]
mov eax, dword [rax]
mov dword [rsp + 0x44], eax
jmp 0x140047691
movsxd rax, dword [rsp + 0x24]
mov eax, dword [rsp + rax*4 + 0x98]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x24], 0xffffffff
je 0x1400476b2
mov rax, qword [rsp + 0x128]
mov eax, dword [rax]
cmp dword [rsp + 0x28], eax
jne 0x1400476b2
jmp 0x140047655
lea rcx, [rsp + 0x30]
call fcn.14003c650
cmp dword [rsp + 0x28], 3
jne 0x1400476f1
mov rax, qword [rsp + 0x138]
movss xmm2, dword [rax + 0xc]
mov rax, qword [rsp + 0x138]
movss xmm1, dword [rax]
lea rcx, [rsp + 0xc0]
call fcn.140037eb0
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x28], 1
jne 0x140047736
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x120]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 4]
movaps xmm2, xmm0
mov rax, qword [rsp + 0x138]
movss xmm1, dword [rax]
lea rcx, [rsp + 0xc8]
call fcn.140037eb0
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x28], 0
jne 0x14004777b
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x120]
movss xmm0, dword [rax + 8]
subss xmm0, dword [rcx]
mov rax, qword [rsp + 0x138]
movss xmm2, dword [rax + 0xc]
movaps xmm1, xmm0
lea rcx, [rsp + 0xd0]
call fcn.140037eb0
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x28], 2
jne 0x1400477cd
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x120]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 4]
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x120]
movss xmm1, dword [rax + 8]
subss xmm1, dword [rcx]
movaps xmm2, xmm0
lea rcx, [rsp + 0xd8]
call fcn.140037eb0
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x120]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.14003d280
mov r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xf0]
call fcn.140037e00
mov rdx, rax
mov rcx, qword [rsp + 0x130]
call fcn.140045780
movzx eax, al
test eax, eax
jne 0x140047818
jmp 0x140047655
mov rax, qword [rsp + 0x128]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x110]
jmp 0x140047ce3
cmp dword [rsp + 0x140], 2
je 0x140047860
cmp dword [rsp + 0x140], 0
jne 0x140047b94
mov dword [rsp + 0xa8], 1
mov dword [rsp + 0xac], 3
mov dword [rsp + 0xb0], 2
mov dword [rsp + 0xb4], 0
mov rax, qword [rsp + 0x128]
cmp dword [rax], 0xffffffff
je 0x1400478a3
mov dword [rsp + 0x48], 0xffffffff
jmp 0x1400478ab
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x2c], eax
jmp 0x1400478bf
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 4
jge 0x140047b94
cmp dword [rsp + 0x2c], 0xffffffff
jne 0x1400478e1
mov rax, qword [rsp + 0x128]
mov eax, dword [rax]
mov dword [rsp + 0x4c], eax
jmp 0x1400478f1
movsxd rax, dword [rsp + 0x2c]
mov eax, dword [rsp + rax*4 + 0xa8]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x2c], 0xffffffff
je 0x140047912
mov rax, qword [rsp + 0x128]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jne 0x140047912
jmp 0x1400478b5
cmp dword [rsp + 0x20], 0
jne 0x14004792d
mov rax, qword [rsp + 0x138]
movss xmm0, dword [rax]
movss dword [rsp + 0x50], xmm0
jmp 0x140047940
mov rax, qword [rsp + 0x130]
movss xmm0, dword [rax + 8]
movss dword [rsp + 0x50], xmm0
cmp dword [rsp + 0x20], 1
jne 0x14004795c
mov rax, qword [rsp + 0x138]
movss xmm0, dword [rax + 8]
movss dword [rsp + 0x54], xmm0
jmp 0x14004796e
mov rax, qword [rsp + 0x130]
movss xmm0, dword [rax]
movss dword [rsp + 0x54], xmm0
movss xmm0, dword [rsp + 0x50]
subss xmm0, dword [rsp + 0x54]
movss dword [rsp + 0x84], xmm0
cmp dword [rsp + 0x20], 2
jne 0x14004799f
mov rax, qword [rsp + 0x138]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x58], xmm0
jmp 0x1400479b2
mov rax, qword [rsp + 0x130]
movss xmm0, dword [rax + 0xc]
movss dword [rsp + 0x58], xmm0
cmp dword [rsp + 0x20], 3
jne 0x1400479ce
mov rax, qword [rsp + 0x138]
movss xmm0, dword [rax + 0xc]
movss dword [rsp + 0x5c], xmm0
jmp 0x1400479e1
mov rax, qword [rsp + 0x130]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rsp + 0x58]
subss xmm0, dword [rsp + 0x5c]
movss dword [rsp + 0x88], xmm0
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rax]
comiss xmm0, dword [rsp + 0x84]
jbe 0x140047a1f
cmp dword [rsp + 0x20], 0
je 0x140047a1a
cmp dword [rsp + 0x20], 1
jne 0x140047a1f
jmp 0x1400478b5
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rax + 4]
comiss xmm0, dword [rsp + 0x88]
jbe 0x140047a49
cmp dword [rsp + 0x20], 2
je 0x140047a44
cmp dword [rsp + 0x20], 3
jne 0x140047a49
jmp 0x1400478b5
lea rcx, [rsp + 0x38]
call fcn.14003c650
cmp dword [rsp + 0x20], 0
jne 0x140047a7a
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x120]
movss xmm0, dword [rax]
subss xmm0, dword [rcx]
movss dword [rsp + 0x64], xmm0
jmp 0x140047ab1
cmp dword [rsp + 0x20], 1
jne 0x140047a96
mov rax, qword [rsp + 0x138]
movss xmm0, dword [rax + 8]
movss dword [rsp + 0x60], xmm0
jmp 0x140047aa5
movss xmm0, dword [rsp + 0x90]
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rsp + 0x60]
movss dword [rsp + 0x64], xmm0
movss xmm0, dword [rsp + 0x64]
movss dword [rsp + 0x38], xmm0
cmp dword [rsp + 0x20], 2
jne 0x140047ae6
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x120]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 4]
movss dword [rsp + 0x6c], xmm0
jmp 0x140047b1d
cmp dword [rsp + 0x20], 3
jne 0x140047b02
mov rax, qword [rsp + 0x138]
movss xmm0, dword [rax + 0xc]
movss dword [rsp + 0x68], xmm0
jmp 0x140047b11
movss xmm0, dword [rsp + 0x94]
movss dword [rsp + 0x68], xmm0
movss xmm0, dword [rsp + 0x68]
movss dword [rsp + 0x6c], xmm0
movss xmm0, dword [rsp + 0x6c]
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x130]
movss xmm1, dword [rax]
movss xmm0, dword [rsp + 0x38]
call fcn.140039840
movss dword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x130]
movss xmm1, dword [rax + 4]
movss xmm0, dword [rsp + 0x3c]
call fcn.140039840
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x128]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov rax, qword [rsp + 0x110]
jmp 0x140047ce3
mov rax, qword [rsp + 0x128]
mov dword [rax], 0xffffffff
cmp dword [rsp + 0x140], 2
jne 0x140047bee
movss xmm2, dword [0x140162fa4]
movss xmm1, dword [0x140162fa4]
lea rcx, [rsp + 0xe8]
call fcn.140037eb0
mov r8, rax
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x110]
call fcn.14003d280
mov rax, qword [rsp + 0x110]
jmp 0x140047ce3
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x130]
movss xmm0, dword [rax]
movss dword [rsp + 0x8c], xmm0
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rsp + 0x70]
addss xmm0, dword [rax]
mov rax, qword [rsp + 0x130]
movss xmm1, dword [rax + 8]
call fcn.1400398b0
mov rax, qword [rsp + 0x120]
subss xmm0, dword [rax]
movss dword [rsp + 0x78], xmm0
movss xmm1, dword [rsp + 0x8c]
movss xmm0, dword [rsp + 0x78]
call fcn.140039840
movss dword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x130]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x7c], xmm0
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rsp + 0x74]
addss xmm0, dword [rax + 4]
mov rax, qword [rsp + 0x130]
movss xmm1, dword [rax + 0xc]
call fcn.1400398b0
mov rax, qword [rsp + 0x120]
subss xmm0, dword [rax + 4]
movss dword [rsp + 0x80], xmm0
movss xmm1, dword [rsp + 0x7c]
movss xmm0, dword [rsp + 0x80]
call fcn.140039840
movss dword [rsp + 0x74], xmm0
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
mov rax, qword [rsp + 0x110]
add rsp, 0x108
ret