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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rdi, qword [0x1800f27c0]
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x30], xmm9
cmp byte [rdi + 0xcb], 0
je 0x1800407e6
test byte [rdi + 0xc], 2
jne 0x1800407e6
mov byte [rdi + 0xcb], 0
xor esi, esi
mov qword [rsp + 0x98], rbp
cmp byte [rdi + 0x2f70], sil
jne 0x180040851
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18004084a
lea r8, [rsp + 0x90]
mov qword [rsp + 0x90], rsi
call fcn.18003d270
mov rbp, rax
test rax, rax
je 0x18004084a
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.18004cbc0
mov rcx, qword [0x1800f27c0]
test rcx, rcx
je 0x180040841
dec dword [rcx + 0x3bc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rdi + 0x2f70], 1
movss xmm0, dword [rdi + 0x2f74]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x180040890
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x2f74], xmm0
jb 0x180040890
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x180040883
call fcn.18004ce20
jmp 0x18004088a
mov byte [rdi + 0x3a4], 1
mov dword [rdi + 0x2f74], esi
inc dword [rdi + 0x1a08]
movss xmm0, dword [rdi + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x1a14], 1
mov dword [rdi + 0x2f3c], esi
mov dword [rdi + 0x1a68], esi
addsd xmm0, qword [rdi + 0x1a00]
movsd qword [rdi + 0x1a00], xmm0
mov ecx, dword [rdi + 0x2f54]
test ecx, ecx
jns 0x1800408e7
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x2f50]
test eax, eax
cmovg edx, eax
call fcn.18004e040
movss xmm8, dword [0x1800e0d60]
movss xmm9, dword [0x1800e0c64]
mov dword [rdi + 0x2f50], esi
movsxd rax, dword [rdi + 0x31c4]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x2fe4]
addss xmm0, dword [rdi + 0x31c8]
movss dword [rdi + 0x31c8], xmm0
movss dword [rdi + rax*4 + 0x2fe4], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x31c4]
movss xmm1, dword [rdi + 0x31c8]
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 + 0x31c4], ecx
jbe 0x180040975
divss xmm1, dword [0x1800e0d2c]
movaps xmm0, xmm9
divss xmm0, xmm1
jmp 0x180040979
movaps xmm0, xmm8
mov rax, qword [rdi + 0xa8]
movss dword [rdi + 0x3a8], xmm0
mov byte [rax], 1
mov rax, qword [0x1800f27c0]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x1800409ac
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
mov qword [rsp + 0xa0], r14
call fcn.180047300
movss xmm0, dword [rdi + 0x14]
movss xmm2, dword [rdi + 0x10]
mov eax, dword [rdi + 0x1614]
mov qword [rsp + 0x20], rsi
movups xmm1, xmmword [rsp + 0x20]
mov dword [rdi + 0x1944], eax
shufps xmm1, xmm1, 0xd2
movss xmm1, xmm2
shufps xmm1, xmm1, 0x27
movss xmm1, xmm0
shufps xmm1, xmm1, 0x39
movups xmmword [rdi + 0x194c], xmm1
movss xmm1, dword [rdi + 0x1618]
movss xmm0, dword [rdi + 0x1948]
ucomiss xmm0, xmm1
jp 0x180040a0f
je 0x180040a9b
movaps xmmword [rsp + 0x50], xmm7
lea r14, [rdi + 0x19c0]
movss xmm7, dword [0x1800e0cec]
mov ebx, esi
movss dword [rdi + 0x1948], xmm1
mov ebp, 0x200
nop dword [rax]
nop word [rax + rax]
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
addss xmm1, xmm9
movaps xmm0, xmm1
subss xmm0, dword [rdi + 0x1948]
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 0x180040a77
mov edx, listen
jmp 0x180040a7c
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 0x180040a40
movaps xmm7, xmmword [rsp + 0x50]
mov eax, esi
mov rbp, qword [rsp + 0x98]
mov dword [rdi + 0x195c], esi
cmp byte [rdi + 0x1610], sil
je 0x180040abf
mov eax, 1
mov dword [rdi + 0x195c], eax
cmp byte [rdi + 0x1611], sil
je 0x180040ad1
or eax, 2
mov dword [rdi + 0x195c], eax
test byte [rdi + 0xc], 8
je 0x180040ae0
or eax, 4
mov dword [rdi + 0x195c], eax
lea rcx, [rdi + 0x1db0]
call fcn.180055630
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1db0]
mov rdx, qword [rdx + 8]
call fcn.180055c30
mov rax, qword [rdi + 0x1de8]
lea rcx, [rdi + 0x1db0]
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.180055b00
lea rcx, [rdi + 0x1e58]
call fcn.180055630
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1e58]
mov rdx, qword [rdx + 8]
call fcn.180055c30
mov rax, qword [rdi + 0x1e90]
lea rcx, [rdi + 0x1e58]
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.180055b00
mov r8, qword [0x1800f27c0]
mov byte [rdi + 0x1d50], sil
mov qword [rdi + 0x1d58], rsi
mov qword [rdi + 0x1d64], rsi
mov dword [rdi + 0x1d60], esi
mov qword [rdi + 0x1d7c], rsi
mov qword [rdi + 0x1d74], rsi
mov qword [rdi + 0x1d6c], rsi
cmp byte [rdi + 0x1f04], sil
je 0x180040c09
mov eax, dword [rdi + 0x1f24]
cmp eax, dword [rdi + 0x1ab8]
jne 0x180040c09
cmp dword [r8 + 0x1ab8], eax
jne 0x180040bf8
mov dword [r8 + 0x1abc], eax
cmp dword [r8 + 0x1af8], eax
jne 0x180040c09
mov byte [r8 + 0x1afc], 1
lea rax, [rdi + 0x1aa4]
mov ecx, dword [rax]
cmp dword [rdi + 0x1aac], esi
jne 0x180040c22
mov dword [rdi + 0x1ab0], esi
jmp 0x180040c33
mov edx, ecx
mov r9, rax
test ecx, ecx
je 0x180040c3e
cmp dword [rdi + 0x1ab8], ecx
jne 0x180040c3e
mov dword [rdi + 0x1ab4], esi
mov edx, ecx
mov r9, rax
movss xmm1, dword [rdi + 0x18]
test edx, edx
je 0x180040c75
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ab0]
movss dword [rdi + 0x1ab0], xmm0
cmp dword [rdi + 0x1ab8], edx
je 0x180040c75
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ab4]
movss dword [rdi + 0x1ab4], xmm0
mov eax, dword [rdi + 0x1ab8]
movaps xmm2, xmm1
mov dword [rdi + 0x1aac], edx
mov dword [r9], esi
mov byte [rdi + 0x1aa8], sil
cmp dword [rdi + 0x1abc], eax
je 0x180040cf7
cmp dword [rdi + 0x1af8], eax
jne 0x180040cf7
test eax, eax
je 0x180040cf7
mov ecx, dword [r8 + 0x1ab8]
test ecx, ecx
setne al
mov byte [r8 + 0x1ac4], al
test ecx, ecx
je 0x180040cc8
mov dword [r8 + 0x1ac0], esi
mov word [r8 + 0x1ac6], si
mov dword [r8 + 0x1ab8], esi
mov byte [r8 + 0x1ac5], sil
mov qword [r8 + 0x1ae8], rsi
mov byte [r8 + 0x1ac8], sil
mov qword [r8 + 0x1acc], rsi
mov qword [r8 + 0x1ad8], rsi
movss xmm2, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1ab8]
test ecx, ecx
je 0x180040d14
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x1ac0]
movss dword [rdi + 0x1ac0], xmm0
mov rax, qword [rdi + 0x1ae8]
addss xmm2, dword [rdi + 0x1b0c]
mov qword [rdi + 0x1b00], rax
movzx eax, byte [rdi + 0x1ac7]
mov byte [rdi + 0x1afd], al
mov eax, dword [rdi + 0x2f00]
movss dword [rdi + 0x1b0c], xmm2
mov dword [rdi + 0x1af8], ecx
mov dword [rdi + 0x1abc], esi
mov byte [rdi + 0x1ac8], sil
mov byte [rdi + 0x1afc], sil
mov byte [rdi + 0x1ac4], sil
test eax, eax
je 0x180040d74
cmp ecx, eax
je 0x180040d74
mov dword [rdi + 0x2f00], esi
test ecx, ecx
jne 0x180040d86
mov qword [rdi + 0x1acc], rsi
mov qword [rdi + 0x1ad8], rsi
mov eax, dword [rdi + 0x1f74]
mov dword [rdi + 0x1f78], eax
mov eax, esi
mov qword [rdi + 0x1f70], 0x7f7fffff
mov word [rdi + 0x1f05], si
cmp byte [r8 + 0x148], sil
setne al
mov ecx, eax
or ecx, 2
cmp byte [r8 + 0x149], sil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [r8 + 0x14a], sil
cmove edx, ecx
lea rcx, [rdi + 0xca8]
mov eax, edx
or eax, 8
cmp byte [r8 + 0x14b], sil
mov r8d, 0x800
cmove eax, edx
lea rdx, [rdi + 0x4a8]
mov dword [rdi + 0x3c8], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x1800e0d6c]
lea rcx, [rdi + 0x14d]
lea rax, [rdi + 0x4ac]
mov r8d, pe_nt_image_headers64
cmp byte [rcx - 1], sil
je 0x180040e34
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x180040e2d
movaps xmm0, xmm6
jmp 0x180040e37
addss xmm0, dword [rdi + 0x18]
jmp 0x180040e37
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x180040e56
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x180040e4f
movaps xmm0, xmm6
jmp 0x180040e59
addss xmm0, dword [rdi + 0x18]
jmp 0x180040e59
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x180040e79
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x180040e72
movaps xmm0, xmm6
jmp 0x180040e7c
addss xmm0, dword [rdi + 0x18]
jmp 0x180040e7c
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x180040e9d
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x180040e96
movaps xmm0, xmm6
jmp 0x180040ea0
addss xmm0, dword [rdi + 0x18]
jmp 0x180040ea0
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x180040e18
call fcn.18004a130
call fcn.18003f9f0
call fcn.180040320
call fcn.18003f560
mov r11, qword [0x1800f27c0]
mov eax, dword [r11 + 0x1bc0]
sub eax, 1
js 0x180040f12
movsxd rdx, eax
mov rax, qword [r11 + 0x1bc8]
add rax, 8
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, rax
mov rax, qword [r8]
test rax, rax
je 0x180040f08
test dword [rax + 0xc], 0x8000000
jne 0x180040f28
sub r8, 0x30
sub rdx, 1
jns 0x180040ef7
cmp qword [rdi + 0x1d00], rsi
je 0x180040f44
movss xmm0, dword [rdi + 0x1d1c]
comiss xmm0, xmm6
jbe 0x180040f44
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1800e0ce8]
addss xmm1, dword [rdi + 0x1da8]
minss xmm1, xmm9
jmp 0x180040f61
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1800e0cf4]
movss xmm1, dword [rdi + 0x1da8]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1da8], xmm1
mov dword [rdi + 0x1f00], esi
mov qword [rdi + 0x31d0], 0xffffffffffffffff
mov dword [rdi + 0x31cc], 0xffffffff
mov dword [rdi + 0x2f60], 0x3f800000
mov dword [rdi + 0x2f64], 0x3f800000
call fcn.18003fdb0
mov r8, qword [r11 + 0x1be0]
movaps xmm9, xmmword [rsp + 0x30]
test r8, r8
je 0x180040fdd
cmp byte [r8 + 0x7e], sil
je 0x180040fdd
test dword [r8 + 0xc], 0x40000
jne 0x180040fdd
cmp byte [r11 + 0x148], sil
jne 0x180040fdd
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x180040fdd
call fcn.180042020
test al, al
je 0x180040fdd
mov al, 1
jmp 0x180040fdf
xor al, al
mov byte [r11 + 0x1d48], al
cmp dword [r11 + 0x1ab8], esi
jne 0x18004104a
test al, al
je 0x18004104a
mov qword [r11 + 0x1d30], r8
mov dword [r11 + 0x1d40], 0x7fffffff
cmp dword [r11 + 0x1be8], esi
je 0x180041037
mov ecx, dword [r11 + 0x1c30]
cmp ecx, 0x7fffffff
je 0x180041037
cmp byte [r11 + 0x149], sil
mov eax, 2
cmovne eax, esi
add eax, ecx
mov dword [r11 + 0x1d44], eax
jmp 0x18004104a
movzx eax, byte [r11 + 0x149]
neg al
sbb ecx, ecx
mov dword [r11 + 0x1d44], ecx
mov r8, qword [r11 + 0x1d30]
mov qword [r11 + 0x1d28], rsi
mov dword [r11 + 0x1d3c], 0x7fffffff
mov dword [r11 + 0x1d38], 0x7fffffff
test r8, r8
je 0x1800410e7
mov eax, dword [r11 + 0x1d40]
mov qword [r11 + 0x1d28], r8
cmp eax, 0x7fffffff
je 0x1800410a2
mov ecx, dword [r8 + 0x1b0]
cmp ecx, 0xffffffff
je 0x1800410a2
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1d38], edx
mov eax, dword [r11 + 0x1d44]
cmp eax, 0x7fffffff
je 0x1800410ca
mov ecx, dword [r8 + 0x1b4]
cmp ecx, 0xffffffff
je 0x1800410ca
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1d3c], edx
mov qword [r11 + 0x1d30], rsi
mov dword [r11 + 0x1d44], 0x7fffffff
mov dword [r11 + 0x1d40], 0x7fffffff
mov dword [r11 + 0x1c30], 0x7fffffff
movss xmm0, dword [rdi + 0xd0]
comiss xmm0, xmm6
jb 0x180041112
movsd xmm8, qword [rdi + 0x1a00]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov ebx, esi
cmp dword [rdi + 0x1a18], esi
je 0x180041175
mov r14, rsi
nop
mov rax, qword [rdi + 0x1a20]
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 0x180041160
cmp byte [rcx + 0x3b0], sil
jne 0x180041160
comiss xmm8, dword [rcx + 0x27c]
jbe 0x180041160
call fcn.18003f000
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x1a18]
jne 0x180041120
mov r11, qword [0x1800f27c0]
mov rax, qword [rdi + 0x1be0]
movaps xmm8, xmmword [rsp + 0x40]
mov r14, qword [rsp + 0xa0]
test rax, rax
je 0x1800411f1
cmp byte [rax + 0x7f], sil
jne 0x1800411f1
mov eax, dword [r11 + 0x1a28]
sub eax, 1
js 0x1800411ea
movsxd r9, eax
mov rax, qword [r11 + 0x1a30]
lea r10, [rax + r9*8]
nop
mov r8, qword [r10]
test r8, r8
je 0x1800411e0
cmp byte [r8 + 0x7f], sil
je 0x1800411e0
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x180041373
sub r10, 8
sub r9, 1
jns 0x1800411b0
xor ecx, ecx
call fcn.1800470c0
mov ecx, dword [rdi + 0x1a4c]
test ecx, ecx
jns 0x180041217
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1a48]
test eax, eax
cmovg edx, eax
call fcn.18004db20
mov dword [rdi + 0x1a48], esi
mov ecx, dword [rdi + 0x1bd4]
test ecx, ecx
jns 0x180041243
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1bd0]
test eax, eax
cmovg edx, eax
call fcn.18004e0d0
mov dword [rdi + 0x1bd0], esi
xor edx, edx
mov rcx, qword [rdi + 0x1be0]
call fcn.1800487e0
mov r8, qword [0x1800f27c0]
mov dword [r8 + 0x2fe0], esi
cmp byte [r8 + 0x2fdc], sil
je 0x180041326
mov ebx, dword [r8 + 0x1aac]
mov dword [r8 + 0x1f00], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x18004129c
call fcn.180042020
test al, al
je 0x18004129c
mov byte [r8 + 0x2fdc], sil
movss xmm0, dword [r8 + 0x444]
ucomiss xmm0, xmm6
jp 0x1800412be
jne 0x1800412be
test ebx, ebx
je 0x1800412be
mov dword [r8 + 0x2fe0], ebx
mov byte [r8 + 0x2fdc], sil
or dword [r8 + 0x1b10], 0x40
xor edx, edx
mov dword [r8 + 0x1b68], 0x3f19999a
call fcn.180048440
mov edx, ebx
lea rcx, str.HoveredId:_0x_08X
call fcn.18005e410
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.18005e410
mov rcx, qword [0x1800f27c0]
lea rdx, str.Click_to_break_in_debugger_
mov eax, reloc.WS2_32.dll_recv
test ebx, ebx
cmove rsi, rax
add rcx, 0x161c
add rcx, rsi
call fcn.18005e510
call fcn.180046fd0
mov r8, qword [0x1800f27c0]
mov byte [rdi + 0x1a15], 1
lea rcx, str.DebugDefault
or dword [r8 + 0x1b10], 2
xor edx, edx
mov dword [r8 + 0x1b30], 0x43c80000
mov dword [r8 + 0x1b34], 0x43c80000
mov dword [r8 + 0x1b18], 4
xor r8d, r8d
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rdi
pop rsi
pop rbx
jmp fcn.180044ce0
mov rax, qword [r8 + 0x380]
test rax, rax
cmovne r8, rax
mov rcx, r8
jmp 0x1800411ec