Function at 0x180021328
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 [0x1800ed1b0]
xor r15d, r15d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
cmp byte [rdi + 0xcb], r15b
je 0x180021367
test byte [rdi + 0xc], 2
jne 0x180021367
mov byte [rdi + 0xcb], r15b
or r13d, 0xffffffff
cmp byte [rdi + 0x3030], r15b
jne 0x1800213cc
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1800213c5
lea r8, [rsp + 0x80]
mov qword [rsp + 0x80], r15
call fcn.18001e1e4
mov rsi, rax
test rax, rax
je 0x1800213c5
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.18002d13c
mov rcx, qword [0x1800ed1b0]
test rcx, rcx
je 0x1800213bd
add dword [rcx + 0x3bc], r13d
mov rcx, rsi
call fcn.18007ef5c
mov byte [rdi + 0x3030], 1
movss xmm0, dword [rdi + 0x3034]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x18002140c
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x3034], xmm0
jb 0x18002140c
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1800213fe
call fcn.18002d3c8
jmp 0x180021405
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.18002e328
movsxd rax, dword [rdi + 0x3284]
movss xmm1, dword [rdi + 0x18]
movss xmm7, dword [0x1800c4734]
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 0x1800214cf
divss xmm1, dword [0x1800c46cc]
movss xmm0, dword [0x1800c4554]
divss xmm0, xmm1
jmp 0x1800214d2
movaps xmm0, xmm7
mov rax, qword [rdi + 0xa8]
movss dword [rdi + 0x3a8], xmm0
mov byte [rax], 1
mov rax, qword [0x1800ed1b0]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x180021505
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.18002794c
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 0x18002155f
je 0x1800215da
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 [0x1800c4554]
movaps xmm0, xmm1
subss xmm0, dword [rdi + 0x1968]
divss xmm0, xmm1
call fcn.1800a6028
movss xmm1, dword [0x1800c4638]
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 0x18002157d
or r13d, 0xffffffff
mov eax, r15d
mov dword [rdi + 0x197c], r15d
cmp byte [rdi + 0x1614], r15b
je 0x1800215fc
mov dword [rdi + 0x197c], 1
mov eax, 1
cmp byte [rdi + 0x1615], r15b
je 0x18002160e
or eax, 2
mov dword [rdi + 0x197c], eax
test byte [rdi + 0xc], 8
je 0x18002161d
or eax, 4
mov dword [rdi + 0x197c], eax
lea rbx, [rdi + 0x1df8]
mov rcx, rbx
call fcn.1800345b0
mov rdx, qword [rdi + 0xa8]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.180034c28
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.180034a80
lea rbx, [rdi + 0x1ed8]
mov rcx, rbx
call fcn.1800345b0
mov rdx, qword [rdi + 0xa8]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.180034c28
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.180034a80
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 0x180021714
mov ecx, dword [rdi + 0x1fdc]
cmp ecx, dword [rdi + 0x1ae8]
jne 0x180021714
call fcn.180020020
lea rax, [rdi + 0x1ad4]
mov ecx, dword [rax]
cmp dword [rdi + 0x1adc], r15d
jne 0x18002172f
mov dword [rdi + 0x1ae0], r15d
jmp 0x180021740
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x18002174c
cmp dword [rdi + 0x1ae8], ecx
jne 0x18002174c
mov dword [rdi + 0x1ae4], r15d
mov edx, ecx
mov r8, rax
movss xmm1, dword [rdi + 0x18]
test edx, edx
je 0x180021783
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ae0]
movss dword [rdi + 0x1ae0], xmm0
cmp dword [rdi + 0x1ae8], edx
je 0x180021783
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 0x1800217be
cmp dword [rdi + 0x1b28], eax
jne 0x1800217be
test eax, eax
je 0x1800217be
xor edx, edx
xor ecx, ecx
call fcn.18001ff70
movss xmm2, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1ae8]
test ecx, ecx
je 0x1800217db
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 0x18002183c
cmp ecx, eax
je 0x18002183c
mov dword [rdi + 0x2fc0], r15d
test ecx, ecx
jne 0x18002184e
mov qword [rdi + 0x1afc], r15
mov qword [rdi + 0x1b08], r15
mov r8, qword [0x1800ed1b0]
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.180074e00
lea rax, [rdi + 0x14c]
cmp byte [rax], r15b
je 0x1800218f8
movss xmm0, dword [rbx]
comiss xmm6, xmm0
jbe 0x1800218f1
movaps xmm0, xmm6
jmp 0x180021900
addss xmm0, dword [rdi + 0x18]
jmp 0x180021900
movss xmm0, dword [0x1800c4760]
movss dword [rbx], xmm0
inc rax
add rbx, 4
sub rbp, 1
jne 0x1800218de
call fcn.18002a934
call fcn.18002082c
call fcn.180020fd4
mov r11, qword [0x1800ed1b0]
cmp qword [r11 + 0x1ab8], r15
je 0x180021a0b
mov ecx, dword [r11 + 0x1ae8]
call fcn.180020020
mov rcx, qword [r11 + 0x1ab8]
mov r9, qword [rcx + 0x3a0]
cmp byte [r11 + 0x138], r15b
je 0x1800219f9
lea rcx, [r11 + 0x130]
call fcn.1800230e0
test al, al
je 0x1800219f9
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 0x1800219b6
jne 0x1800219b6
movss xmm0, dword [r9 + 0x14]
ucomiss xmm0, xmm2
jp 0x1800219b6
je 0x1800219eb
test dword [r9 + 0xc], 0x100
jne 0x1800219d5
comiss xmm6, dword [r11 + 0x3034]
jb 0x1800219d5
mov eax, dword [r11 + 0x1c]
mov dword [r11 + 0x3034], eax
mov r8d, 1
lea rdx, [rsp + 0x80]
mov rcx, r9
call fcn.180027bb0
mov rcx, qword [r11 + 0x1ab8]
call fcn.1800276c4
jmp 0x180021a3a
xor edx, edx
xor ecx, ecx
call fcn.18001ff70
mov qword [r11 + 0x1ab8], r15
jmp 0x180021a3a
mov rax, qword [r11 + 0x1b18]
test rax, rax
je 0x180021a3a
mov ecx, dword [r11 + 0x1ae8]
cmp dword [rax + 0x4c], ecx
jne 0x180021a3a
call fcn.180020020
cmp byte [r11 + 0x138], r15b
jne 0x180021a3a
xor edx, edx
xor ecx, ecx
call fcn.18001ff70
call fcn.180028ff0
test rax, rax
jne 0x180021a79
cmp qword [rdi + 0x1d48], r15
je 0x180021a5a
movss xmm0, dword [rdi + 0x1d64]
comiss xmm0, xmm6
ja 0x180021a79
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1800c4648]
movss xmm1, dword [rdi + 0x1df0]
subss xmm1, xmm0
maxss xmm1, xmm6
jmp 0x180021a96
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1800c4630]
addss xmm1, dword [rdi + 0x1df0]
minss xmm1, dword [0x1800c4554]
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.180020b70
mov r8, qword [0x1800ed1b0]
mov r9, qword [r8 + 0x1c18]
test r9, r9
je 0x180021b0f
cmp byte [r9 + 0x7e], r15b
je 0x180021b0f
test dword [r9 + 0xc], 0x40000
jne 0x180021b0f
cmp byte [r8 + 0x148], r15b
jne 0x180021b0f
mov ecx, dword [r8 + 0x3c]
test ecx, ecx
js 0x180021b0f
call fcn.180022fe8
test al, al
mov al, 1
jne 0x180021b12
mov al, r15b
mov r10d, 0x7fffffff
mov byte [r8 + 0x1d90], al
cmp dword [r8 + 0x1ae8], r15d
jne 0x180021b75
test al, al
je 0x180021b75
mov qword [r8 + 0x1d78], r9
mov dword [r8 + 0x1d88], r10d
cmp dword [r8 + 0x1c20], r15d
je 0x180021b63
mov edx, dword [r8 + 0x1c68]
cmp edx, r10d
je 0x180021b63
mov al, byte [r8 + 0x149]
neg al
sbb ecx, ecx
not ecx
and ecx, 2
add ecx, edx
jmp 0x180021b6e
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 0x180021bfe
mov eax, dword [r8 + 0x1d88]
mov qword [r8 + 0x1d70], r9
cmp eax, r10d
je 0x180021bc3
mov ecx, dword [r9 + 0x1b0]
cmp ecx, r13d
je 0x180021bc3
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r8 + 0x1d80], edx
mov eax, dword [r8 + 0x1d8c]
cmp eax, r10d
je 0x180021be9
mov ecx, dword [r9 + 0x1b4]
cmp ecx, r13d
je 0x180021be9
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 0x180021c22
movsd xmm7, qword [rdi + 0x1a20]
cvtpd2ps xmm7, xmm7
subss xmm7, xmm0
mov esi, r15d
cmp dword [rdi + 0x1a48], r15d
je 0x180021de5
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 0x180021dd3
cmp byte [rbx + 0x3e8], r15b
jne 0x180021dd3
comiss xmm7, dword [rbx + 0x27c]
jbe 0x180021dd3
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 0x180021ccd
mov rax, qword [0x1800ed1b0]
mov qword [rbx + 0xc0], r15
test rax, rax
je 0x180021cc1
add dword [rax + 0x3bc], r13d
call fcn.18007ef5c
mov qword [rbx + 0xc8], r15
mov rcx, qword [rbx + 0x2b0]
call fcn.1800347b8
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x180021d0b
mov rax, qword [0x1800ed1b0]
mov qword [rbx + 0x188], r15
test rax, rax
je 0x180021cff
add dword [rax + 0x3bc], r13d
call fcn.18007ef5c
mov qword [rbx + 0x190], r15
mov rcx, qword [rbx + 0x1d0]
test rcx, rcx
je 0x180021d3d
mov rax, qword [0x1800ed1b0]
mov qword [rbx + 0x1c8], r15
test rax, rax
je 0x180021d31
add dword [rax + 0x3bc], r13d
call fcn.18007ef5c
mov qword [rbx + 0x1d0], r15
mov rcx, qword [rbx + 0x1e0]
test rcx, rcx
je 0x180021d6f
mov rax, qword [0x1800ed1b0]
mov qword [rbx + 0x1d8], r15
test rax, rax
je 0x180021d63
add dword [rax + 0x3bc], r13d
call fcn.18007ef5c
mov qword [rbx + 0x1e0], r15
mov rcx, qword [rbx + 0x1f0]
test rcx, rcx
je 0x180021da1
mov rax, qword [0x1800ed1b0]
mov qword [rbx + 0x1e8], r15
test rax, rax
je 0x180021d95
add dword [rax + 0x3bc], r13d
call fcn.18007ef5c
mov qword [rbx + 0x1f0], r15
mov rcx, qword [rbx + 0x200]
test rcx, rcx
je 0x180021dd3
mov rax, qword [0x1800ed1b0]
mov qword [rbx + 0x1f8], r15
test rax, rax
je 0x180021dc7
add dword [rax + 0x3bc], r13d
call fcn.18007ef5c
mov qword [rbx + 0x200], r15
inc esi
add r14, 8
cmp esi, dword [rdi + 0x1a48]
jne 0x180021c35
mov rax, qword [rdi + 0x1c18]
test rax, rax
je 0x180021dfe
cmp byte [rax + 0x7f], r15b
jne 0x180021dfe
xor ecx, ecx
call fcn.180027898
lea rbx, [rdi + 0x1a78]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180021e25
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.18002e040
mov dword [rbx], r15d
lea rbx, [rdi + 0x1c08]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180021e4f
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.18002e714
mov dword [rbx], r15d
xor edx, edx
mov rcx, qword [rdi + 0x1c18]
call fcn.180029228
mov r8, qword [0x1800ed1b0]
mov dword [r8 + 0x30a0], r15d
cmp byte [r8 + 0x309c], r15b
je 0x180021f2a
mov ebx, dword [r8 + 0x1adc]
mov dword [r8 + 0x1fb8], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x180021ea5
call fcn.180022fe8
test al, al
je 0x180021ea5
mov byte [r8 + 0x309c], r15b
movss xmm0, dword [r8 + 0x444]
ucomiss xmm0, xmm6
jp 0x180021ec7
jne 0x180021ec7
test ebx, ebx
je 0x180021ec7
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.180028e2c
mov edx, ebx
lea rcx, str.HoveredId:_0x_08X
call fcn.18003c2fc
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.18003c2fc
neg ebx
lea rdx, str.Click_to_break_in_debugger_
sbb rcx, rcx
and rcx, 0xfffffffffffffff0
add rcx, 0x1640
add rcx, qword [0x1800ed1b0]
call fcn.18003c394
call fcn.180027628
mov r8, qword [0x1800ed1b0]
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.180025720