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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rdi, qword [0x1801afab8]
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm8
cmp byte [rdi + 0xcb], 0
je 0x18002a885
test byte [rdi + 0xc], 2
jne 0x18002a885
mov byte [rdi + 0xcb], 0
xor esi, esi
cmp byte [rdi + 0x2fd0], sil
jne 0x18002a8df
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18002a8d8
lea r8, [rsp + 0x70]
mov qword [rsp + 0x70], rsi
call fcn.180026c20
mov rbx, rax
test rax, rax
je 0x18002a8d8
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.180037430
mov rcx, qword [0x1801afab8]
test rcx, rcx
je 0x18002a8cf
dec dword [rcx + 0x3bc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rdi + 0x2fd0], 1
movss xmm0, dword [rdi + 0x2fd4]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x18002a91e
subss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm6
movss dword [rdi + 0x2fd4], xmm0
ja 0x18002a91e
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18002a911
call fcn.180037690
jmp 0x18002a918
mov byte [rdi + 0x3a4], 1
mov dword [rdi + 0x2fd4], esi
inc dword [rdi + 0x1a88]
movss xmm0, dword [rdi + 0x18]
mov rax, qword [rdi + 0xa8]
mov byte [rdi + 0x1a94], 1
mov dword [rdi + 0x2fac], esi
mov dword [rdi + 0x1ae8], esi
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rdi + 0x1a80]
movsd qword [rdi + 0x1a80], xmm0
mov byte [rax], 1
mov rax, qword [0x1801afab8]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x18002a97a
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
mov qword [rsp + 0x80], r14
call fcn.180031400
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
mov qword [rdi + 0x19cc], rsi
movss dword [rdi + 0x19d4], xmm2
movss dword [rdi + 0x19d8], xmm3
mov eax, dword [rdi + 0x1604]
movss xmm0, dword [rdi + 0x1608]
movss xmm8, dword [0x18008d8dc]
mov dword [rdi + 0x19c4], eax
ucomiss xmm0, dword [rdi + 0x19c8]
je 0x18002aa4c
movss xmm7, dword [0x18008d970]
lea r14, [rdi + 0x1a40]
mov qword [rsp + 0x78], rbp
mov ebx, esi
mov ebp, 0x200
movss dword [rdi + 0x19c8], xmm0
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
addss xmm1, xmm8
movaps xmm0, xmm1
subss xmm0, dword [rdi + 0x19c8]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm7
divss xmm1, xmm0
cvttss2si edx, xmm1
cmp edx, 0xc
jge 0x18002aa28
mov edx, 0xc
jmp 0x18002aa2d
cmp edx, ebp
cmovg edx, ebp
mov ecx, 0xff
movzx eax, dl
cmp edx, ecx
cmovl ecx, eax
inc ebx
mov byte [r14], cl
inc r14
cmp ebx, 0x40
jl 0x18002a9f1
mov rbp, qword [rsp + 0x78]
mov eax, esi
mov dword [rdi + 0x19dc], esi
cmp byte [rdi + 0x1600], sil
je 0x18002aa6c
mov dword [rdi + 0x19dc], 1
mov eax, 1
cmp byte [rdi + 0x1601], sil
je 0x18002aa7e
or eax, 2
mov dword [rdi + 0x19dc], eax
test byte [rdi + 0xc], 8
je 0x18002aa8d
or eax, 4
mov dword [rdi + 0x19dc], eax
lea rcx, [rdi + 0x1e28]
call fcn.18003f290
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1e28]
mov rdx, qword [rdx + 8]
call fcn.18003f890
mov rax, qword [rdi + 0x1e60]
lea rcx, [rdi + 0x1e28]
xor r9d, r9d
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.18003f760
lea rcx, [rdi + 0x1ed0]
call fcn.18003f290
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1ed0]
mov rdx, qword [rdx + 8]
call fcn.18003f890
mov rax, qword [rdi + 0x1f08]
lea rcx, [rdi + 0x1ed0]
xor r9d, r9d
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.18003f760
mov byte [rdi + 0x1dc8], sil
mov qword [rdi + 0x1dd0], rsi
mov qword [rdi + 0x1ddc], rsi
mov dword [rdi + 0x1dd8], esi
mov qword [rdi + 0x1df4], rsi
mov qword [rdi + 0x1dec], rsi
mov qword [rdi + 0x1de4], rsi
cmp byte [rdi + 0x1f7c], sil
je 0x18002abb2
mov eax, dword [rdi + 0x1f9c]
cmp eax, dword [rdi + 0x1b38]
jne 0x18002abb2
mov rcx, qword [0x1801afab8]
cmp dword [rcx + 0x1b38], eax
jne 0x18002aba3
mov dword [rcx + 0x1b3c], eax
cmp dword [rcx + 0x1b78], eax
jne 0x18002abb2
mov byte [rcx + 0x1b7c], 1
cmp dword [rdi + 0x1b2c], esi
jne 0x18002abc2
mov dword [rdi + 0x1b30], esi
jmp 0x18002abd4
mov eax, dword [rdi + 0x1b24]
test eax, eax
je 0x18002abda
cmp dword [rdi + 0x1b38], eax
jne 0x18002abda
mov dword [rdi + 0x1b34], esi
mov eax, dword [rdi + 0x1b24]
test eax, eax
je 0x18002ac14
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1b30]
movss dword [rdi + 0x1b30], xmm0
cmp dword [rdi + 0x1b38], eax
je 0x18002ac14
addss xmm1, dword [rdi + 0x1b34]
movss dword [rdi + 0x1b34], xmm1
mov dword [rdi + 0x1b2c], eax
mov eax, dword [rdi + 0x1b38]
mov dword [rdi + 0x1b24], esi
mov byte [rdi + 0x1b28], sil
cmp dword [rdi + 0x1b3c], eax
je 0x18002ac46
cmp dword [rdi + 0x1b78], eax
jne 0x18002ac46
test eax, eax
je 0x18002ac46
call fcn.1800293b0
mov ecx, dword [rdi + 0x1b38]
test ecx, ecx
je 0x18002ac65
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1b40]
movss dword [rdi + 0x1b40], xmm0
mov rax, qword [rdi + 0x1b68]
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1b8c]
mov qword [rdi + 0x1b80], rax
movzx eax, byte [rdi + 0x1b47]
mov byte [rdi + 0x1b7d], al
mov eax, dword [rdi + 0x2f70]
movss dword [rdi + 0x1b8c], xmm0
mov dword [rdi + 0x1b78], ecx
mov dword [rdi + 0x1b3c], esi
mov byte [rdi + 0x1b48], sil
mov byte [rdi + 0x1b7c], sil
mov byte [rdi + 0x1b44], sil
test eax, eax
je 0x18002acca
cmp ecx, eax
je 0x18002acca
mov dword [rdi + 0x2f70], esi
test ecx, ecx
jne 0x18002acdc
mov qword [rdi + 0x1b4c], rsi
mov qword [rdi + 0x1b58], rsi
mov eax, dword [rdi + 0x1fec]
lea rcx, [rdi + 0xca0]
lea rdx, [rdi + 0x4a0]
mov dword [rdi + 0x1ff0], eax
mov r8d, 0x800
mov qword [rdi + 0x1fe8], 0x7f7fffff
mov byte [rdi + 0x1f7d], sil
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x18008da84]
lea rcx, [rdi + 0x14d]
lea rax, [rdi + 0x4a4]
mov r8d, 0x80
nop
cmp byte [rcx - 1], sil
je 0x18002ad4c
movss xmm0, dword [rax - 4]
comiss xmm0, xmm6
jae 0x18002ad45
movaps xmm0, xmm6
jmp 0x18002ad4f
addss xmm0, dword [rdi + 0x18]
jmp 0x18002ad4f
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x18002ad6e
movss xmm0, dword [rax]
comiss xmm0, xmm6
jae 0x18002ad67
movaps xmm0, xmm6
jmp 0x18002ad71
addss xmm0, dword [rdi + 0x18]
jmp 0x18002ad71
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x18002ad91
movss xmm0, dword [rax + 4]
comiss xmm0, xmm6
jae 0x18002ad8a
movaps xmm0, xmm6
jmp 0x18002ad94
addss xmm0, dword [rdi + 0x18]
jmp 0x18002ad94
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x18002adb5
movss xmm0, dword [rax + 8]
comiss xmm0, xmm6
jae 0x18002adae
movaps xmm0, xmm6
jmp 0x18002adb8
addss xmm0, dword [rdi + 0x18]
jmp 0x18002adb8
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x18002ad30
call fcn.180034790
call fcn.180029c80
movsxd rax, dword [rdi + 0x3224]
movss xmm1, dword [rdi + 0x18]
movss xmm7, dword [0x18008da50]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x3044]
addss xmm0, dword [rdi + 0x3228]
movss dword [rdi + 0x3228], xmm0
movss dword [rdi + rax*4 + 0x3044], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x3224]
movss xmm1, dword [rdi + 0x3228]
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 + 0x3224], ecx
jbe 0x18002ae53
movss xmm0, dword [0x18008d9e8]
divss xmm0, xmm1
jmp 0x18002ae56
movaps xmm0, xmm7
movss dword [rdi + 0x3a8], xmm0
call fcn.18002a3e0
mov r9, qword [0x1801afab8]
mov r10, qword [r9 + 0x1b08]
test r10, r10
je 0x18002afb3
mov ecx, dword [r9 + 0x1b38]
mov dword [r9 + 0x1b3c], ecx
cmp dword [r9 + 0x1b78], ecx
jne 0x18002ae99
mov byte [r9 + 0x1b7c], 1
mov r10, qword [r10 + 0x368]
cmp byte [r9 + 0x138], sil
je 0x18002af61
lea rax, [r9 + 0x130]
mov rdx, rax
test rax, rax
jne 0x18002aec3
lea rdx, [r9 + 0x130]
movss xmm0, dword [rdx]
movss xmm1, dword [0x18008dab8]
comiss xmm0, xmm1
movss xmm2, dword [rdx + 4]
jb 0x18002af61
comiss xmm2, xmm1
jb 0x18002af61
movss xmm0, dword [rax]
subss xmm0, dword [r9 + 0x1b60]
movss xmm1, dword [rax + 4]
subss xmm1, dword [r9 + 0x1b64]
ucomiss xmm0, dword [r10 + 0x10]
movss dword [rsp + 0x70], xmm0
movss dword [rsp + 0x74], xmm1
jne 0x18002af17
ucomiss xmm1, dword [r10 + 0x14]
je 0x18002af49
test dword [r10 + 0xc], 0x100
jne 0x18002af36
comiss xmm6, dword [r9 + 0x2fd4]
jb 0x18002af36
mov eax, dword [r9 + 0x1c]
mov dword [r9 + 0x2fd4], eax
mov r8d, 1
lea rdx, [rsp + 0x70]
mov rcx, r10
call fcn.180031910
mov rcx, qword [r9 + 0x1b08]
call fcn.180030ed0
mov r9, qword [0x1801afab8]
jmp 0x18002aff1
test ecx, ecx
setne al
mov byte [r9 + 0x1b44], al
test ecx, ecx
je 0x18002af80
mov dword [r9 + 0x1b40], esi
mov word [r9 + 0x1b46], si
mov dword [r9 + 0x1b38], esi
mov byte [r9 + 0x1b45], sil
mov qword [r9 + 0x1b68], rsi
mov byte [r9 + 0x1b48], sil
mov qword [r9 + 0x1b4c], rsi
mov qword [r9 + 0x1b58], rsi
mov qword [r9 + 0x1b08], rsi
jmp 0x18002aff1
mov rcx, qword [r9 + 0x1b68]
test rcx, rcx
je 0x18002aff1
mov eax, dword [r9 + 0x1b38]
cmp dword [rcx + 0x4c], eax
jne 0x18002aff1
mov dword [r9 + 0x1b3c], eax
cmp dword [r9 + 0x1b78], eax
jne 0x18002afe3
mov byte [r9 + 0x1b7c], 1
cmp byte [r9 + 0x138], sil
jne 0x18002aff1
call fcn.1800293b0
mov eax, dword [r9 + 0x1c40]
sub eax, 1
js 0x18002b031
mov r8, qword [r9 + 0x1c48]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x18002b027
test dword [rax + 0xc], 0x8000000
jne 0x18002b043
sub r8, 0x30
sub rdx, 1
jns 0x18002b016
cmp qword [rdi + 0x1d78], rsi
je 0x18002b05f
comiss xmm6, dword [rdi + 0x1d94]
jae 0x18002b05f
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x18008d968]
addss xmm1, dword [rdi + 0x1e20]
minss xmm1, xmm8
jmp 0x18002b07c
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x18008d97c]
movss xmm1, dword [rdi + 0x1e20]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1e20], xmm1
mov dword [rdi + 0x1f78], esi
mov qword [rdi + 0x3230], 0xffffffffffffffff
mov dword [rdi + 0x322c], 0xffffffff
mov dword [rdi + 0x2fc0], 0x3f800000
mov dword [rdi + 0x2fc4], 0x3f800000
call fcn.18002a050
mov r9, qword [rdi + 0x1c60]
mov r10, qword [0x1801afab8]
movaps xmm8, xmmword [rsp + 0x20]
test r9, r9
je 0x18002b102
cmp byte [r9 + 0x7e], sil
je 0x18002b102
test dword [r9 + 0xc], 0x40000
jne 0x18002b102
cmp byte [rdi + 0x148], sil
jne 0x18002b102
mov ecx, dword [r10 + 0x3c]
test ecx, ecx
js 0x18002b102
mov dl, 1
call fcn.18002c1b0
test al, al
je 0x18002b102
movzx eax, dl
jmp 0x18002b104
xor al, al
mov byte [rdi + 0x1dc0], al
cmp dword [rdi + 0x1b38], esi
jne 0x18002b167
test al, al
je 0x18002b167
mov qword [rdi + 0x1da8], r9
mov dword [rdi + 0x1db8], 0x7fffffff
cmp dword [rdi + 0x1c68], esi
je 0x18002b156
mov ecx, dword [rdi + 0x1cac]
cmp ecx, 0x7fffffff
je 0x18002b156
cmp byte [rdi + 0x149], sil
mov eax, 2
cmovne eax, esi
add eax, ecx
mov dword [rdi + 0x1dbc], eax
jmp 0x18002b167
movzx eax, byte [rdi + 0x149]
neg al
sbb ecx, ecx
mov dword [rdi + 0x1dbc], ecx
mov r8, qword [rdi + 0x1da8]
mov qword [rdi + 0x1da0], rsi
mov dword [rdi + 0x1db4], 0x7fffffff
mov dword [rdi + 0x1db0], 0x7fffffff
test r8, r8
je 0x18002b1fc
mov eax, dword [rdi + 0x1db8]
mov qword [rdi + 0x1da0], r8
cmp eax, 0x7fffffff
je 0x18002b1bb
mov ecx, dword [r8 + 0x1b0]
cmp ecx, 0xffffffff
je 0x18002b1bb
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1db0], edx
mov eax, dword [rdi + 0x1dbc]
cmp eax, 0x7fffffff
je 0x18002b1e1
mov ecx, dword [r8 + 0x1b4]
cmp ecx, 0xffffffff
je 0x18002b1e1
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1db4], edx
mov qword [rdi + 0x1da8], rsi
mov dword [rdi + 0x1dbc], 0x7fffffff
mov dword [rdi + 0x1db8], 0x7fffffff
movss xmm0, dword [rdi + 0xd0]
comiss xmm0, xmm6
mov dword [rdi + 0x1cac], 0x7fffffff
jb 0x18002b223
movsd xmm7, qword [rdi + 0x1a80]
cvtpd2ps xmm7, xmm7
subss xmm7, xmm0
mov ebx, esi
cmp dword [rdi + 0x1a98], esi
je 0x18002b284
mov r14, rsi
mov rax, qword [rdi + 0x1aa0]
mov rcx, qword [r14 + rax]
movzx eax, byte [rcx + 0x7e]
mov byte [rcx + 0x7f], al
mov word [rcx + 0x8a], si
mov byte [rcx + 0x7e], sil
mov byte [rcx + 0x80], sil
test al, al
jne 0x18002b26f
cmp byte [rcx + 0x3c8], sil
jne 0x18002b26f
comiss xmm7, dword [rcx + 0x27c]
jbe 0x18002b26f
call fcn.180029160
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x1a98]
jne 0x18002b230
mov r10, qword [0x1801afab8]
mov rax, qword [rdi + 0x1c60]
movaps xmm7, xmmword [rsp + 0x30]
mov r14, qword [rsp + 0x80]
test rax, rax
je 0x18002b301
cmp byte [rax + 0x7f], sil
jne 0x18002b301
mov eax, dword [r10 + 0x1aa8]
sub eax, 1
js 0x18002b2fa
movsxd r9, eax
mov rax, qword [r10 + 0x1ab0]
lea r10, [rax + r9*8]
nop dword [rax]
mov r8, qword [r10]
test r8, r8
je 0x18002b2f0
cmp byte [r8 + 0x7f], sil
je 0x18002b2f0
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x18002b483
sub r10, 8
sub r9, 1
jns 0x18002b2c0
xor ecx, ecx
call fcn.180030ed0
mov ecx, dword [rdi + 0x1acc]
test ecx, ecx
jns 0x18002b327
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1ac8]
test eax, eax
cmovg edx, eax
call fcn.1800241e0
mov dword [rdi + 0x1ac8], esi
mov ecx, dword [rdi + 0x1c54]
test ecx, ecx
jns 0x18002b353
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1c50]
test eax, eax
cmovg edx, eax
call fcn.180038840
mov dword [rdi + 0x1c50], esi
xor edx, edx
mov rcx, qword [rdi + 0x1c60]
call fcn.180032d80
mov r9, qword [0x1801afab8]
mov dword [r9 + 0x3040], esi
cmp byte [r9 + 0x303c], sil
je 0x18002b436
mov ebx, dword [r9 + 0x1b2c]
mov dword [r9 + 0x1f78], 7
mov ecx, dword [r9 + 0x74]
test ecx, ecx
js 0x18002b3ae
mov dl, 1
call fcn.18002c1b0
test al, al
je 0x18002b3ae
mov byte [r9 + 0x303c], sil
movss xmm0, dword [r9 + 0x43c]
ucomiss xmm0, xmm6
jne 0x18002b3ce
test ebx, ebx
je 0x18002b3ce
mov dword [r9 + 0x3040], ebx
mov byte [r9 + 0x303c], sil
or dword [r9 + 0x1b90], 0x40
xor edx, edx
mov dword [r9 + 0x1be8], 0x3f19999a
call fcn.1800329e0
mov edx, ebx
lea rcx, str.HoveredId:_0x_08X
call fcn.180049060
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.180049060
mov rcx, qword [0x1801afab8]
lea rdx, str.Click_to_break_in_debugger_
mov eax, 0x10
test ebx, ebx
cmove rsi, rax
add rcx, 0x160c
add rcx, rsi
call fcn.180049160
call fcn.180030cf0
mov r9, qword [0x1801afab8]
mov byte [rdi + 0x1a95], 1
lea rcx, str.DebugDefault
or dword [r9 + 0x1b90], 2
xor r8d, r8d
xor edx, edx
mov dword [r9 + 0x1bb0], 0x43c80000
mov dword [r9 + 0x1bb4], 0x43c80000
mov dword [r9 + 0x1b98], 4
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rdi
pop rsi
pop rbx
jmp fcn.18002ebb0
mov rax, qword [r8 + 0x380]
test rax, rax
cmovne r8, rax
mov rcx, r8
jmp 0x18002b2fc