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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rdi, qword [0x1800f3760]
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x30], xmm9
cmp byte [rdi + 0xcb], 0
je 0x18003d9c6
test byte [rdi + 0xc], 2
jne 0x18003d9c6
mov byte [rdi + 0xcb], 0
xor esi, esi
mov qword [rsp + 0x98], rbp
cmp byte [rdi + 0x2f70], sil
jne 0x18003da31
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18003da2a
lea r8, [rsp + 0x90]
mov qword [rsp + 0x90], rsi
call fcn.18003a450
mov rbp, rax
test rax, rax
je 0x18003da2a
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.180049da0
mov rcx, qword [0x1800f3760]
test rcx, rcx
je 0x18003da21
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 0x18003da70
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x2f74], xmm0
jb 0x18003da70
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18003da63
call fcn.18004a000
jmp 0x18003da6a
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 0x18003dac7
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.18004b220
movss xmm8, dword [0x1800e1b5c]
movss xmm9, dword [0x1800e1a44]
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 0x18003db55
divss xmm1, dword [0x1800e1b1c]
movaps xmm0, xmm9
divss xmm0, xmm1
jmp 0x18003db59
movaps xmm0, xmm8
mov rax, qword [rdi + 0xa8]
movss dword [rdi + 0x3a8], xmm0
mov byte [rax], 1
mov rax, qword [0x1800f3760]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x18003db8c
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
mov qword [rsp + 0xa0], r14
call fcn.1800444e0
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 0x18003dbef
je 0x18003dc7b
movaps xmmword [rsp + 0x50], xmm7
lea r14, [rdi + 0x19c0]
movss xmm7, dword [0x1800e1adc]
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 0x18003dc57
mov edx, listen
jmp 0x18003dc5c
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 0x18003dc20
movaps xmm7, xmmword [rsp + 0x50]
mov eax, esi
mov rbp, qword [rsp + 0x98]
mov dword [rdi + 0x195c], esi
cmp byte [rdi + 0x1610], sil
je 0x18003dc9f
mov eax, 1
mov dword [rdi + 0x195c], eax
cmp byte [rdi + 0x1611], sil
je 0x18003dcb1
or eax, 2
mov dword [rdi + 0x195c], eax
test byte [rdi + 0xc], 8
je 0x18003dcc0
or eax, 4
mov dword [rdi + 0x195c], eax
lea rcx, [rdi + 0x1db0]
call fcn.180052810
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1db0]
mov rdx, qword [rdx + 8]
call fcn.180052e10
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.180052ce0
lea rcx, [rdi + 0x1e58]
call fcn.180052810
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1e58]
mov rdx, qword [rdx + 8]
call fcn.180052e10
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.180052ce0
mov r8, qword [0x1800f3760]
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 0x18003dde9
mov eax, dword [rdi + 0x1f24]
cmp eax, dword [rdi + 0x1ab8]
jne 0x18003dde9
cmp dword [r8 + 0x1ab8], eax
jne 0x18003ddd8
mov dword [r8 + 0x1abc], eax
cmp dword [r8 + 0x1af8], eax
jne 0x18003dde9
mov byte [r8 + 0x1afc], 1
lea rax, [rdi + 0x1aa4]
mov ecx, dword [rax]
cmp dword [rdi + 0x1aac], esi
jne 0x18003de02
mov dword [rdi + 0x1ab0], esi
jmp 0x18003de13
mov edx, ecx
mov r9, rax
test ecx, ecx
je 0x18003de1e
cmp dword [rdi + 0x1ab8], ecx
jne 0x18003de1e
mov dword [rdi + 0x1ab4], esi
mov edx, ecx
mov r9, rax
movss xmm1, dword [rdi + 0x18]
test edx, edx
je 0x18003de55
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ab0]
movss dword [rdi + 0x1ab0], xmm0
cmp dword [rdi + 0x1ab8], edx
je 0x18003de55
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 0x18003ded7
cmp dword [rdi + 0x1af8], eax
jne 0x18003ded7
test eax, eax
je 0x18003ded7
mov ecx, dword [r8 + 0x1ab8]
test ecx, ecx
setne al
mov byte [r8 + 0x1ac4], al
test ecx, ecx
je 0x18003dea8
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 0x18003def4
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 0x18003df54
cmp ecx, eax
je 0x18003df54
mov dword [rdi + 0x2f00], esi
test ecx, ecx
jne 0x18003df66
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 [0x1800e1b68]
lea rcx, [rdi + 0x14d]
lea rax, [rdi + 0x4ac]
mov r8d, pe_nt_image_headers64
cmp byte [rcx - 1], sil
je 0x18003e014
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x18003e00d
movaps xmm0, xmm6
jmp 0x18003e017
addss xmm0, dword [rdi + 0x18]
jmp 0x18003e017
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x18003e036
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x18003e02f
movaps xmm0, xmm6
jmp 0x18003e039
addss xmm0, dword [rdi + 0x18]
jmp 0x18003e039
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x18003e059
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x18003e052
movaps xmm0, xmm6
jmp 0x18003e05c
addss xmm0, dword [rdi + 0x18]
jmp 0x18003e05c
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x18003e07d
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x18003e076
movaps xmm0, xmm6
jmp 0x18003e080
addss xmm0, dword [rdi + 0x18]
jmp 0x18003e080
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x18003dff8
call fcn.180047310
call fcn.18003cbd0
call fcn.18003d500
call fcn.18003c740
mov r11, qword [0x1800f3760]
mov eax, dword [r11 + 0x1bc0]
sub eax, 1
js 0x18003e0f2
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 0x18003e0e8
test dword [rax + 0xc], 0x8000000
jne 0x18003e108
sub r8, 0x30
sub rdx, 1
jns 0x18003e0d7
cmp qword [rdi + 0x1d00], rsi
je 0x18003e124
movss xmm0, dword [rdi + 0x1d1c]
comiss xmm0, xmm6
jbe 0x18003e124
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1800e1ad8]
addss xmm1, dword [rdi + 0x1da8]
minss xmm1, xmm9
jmp 0x18003e141
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1800e1ae4]
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.18003cf90
mov r8, qword [r11 + 0x1be0]
movaps xmm9, xmmword [rsp + 0x30]
test r8, r8
je 0x18003e1bd
cmp byte [r8 + 0x7e], sil
je 0x18003e1bd
test dword [r8 + 0xc], 0x40000
jne 0x18003e1bd
cmp byte [r11 + 0x148], sil
jne 0x18003e1bd
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x18003e1bd
call fcn.18003f200
test al, al
je 0x18003e1bd
mov al, 1
jmp 0x18003e1bf
xor al, al
mov byte [r11 + 0x1d48], al
cmp dword [r11 + 0x1ab8], esi
jne 0x18003e22a
test al, al
je 0x18003e22a
mov qword [r11 + 0x1d30], r8
mov dword [r11 + 0x1d40], 0x7fffffff
cmp dword [r11 + 0x1be8], esi
je 0x18003e217
mov ecx, dword [r11 + 0x1c30]
cmp ecx, 0x7fffffff
je 0x18003e217
cmp byte [r11 + 0x149], sil
mov eax, 2
cmovne eax, esi
add eax, ecx
mov dword [r11 + 0x1d44], eax
jmp 0x18003e22a
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 0x18003e2c7
mov eax, dword [r11 + 0x1d40]
mov qword [r11 + 0x1d28], r8
cmp eax, 0x7fffffff
je 0x18003e282
mov ecx, dword [r8 + 0x1b0]
cmp ecx, 0xffffffff
je 0x18003e282
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1d38], edx
mov eax, dword [r11 + 0x1d44]
cmp eax, 0x7fffffff
je 0x18003e2aa
mov ecx, dword [r8 + 0x1b4]
cmp ecx, 0xffffffff
je 0x18003e2aa
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 0x18003e2f2
movsd xmm8, qword [rdi + 0x1a00]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov ebx, esi
cmp dword [rdi + 0x1a18], esi
je 0x18003e355
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 0x18003e340
cmp byte [rcx + 0x3b0], sil
jne 0x18003e340
comiss xmm8, dword [rcx + 0x27c]
jbe 0x18003e340
call fcn.18003c1e0
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x1a18]
jne 0x18003e300
mov r11, qword [0x1800f3760]
mov rax, qword [rdi + 0x1be0]
movaps xmm8, xmmword [rsp + 0x40]
mov r14, qword [rsp + 0xa0]
test rax, rax
je 0x18003e3d1
cmp byte [rax + 0x7f], sil
jne 0x18003e3d1
mov eax, dword [r11 + 0x1a28]
sub eax, 1
js 0x18003e3ca
movsxd r9, eax
mov rax, qword [r11 + 0x1a30]
lea r10, [rax + r9*8]
nop
mov r8, qword [r10]
test r8, r8
je 0x18003e3c0
cmp byte [r8 + 0x7f], sil
je 0x18003e3c0
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x18003e553
sub r10, 8
sub r9, 1
jns 0x18003e390
xor ecx, ecx
call fcn.1800442a0
mov ecx, dword [rdi + 0x1a4c]
test ecx, ecx
jns 0x18003e3f7
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.18004ad00
mov dword [rdi + 0x1a48], esi
mov ecx, dword [rdi + 0x1bd4]
test ecx, ecx
jns 0x18003e423
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.18004b2b0
mov dword [rdi + 0x1bd0], esi
xor edx, edx
mov rcx, qword [rdi + 0x1be0]
call fcn.1800459c0
mov r8, qword [0x1800f3760]
mov dword [r8 + 0x2fe0], esi
cmp byte [r8 + 0x2fdc], sil
je 0x18003e506
mov ebx, dword [r8 + 0x1aac]
mov dword [r8 + 0x1f00], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x18003e47c
call fcn.18003f200
test al, al
je 0x18003e47c
mov byte [r8 + 0x2fdc], sil
movss xmm0, dword [r8 + 0x444]
ucomiss xmm0, xmm6
jp 0x18003e49e
jne 0x18003e49e
test ebx, ebx
je 0x18003e49e
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.180045620
mov edx, ebx
lea rcx, str.HoveredId:_0x_08X
call fcn.18005b5f0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.18005b5f0
mov rcx, qword [0x1800f3760]
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.18005b6f0
call fcn.1800441b0
mov r8, qword [0x1800f3760]
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.180041ec0
mov rax, qword [r8 + 0x380]
test rax, rax
cmovne r8, rax
mov rcx, r8
jmp 0x18003e3cc