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

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x228
mov rax, qword [0x140158338]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov rax, qword [0x14017e420]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x37d0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x230]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x230]
mov byte [rax + 0xbb], 0
mov rax, qword [rsp + 0x230]
vmovss xmm0, dword [rax + 0x58]
vmovss dword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x230]
vmovss xmm0, dword [rax + 0x5c]
vmovss dword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x230]
movzx eax, byte [rax + 0xb9]
test eax, eax
je 0x140049159
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rax + 0x48]
vmovss dword [rsp + 0x7c], xmm0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x230]
vmovss xmm0, dword [rcx + 0x5c]
vmovss dword [rax + 0x3818], xmm0
movzx eax, byte [rsp + 0x240]
test eax, eax
je 0x1400490f4
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x4916]
test eax, eax
jne 0x1400490f4
mov dword [rsp + 0x58], 0xb
jmp 0x1400490fc
mov dword [rsp + 0x58], 0xc
vmovss xmm1, dword [0x1401470d4]
mov ecx, dword [rsp + 0x58]
call fcn.14003de50
mov dword [rsp + 0x78], eax
vmovss xmm0, dword [rsp + 0x40]
vmovss dword [rsp + 0x20], xmm0
mov r9b, 1
mov r8d, dword [rsp + 0x78]
mov rax, qword [rsp + 0x238]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x238]
mov rcx, qword [rax]
call fcn.14003f300
mov rax, qword [rsp + 0x50]
vmovss xmm0, dword [rsp + 0x7c]
vmovss dword [rax + 0x3818], xmm0
jmp 0x1400499f0
mov eax, dword [rsp + 0x34]
and eax, 0x80
test eax, eax
jne 0x1400492f7
mov rcx, qword [rsp + 0x230]
call fcn.140047640
vmovss xmm1, dword [0x1401470d4]
mov ecx, eax
call fcn.14003de50
mov dword [rsp + 0x44], eax
mov byte [rsp + 0x30], 0
vmovss xmm0, dword [0x1401470d4]
vmovss dword [rsp + 0x5c], xmm0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x47d0]
and eax, 0x40
test eax, eax
je 0x1400491c7
mov rax, qword [rsp + 0x50]
vmovss xmm0, dword [rax + 0x4830]
vmovss dword [rsp + 0x5c], xmm0
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140049211
mov eax, dword [rsp + 0x44]
and eax, 0xffffff
mov dword [rsp + 0x80], eax
vmovss xmm0, dword [rsp + 0x5c]
call fcn.140034d70
vmulss xmm0, xmm0, dword [0x1401472f0]
vaddss xmm0, xmm0, dword [0x140146f38]
vcvttss2si eax, xmm0
shl eax, 0x18
mov ecx, dword [rsp + 0x80]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x14004923d
mov dword [rsp + 0x60], 0
jmp 0x140049245
mov dword [rsp + 0x60], 0xc0
mov rax, qword [rsp + 0x230]
add rax, 0x28
mov rcx, qword [rsp + 0x230]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x150]
call fcn.140034200
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0x230]
call fcn.140037c90
vmovups xmm2, xmm0
vxorps xmm1, xmm1, xmm1
lea rcx, [rsp + 0x158]
call fcn.14000b270
mov rcx, qword [rsp + 0x230]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x160]
call fcn.140034200
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
vmovss xmm0, dword [rsp + 0x40]
vmovss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x44]
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.140077770
mov rax, qword [rsp + 0x70]
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, dword [rax + 0xdc]
jae 0x14004934e
mov eax, dword [rsp + 0x34]
and eax, 0x1000000
test eax, eax
je 0x140049324
mov eax, dword [rsp + 0x34]
and eax, 0x4000000
test eax, eax
je 0x14004934e
mov eax, 0x10
imul rax, rax, 0x35
mov rcx, qword [rsp + 0x70]
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, dword [rcx + rax + 0xf4]
jae 0x14004934e
mov rcx, qword [rsp + 0x230]
call fcn.140049a10
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
jne 0x1400493ed
movzx eax, byte [rsp + 0x240]
test eax, eax
je 0x140049373
mov dword [rsp + 0x64], 0xb
jmp 0x14004937b
mov dword [rsp + 0x64], 0xa
vmovss xmm1, dword [0x1401470d4]
mov ecx, dword [rsp + 0x64]
call fcn.14003de50
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x238]
add rax, 8
mov rcx, qword [rsp + 0x238]
mov dword [rsp + 0x28], 0x30
vmovss xmm0, dword [rsp + 0x40]
vmovss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x84]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0xd0]
call fcn.140077770
mov eax, dword [rsp + 0x34]
and eax, 0x400
test eax, eax
je 0x140049624
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x230]
call fcn.140037e00
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x230]
call fcn.140037bb0
mov rdx, rax
lea rcx, [rsp + 0x200]
call fcn.1400357a0
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0xe8], rax
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x140049468
vmovss xmm0, dword [rsp + 0x40]
vmovss dword [rsp + 0x68], xmm0
jmp 0x140049472
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x68], xmm0
vmovss xmm1, dword [0x1401470d4]
mov ecx, 0xd
call fcn.14003de50
mov dword [rsp + 0x88], eax
vxorps xmm2, xmm2, xmm2
vmovss xmm1, dword [rsp + 0x38]
lea rcx, [rsp + 0x168]
call fcn.14000b270
mov r8, rax
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x170]
call fcn.140034260
mov qword [rsp + 0xd8], rax
vxorps xmm2, xmm2, xmm2
vmovss xmm1, dword [rsp + 0x38]
lea rcx, [rsp + 0x178]
call fcn.14000b270
mov r8, rax
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x180]
call fcn.140034200
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x28], 0x30
vmovss xmm0, dword [rsp + 0x68]
vmovss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x88]
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
call fcn.140077770
mov rax, qword [rsp + 0x70]
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, dword [rax + 0x48]
jae 0x140049624
mov rax, qword [rsp + 0x230]
mov rcx, qword [rsp + 0x230]
vmovss xmm0, dword [rax + 0x24]
vaddss xmm0, xmm0, dword [rcx + 0x2c]
vmovss xmm1, dword [rsp + 0x20c]
vcomiss xmm1, xmm0
jae 0x140049624
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rax + 0x48]
vmovss dword [rsp + 0x8c], xmm0
vmovss xmm1, dword [0x1401470d4]
mov ecx, 5
call fcn.14003de50
mov dword [rsp + 0x90], eax
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x200]
call fcn.140035340
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x200]
call fcn.140035300
mov qword [rsp + 0xf8], rax
vmovss xmm0, dword [rsp + 0x8c]
vmovss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x90]
mov r8, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
call fcn.140077500
mov rax, qword [rsp + 0x230]
movzx eax, byte [rax + 0xb4]
test eax, eax
je 0x14004963e
xor ecx, ecx
call fcn.140090f80
mov rax, qword [rsp + 0x230]
movzx eax, byte [rax + 0xb5]
test eax, eax
je 0x14004965b
mov ecx, 1
call fcn.140090f80
movzx eax, byte [rsp + 0x248]
test eax, eax
je 0x1400499d7
mov eax, dword [rsp + 0x34]
and eax, 2
test eax, eax
jne 0x1400499d7
mov dword [rsp + 0x3c], 0
jmp 0x14004968e
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x250]
cmp dword [rsp + 0x3c], eax
jge 0x1400499d7
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x258]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
and eax, 0xff000000
test eax, eax
jne 0x1400496c2
jmp 0x140049684
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x18
lea rcx, [0x1401249f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x230]
add rcx, 0x28
mov rdx, qword [rsp + 0x230]
add rdx, 0x20
mov r8, rcx
lea rcx, [rsp + 0x198]
call fcn.140034200
mov rcx, qword [rsp + 0x230]
add rcx, 0x20
mov rdx, qword [rsp + 0x108]
mov r9, rdx
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x1f8]
call fcn.140034ce0
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x120], rax
mov eax, dword [rsp + 0x3c]
and eax, 1
test eax, eax
je 0x140049784
vmovss xmm2, dword [rsp + 0x260]
vmovss xmm1, dword [rsp + 0x38]
lea rcx, [rsp + 0x1a0]
call fcn.14000b270
mov qword [rsp + 0xa8], rax
jmp 0x1400497a8
vmovss xmm2, dword [rsp + 0x38]
vmovss xmm1, dword [rsp + 0x260]
lea rcx, [rsp + 0x1a8]
call fcn.14000b270
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x48]
add rax, 8
mov r8, qword [rsp + 0x110]
mov rdx, rax
lea rcx, [rsp + 0x1b0]
call fcn.1400342c0
mov r8, rax
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x1b8]
call fcn.140034200
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x120]
call fcn.1400345f0
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x138], rax
mov eax, dword [rsp + 0x3c]
and eax, 1
test eax, eax
je 0x140049856
vmovss xmm2, dword [rsp + 0x38]
vmovss xmm1, dword [rsp + 0x260]
lea rcx, [rsp + 0x1c0]
call fcn.14000b270
mov qword [rsp + 0xa0], rax
jmp 0x14004987a
vmovss xmm2, dword [rsp + 0x260]
vmovss xmm1, dword [rsp + 0x38]
lea rcx, [rsp + 0x1c8]
call fcn.14000b270
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x48]
add rax, 8
mov r8, qword [rsp + 0x128]
mov rdx, rax
lea rcx, [rsp + 0x1d0]
call fcn.1400342c0
mov r8, rax
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x1d8]
call fcn.140034200
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x138]
call fcn.1400345f0
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x98], eax
vmovss xmm0, dword [rsp + 0x40]
vaddss xmm0, xmm0, dword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
vmovss xmm1, dword [rax + 0xc]
vmulss xmm0, xmm1, xmm0
vmovss xmm1, dword [rsp + 0x1fc]
vaddss xmm0, xmm1, xmm0
vmovss xmm1, dword [rsp + 0x40]
vaddss xmm1, xmm1, dword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
vmovss xmm2, dword [rax + 8]
vmulss xmm1, xmm2, xmm1
vmovss xmm2, dword [rsp + 0x1f8]
vaddss xmm1, xmm2, xmm1
vmovups xmm2, xmm0
lea rcx, [rsp + 0x1e0]
call fcn.14000b270
mov qword [rsp + 0x140], rax
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x98]
vmovss xmm2, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
call fcn.140076a60
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0xb0], rax
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0xb0]
call fcn.140034620
jmp 0x140049684
movzx eax, byte [rsp + 0x248]
test eax, eax
je 0x1400499f0
mov rcx, qword [rsp + 0x230]
call fcn.140048a50
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140111060
add rsp, 0x228
ret