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

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r13
sub rsp, 0x98
mov rsi, qword [0x180074ff8]
mov qword [rax + 0x18], rbp
mov rbx, rsi
mov qword [rax - 0x30], r14
movaps xmmword [rax - 0x48], xmm6
mov edi, dword [rsi + 0x30d8]
lea r13, [rsi + 0x30e0]
sub edi, 1
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rsp + 0x30], xmm10
mov qword [rsp + 0xc8], r13
js 0x18001e4d6
movsxd rbp, edi
shl rbp, 5
mov r14, rbp
nop dword [rax]
mov rdx, qword [r13]
cmp dword [rdx + rbp + 4], 7
jne 0x18001e4c7
mov rcx, qword [rsi + 0x30e0]
movsxd r8, dword [rsi + 0x30d8]
sub rdx, rcx
add rdx, r14
sar rdx, 5
sub r8, rdx
mov rax, rdx
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call sub.VCRUNTIME140.dll_memmove
dec dword [rsi + 0x30d8]
sub r14, 0x20
sub rbp, 0x20
sub edi, 1
jns 0x18001e480
jmp 0x18001e4de
mov qword [rsp + 0xc8], r13
xor edi, edi
mov ebp, edi
cmp dword [rsi + 0x30d8], edi
jle 0x18001e520
mov esi, edi
nop dword [rax]
mov rax, qword [r13]
cmp dword [rax + rsi + 4], edi
jne 0x18001e50b
movsxd rdx, ebp
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rsi + 0x10]
inc ebp
add rsi, 0x20
cmp ebp, dword [rbx + 0x30d8]
jl 0x18001e4f0
mov rsi, qword [0x180074ff8]
cmp byte [rsi + 0xcc], dil
je 0x18001e536
test byte [rsi + 0xc], 2
jne 0x18001e536
mov byte [rsi + 0xcc], dil
mov rbp, rsi
cmp byte [rsi + 0x3091], dil
jne 0x18001e5a1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x18001e59a
lea r8, [rsp + 0xc0]
mov qword [rsp + 0xc0], rdi
call fcn.180019f90
mov rsi, rax
test rax, rax
je 0x18001e593
mov rdx, qword [rsp + 0xc0]
mov rcx, rax
call fcn.18002bcf0
mov rcx, qword [0x180074ff8]
test rcx, rcx
je 0x18001e58a
dec dword [rcx + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [0x180074ff8]
mov byte [rbp + 0x3091], 1
movss xmm0, dword [rbp + 0x3094]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x18001e5e7
subss xmm0, dword [rbp + 0x18]
comiss xmm6, xmm0
movss dword [rbp + 0x3094], xmm0
jb 0x18001e5e7
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x18001e5da
call fcn.18002c050
mov rsi, qword [0x180074ff8]
jmp 0x18001e5e1
mov byte [rbp + 0x398], 1
mov dword [rbp + 0x3094], edi
inc dword [rbx + 0x1b88]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1b94], 1
mov dword [rbx + 0x3054], edi
mov dword [rbx + 0x1bf8], edi
addsd xmm0, qword [rbx + 0x1b80]
movsd qword [rbx + 0x1b80], xmm0
mov ecx, dword [rbx + 0x3074]
test ecx, ecx
jns 0x18001e645
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3070]
test eax, eax
cmovg edx, eax
call fcn.18002d7e0
mov rsi, qword [0x180074ff8]
movss xmm10, dword [0x180068174]
movss xmm9, dword [0x1800680d0]
mov dword [rbx + 0x3070], edi
movsxd rax, dword [rbx + 0x332c]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x314c]
addss xmm0, dword [rbx + 0x3334]
movss dword [rbx + 0x3334], xmm0
movss dword [rbx + rax*4 + 0x314c], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x332c]
movss xmm2, dword [rbx + 0x3334]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
mov eax, dword [rbx + 0x3330]
inc eax
mov dword [rbx + 0x332c], ecx
mov ecx, 0x78
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm6
mov dword [rbx + 0x3330], ecx
jbe 0x18001e6ee
movd xmm0, ecx
movaps xmm1, xmm9
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x18001e6f2
movaps xmm1, xmm10
movss dword [rbx + 0x39c], xmm1
mov r8d, edi
mov rax, qword [rsi + 0x1de8]
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], edi
movsd xmm0, qword [rsi + 0x10]
movsd qword [rcx + 0xc], xmm0
cmp dword [rsi + 0x1de0], edi
jle 0x18001e7d8
mov rdx, rdi
nop word [rax + rax]
mov rax, qword [rsi + 0x1de8]
movaps xmm3, xmm6
inc r8d
mov rcx, qword [rdx + rax]
add rdx, 8
movsd xmm4, qword [rcx + 0xa0]
movsd xmm2, qword [rcx + 0xa8]
movaps xmm1, xmm4
addss xmm1, dword [rcx + 4]
movsd qword [rcx + 0x98], xmm2
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
addss xmm0, dword [rcx + 8]
mov qword [rcx + 0xa8], rdi
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0xc]
mov qword [rcx + 0xa0], rdi
subss xmm1, xmm4
movss dword [rcx + 0x18], xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
movsd qword [rcx + 0x90], xmm4
addss xmm1, xmm2
movss xmm2, dword [rcx + 0x10]
subss xmm2, xmm0
movaps xmm0, xmm6
maxss xmm3, xmm1
addss xmm2, dword [rcx + 0x9c]
movss dword [rcx + 0x1c], xmm3
maxss xmm0, xmm2
movss dword [rcx + 0x20], xmm0
cmp r8d, dword [rsi + 0x1de0]
jl 0x18001e730
mov rax, qword [rbx + 0xa8]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x18001e7fd
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.180025c50
mov eax, dword [rbx + 0x1de0]
movaps xmm0, xmm10
movss xmm5, dword [0x180068194]
movaps xmm8, xmm10
movaps xmm7, xmm5
test eax, eax
jle 0x18001e879
mov rcx, qword [rbx + 0x1de8]
mov edx, eax
nop dword [rax + rax]
mov rax, qword [rcx]
movss xmm4, dword [rax + 4]
comiss xmm0, xmm4
movss xmm3, dword [rax + 8]
movaps xmm1, xmm4
addss xmm1, dword [rax + 0xc]
movaps xmm2, xmm3
addss xmm2, dword [rax + 0x10]
jbe 0x18001e855
movaps xmm0, xmm4
comiss xmm8, xmm3
jbe 0x18001e85f
movaps xmm8, xmm3
comiss xmm1, xmm5
jbe 0x18001e867
movaps xmm5, xmm1
comiss xmm2, xmm7
jbe 0x18001e86f
movaps xmm7, xmm2
add rcx, 8
sub rdx, 1
jne 0x18001e830
mov eax, dword [rbx + 0x1618]
movss xmm1, dword [rbx + 0x161c]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm8
mov dword [rbx + 0x1994], eax
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm5
mov qword [rsp + 0x80], r15
movaps xmm8, xmmword [rsp + 0x50]
shufps xmm0, xmm0, 0x27
movss xmm0, xmm7
shufps xmm0, xmm0, 0x39
movups xmmword [rbx + 0x199c], xmm0
movss xmm0, dword [rbx + 0x1998]
ucomiss xmm0, xmm1
jp 0x18001e8d2
je 0x18001e982
movss xmm7, dword [0x1800680f4]
lea r14, [rbx + 0x1b34]
movss dword [rbx + 0x1998], xmm1
mov ebp, edi
mov r15d, 0x200
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x18001e94a
movss xmm1, dword [rbx + 0x1998]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm9
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm7
divss xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, 4
jge 0x18001e941
mov eax, 4
jmp 0x18001e94c
cmp eax, r15d
cmovg eax, r15d
jmp 0x18001e94c
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x18001e8f1
movss xmm0, dword [0x180068070]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x1998]
movaps xmm2, xmm9
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1b30], xmm1
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x60]
mov dword [rbx + 0x19ac], edi
cmp byte [rbx + 0x1614], dil
je 0x18001e9a6
mov r8d, 1
mov dword [rbx + 0x19ac], r8d
mov edx, r8d
cmp byte [rbx + 0x1615], dil
je 0x18001e9cb
mov rax, qword [rbx + 0x1970]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x18001e9cb
or edx, 2
mov dword [rbx + 0x19ac], edx
cmp byte [rbx + 0x1616], dil
je 0x18001e9dd
or edx, 4
mov dword [rbx + 0x19ac], edx
test byte [rbx + 0xc], 8
je 0x18001e9ec
or edx, 8
mov dword [rbx + 0x19ac], edx
mov edx, edi
cmp dword [rbx + 0x1de0], edi
jle 0x18001ea29
mov r8, rdi
nop dword [rax]
mov rax, qword [rbx + 0x1de8]
lea r8, [r8 + 8]
xorps xmm0, xmm0
inc edx
mov rcx, qword [rax + r8 - 8]
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
cmp edx, dword [rbx + 0x1de0]
jl 0x18001ea00
cmp byte [rbx + 0x1f74], dil
je 0x18001ea5d
mov eax, dword [rbx + 0x1f94]
cmp eax, dword [rbx + 0x1c50]
jne 0x18001ea5d
cmp dword [rsi + 0x1c50], eax
jne 0x18001ea4e
mov dword [rsi + 0x1c54], eax
cmp dword [rsi + 0x1c90], eax
jne 0x18001ea5d
mov byte [rsi + 0x1c94], 1
lea rax, [rbx + 0x1c3c]
mov ecx, dword [rax]
cmp dword [rbx + 0x1c40], edi
jne 0x18001ea76
mov dword [rbx + 0x1c48], edi
jmp 0x18001ea87
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x18001ea92
cmp dword [rbx + 0x1c50], ecx
jne 0x18001ea92
mov dword [rbx + 0x1c4c], edi
mov edx, ecx
mov r8, rax
movss xmm1, dword [rbx + 0x18]
test edx, edx
je 0x18001eac9
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c48]
movss dword [rbx + 0x1c48], xmm0
cmp dword [rbx + 0x1c50], edx
je 0x18001eac9
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c4c]
movss dword [rbx + 0x1c4c], xmm0
movzx eax, byte [rbx + 0x1c45]
movaps xmm2, xmm1
mov byte [rbx + 0x1c46], al
mov ebp, 0xffffffff
mov eax, dword [rbx + 0x1c50]
mov dword [rbx + 0x1c40], edx
mov dword [r8], edi
mov word [rbx + 0x1c44], di
mov byte [rbx + 0x1c47], dil
cmp dword [rbx + 0x1c54], eax
je 0x18001eb65
cmp dword [rbx + 0x1c90], eax
jne 0x18001eb65
test eax, eax
je 0x18001eb65
mov ecx, dword [rsi + 0x1c50]
test ecx, ecx
setne al
mov byte [rsi + 0x1c5c], al
test ecx, ecx
je 0x18001eb37
mov dword [rsi + 0x1c58], edi
mov word [rsi + 0x1c5f], di
mov dword [rsi + 0x1c8c], ebp
mov dword [rsi + 0x1c50], edi
mov word [rsi + 0x1c5d], di
mov qword [rsi + 0x1c80], rdi
mov word [rsi + 0x1c61], di
mov qword [rsi + 0x1c64], rdi
mov qword [rsi + 0x1c70], rdi
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x1c50]
test ecx, ecx
je 0x18001eb82
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1c58]
movss dword [rbx + 0x1c58], xmm0
mov rax, qword [rbx + 0x1c80]
addss xmm2, dword [rbx + 0x1ca4]
mov qword [rbx + 0x1c98], rax
movzx eax, byte [rbx + 0x1c60]
mov byte [rbx + 0x1c95], al
mov eax, dword [rbx + 0x2fe0]
movss dword [rbx + 0x1ca4], xmm2
mov dword [rbx + 0x1c90], ecx
mov dword [rbx + 0x1c54], edi
mov byte [rbx + 0x1c61], dil
mov byte [rbx + 0x1c94], dil
mov byte [rbx + 0x1c5c], dil
test eax, eax
je 0x18001ebe2
cmp ecx, eax
je 0x18001ebe2
mov dword [rbx + 0x2fe0], edi
test ecx, ecx
jne 0x18001ebf4
mov qword [rbx + 0x1c64], rdi
mov qword [rbx + 0x1c70], rdi
mov eax, dword [rbx + 0x1fe4]
mov r8d, 0x800
mov dword [rbx + 0x1fe8], eax
mov eax, edi
mov qword [rbx + 0x1fe0], 0x7f7fffff
mov word [rbx + 0x1f75], di
mov dword [rbx + 0x1ff0], edi
cmp byte [rsi + 0x140], dil
setne al
mov ecx, eax
or ecx, 2
cmp byte [rsi + 0x141], dil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [rsi + 0x142], dil
cmove edx, ecx
lea rcx, [rbx + 0xca0]
mov eax, edx
or eax, 8
cmp byte [rsi + 0x143], dil
cmove eax, edx
lea rdx, [rbx + 0x4a0]
mov dword [rbx + 0x3bc], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x180068188]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4a4]
mov r8d, 0x80
nop dword [rax]
cmp byte [rcx - 1], dil
je 0x18001ecac
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x18001eca5
movaps xmm0, xmm6
jmp 0x18001ecaf
addss xmm0, dword [rbx + 0x18]
jmp 0x18001ecaf
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x18001ecce
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x18001ecc7
movaps xmm0, xmm6
jmp 0x18001ecd1
addss xmm0, dword [rbx + 0x18]
jmp 0x18001ecd1
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x18001ecf1
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x18001ecea
movaps xmm0, xmm6
jmp 0x18001ecf4
addss xmm0, dword [rbx + 0x18]
jmp 0x18001ecf4
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x18001ed15
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x18001ed0e
movaps xmm0, xmm6
jmp 0x18001ed18
addss xmm0, dword [rbx + 0x18]
jmp 0x18001ed18
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x18001ec90
call fcn.180028de0
call fcn.18001d860
call fcn.18001e0d0
call fcn.18001d370
mov r8, qword [0x180074ff8]
mov eax, dword [r8 + 0x1dc0]
sub eax, 1
js 0x18001ed8b
mov r8, qword [r8 + 0x1dc8]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop
mov rax, qword [r8]
test rax, rax
je 0x18001ed81
test dword [rax + 0xc], 0x8000000
jne 0x18001eda1
sub r8, 0x30
sub rdx, 1
jns 0x18001ed70
cmp qword [rbx + 0x1f20], rdi
je 0x18001edbd
movss xmm0, dword [rbx + 0x1f3c]
comiss xmm0, xmm6
jbe 0x18001edbd
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x18006810c]
addss xmm1, dword [rbx + 0x1f6c]
minss xmm1, xmm9
jmp 0x18001edda
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x180068118]
movss xmm1, dword [rbx + 0x1f6c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1f6c], xmm1
mov dword [rbx + 0x1f70], edi
mov qword [rbx + 0x333c], 0xffffffffffffffff
mov dword [rbx + 0x3338], ebp
mov dword [rbx + 0x3080], 0x3f800000
mov dword [rbx + 0x3084], 0x3f800000
call fcn.18001dc30
mov r11, qword [0x180074ff8]
movaps xmm9, xmmword [rsp + 0x40]
mov r8, qword [r11 + 0x1df0]
test r8, r8
je 0x18001ee5c
cmp byte [r8 + 0x8e], dil
je 0x18001ee5c
test dword [r8 + 0xc], 0x40000
jne 0x18001ee5c
cmp byte [r11 + 0x140], dil
jne 0x18001ee5c
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x18001ee5c
call fcn.180020750
test al, al
je 0x18001ee5c
mov al, 1
jmp 0x18001ee5e
xor al, al
mov byte [r11 + 0x1f68], al
cmp dword [r11 + 0x1c50], edi
jne 0x18001eebf
test al, al
je 0x18001eebf
mov qword [r11 + 0x1f50], r8
mov dword [r11 + 0x1f60], 0x7fffffff
cmp dword [r11 + 0x1df8], edi
je 0x18001eeac
mov edx, dword [r11 + 0x1e40]
cmp edx, 0x7fffffff
je 0x18001eeac
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
add ecx, edx
jmp 0x18001eeb8
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
mov dword [r11 + 0x1f64], ecx
mov r8, qword [r11 + 0x1f50]
mov qword [r11 + 0x1f48], rdi
mov dword [r11 + 0x1f5c], 0x7fffffff
mov dword [r11 + 0x1f58], 0x7fffffff
test r8, r8
je 0x18001ef5a
mov eax, dword [r11 + 0x1f60]
mov qword [r11 + 0x1f48], r8
cmp eax, 0x7fffffff
je 0x18001ef16
mov ecx, dword [r8 + 0x18c]
cmp ecx, ebp
je 0x18001ef16
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f58], edx
mov eax, dword [r11 + 0x1f64]
cmp eax, 0x7fffffff
je 0x18001ef3d
mov ecx, dword [r8 + 0x190]
cmp ecx, ebp
je 0x18001ef3d
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f5c], edx
mov qword [r11 + 0x1f50], rdi
mov dword [r11 + 0x1f64], 0x7fffffff
mov dword [r11 + 0x1f60], 0x7fffffff
mov dword [r11 + 0x1e40], 0x7fffffff
cmp byte [rbx + 0x1b97], dil
jne 0x18001ef8e
movss xmm0, dword [rbx + 0xd0]
comiss xmm6, xmm0
ja 0x18001ef8e
movsd xmm10, qword [rbx + 0x1b80]
cvtpd2ps xmm10, xmm10
subss xmm10, xmm0
mov ebp, edi
cmp dword [rbx + 0x1ba8], edi
je 0x18001f0f6
mov r14, rdi
nop
mov rax, qword [rbx + 0x1bb0]
mov rsi, qword [r14 + rax]
movzx eax, byte [rsi + 0x8e]
mov byte [rsi + 0x8f], al
mov word [rsi + 0x9a], di
mov byte [rsi + 0x8e], dil
mov byte [rsi + 0x90], dil
test al, al
jne 0x18001f0e4
cmp byte [rsi + 0x3a8], dil
jne 0x18001f0e4
comiss xmm10, dword [rsi + 0x24c]
jbe 0x18001f0e4
mov rcx, qword [rsi + 0x280]
mov byte [rsi + 0x3a8], 1
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x3a0], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x3a4], eax
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x18001f042
mov rax, qword [0x180074ff8]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x18001f035
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0xd0], rdi
mov rcx, qword [rsi + 0x280]
call fcn.180035060
mov rcx, qword [rsi + 0x168]
test rcx, rcx
je 0x18001f080
mov rax, qword [0x180074ff8]
mov qword [rsi + 0x160], rdi
test rax, rax
je 0x18001f073
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x168], rdi
mov rcx, qword [rsi + 0x1a8]
test rcx, rcx
je 0x18001f0b2
mov rax, qword [0x180074ff8]
mov qword [rsi + 0x1a0], rdi
test rax, rax
je 0x18001f0a5
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1a8], rdi
mov rcx, qword [rsi + 0x1b8]
test rcx, rcx
je 0x18001f0e4
mov rax, qword [0x180074ff8]
mov qword [rsi + 0x1b0], rdi
test rax, rax
je 0x18001f0d7
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1b8], rdi
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x1ba8]
jne 0x18001efa0
mov r14d, edi
cmp dword [rbx + 0x2060], edi
jle 0x18001f24c
mov qword [rsp + 0x90], r12
mov r15, rdi
mov r12, rdi
movabs r13, 0xfc0fc0fc0fc0fc1
nop dword [rax]
mov rax, qword [rbx + 0x2068]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm6
jb 0x18001f221
comiss xmm10, xmm0
jbe 0x18001f221
mov rsi, qword [rbx + 0x2030]
mov rbp, qword [0x180074ff8]
add rsi, r12
mov qword [rsi + 0x1d0], rdi
mov rcx, qword [rsi + 0x1c8]
test rcx, rcx
je 0x18001f183
mov qword [rsi + 0x1c0], rdi
test rbp, rbp
je 0x18001f176
dec dword [rbp + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1c8], rdi
mov byte [rsi + 0x1fc], 1
mov rcx, qword [rsi + 0x1a0]
test rcx, rcx
je 0x18001f1bc
mov rax, qword [0x180074ff8]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x18001f1af
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1a0], rdi
mov edx, edi
mov byte [rsi + 0x206], 1
cmp dword [rsi + 0x74], edi
jle 0x18001f1f5
mov rcx, rdi
mov r8d, 0xffffffff
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi + 0x18]
lea rcx, [rcx + 0x68]
inc edx
mov word [rcx + rax - 0x18], r8w
cmp edx, dword [rsi + 0x74]
jl 0x18001f1e0
sub rsi, qword [rbp + 0x2030]
mov rax, r13
imul rsi
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x2068]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x208
cmp r14d, dword [rbx + 0x2060]
jl 0x18001f120
mov r13, qword [rsp + 0xc8]
mov r12, qword [rsp + 0x90]
mov r14d, edi
mov r15, qword [rsp + 0x80]
cmp dword [rbx + 0x2050], edi
jle 0x18001f2ac
mov rsi, rdi
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [rbx + 0x2058]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm6
jb 0x18001f29c
comiss xmm10, xmm0
jbe 0x18001f29c
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.180038180
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x2050]
jl 0x18001f270
movaps xmm10, xmmword [rsp + 0x30]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xd0]
cmp byte [rbx + 0x1b97], dil
je 0x18001f334
mov rsi, qword [0x180074ff8]
mov rcx, qword [rsi + 0x1da8]
test rcx, rcx
je 0x18001f2fd
mov qword [rsi + 0x1da0], rdi
test rsi, rsi
je 0x18001f2f0
dec dword [rsi + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1da8], rdi
mov rcx, qword [rsi + 0x1db8]
test rcx, rcx
je 0x18001f32f
mov rax, qword [0x180074ff8]
mov qword [rsi + 0x1db0], rdi
test rax, rax
je 0x18001f322
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1db8], rdi
call fcn.180041390
mov rax, qword [rbx + 0x1df0]
mov byte [rbx + 0x1b97], dil
test rax, rax
je 0x18001f3a5
cmp byte [rax + 0x8f], dil
jne 0x18001f3a5
mov rcx, qword [0x180074ff8]
mov eax, dword [rcx + 0x1bb8]
sub eax, 1
js 0x18001f39e
movsxd rdx, eax
mov rax, qword [rcx + 0x1bc0]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x18001f394
cmp byte [rcx + 0x8f], dil
je 0x18001f394
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x18001f5a7
sub r8, 8
sub rdx, 1
jns 0x18001f370
xor ecx, ecx
call fcn.1800259f0
mov ecx, dword [rbx + 0x1bdc]
test ecx, ecx
jns 0x18001f3cb
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1bd8]
test eax, eax
cmovg edx, eax
call fcn.18002d870
mov dword [rbx + 0x1bd8], edi
mov ecx, dword [rbx + 0x1dd4]
test ecx, ecx
jns 0x18001f3f7
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1dd0]
test eax, eax
cmovg edx, eax
call fcn.18002d740
lea rsi, [rbx + 0x1da0]
mov dword [rbx + 0x1dd0], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x18001f423
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
mov rcx, rsi
test eax, eax
cmovg edx, eax
call fcn.18002d7e0
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x18001f437
mov edx, 8
mov rcx, rsi
call fcn.18002d7e0
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1db0]
inc dword [rsi]
call fcn.18002ce80
mov r8, qword [0x180074ff8]
mov dword [r8 + 0x3138], edi
cmp byte [r8 + 0x3134], dil
je 0x18001f51a
mov esi, dword [r8 + 0x1c40]
mov dword [r8 + 0x1f70], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x18001f496
call fcn.180020750
test al, al
je 0x18001f496
mov byte [r8 + 0x3134], dil
movss xmm0, dword [r8 + 0x43c]
ucomiss xmm0, xmm6
jp 0x18001f4b8
jne 0x18001f4b8
test esi, esi
je 0x18001f4b8
mov dword [r8 + 0x3138], esi
mov byte [r8 + 0x3134], dil
or dword [r8 + 0x1cf0], 0x40
xor edx, edx
mov dword [r8 + 0x1d50], 0x3f19999a
call fcn.180027160
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.1800422d0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.1800422d0
mov eax, 0x1630
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov ecx, 0x1620
cmove ecx, eax
add rcx, qword [0x180074ff8]
call fcn.1800423d0
call fcn.1800257a0
mov r8, qword [0x180074ff8]
mov byte [rbx + 0x1b95], 1
lea rcx, str.DebugDefault
or dword [r8 + 0x1cf0], 2
xor edx, edx
mov dword [r8 + 0x1d10], 0x43c80000
mov dword [r8 + 0x1d14], 0x43c80000
mov dword [r8 + 0x1cf8], 4
xor r8d, r8d
call fcn.1800232e0
movaps xmm6, xmmword [rsp + 0x70]
cmp dword [rbx + 0x30d8], edi
jle 0x18001f59a
mov rsi, rdi
nop dword [rax + rax]
mov rax, qword [r13]
cmp dword [rsi + rax + 4], 1
jne 0x18001f58c
movsxd rdx, edi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rsi + rax + 0x10]
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x30d8]
jl 0x18001f570
add rsp, 0x98
pop r13
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx + 0x370]
test rax, rax
je 0x18001f5bc
cmp byte [rax + 0x8f], dil
jne 0x18001f5bf
mov rax, rcx
mov rcx, rax
jmp 0x18001f3a0