Function at 0x180021288
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 [0x1800ed1c0]
xor r15d, r15d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
cmp byte [rdi + 0xcb], r15b
je 0x1800212c7
test byte [rdi + 0xc], 2
jne 0x1800212c7
mov byte [rdi + 0xcb], r15b
or r13d, 0xffffffff
cmp byte [rdi + 0x3030], r15b
jne 0x18002132c
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x180021325
lea r8, [rsp + 0x80]
mov qword [rsp + 0x80], r15
call fcn.18001e144
mov rsi, rax
test rax, rax
je 0x180021325
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.18002d08c
mov rcx, qword [0x1800ed1c0]
test rcx, rcx
je 0x18002131d
add dword [rcx + 0x3bc], r13d
mov rcx, rsi
call fcn.18007e5bc
mov byte [rdi + 0x3030], 1
movss xmm0, dword [rdi + 0x3034]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x18002136c
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x3034], xmm0
jb 0x18002136c
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18002135e
call fcn.18002d318
jmp 0x180021365
mov byte [rdi + 0x3a4], 1
mov dword [rdi + 0x3034], r15d
movss xmm0, dword [rdi + 0x18]
lea rcx, [rdi + 0x3010]
inc dword [rdi + 0x1a28]
xor edx, edx
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x1a34], 1
mov dword [rdi + 0x2ffc], r15d
mov dword [rdi + 0x1a98], r15d
addsd xmm0, qword [rdi + 0x1a20]
movsd qword [rdi + 0x1a20], xmm0
call fcn.18002e278
movsxd rax, dword [rdi + 0x3284]
movss xmm1, dword [rdi + 0x18]
movss xmm7, dword [0x1800c481c]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x30a4]
addss xmm0, dword [rdi + 0x3288]
movss dword [rdi + 0x3288], xmm0
movss dword [rdi + rax*4 + 0x30a4], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x3284]
movss xmm1, dword [rdi + 0x3288]
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 + 0x3284], ecx
jbe 0x18002142f
divss xmm1, dword [0x1800c47b8]
movss xmm0, dword [0x1800c4644]
divss xmm0, xmm1
jmp 0x180021432
movaps xmm0, xmm7
mov rax, qword [rdi + 0xa8]
movss dword [rdi + 0x3a8], xmm0
mov byte [rax], 1
mov rax, qword [0x1800ed1c0]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x180021465
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.18002789c
movss xmm0, dword [rdi + 0x14]
mov ebp, 0x200
and dword [rsp + 0x20], r15d
and dword [rsp + 0x24], r15d
movss xmm2, dword [rdi + 0x10]
mov eax, dword [rdi + 0x1618]
movss dword [rsp + 0x2c], xmm0
movss dword [rsp + 0x28], xmm2
movups xmm1, xmmword [rsp + 0x20]
mov dword [rdi + 0x1964], eax
movdqu xmmword [rdi + 0x196c], xmm1
movss xmm1, dword [rdi + 0x161c]
movss xmm0, dword [rdi + 0x1968]
ucomiss xmm0, xmm1
jp 0x1800214bf
je 0x18002153a
movss dword [rdi + 0x1968], xmm1
lea rsi, [rdi + 0x19e0]
mov ebx, r15d
mov r14d, 0xff
mov r13d, 0xc
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
addss xmm1, dword [0x1800c4644]
movaps xmm0, xmm1
subss xmm0, dword [rdi + 0x1968]
divss xmm0, xmm1
call fcn.1800a5688
movss xmm1, dword [0x1800c4728]
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 0x1800214dd
or r13d, 0xffffffff
mov eax, r15d
mov dword [rdi + 0x197c], r15d
cmp byte [rdi + 0x1614], r15b
je 0x18002155c
mov dword [rdi + 0x197c], 1
mov eax, 1
cmp byte [rdi + 0x1615], r15b
je 0x18002156e
or eax, 2
mov dword [rdi + 0x197c], eax
test byte [rdi + 0xc], 8
je 0x18002157d
or eax, 4
mov dword [rdi + 0x197c], eax
lea rbx, [rdi + 0x1df8]
mov rcx, rbx
call fcn.18003456c
mov rdx, qword [rdi + 0xa8]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.180034be4
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.180034a3c
lea rbx, [rdi + 0x1ed8]
mov rcx, rbx
call fcn.18003456c
mov rdx, qword [rdi + 0xa8]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.180034be4
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.180034a3c
mov byte [rdi + 0x1d98], r15b
mov qword [rdi + 0x1da0], r15
mov qword [rdi + 0x1dac], r15
mov dword [rdi + 0x1da8], r15d
mov qword [rdi + 0x1dc4], r15
mov qword [rdi + 0x1dbc], r15
mov qword [rdi + 0x1db4], r15
cmp byte [rdi + 0x1fbc], r15b
je 0x180021674
mov ecx, dword [rdi + 0x1fdc]
cmp ecx, dword [rdi + 0x1ae8]
jne 0x180021674
call fcn.18001ff80
lea rax, [rdi + 0x1ad4]
mov ecx, dword [rax]
cmp dword [rdi + 0x1adc], r15d
jne 0x18002168f
mov dword [rdi + 0x1ae0], r15d
jmp 0x1800216a0
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x1800216ac
cmp dword [rdi + 0x1ae8], ecx
jne 0x1800216ac
mov dword [rdi + 0x1ae4], r15d
mov edx, ecx
mov r8, rax
movss xmm1, dword [rdi + 0x18]
test edx, edx
je 0x1800216e3
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ae0]
movss dword [rdi + 0x1ae0], xmm0
cmp dword [rdi + 0x1ae8], edx
je 0x1800216e3
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ae4]
movss dword [rdi + 0x1ae4], xmm0
mov eax, dword [rdi + 0x1ae8]
movaps xmm2, xmm1
mov dword [rdi + 0x1adc], edx
mov dword [r8], r15d
mov byte [rdi + 0x1ad8], r15b
cmp dword [rdi + 0x1aec], eax
je 0x18002171e
cmp dword [rdi + 0x1b28], eax
jne 0x18002171e
test eax, eax
je 0x18002171e
xor edx, edx
xor ecx, ecx
call fcn.18001fed0
movss xmm2, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1ae8]
test ecx, ecx
je 0x18002173b
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x1af0]
movss dword [rdi + 0x1af0], xmm0
mov rax, qword [rdi + 0x1b18]
addss xmm2, dword [rdi + 0x1b3c]
mov qword [rdi + 0x1b30], rax
mov al, byte [rdi + 0x1af7]
mov byte [rdi + 0x1b2d], al
mov eax, dword [rdi + 0x2fc0]
movss dword [rdi + 0x1b3c], xmm2
mov dword [rdi + 0x1b28], ecx
mov dword [rdi + 0x1aec], r15d
mov byte [rdi + 0x1af8], r15b
mov byte [rdi + 0x1b2c], r15b
mov byte [rdi + 0x1af4], r15b
test eax, eax
je 0x18002179c
cmp ecx, eax
je 0x18002179c
mov dword [rdi + 0x2fc0], r15d
test ecx, ecx
jne 0x1800217ae
mov qword [rdi + 0x1afc], r15
mov qword [rdi + 0x1b08], r15
mov r8, qword [0x1800ed1c0]
lea rbx, [rdi + 0x4a8]
mov eax, dword [rdi + 0x202c]
mov dword [rdi + 0x2030], eax
mov eax, r15d
mov qword [rdi + 0x2028], 0x7f7fffff
mov word [rdi + 0x1fbd], r15w
mov dword [rdi + 0x2038], 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 fcn.180074460
lea rax, [rdi + 0x14c]
cmp byte [rax], r15b
je 0x180021858
movss xmm0, dword [rbx]
comiss xmm6, xmm0
jbe 0x180021851
movaps xmm0, xmm6
jmp 0x180021860
addss xmm0, dword [rdi + 0x18]
jmp 0x180021860
movss xmm0, dword [0x1800c4848]
movss dword [rbx], xmm0
inc rax
add rbx, 4
sub rbp, 1
jne 0x18002183e
call fcn.18002a884
call fcn.18002078c
call fcn.180020f34
mov r11, qword [0x1800ed1c0]
cmp qword [r11 + 0x1ab8], r15
je 0x18002196b
mov ecx, dword [r11 + 0x1ae8]
call fcn.18001ff80
mov rcx, qword [r11 + 0x1ab8]
mov r9, qword [rcx + 0x3a0]
cmp byte [r11 + 0x138], r15b
je 0x180021959
lea rcx, [r11 + 0x130]
call fcn.180023040
test al, al
je 0x180021959
movss xmm1, dword [rcx]
subss xmm1, dword [r11 + 0x1b10]
movss xmm2, dword [rcx + 4]
subss xmm2, dword [r11 + 0x1b14]
movss xmm0, dword [r9 + 0x10]
ucomiss xmm0, xmm1
movss dword [rsp + 0x80], xmm1
movss dword [rsp + 0x84], xmm2
jp 0x180021916
jne 0x180021916
movss xmm0, dword [r9 + 0x14]
ucomiss xmm0, xmm2
jp 0x180021916
je 0x18002194b
test dword [r9 + 0xc], 0x100
jne 0x180021935
comiss xmm6, dword [r11 + 0x3034]
jb 0x180021935
mov eax, dword [r11 + 0x1c]
mov dword [r11 + 0x3034], eax
mov r8d, 1
lea rdx, [rsp + 0x80]
mov rcx, r9
call fcn.180027b00
mov rcx, qword [r11 + 0x1ab8]
call fcn.180027614
jmp 0x18002199a
xor edx, edx
xor ecx, ecx
call fcn.18001fed0
mov qword [r11 + 0x1ab8], r15
jmp 0x18002199a
mov rax, qword [r11 + 0x1b18]
test rax, rax
je 0x18002199a
mov ecx, dword [r11 + 0x1ae8]
cmp dword [rax + 0x4c], ecx
jne 0x18002199a
call fcn.18001ff80
cmp byte [r11 + 0x138], r15b
jne 0x18002199a
xor edx, edx
xor ecx, ecx
call fcn.18001fed0
call fcn.180028f40
test rax, rax
jne 0x1800219d9
cmp qword [rdi + 0x1d48], r15
je 0x1800219ba
movss xmm0, dword [rdi + 0x1d64]
comiss xmm0, xmm6
ja 0x1800219d9
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1800c4738]
movss xmm1, dword [rdi + 0x1df0]
subss xmm1, xmm0
maxss xmm1, xmm6
jmp 0x1800219f6
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1800c4720]
addss xmm1, dword [rdi + 0x1df0]
minss xmm1, dword [0x1800c4644]
movss dword [rdi + 0x1df0], xmm1
mov eax, 0x3f800000
mov dword [rdi + 0x3020], eax
mov dword [rdi + 0x3024], eax
mov dword [rdi + 0x1fb8], r15d
mov dword [rdi + 0x3294], r13d
mov dword [rdi + 0x3290], r13d
mov dword [rdi + 0x328c], r13d
call fcn.180020ad0
mov r8, qword [0x1800ed1c0]
mov r9, qword [r8 + 0x1c18]
test r9, r9
je 0x180021a6f
cmp byte [r9 + 0x7e], r15b
je 0x180021a6f
test dword [r9 + 0xc], 0x40000
jne 0x180021a6f
cmp byte [r8 + 0x148], r15b
jne 0x180021a6f
mov ecx, dword [r8 + 0x3c]
test ecx, ecx
js 0x180021a6f
call fcn.180022f48
test al, al
mov al, 1
jne 0x180021a72
mov al, r15b
mov r10d, 0x7fffffff
mov byte [r8 + 0x1d90], al
cmp dword [r8 + 0x1ae8], r15d
jne 0x180021ad5
test al, al
je 0x180021ad5
mov qword [r8 + 0x1d78], r9
mov dword [r8 + 0x1d88], r10d
cmp dword [r8 + 0x1c20], r15d
je 0x180021ac3
mov edx, dword [r8 + 0x1c68]
cmp edx, r10d
je 0x180021ac3
mov al, byte [r8 + 0x149]
neg al
sbb ecx, ecx
not ecx
and ecx, 2
add ecx, edx
jmp 0x180021ace
mov al, byte [r8 + 0x149]
neg al
sbb ecx, ecx
mov dword [r8 + 0x1d8c], ecx
mov r9, qword [r8 + 0x1d78]
mov qword [r8 + 0x1d70], r15
mov dword [r8 + 0x1d84], r10d
mov dword [r8 + 0x1d80], r10d
test r9, r9
je 0x180021b5e
mov eax, dword [r8 + 0x1d88]
mov qword [r8 + 0x1d70], r9
cmp eax, r10d
je 0x180021b23
mov ecx, dword [r9 + 0x1b0]
cmp ecx, r13d
je 0x180021b23
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r8 + 0x1d80], edx
mov eax, dword [r8 + 0x1d8c]
cmp eax, r10d
je 0x180021b49
mov ecx, dword [r9 + 0x1b4]
cmp ecx, r13d
je 0x180021b49
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r8 + 0x1d84], edx
mov qword [r8 + 0x1d78], r15
mov dword [r8 + 0x1d8c], r10d
mov dword [r8 + 0x1d88], r10d
mov dword [r8 + 0x1c68], r10d
movss xmm0, dword [rdi + 0xd0]
comiss xmm0, xmm6
jb 0x180021b82
movsd xmm7, qword [rdi + 0x1a20]
cvtpd2ps xmm7, xmm7
subss xmm7, xmm0
mov esi, r15d
cmp dword [rdi + 0x1a48], r15d
je 0x180021d45
mov r14, r15
mov rax, qword [rdi + 0x1a50]
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 0x180021d33
cmp byte [rbx + 0x3e8], r15b
jne 0x180021d33
comiss xmm7, dword [rbx + 0x27c]
jbe 0x180021d33
mov rcx, qword [rbx + 0x2b0]
mov byte [rbx + 0x3e8], 1
mov eax, dword [rcx + 0x14]
mov dword [rbx + 0x3ec], eax
mov eax, dword [rcx + 0x24]
mov dword [rbx + 0x3f0], eax
mov rcx, qword [rbx + 0xc8]
test rcx, rcx
je 0x180021c2d
mov rax, qword [0x1800ed1c0]
mov qword [rbx + 0xc0], r15
test rax, rax
je 0x180021c21
add dword [rax + 0x3bc], r13d
call fcn.18007e5bc
mov qword [rbx + 0xc8], r15
mov rcx, qword [rbx + 0x2b0]
call fcn.180034774
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x180021c6b
mov rax, qword [0x1800ed1c0]
mov qword [rbx + 0x188], r15
test rax, rax
je 0x180021c5f
add dword [rax + 0x3bc], r13d
call fcn.18007e5bc
mov qword [rbx + 0x190], r15
mov rcx, qword [rbx + 0x1d0]
test rcx, rcx
je 0x180021c9d
mov rax, qword [0x1800ed1c0]
mov qword [rbx + 0x1c8], r15
test rax, rax
je 0x180021c91
add dword [rax + 0x3bc], r13d
call fcn.18007e5bc
mov qword [rbx + 0x1d0], r15
mov rcx, qword [rbx + 0x1e0]
test rcx, rcx
je 0x180021ccf
mov rax, qword [0x1800ed1c0]
mov qword [rbx + 0x1d8], r15
test rax, rax
je 0x180021cc3
add dword [rax + 0x3bc], r13d
call fcn.18007e5bc
mov qword [rbx + 0x1e0], r15
mov rcx, qword [rbx + 0x1f0]
test rcx, rcx
je 0x180021d01
mov rax, qword [0x1800ed1c0]
mov qword [rbx + 0x1e8], r15
test rax, rax
je 0x180021cf5
add dword [rax + 0x3bc], r13d
call fcn.18007e5bc
mov qword [rbx + 0x1f0], r15
mov rcx, qword [rbx + 0x200]
test rcx, rcx
je 0x180021d33
mov rax, qword [0x1800ed1c0]
mov qword [rbx + 0x1f8], r15
test rax, rax
je 0x180021d27
add dword [rax + 0x3bc], r13d
call fcn.18007e5bc
mov qword [rbx + 0x200], r15
inc esi
add r14, 8
cmp esi, dword [rdi + 0x1a48]
jne 0x180021b95
mov rax, qword [rdi + 0x1c18]
test rax, rax
je 0x180021d5e
cmp byte [rax + 0x7f], r15b
jne 0x180021d5e
xor ecx, ecx
call fcn.1800277e8
lea rbx, [rdi + 0x1a78]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180021d85
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.18002df90
mov dword [rbx], r15d
lea rbx, [rdi + 0x1c08]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180021daf
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.18002e664
mov dword [rbx], r15d
xor edx, edx
mov rcx, qword [rdi + 0x1c18]
call fcn.180029178
mov r8, qword [0x1800ed1c0]
mov dword [r8 + 0x30a0], r15d
cmp byte [r8 + 0x309c], r15b
je 0x180021e8a
mov ebx, dword [r8 + 0x1adc]
mov dword [r8 + 0x1fb8], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x180021e05
call fcn.180022f48
test al, al
je 0x180021e05
mov byte [r8 + 0x309c], r15b
movss xmm0, dword [r8 + 0x444]
ucomiss xmm0, xmm6
jp 0x180021e27
jne 0x180021e27
test ebx, ebx
je 0x180021e27
mov dword [r8 + 0x30a0], ebx
mov byte [r8 + 0x309c], r15b
or dword [r8 + 0x1b40], 0x40
xor edx, edx
mov dword [r8 + 0x1ba0], 0x3f19999a
call fcn.180028d7c
mov edx, ebx
lea rcx, str.HoveredId:_0x_08X
call fcn.18003c2b8
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.18003c2b8
neg ebx
lea rdx, str.Click_to_break_in_debugger_
sbb rcx, rcx
and rcx, 0xfffffffffffffff0
add rcx, 0x1640
add rcx, qword [0x1800ed1c0]
call fcn.18003c350
call fcn.180027578
mov r8, qword [0x1800ed1c0]
mov byte [rdi + 0x1a35], 1
lea rcx, str.DebugDefault
or dword [r8 + 0x1b40], 2
mov eax, 0x43c80000
mov dword [r8 + 0x1b60], eax
xor edx, edx
mov dword [r8 + 0x1b64], eax
mov dword [r8 + 0x1b48], 4
xor r8d, r8d
movaps xmm6, xmmword [rsp + 0x40]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
jmp fcn.180025670