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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x50
mov rdi, qword [0x18010e360]
xor r15d, r15d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
cmp byte [rdi + 0xcb], r15b
je 0x180031ebc
test byte [rdi + 0xc], 2
jne 0x180031ebc
mov byte [rdi + 0xcb], r15b
or r13d, 0xffffffff
cmp byte [rdi + 0x3048], r15b
jne 0x180031f22
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x180031f1b
lea r8, [rsp + 0x80]
mov qword [rsp + 0x80], r15
call fcn.18002ee9c
mov rsi, rax
test rax, rax
je 0x180031f1b
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.18003d6b4
mov rcx, qword [0x18010e360]
test rcx, rcx
je 0x180031f12
add dword [rcx + 0x3bc], r13d
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rdi + 0x3048], 1
movss xmm0, dword [rdi + 0x304c]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x180031f62
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x304c], xmm0
jb 0x180031f62
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x180031f54
call fcn.18003d940
jmp 0x180031f5b
mov byte [rdi + 0x3a4], 1
mov dword [rdi + 0x304c], r15d
movss xmm0, dword [rdi + 0x18]
lea rcx, [rdi + 0x3028]
inc dword [rdi + 0x1a08]
xor edx, edx
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x1a14], 1
mov dword [rdi + 0x3014], r15d
mov dword [rdi + 0x1a78], r15d
addsd xmm0, qword [rdi + 0x1a00]
movsd qword [rdi + 0x1a00], xmm0
call fcn.18003e8c8
movsxd rax, dword [rdi + 0x329c]
movss xmm1, dword [rdi + 0x18]
movss xmm7, dword [0x18008f20c]
movaps xmm0, xmm1
movss xmm8, dword [0x18008f030]
subss xmm0, dword [rdi + rax*4 + 0x30bc]
addss xmm0, dword [rdi + 0x32a0]
movss dword [rdi + 0x32a0], xmm0
movss dword [rdi + rax*4 + 0x30bc], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x329c]
movss xmm1, dword [rdi + 0x32a0]
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
comiss xmm1, xmm6
mov dword [rdi + 0x329c], ecx
jbe 0x18003202a
divss xmm1, dword [0x18008f198]
movaps xmm0, xmm8
divss xmm0, xmm1
jmp 0x18003202d
movaps xmm0, xmm7
mov rax, qword [rdi + 0xa8]
movss dword [rdi + 0x3a8], xmm0
mov byte [rax], 1
mov rax, qword [0x18010e360]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x180032060
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.180037ef0
movss xmm2, dword [rdi + 0x10]
mov ebp, 0x200
movss xmm3, dword [rdi + 0x14]
mov qword [rdi + 0x194c], r15
movss dword [rdi + 0x1954], xmm2
movss dword [rdi + 0x1958], xmm3
mov eax, dword [rdi + 0x1618]
movss xmm1, dword [rdi + 0x161c]
mov dword [rdi + 0x1944], eax
movss xmm0, dword [rdi + 0x1948]
ucomiss xmm0, xmm1
jp 0x1800320ae
je 0x180032126
movss dword [rdi + 0x1948], xmm1
lea rsi, [rdi + 0x19c0]
mov ebx, r15d
mov r14d, 0xff
mov r13d, 0xc
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
addss xmm1, xmm8
movaps xmm0, xmm1
subss xmm0, dword [rdi + 0x1948]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movss xmm1, dword [0x18008f10c]
mov ecx, r14d
divss xmm1, xmm0
cvttss2si eax, xmm1
cmp eax, ebp
mov edx, eax
cmovg edx, ebp
cmp eax, r13d
cmovl edx, r13d
cmp edx, r14d
movzx eax, dl
cmovl ecx, eax
inc ebx
mov byte [rsi], cl
inc rsi
cmp ebx, 0x40
jl 0x1800320cc
or r13d, 0xffffffff
mov eax, r15d
mov dword [rdi + 0x195c], r15d
cmp byte [rdi + 0x1614], r15b
je 0x180032148
mov dword [rdi + 0x195c], 1
mov eax, 1
cmp byte [rdi + 0x1615], r15b
je 0x18003215a
or eax, 2
mov dword [rdi + 0x195c], eax
test byte [rdi + 0xc], 8
je 0x180032169
or eax, 4
mov dword [rdi + 0x195c], eax
lea rbx, [rdi + 0x1e10]
mov rcx, rbx
call fcn.180044a7c
mov rdx, qword [rdi + 0xa8]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.180045100
mov rax, qword [rbx + 0x38]
xor r9d, r9d
mov rcx, rbx
movss xmm1, dword [rax + 0x28]
movss xmm0, dword [rax + 0x24]
movss xmm2, dword [rax + 0x20]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x1c]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.180044f58
lea rbx, [rdi + 0x1ef0]
mov rcx, rbx
call fcn.180044a7c
mov rdx, qword [rdi + 0xa8]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.180045100
mov rax, qword [rbx + 0x38]
xor r9d, r9d
mov rcx, rbx
movss xmm1, dword [rax + 0x28]
movss xmm0, dword [rax + 0x24]
movss xmm2, dword [rax + 0x20]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x1c]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.180044f58
mov byte [rdi + 0x1db0], r15b
mov qword [rdi + 0x1db8], r15
mov qword [rdi + 0x1dc4], r15
mov dword [rdi + 0x1dc0], r15d
mov qword [rdi + 0x1ddc], r15
mov qword [rdi + 0x1dd4], r15
mov qword [rdi + 0x1dcc], r15
cmp byte [rdi + 0x1fd4], r15b
je 0x180032260
mov ecx, dword [rdi + 0x1ff4]
cmp ecx, dword [rdi + 0x1ac8]
jne 0x180032260
call fcn.180030c24
lea rax, [rdi + 0x1ab4]
mov ecx, dword [rax]
cmp dword [rdi + 0x1abc], r15d
jne 0x18003227b
mov dword [rdi + 0x1ac0], r15d
jmp 0x18003228c
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x180032298
cmp dword [rdi + 0x1ac8], ecx
jne 0x180032298
mov dword [rdi + 0x1ac4], r15d
mov edx, ecx
mov r8, rax
movss xmm1, dword [rdi + 0x18]
test edx, edx
je 0x1800322cf
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ac0]
movss dword [rdi + 0x1ac0], xmm0
cmp dword [rdi + 0x1ac8], edx
je 0x1800322cf
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ac4]
movss dword [rdi + 0x1ac4], xmm0
mov eax, dword [rdi + 0x1ac8]
movaps xmm2, xmm1
mov dword [rdi + 0x1abc], edx
mov dword [r8], r15d
mov byte [rdi + 0x1ab8], r15b
cmp dword [rdi + 0x1acc], eax
je 0x18003230a
cmp dword [rdi + 0x1b08], eax
jne 0x18003230a
test eax, eax
je 0x18003230a
xor edx, edx
xor ecx, ecx
call fcn.180030b74
movss xmm2, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1ac8]
test ecx, ecx
je 0x180032327
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x1ad0]
movss dword [rdi + 0x1ad0], xmm0
mov rax, qword [rdi + 0x1af8]
addss xmm2, dword [rdi + 0x1b1c]
mov qword [rdi + 0x1b10], rax
mov al, byte [rdi + 0x1ad7]
mov byte [rdi + 0x1b0d], al
mov eax, dword [rdi + 0x2fd8]
movss dword [rdi + 0x1b1c], xmm2
mov dword [rdi + 0x1b08], ecx
mov dword [rdi + 0x1acc], r15d
mov byte [rdi + 0x1ad8], r15b
mov byte [rdi + 0x1b0c], r15b
mov byte [rdi + 0x1ad4], r15b
test eax, eax
je 0x180032388
cmp ecx, eax
je 0x180032388
mov dword [rdi + 0x2fd8], r15d
test ecx, ecx
jne 0x18003239a
mov qword [rdi + 0x1adc], r15
mov qword [rdi + 0x1ae8], r15
mov r8, qword [0x18010e360]
lea rbx, [rdi + 0x4a8]
mov eax, dword [rdi + 0x2044]
mov dword [rdi + 0x2048], eax
mov eax, r15d
mov qword [rdi + 0x2040], 0x7f7fffff
mov word [rdi + 0x1fd5], r15w
mov dword [rdi + 0x2050], r15d
cmp byte [r8 + 0x148], r15b
setne al
mov ecx, eax
or ecx, 2
cmp byte [r8 + 0x149], r15b
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [r8 + 0x14a], r15b
cmove edx, ecx
lea rcx, [rdi + 0xca8]
mov eax, edx
or eax, 8
cmp byte [r8 + 0x14b], r15b
mov r8d, 0x800
cmove eax, edx
mov rdx, rbx
mov dword [rdi + 0x3c8], eax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rdi + 0x14c]
cmp byte [rax], r15b
je 0x180032444
movss xmm0, dword [rbx]
comiss xmm6, xmm0
jbe 0x18003243d
movaps xmm0, xmm6
jmp 0x18003244c
addss xmm0, dword [rdi + 0x18]
jmp 0x18003244c
movss xmm0, dword [0x18008f238]
movss dword [rbx], xmm0
inc rax
add rbx, 4
sub rbp, 1
jne 0x18003242a
call fcn.18003ae90
call fcn.180031394
call fcn.180031b30
mov r11, qword [0x18010e360]
cmp qword [r11 + 0x1a98], r15
je 0x180032557
mov ecx, dword [r11 + 0x1ac8]
call fcn.180030c24
mov rcx, qword [r11 + 0x1a98]
mov r9, qword [rcx + 0x3b8]
cmp byte [r11 + 0x138], r15b
je 0x180032545
lea rcx, [r11 + 0x130]
call fcn.180033688
test al, al
je 0x180032545
movss xmm1, dword [rcx]
subss xmm1, dword [r11 + 0x1af0]
movss xmm2, dword [rcx + 4]
subss xmm2, dword [r11 + 0x1af4]
movss xmm0, dword [r9 + 0x10]
ucomiss xmm0, xmm1
movss dword [rsp + 0x80], xmm1
movss dword [rsp + 0x84], xmm2
jp 0x180032502
jne 0x180032502
movss xmm0, dword [r9 + 0x14]
ucomiss xmm0, xmm2
jp 0x180032502
je 0x180032537
test dword [r9 + 0xc], 0x100
jne 0x180032521
comiss xmm6, dword [r11 + 0x304c]
jb 0x180032521
mov eax, dword [r11 + 0x1c]
mov dword [r11 + 0x304c], eax
mov r8d, 1
lea rdx, [rsp + 0x80]
mov rcx, r9
call fcn.180038154
mov rcx, qword [r11 + 0x1a98]
call fcn.180037c68
jmp 0x180032586
xor edx, edx
xor ecx, ecx
call fcn.180030b74
mov qword [r11 + 0x1a98], r15
jmp 0x180032586
mov rax, qword [r11 + 0x1af8]
test rax, rax
je 0x180032586
mov ecx, dword [r11 + 0x1ac8]
cmp dword [rax + 0x4c], ecx
jne 0x180032586
call fcn.180030c24
cmp byte [r11 + 0x138], r15b
jne 0x180032586
xor edx, edx
xor ecx, ecx
call fcn.180030b74
call fcn.180039588
test rax, rax
jne 0x1800325c5
cmp qword [rdi + 0x1d60], r15
je 0x1800325a6
movss xmm0, dword [rdi + 0x1d7c]
comiss xmm0, xmm6
ja 0x1800325c5
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x18008f118]
movss xmm1, dword [rdi + 0x1e08]
subss xmm1, xmm0
maxss xmm1, xmm6
jmp 0x1800325df
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x18008f104]
addss xmm1, dword [rdi + 0x1e08]
minss xmm1, xmm8
movss dword [rdi + 0x1e08], xmm1
mov eax, 0x3f800000
mov dword [rdi + 0x3038], eax
mov dword [rdi + 0x303c], eax
mov dword [rdi + 0x1fd0], r15d
mov dword [rdi + 0x32ac], r13d
mov dword [rdi + 0x32a8], r13d
mov dword [rdi + 0x32a4], r13d
call fcn.1800316cc
mov r8, qword [0x18010e360]
mov r9, qword [r8 + 0x1c30]
test r9, r9
je 0x180032658
cmp byte [r9 + 0x7e], r15b
je 0x180032658
test dword [r9 + 0xc], 0x40000
jne 0x180032658
cmp byte [r8 + 0x148], r15b
jne 0x180032658
mov ecx, dword [r8 + 0x3c]
test ecx, ecx
js 0x180032658
call fcn.180033590
test al, al
mov al, 1
jne 0x18003265b
mov al, r15b
mov r10d, 0x7fffffff
mov byte [r8 + 0x1da8], al
cmp dword [r8 + 0x1ac8], r15d
jne 0x1800326be
test al, al
je 0x1800326be
mov qword [r8 + 0x1d90], r9
mov dword [r8 + 0x1da0], r10d
cmp dword [r8 + 0x1c38], r15d
je 0x1800326ac
mov edx, dword [r8 + 0x1c80]
cmp edx, r10d
je 0x1800326ac
mov al, byte [r8 + 0x149]
neg al
sbb ecx, ecx
not ecx
and ecx, 2
add ecx, edx
jmp 0x1800326b7
mov al, byte [r8 + 0x149]
neg al
sbb ecx, ecx
mov dword [r8 + 0x1da4], ecx
mov r9, qword [r8 + 0x1d90]
mov qword [r8 + 0x1d88], r15
mov dword [r8 + 0x1d9c], r10d
mov dword [r8 + 0x1d98], r10d
test r9, r9
je 0x180032747
mov eax, dword [r8 + 0x1da0]
mov qword [r8 + 0x1d88], r9
cmp eax, r10d
je 0x18003270c
mov ecx, dword [r9 + 0x1b8]
cmp ecx, r13d
je 0x18003270c
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r8 + 0x1d98], edx
mov eax, dword [r8 + 0x1da4]
cmp eax, r10d
je 0x180032732
mov ecx, dword [r9 + 0x1bc]
cmp ecx, r13d
je 0x180032732
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r8 + 0x1d9c], edx
mov qword [r8 + 0x1d90], r15
mov dword [r8 + 0x1da4], r10d
mov dword [r8 + 0x1da0], r10d
mov dword [r8 + 0x1c80], r10d
movss xmm0, dword [rdi + 0xd0]
comiss xmm0, xmm6
jb 0x18003276b
movsd xmm7, qword [rdi + 0x1a00]
cvtpd2ps xmm7, xmm7
subss xmm7, xmm0
mov esi, r15d
cmp dword [rdi + 0x1a28], r15d
je 0x180032934
mov r14, r15
mov rax, qword [rdi + 0x1a30]
mov rbx, qword [r14 + rax]
mov al, byte [rbx + 0x7e]
mov byte [rbx + 0x7f], al
mov word [rbx + 0x8a], r15w
mov byte [rbx + 0x7e], r15b
mov byte [rbx + 0x80], r15b
test al, al
jne 0x180032922
cmp byte [rbx + 0x400], r15b
jne 0x180032922
comiss xmm7, dword [rbx + 0x294]
jbe 0x180032922
mov rcx, qword [rbx + 0x2c8]
mov byte [rbx + 0x400], 1
mov eax, dword [rcx + 0x14]
mov dword [rbx + 0x404], eax
mov eax, dword [rcx + 0x24]
mov dword [rbx + 0x408], eax
mov rcx, qword [rbx + 0xc8]
test rcx, rcx
je 0x180032817
mov rax, qword [0x18010e360]
mov qword [rbx + 0xc0], r15
test rax, rax
je 0x18003280a
add dword [rax + 0x3bc], r13d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0xc8], r15
mov rcx, qword [rbx + 0x2c8]
call fcn.180044c88
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x180032856
mov rax, qword [0x18010e360]
mov qword [rbx + 0x190], r15
test rax, rax
je 0x180032849
add dword [rax + 0x3bc], r13d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x198], r15
mov rcx, qword [rbx + 0x1d8]
test rcx, rcx
je 0x180032889
mov rax, qword [0x18010e360]
mov qword [rbx + 0x1d0], r15
test rax, rax
je 0x18003287c
add dword [rax + 0x3bc], r13d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d8], r15
mov rcx, qword [rbx + 0x1e8]
test rcx, rcx
je 0x1800328bc
mov rax, qword [0x18010e360]
mov qword [rbx + 0x1e0], r15
test rax, rax
je 0x1800328af
add dword [rax + 0x3bc], r13d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1e8], r15
mov rcx, qword [rbx + 0x1f8]
test rcx, rcx
je 0x1800328ef
mov rax, qword [0x18010e360]
mov qword [rbx + 0x1f0], r15
test rax, rax
je 0x1800328e2
add dword [rax + 0x3bc], r13d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1f8], r15
mov rcx, qword [rbx + 0x208]
test rcx, rcx
je 0x180032922
mov rax, qword [0x18010e360]
mov qword [rbx + 0x200], r15
test rax, rax
je 0x180032915
add dword [rax + 0x3bc], r13d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x208], r15
inc esi
add r14, 8
cmp esi, dword [rdi + 0x1a28]
jne 0x18003277e
mov rax, qword [rdi + 0x1c30]
test rax, rax
je 0x18003294d
cmp byte [rax + 0x7f], r15b
jne 0x18003294d
xor ecx, ecx
call fcn.180037e3c
lea rbx, [rdi + 0x1a58]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180032974
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.18003e5d0
mov dword [rbx], r15d
lea rbx, [rdi + 0x1c20]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x18003299e
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.18003ecc4
mov dword [rbx], r15d
xor edx, edx
mov rcx, qword [rdi + 0x1c30]
call fcn.1800397c0
mov r8, qword [0x18010e360]
mov dword [r8 + 0x30b8], r15d
cmp byte [r8 + 0x30b4], r15b
je 0x180032a79
mov ebx, dword [r8 + 0x1abc]
mov dword [r8 + 0x1fd0], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x1800329f4
call fcn.180033590
test al, al
je 0x1800329f4
mov byte [r8 + 0x30b4], r15b
movss xmm0, dword [r8 + 0x444]
ucomiss xmm0, xmm6
jp 0x180032a16
jne 0x180032a16
test ebx, ebx
je 0x180032a16
mov dword [r8 + 0x30b8], ebx
mov byte [r8 + 0x30b4], r15b
or dword [r8 + 0x1b20], 0x40
xor edx, edx
mov dword [r8 + 0x1b80], 0x3f19999a
call fcn.1800393c4
mov edx, ebx
lea rcx, str.HoveredId:_0x_08X
call fcn.18004c7c4
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.18004c7c4
neg ebx
lea rdx, str.Click_to_break_in_debugger_
sbb rcx, rcx
and rcx, 0xfffffffffffffff0
add rcx, 0x1630
add rcx, qword [0x18010e360]
call fcn.18004c85c
call fcn.180037bcc
mov r8, qword [0x18010e360]
mov byte [rdi + 0x1a15], 1
lea rcx, str.DebugDefault
or dword [r8 + 0x1b20], 2
mov eax, 0x43c80000
mov dword [r8 + 0x1b40], eax
xor edx, edx
mov dword [r8 + 0x1b44], eax
mov dword [r8 + 0x1b28], 4
xor r8d, r8d
movaps xmm6, xmmword [rsp + 0x40]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm7, xmmword [rsp + 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
jmp fcn.180035cc4