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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
mov r13d, r9d
mov dword [rsp + 0x34], r8d
mov r15d, edx
mov dword [rsp + 0x4c], edx
mov qword [rsp + 0x70], rcx
mov r14, qword [0x1800ebe10]
mov rax, qword [r14 + 0x3fd8]
mov byte [rax + 0xe5], 1
mov rsi, qword [r14 + 0x3fd8]
cmp byte [rsi + 0xe8], 0
jne 0x180086525
and r9d, 0x3000000
mov dword [rsp + 0x30], r9d
movss xmm2, dword [rsi + 0x280]
movss xmm3, dword [rsi + 0x284]
cmp qword [rsi + 0x1d8], 0
jne 0x18008642d
cmp qword [r14 + 0x4c90], 0
je 0x180086435
movss xmm2, dword [rsi + 0x250]
subss xmm3, dword [rsi + 0x134]
subss xmm2, dword [rsi + 0x130]
xorps xmm9, xmm9
movss xmm13, dword [0x1800d4ec0]
test r9d, r9d
je 0x18008645e
maxss xmm3, xmm13
jmp 0x180086461
xorps xmm3, xmm3
maxss xmm2, xmm13
mov rdx, qword [rbp + 0xe0]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x40]
call fcn.180018010
movss xmm12, dword [rsi + 0x134]
movss xmm8, dword [rsp + 0x44]
addss xmm8, xmm12
movss xmm11, dword [rsi + 0x130]
movss xmm7, dword [rsp + 0x40]
addss xmm7, xmm11
movss dword [rsp + 0x50], xmm11
movss dword [rsp + 0x54], xmm12
movss dword [rsp + 0x58], xmm7
movss dword [rsp + 0x5c], xmm8
test r9d, r9d
je 0x18008652c
comiss xmm8, dword [rsi + 0x26c]
jbe 0x1800864f2
movss xmm0, dword [rsi + 0x274]
comiss xmm0, xmm12
jbe 0x1800864f2
comiss xmm7, dword [rsi + 0x268]
jbe 0x1800864f2
movss xmm0, dword [rsi + 0x270]
comiss xmm0, xmm11
ja 0x18008652c
cmp byte [r14 + 0x5df8], 0
jne 0x18008652c
subss xmm7, xmm11
movss dword [rsp + 0x40], xmm7
subss xmm8, xmm12
movss dword [rsp + 0x44], xmm8
movss xmm1, dword [0x1800d50b8]
lea rcx, [rsp + 0x40]
call fcn.1800177b0
xor al, al
jmp 0x1800874cf
lea rcx, [r14 + 0x4cc0]
mov edx, r15d
call fcn.180003510
mov rdx, rax
movsxd rcx, dword [rax]
cmp ecx, 0xffffffff
je 0x180086556
imul rbx, rcx, 0x228
add rbx, qword [r14 + 0x4cb8]
jmp 0x18008656e
mov eax, dword [r14 + 0x4cd0]
mov dword [rdx], eax
lea rcx, [r14 + 0x4cb0]
call fcn.180090370
mov rbx, rax
lea r11, [rbx + 0x80]
mov qword [rsp + 0x40], r11
mov ecx, dword [r14 + 0x3f58]
xor edi, edi
cmp dword [rbx + 0x70], ecx
je 0x180086591
mov r9d, edi
mov dword [rsp + 0x48], edi
jmp 0x1800865a2
movsx r9d, word [r11]
inc r9d
mov dword [rsp + 0x48], r9d
mov qword [rsp + 0x40], r11
lea eax, [r15 + r9]
mov dword [rsp + 0x60], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x64], eax
mov rcx, rbx
sub rcx, qword [r14 + 0x4cb8]
movabs rax, 0x76b981dae6076b99
imul rcx
mov rcx, rdx
sar rcx, 8
mov rax, rcx
shr rax, 0x3f
add rcx, rax
mov qword [rsp + 0x68], rcx
mov r15d, dword [r14 + 0x4c98]
inc r15d
mov dword [r14 + 0x4c98], r15d
mov r10d, 8
cmp r15d, dword [r14 + 0x4ca0]
jle 0x180086776
xorps xmm6, xmm6
movups xmmword [rbp - 0x78], xmm6
movups xmmword [rbp - 0x68], xmm6
movups xmmword [rbp - 0x58], xmm6
movups xmmword [rbp - 0x48], xmm6
movups xmmword [rbp - 0x38], xmm6
movups xmmword [rbp - 0x28], xmm6
movups xmmword [rbp - 0x18], xmm6
mov dword [rbp - 0x74], 0xbf800000
mov ecx, dword [r14 + 0x4ca4]
cmp r15d, ecx
jle 0x1800866d3
test ecx, ecx
je 0x180086647
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18008664a
mov eax, r10d
mov r12d, r15d
cmp eax, r15d
cmovg r12d, eax
cmp r12d, ecx
jle 0x1800866d3
mov rax, qword [0x1800ebe10]
test rax, rax
je 0x18008666b
inc dword [rax + 0xfc]
movsxd rax, r12d
imul rcx, rax, 0x70
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x38], rax
mov rdx, qword [r14 + 0x4ca8]
test rdx, rdx
je 0x1800866c5
movsxd rcx, dword [r14 + 0x4ca0]
imul r8, rcx, 0x70
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r14 + 0x4ca8]
test rcx, rcx
je 0x1800866ba
mov rax, qword [0x1800ebe10]
test rax, rax
je 0x1800866ba
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x38]
mov qword [r14 + 0x4ca8], rax
mov dword [r14 + 0x4ca4], r12d
movsxd rax, dword [r14 + 0x4ca0]
cmp r15d, eax
jle 0x180086733
movsxd rdx, r15d
cmp rax, rdx
jge 0x180086733
imul rcx, rax, 0x70
sub rdx, rax
movups xmm0, xmmword [rbp - 0x78]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r14 + 0x4ca8]
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm6
movups xmmword [rcx + rax + 0x20], xmm6
movups xmmword [rcx + rax + 0x30], xmm6
movups xmmword [rcx + rax + 0x40], xmm6
movups xmmword [rcx + rax + 0x50], xmm6
movups xmmword [rcx + rax + 0x60], xmm6
lea rcx, [rcx + 0x70]
sub rdx, 1
jne 0x180086700
mov dword [r14 + 0x4ca0], r15d
lea rcx, [rbp - 0x68]
call fcn.180077520
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x180086766
mov rax, qword [0x1800ebe10]
test rax, rax
je 0x18008675f
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov r9d, dword [rsp + 0x48]
mov r10d, 8
mov r11, qword [rsp + 0x40]
movsxd rax, dword [r14 + 0x4c98]
imul rcx, rax, 0x70
mov r12, qword [r14 + 0x4ca8]
add r12, 0xffffffffffffff90
add r12, rcx
mov qword [rsp + 0x38], r12
mov qword [rbx + 0x10], r12
mov rax, qword [rsp + 0x68]
mov dword [r12], eax
mov rax, qword [rbx + 0x10]
add rax, 0x10
mov qword [rbx + 0x1a0], rax
mov dword [rax], edi
mov dword [rax + 4], 1
test r13d, 0xe000
sete al
mov byte [rbx + 0x21d], al
test r13d, 0xe000
jne 0x1800867ec
bt r13d, 0x18
jb 0x1800867e4
test byte [rsi + 0xc], 0x40
mov eax, 0x8000
je 0x1800867e9
mov eax, 0x2000
or r13d, eax
mov eax, r13d
and eax, 0xe000
mov ecx, r13d
bts ecx, 0x12
cmp eax, 0x4000
cmovne ecx, r13d
mov edx, ecx
bts edx, 9
test cl, 1
cmove edx, ecx
mov ecx, edx
and ecx, 0xfffcffff
test edx, 0x3000000
cmove ecx, edx
mov edx, ecx
btr edx, 0xb
bt ecx, 0xc
cmovae edx, ecx
mov r8d, edx
or r8d, 0x10
test dl, 0xf
cmovne r8d, edx
mov rax, qword [rsi + 0x3b0]
mov r15d, r8d
or r15d, 0x10
test dword [rax + 0xc], 0x100
cmove r15d, r8d
mov eax, dword [rsp + 0x4c]
mov dword [rbx], eax
mov dword [rbx + 4], r15d
mov word [r11], r9w
mov eax, dword [r14 + 0x3f58]
mov dword [rbx + 0x70], eax
mov qword [rbx + 0x188], rsi
mov qword [rbx + 0x180], rsi
mov eax, dword [rsp + 0x34]
mov dword [rbx + 0x74], eax
mov byte [rbx + 0x211], 0
movss xmm6, dword [rbp + 0xe8]
movss dword [rbx + 0xd4], xmm6
mov rax, qword [rbp + 0xe0]
movsd xmm0, qword [rax]
movsd qword [r12 + 8], xmm0
test r9d, r9d
jle 0x1800869af
mov r12d, dword [rbx + 0x1b8]
cmp r12d, r9d
jge 0x1800869aa
mov qword [rsp + 0x7c], 0
mov dword [rsp + 0x78], 0
mov ecx, dword [rbx + 0x1bc]
cmp r12d, ecx
jne 0x180086980
inc r12d
test ecx, ecx
je 0x1800868f6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800868f9
mov eax, r10d
cmp eax, r12d
cmovg r12d, eax
cmp r12d, ecx
jle 0x180086980
mov rax, qword [0x1800ebe10]
test rax, rax
je 0x180086917
inc dword [rax + 0xfc]
movsxd rax, r12d
lea rcx, [rax + rax*2]
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov rdx, qword [rbx + 0x1c0]
test rdx, rdx
je 0x180086972
movsxd rcx, dword [rbx + 0x1b8]
lea r8, [rcx + rcx*2]
shl r8, 2
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x1c0]
test rcx, rcx
je 0x18008696c
mov rax, qword [0x1800ebe10]
test rax, rax
je 0x18008696c
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c0], r13
mov dword [rbx + 0x1bc], r12d
movsxd rax, dword [rbx + 0x1b8]
lea rdx, [rax + rax*2]
mov rcx, qword [rbx + 0x1c0]
movsd xmm0, qword [rsp + 0x78]
movsd qword [rcx + rdx*4], xmm0
mov eax, dword [rbp - 0x80]
mov dword [rcx + rdx*4 + 8], eax
inc dword [rbx + 0x1b8]
mov r12, qword [rsp + 0x38]
movss xmm10, dword [0x1800d508c]
cmp dword [rsp + 0x30], 0
je 0x180086b49
movaps xmm1, xmm10
movaps xmm0, xmm10
mov eax, r15d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1800869e2
movss xmm0, dword [0x1800d4df0]
mov rcx, qword [0x1800ebe10]
bt r15d, 0x18
jae 0x180086a0f
comiss xmm6, xmm9
jbe 0x180086a0f
movaps xmm1, xmm6
ucomiss xmm6, xmm10
jp 0x180086a01
je 0x180086a0f
ucomiss xmm0, xmm10
jp 0x180086a17
jne 0x180086a17
movaps xmm0, xmm9
jmp 0x180086a17
ucomiss xmm0, xmm10
jp 0x180086a17
je 0x180086a50
ucomiss xmm1, xmm10
jp 0x180086a23
jne 0x180086a23
movaps xmm1, xmm9
or dword [rcx + 0x48b0], 4
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x48dc], xmm1
movss dword [rcx + 0x48e0], xmm0
test dword [rsp + 0x64], 0x3000000
jne 0x180086a6b
or dword [rcx + 0x48b0], 0x80
mov qword [rcx + 0x48e4], rdi
subss xmm7, xmm11
movss dword [rsp + 0x38], xmm7
subss xmm8, xmm12
movss dword [rsp + 0x3c], xmm8
mov eax, r15d
shr eax, 0xd
and eax, 0x800
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, [rsp + 0x38]
mov r13d, dword [rsp + 0x60]
mov edx, r13d
mov rcx, qword [rsp + 0x70]
call fcn.18000d630
mov rcx, qword [r14 + 0x3fd8]
mov qword [rbx + 0x188], rcx
movups xmm0, xmmword [rcx + 0x248]
movups xmmword [rbx + 0x110], xmm0
movss xmm3, dword [rcx + 0x48]
movss xmm1, dword [rcx + 0x4c]
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0x50]
movaps xmm2, xmm1
addss xmm2, dword [rcx + 0x54]
shufps xmm3, xmm3, 0xe1
movss xmm3, xmm1
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm0
shufps xmm3, xmm3, 0x27
movss xmm3, xmm2
shufps xmm3, xmm3, 0x39
movups xmmword [rsp + 0x50], xmm3
movups xmmword [rbx + 0xf0], xmm3
movups xmm0, xmmword [rcx + 0x228]
movups xmmword [rbx + 0x100], xmm0
cmp dword [rsp + 0x48], 0
jne 0x180086b32
movzx eax, byte [rbx + 0x21e]
mov byte [rbx + 0x21f], al
mov byte [rbx + 0x21e], 0
movss xmm0, dword [rcx + 0xbc]
comiss xmm0, xmm9
seta al
or byte [rbx + 0x21e], al
jmp 0x180086b68
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x100], xmm0
movups xmmword [rbx + 0xf0], xmm0
movups xmmword [rbx + 0x110], xmm0
mov r13d, dword [rsp + 0x60]
mov ecx, r13d
call fcn.180014d50
mov r13, qword [rbx + 0x188]
mov eax, dword [r13 + 0x174]
mov dword [rbx + 0xb8], eax
lea r11, [r13 + 0x268]
movups xmm0, xmmword [r11]
movups xmmword [rbx + 0x160], xmm0
movzx eax, byte [r13 + 0xe8]
mov byte [rbx + 0x221], al
movups xmm0, xmmword [r13 + 0x248]
movups xmmword [r12 + 0x28], xmm0
movups xmm0, xmmword [r13 + 0x258]
movups xmmword [r12 + 0x38], xmm0
movss xmm1, dword [rsi + 0x178]
movss dword [r12 + 0x60], xmm1
movsd xmm0, qword [r13 + 0x160]
movsd qword [r12 + 0x48], xmm0
movsd xmm0, qword [r13 + 0x158]
movsd qword [r12 + 0x50], xmm0
movsd xmm1, qword [r13 + 0x148]
movsd qword [r12 + 0x58], xmm1
mov eax, dword [rsi + 0x1ec]
mov dword [r12 + 0x64], eax
mov eax, dword [rsi + 0x1f8]
mov dword [r12 + 0x68], eax
mov qword [r13 + 0x158], rdi
mov qword [r13 + 0x160], rdi
bt r15d, 0x16
jae 0x180086c2e
xor dl, dl
jmp 0x180086c42
bt r15d, 0x15
jae 0x180086c39
mov dl, 1
jmp 0x180086c42
mov edx, r15d
shr edx, 0xa
and dl, 1
mov ecx, r15d
shr ecx, 0x17
not cl
and cl, 1
mov r9d, r15d
and r9d, 0x200
je 0x180086c5f
movaps xmm3, xmm13
jmp 0x180086c63
movaps xmm3, xmm9
test cl, cl
je 0x180086cbe
test r9d, r9d
jne 0x180086cbe
lea r8, [r14 + 0x394c]
movss xmm1, dword [r8]
movaps xmm2, xmm9
movaps xmm0, xmm1
addss xmm0, xmm3
movss dword [rbx + 0xcc], xmm0
movss dword [rbx + 0xd0], xmm1
movss dword [rbx + 0xc4], xmm2
mov eax, dword [r14 + 0x3950]
mov dword [rbx + 0xc8], eax
bt r15d, 0xa
jb 0x180086cb3
movaps xmm13, xmm9
test dl, dl
je 0x180086cdd
movss xmm0, dword [r8]
jmp 0x180086ce1
movaps xmm1, xmm9
lea r8, [r14 + 0x394c]
test cl, cl
je 0x180086c78
test r9d, r9d
je 0x180086c78
movss xmm2, dword [r14 + 0x394c]
jmp 0x180086c7c
movaps xmm0, xmm9
addss xmm0, xmm13
subss xmm0, xmm2
movss dword [rbx + 0xc0], xmm0
mov qword [rbx + 0x78], 0xffffffffffffffff
mov dword [rbx + 0x9c], edi
mov word [rbx + 0x9a], di
lea rcx, [rbx + 0x120]
lea rax, [rbx + 0x110]
cmp r13, rsi
cmovne rax, r11
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movss xmm1, dword [rcx]
maxss xmm1, dword [rbx + 0x110]
movss xmm0, dword [rcx + 4]
maxss xmm0, dword [rbx + 0x114]
movss dword [rcx], xmm1
movss dword [rcx + 4], xmm0
movss xmm1, dword [rcx + 8]
minss xmm1, dword [rbx + 0x118]
movss xmm0, dword [rcx + 0xc]
minss xmm0, dword [rbx + 0x11c]
movss dword [rcx + 8], xmm1
movss dword [rcx + 0xc], xmm0
lea rdx, [rbx + 0x160]
call fcn.180001260
bt r15d, 0x11
jae 0x180086d8e
movss xmm0, dword [rbx + 0x12c]
minss xmm0, dword [r13 + 0x254]
jmp 0x180086d97
movss xmm0, dword [r13 + 0x274]
movss dword [rbx + 0x12c], xmm0
movss xmm0, dword [rbx + 0x114]
movss dword [rbx + 0x88], xmm0
movss dword [rbx + 0x84], xmm0
mov dword [rbx + 0x90], edi
mov dword [rbx + 0x209], 0
mov byte [rbx + 0x21c], 1
mov byte [rbx + 0x1fb], 0
mov r10, qword [0x1800ebe10]
movups xmm0, xmmword [r10 + 0x3c88]
movups xmmword [rsp + 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r10 + 0x38f0]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.1800031f0
mov dword [rbx + 0xa8], eax
movups xmm0, xmmword [r10 + 0x3c98]
movups xmmword [rsp + 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r10 + 0x38f0]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.1800031f0
mov dword [rbx + 0xac], eax
mov qword [r14 + 0x4c90], rbx
mov r9, qword [rsp + 0x68]
mov dword [rsi + 0x1e0], r9d
cmp r13, rsi
je 0x180086e5b
mov dword [r13 + 0x1e0], r9d
test byte [rsp + 0x64], 2
je 0x180086e6f
test r15b, 2
jne 0x180086e6f
mov byte [rbx + 0x21b], 1
lea rsi, [r14 + 0x4cd8]
cmp r9d, dword [rsi]
jl 0x180086ef2
mov dword [rsp + 0x30], 0xbf800000
lea r15d, [r9 + 1]
mov ecx, dword [rsi + 4]
cmp r15d, ecx
jle 0x180086ec0
test ecx, ecx
je 0x180086e9e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180086ea3
mov eax, 8
mov edx, r15d
cmp eax, r15d
cmovg edx, eax
mov rcx, rsi
call fcn.1800394b0
mov r10, qword [0x1800ebe10]
mov r9, qword [rsp + 0x68]
movsxd rax, dword [rsi]
cmp r15d, eax
jle 0x180086eef
mov rdx, rax
movsxd r8, r15d
cmp rax, r8
jge 0x180086eef
mov eax, dword [rsp + 0x30]
nop word [rax + rax]
mov rcx, qword [rsi + 8]
mov dword [rcx + rdx*4], eax
inc rdx
cmp rdx, r8
jl 0x180086ee0
mov dword [rsi], r15d
movsd xmm0, qword [r14 + 0x3f50]
cvtpd2ps xmm0, xmm0
movsxd rcx, r9d
mov rax, qword [r14 + 0x4ce0]
movss dword [rax + rcx*4], xmm0
movsd xmm0, qword [r14 + 0x3f50]
cvtpd2ps xmm0, xmm0
movss dword [r12 + 4], xmm0
mov byte [rbx + 0x220], 0
mov rsi, rdi
mov qword [rsp + 0x38], rdi
mov r8, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x20]
sub rcx, r8
movabs rax, 0x4ec4ec4ec4ec4ec5
imul rcx
mov r15, rdx
sar r15, 5
mov rax, r15
shr rax, 0x3f
add r15, rax
mov r11d, dword [rsp + 0x34]
test r15d, r15d
je 0x180086f79
cmp r15d, r11d
je 0x180086f79
mov rsi, r8
mov rax, qword [rbx + 8]
mov qword [rsp + 0x38], rax
mov qword [rbx + 8], rdi
cmp qword [rbx + 8], 0
jne 0x180087046
imul eax, r11d, 0x68
mov dword [rsp + 0x30], eax
lea r12d, [rax + 3]
and r12d, 0xfffffffc
lea eax, [r12 + 3]
add eax, r11d
and eax, 0xfffffffc
mov dword [rsp + 0x4c], eax
lea ecx, [r11*8]
add eax, ecx
movsxd rcx, eax
mov qword [rsp + 0x70], rcx
movsxd rcx, eax
test r10, r10
je 0x180086fc4
inc dword [r10 + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 8], rax
mov r8, qword [rsp + 0x70]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x18], rdx
movsxd rax, dword [rsp + 0x30]
add rax, rdx
mov qword [rbx + 0x20], rax
movsxd rcx, r12d
lea rax, [rcx + rdx]
mov qword [rbx + 0x28], rax
movsxd r11, dword [rsp + 0x34]
lea rax, [rcx + r11]
add rax, rdx
mov qword [rbx + 0x30], rax
movsxd rcx, dword [rsp + 0x4c]
lea rax, [rcx + rdx]
mov qword [rbx + 0x38], rax
lea eax, [r11*8]
cdqe
add rax, rcx
add rax, rdx
mov qword [rbx + 0x40], rax
mov byte [rbx + 0x217], 1
mov byte [rbx + 0x213], 1
mov al, 1
mov r10, qword [0x1800ebe10]
jmp 0x18008704d
movzx eax, byte [rbx + 0x213]
cmp byte [rbx + 0x21a], 0
je 0x180087072
mov word [rbx + 0x217], pe_nt_image_headers64
mov byte [rbx + 0x213], 1
mov byte [rbx + 0x21a], 0
mov dword [rbx + 0x68], edi
jmp 0x18008707a
test al, al
je 0x1800871bb
mov r12d, 0xffffffff
mov dword [rbx + 0x6c], r12d
mov byte [rbx + 0x214], 1
mov word [rbx + 0x82], r12w
mov byte [rbx + 0x208], r12b
mov dword [rbx + 0x1fd], 0xffffffff
mov byte [rbx + 0x202], r12b
mov byte [rbx + 0x1fc], r12b
mov r8d, edi
test r11d, r11d
jle 0x1800871bb
mov r9, rdi
mov rcx, rdi
mov rdx, qword [rbx + 0x18]
test rsi, rsi
je 0x18008711d
cmp r8d, r15d
jge 0x18008711d
movups xmm0, xmmword [rsi + rcx]
movups xmmword [rcx + rdx], xmm0
movups xmm1, xmmword [rsi + rcx + 0x10]
movups xmmword [rcx + rdx + 0x10], xmm1
movups xmm0, xmmword [rsi + rcx + 0x20]
movups xmmword [rcx + rdx + 0x20], xmm0
movups xmm1, xmmword [rsi + rcx + 0x30]
movups xmmword [rcx + rdx + 0x30], xmm1
movups xmm0, xmmword [rsi + rcx + 0x40]
movups xmmword [rcx + rdx + 0x40], xmm0
movups xmm1, xmmword [rsi + rcx + 0x50]
movups xmmword [rcx + rdx + 0x50], xmm1
movsd xmm0, qword [rsi + rcx + 0x60]
movsd qword [rcx + rdx + 0x60], xmm0
jmp 0x18008719b
movss xmm2, dword [rcx + rdx + 0x14]
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp - 0x68], xmm1
movups xmmword [rbp - 0x28], xmm1
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x68], 0xbf800000
mov dword [rbp - 0x60], 0xbf800000
mov qword [rbp - 0x28], 0xffffffffffffffff
and byte [rbp - 0x13], 0xfc
mov word [rbp - 0x20], 0xffff
movups xmmword [rcx + rdx], xmm1
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rcx + rdx + 0x10], xmm0
movups xmmword [rcx + rdx + 0x20], xmm1
movups xmmword [rcx + rdx + 0x30], xmm1
movups xmmword [rcx + rdx + 0x40], xmm1
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rcx + rdx + 0x50], xmm0
movsd xmm1, qword [rbp - 0x18]
movsd qword [rcx + rdx + 0x60], xmm1
movss dword [rcx + rdx + 0x14], xmm2
mov byte [rcx + rdx + 0x61], 1
mov word [rcx + rdx + 0x5b], 0x101
mov byte [rcx + rdx + 0x5a], 1
mov rax, qword [rbx + 0x28]
mov byte [r9 + rax], r8b
mov byte [rcx + rdx + 0x52], r8b
inc r8d
inc r9
add rcx, 0x68
cmp r8d, r11d
jl 0x1800870c4
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1800871da
test r10, r10
je 0x1800871d1
dec dword [r10 + 0xfc]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp byte [rbx + 0x217], 0
je 0x1800871eb
mov rcx, rbx
call fcn.18008d2c0
movss xmm2, dword [r14 + 0x3d38]
movss xmm0, dword [rbx + 0xec]
ucomiss xmm0, xmm9
jp 0x180087208
je 0x1800872de
ucomiss xmm0, xmm2
jp 0x180087213
je 0x1800872de
movaps xmm1, xmm2
divss xmm1, xmm0
movsxd rax, dword [rsp + 0x34]
mov rdx, rax
mov r9, rdi
cmp rax, 4
jl 0x1800872b5
mov rcx, rdi
lea r8, [rax - 4]
shr r8, 2
inc r8
lea r9, [r8*4]
nop word [rax + rax]
mov rax, qword [rbx + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [rcx + rax + 0x10]
movss dword [rcx + rax + 0x10], xmm0
mov rax, qword [rbx + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [rcx + rax + 0x78]
movss dword [rcx + rax + 0x78], xmm0
mov rax, qword [rbx + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [rcx + rax + 0xe0]
movss dword [rcx + rax + 0xe0], xmm0
mov rax, qword [rbx + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [rcx + rax + 0x148]
movss dword [rcx + rax + 0x148], xmm0
lea rcx, [rcx + 0x1a0]
sub r8, 1
jne 0x180087250
cmp r9, rdx
jge 0x1800872de
imul rcx, r9, 0x68
sub rdx, r9
mov rax, qword [rbx + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [rcx + rax + 0x10]
movss dword [rcx + rax + 0x10], xmm0
lea rcx, [rcx + 0x68]
sub rdx, 1
jne 0x1800872c1
movss dword [rbx + 0xec], xmm2
mov byte [r13 + 0xe8], 1
cmp dword [rbx + 0x190], 0
jle 0x180087323
mov ecx, dword [rbx + 0x194]
test ecx, ecx
jns 0x18008731d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, edi
test eax, eax
cmovg edx, eax
lea rcx, [rbx + 0x190]
call fcn.180038de0
mov dword [rbx + 0x190], edi
mov rsi, qword [rsp + 0x40]
cmp word [rsi], 0
jne 0x180087490
movsx eax, byte [rbx + 0x1ff]
cmp al, 0xff
je 0x180087354
movss xmm1, dword [rbx + 0xe4]
ucomiss xmm1, xmm10
jp 0x18008734d
je 0x180087354
mov ecx, eax
call fcn.18008a6a0
movzx eax, byte [rbx + 0x1ff]
mov byte [rbx + 0x200], al
mov dword [rbx + 0xe4], 0x7f7fffff
mov byte [rbx + 0x1ff], 0xff
movsx rcx, byte [rbx + 0x1fe]
cmp cl, 0xff
je 0x180087399
imul rdx, rcx, 0x68
mov rax, qword [rbx + 0x18]
movss xmm1, dword [rdx + rax + 0x14]
call fcn.18008a6a0
mov byte [rbx + 0x1fe], 0xff
cmp word [rsi], 0
jne 0x180087490
cmp byte [rbx + 0x201], 0xff
jne 0x1800873bc
cmp byte [rbx + 0x202], 0xff
je 0x1800873bc
mov byte [rbx + 0x202], 0xff
mov byte [rbx + 0x201], 0xff
movsx rax, byte [rbx + 0x202]
cmp al, 0xff
je 0x180087490
movsx r10d, byte [rbx + 0x203]
test r10b, r10b
je 0x180087490
mov r11, qword [rbx + 0x18]
imul r8, rax, 0x68
add r8, r11
cmp r10d, 0xffffffff
jne 0x1800873fc
movzx eax, byte [r8 + 0x54]
jmp 0x180087401
movzx eax, byte [r8 + 0x55]
movsx edx, byte [r8 + 0x52]
movsx rax, al
imul rcx, rax, 0x68
movsx eax, byte [rcx + r11 + 0x52]
mov byte [r8 + 0x52], al
lea r8d, [rdx + r10]
lea r11d, [r10 + rax]
cmp r8d, r11d
je 0x180087451
nop word [rax + rax]
movsxd rcx, r8d
mov rax, qword [rbx + 0x28]
movsx rcx, byte [rcx + rax]
imul rdx, rcx, 0x68
mov rax, qword [rbx + 0x18]
sub byte [rdx + rax + 0x52], r10b
add r8d, r10d
cmp r8d, r11d
jne 0x180087430
mov r8d, edi
cmp dword [rbx + 0x74], edi
jle 0x180087482
nop dword [rax]
movsxd rax, r8d
imul rcx, rax, 0x68
mov rax, qword [rbx + 0x18]
movsx rdx, byte [rcx + rax + 0x52]
mov rax, qword [rbx + 0x28]
mov byte [rdx + rax], r8b
inc r8d
cmp r8d, dword [rbx + 0x74]
jl 0x180087460
mov byte [rbx + 0x203], 0
mov byte [rbx + 0x218], 1
cmp byte [rbx + 0x21b], 0
je 0x1800874cd
cmp dword [rbx + 0x74], 0
jle 0x1800874bf
nop
movsxd rdx, edi
imul rcx, rdx, 0x68
mov rax, qword [rbx + 0x18]
mov byte [rcx + rax + 0x52], dil
mov rax, qword [rbx + 0x28]
mov byte [rdx + rax], dil
inc edi
cmp edi, dword [rbx + 0x74]
jl 0x1800874a0
mov byte [rbx + 0x21b], 0
mov byte [rbx + 0x218], 1
mov al, 1
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret