Function at 0x1400d7ee0
Capabilities:
Initialize winsock library
Link many functions at runtime
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f50]
mov eax, 0x4050
call fcn.140108160
sub rsp, rax
movaps xmmword [rsp + 0x4040], xmm6
mov rax, qword [0x140163040]
xor rax, rsp
mov qword [rbp + 0x3f30], rax
mov dword [rsp + 0x40], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x3a50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x3a60], xmm1
mov r15d, 2
mov r8d, r15d
lea rdx, [0x140138fbc]
lea rcx, [rbp + 0x3a50]
call fcn.140016240
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x3a70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x3a80], xmm1
lea r8d, [r15 + 1]
lea rdx, [0x140138fc0]
lea rcx, [rbp + 0x3a70]
call fcn.140016240
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x3a90], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x3aa0], xmm1
mov r8d, r15d
lea rdx, [0x140138fc4]
lea rcx, [rbp + 0x3a90]
call fcn.140016240
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x3ab0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x3ac0], xmm1
lea r8d, [r15 + 1]
lea rdx, [0x140138fd0]
lea rcx, [rbp + 0x3ab0]
call fcn.140016240
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x3ad0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x3ae0], xmm1
mov r8d, r15d
lea rdx, [0x140138fd4]
lea rcx, [rbp + 0x3ad0]
call fcn.140016240
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x3af0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x3b00], xmm1
mov r8d, r15d
lea rdx, [0x140138fc8]
lea rcx, [rbp + 0x3af0]
call fcn.140016240
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x3b10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x3b20], xmm1
lea r8d, [r15 + 1]
lea rdx, [0x140138fcc]
lea rcx, [rbp + 0x3b10]
call fcn.140016240
nop
lea rax, [0x1401418f0]
mov qword [rsp + 0x50], rax
lea rax, [0x1401418f8]
mov qword [rsp + 0x58], rax
lea rax, [0x140141930]
mov qword [rsp + 0x60], rax
lea rax, [0x140141938]
mov qword [rsp + 0x68], rax
lea rax, [0x140141920]
mov qword [rsp + 0x70], rax
lea rax, [0x140141928]
mov qword [rsp + 0x78], rax
lea rax, [0x140141960]
mov qword [rbp - 0x80], rax
lea rax, [0x140141970]
mov qword [rbp - 0x78], rax
mov r13, qword [0x140164bc0]
lea rdx, [r13 + 8]
lea rcx, [rbp + 0x100]
call fcn.1400d9000
nop
mov rdx, qword [0x140164bc0]
add rdx, 0x3928
lea rcx, [rbp + 0x20]
call fcn.1400d9620
nop
call fcn.140034920
xor r12d, r12d
mov ebx, r12d
lea rdi, [rsp + 0x50]
movss xmm6, dword [0x140143778]
mov edx, dword [0x14016728c]
nop word [rax + rax]
cmp ebx, edx
sete cl
mov r8, qword [0x140163318]
mov rdx, qword [rdi]
call fcn.14006bb10
test al, al
je 0x1400d8142
mov edx, ebx
mov dword [0x14016728c], ebx
jmp 0x1400d8148
mov edx, dword [0x14016728c]
cmp ebx, 7
jae 0x1400d8158
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.140034630
inc ebx
add rdi, 8
cmp ebx, 8
jb 0x1400d8120
test edx, edx
jne 0x1400d8f50
mov dword [rbp - 8], 0x438a0000
mov dword [rbp - 4], 0x432a0000
lea r8, [rbp - 8]
lea rdx, [0x140141940]
call fcn.14002a5f0
lea rdx, [0x140166488]
lea rcx, [0x140141950]
call fcn.14006c1b0
lea r9, [0x14016679c]
lea r8, [0x140166799]
lea rdx, [0x140141990]
lea rcx, str.FOV
call fcn.14007f8d0
lea rax, [0x140141980]
mov qword [rbp + 0x3a20], rax
lea rax, [0x140141988]
mov qword [rbp + 0x3a28], rax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
lea r9, [rbp + 0x3a20]
lea rdx, [0x14016648c]
lea rcx, [0x1401419c8]
call fcn.140072a10
lea r8, [0x14016648c]
lea rdx, [rbp - 8]
lea rcx, [0x1401667b0]
call fcn.1400b1340
mov rdx, qword [rax]
add rdx, 0x18
lea rcx, [0x1401419d8]
call fcn.14006aa80
call fcn.14002a730
mov eax, 0xc8
mov r8d, 0x91
cmp dword [0x140166490], 1
cmove r8d, eax
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.140034630
mov rdx, qword [0x140164bc0]
mov rax, qword [rdx + 0x4158]
movss xmm4, dword [rax + 0x144]
subss xmm4, dword [rax + 0x5c]
addss xmm4, dword [rax + 0xc4]
subss xmm4, dword [0x140143670]
movss xmm3, dword [rax + 0x140]
movss xmm0, dword [rax + 0x58]
movss xmm1, dword [rax + 0xc0]
mov byte [rax + 0xf5], 1
mov rax, qword [rdx + 0x4158]
movss xmm2, dword [rax + 0x5c]
subss xmm2, dword [rax + 0xc4]
addss xmm2, xmm4
subss xmm3, xmm0
addss xmm3, xmm1
addss xmm3, dword [0x14014360c]
movss xmm0, dword [rax + 0x58]
subss xmm0, dword [rax + 0xc0]
addss xmm3, xmm0
movss dword [rax + 0x140], xmm3
movss dword [rax + 0x144], xmm2
mov byte [rax + 0x181], 1
mov dword [rbp - 8], 0x438a0000
movd xmm0, r8d
cvtdq2ps xmm0, xmm0
movss dword [rbp - 4], xmm0
lea r8, [rbp - 8]
lea rdx, [0x1401419b0]
call fcn.14002a5f0
lea rax, str.KMBOX
mov qword [rbp + 0x3a30], rax
lea rax, str.KMBOX_NET
mov qword [rbp + 0x3a38], rax
lea rax, str.Lurker
mov qword [rbp + 0x3a40], rax
lea rax, [0x1401419e8]
mov qword [rbp + 0x3a48], rax
mov r14, 0xffffffffffffffff
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x3a30]
lea rdx, [0x140166490]
lea rcx, [0x1401419f8]
call fcn.140072a10
cmp dword [0x140166490], 1
jne 0x1400d8426
mov qword [rbp - 8], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [0x140166498]
xor edx, edx
lea rcx, [0x140141a34]
call fcn.14007afe0
mov qword [rbp - 8], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [0x140166598]
xor edx, edx
lea rcx, [0x140141a38]
call fcn.14007afe0
mov qword [rbp + 0x3a20], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
lea rax, [rbp + 0x3a20]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [0x140166698]
xor edx, edx
lea rcx, str.UUID
call fcn.14007afe0
mov ecx, 8
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov esi, recvfrom
mov eax, dword [rcx + rax]
cmp dword [0x140167904], eax
jle 0x1400d85f6
lea rcx, [0x140167904]
call fcn.140107330
cmp dword [0x140167904], r14d
jne 0x1400d85f6
xorps xmm1, xmm1
movdqu xmmword [0x1401678e8], xmm1
mov qword [0x1401678f8], r12
mov dword [rsp + 0x40], 1
mov r9d, r15d
xor r8d, r8d
xor edx, edx
lea rcx, [0x140133a90]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400d84c4
lea rdx, str.Failed_to_get_device_information_set_for_the_COM_ports.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001bcc0
lea rdx, [0x14001be90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400d85dd
mov dword [rbp - 0x48], 0x20
mov ebx, r12d
lea r8, [rbp - 0x48]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x1400d85d3
nop word [rax + rax]
mov dword [rbp - 8], 0x100
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x100
lea rax, [rbp + 0x3b30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0xc]
lea rdx, [rbp - 0x48]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
test eax, eax
je 0x1400d85ba
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
lea rax, [rbp + 0x3b30]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400d8550
lea rdx, [rbp + 0x3b30]
lea rcx, [rbp - 0x68]
call fcn.140016240
nop
mov rdx, qword [0x1401678f0]
cmp rdx, qword [0x1401678f8]
je 0x1400d85a0
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [rdx + 0x10], xmm1
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], rsi
mov byte [rbp - 0x68], 0
add qword [0x1401678f0], 0x20
jmp 0x1400d85b1
lea r8, [rbp - 0x68]
lea rcx, [0x1401678e8]
call fcn.14001d9e0
nop
lea rcx, [rbp - 0x68]
call fcn.140016e50
inc ebx
lea r8, [rbp - 0x48]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x1400d84f0
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
nop
lea rcx, [0x140114360]
call fcn.140107234
nop
lea rcx, [0x140167904]
call fcn.1401072c4
cmp dword [0x140166490], 1
je 0x1400d8855
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov qword [rbp - 0x38], r12
mov rdi, qword [0x1401678e8]
mov r15, qword [0x1401678f0]
cmp rdi, r15
je 0x1400d86e7
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rbp - 8]
call fcn.1400cc600
mov rbx, rax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.14001ac60
movups xmm2, xmmword [rbx]
movaps xmmword [rsp + 0x70], xmm2
movups xmm3, xmmword [rbx + 0x10]
movaps xmmword [rbp - 0x80], xmm3
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], rsi
mov byte [rbx], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, qword [rbp - 0x38]
je 0x1400d86ad
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x50], 0
movups xmmword [rdx + 0x20], xmm2
movups xmmword [rdx + 0x30], xmm3
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], rsi
mov byte [rsp + 0x70], 0
add qword [rbp - 0x40], 0x40
jmp 0x1400d86bc
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.1400e0fe0
nop
lea rcx, [rsp + 0x70]
call fcn.140016e50
lea rcx, [rsp + 0x50]
call fcn.140016e50
nop
lea rcx, [rbp - 8]
call fcn.140016e50
add rdi, 0x20
cmp rdi, r15
jne 0x1400d8630
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov rdx, r12
mov qword [rbp - 0x58], rdx
mov rdi, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x60]
cmp rbx, rdi
je 0x1400d875e
add rbx, 0x20
nop dword [rax + rax]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400d871d
mov rax, qword [rbx]
mov qword [rbp - 8], rax
cmp rcx, rdx
je 0x1400d8737
mov qword [rcx], rax
mov rcx, qword [rbp - 0x60]
add rcx, 8
mov qword [rbp - 0x60], rcx
jmp 0x1400d874b
lea r8, [rbp - 8]
mov rdx, rcx
lea rcx, [rbp - 0x68]
call fcn.140016ed0
mov rcx, qword [rbp - 0x60]
add rbx, 0x40
lea rax, [rbx - 0x20]
cmp rax, rdi
je 0x1400d875e
mov rdx, qword [rbp - 0x58]
jmp 0x1400d8710
mov r9, qword [rbp - 0x68]
sub rcx, r9
sar rcx, 3
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], ecx
lea rdx, [0x140166494]
lea rcx, [0x140141a28]
call fcn.140072a10
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400d87db
mov rax, qword [rbp - 0x58]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d87ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d87ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140107254
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x1400d8855
mov rdi, qword [rbp - 0x40]
cmp rbx, rdi
je 0x1400d880e
nop dword [rax]
lea rcx, [rbx + 0x20]
call fcn.140016e50
mov rcx, rbx
call fcn.140016e50
add rbx, 0x40
cmp rbx, rdi
jne 0x1400d87f0
mov rbx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x38]
sub rdx, rbx
and rdx, 0xffffffffffffffc0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400d8841
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d8841
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140107254
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r12
mov rcx, qword [0x140164bc0]
mov rax, qword [rcx + 0x4158]
cmp qword [rax + 0x1e8], 0
jne 0x1400d887c
cmp qword [rcx + 0x4fa8], 0
mov ecx, 0x290
je 0x1400d8881
mov ecx, 0x260
movss xmm0, dword [rax + rcx]
subss xmm0, dword [rax + 0x58]
subss xmm0, dword [r13 + 0x3a08]
movss dword [rbp + 0x3a20], xmm0
mov dword [rbp + 0x3a24], 0x41c80000
lea rax, [0x140141a60]
lea rcx, [0x140141a70]
cmp byte [0x140166798], 0
cmovne rcx, rax
xor r8d, r8d
lea rdx, [rbp + 0x3a20]
call fcn.14006dc00
test al, al
je 0x1400d8eaf
xor dil, dil
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov r8, r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], rsi
mov byte [rbp - 0x28], dil
mov rax, qword [0x1401678f0]
sub rax, qword [0x1401678e8]
sar rax, 5
test rax, rax
je 0x1400d89d7
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
mov r8d, 8
lea rdx, str.COM_d_
lea rcx, [rbp - 0x68]
call fcn.140016240
nop
movsxd rdx, dword [0x140166494]
shl rdx, 5
add rdx, qword [0x1401678e8]
lea r8, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.14008ee60
mov rbx, rax
lea rax, [rbp - 0x28]
cmp rax, rbx
je 0x1400d89bc
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x1400d8996
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d8991
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d8991
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140107254
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], rsi
mov byte [rbp - 0x28], 0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], rsi
mov byte [rbx], 0
lea rcx, [rbp - 0x48]
call fcn.140016e50
nop
lea rcx, [rbp - 0x68]
call fcn.140016e50
mov rsi, qword [rbp - 0x10]
mov r8, qword [rbp - 0x18]
mov r15d, r12d
lea rcx, [rbp - 0x28]
cmp rsi, 0xf
cmova rcx, qword [rbp - 0x28]
test r8, r8
jne 0x1400d8a00
lea rdx, [0x140138f81]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400d8ab7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rbx, qword [rbp - 0x28]
mov dword [rax], r12d
mov r8d, 0xa
lea rdx, [rbp + 0x3a20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov r15d, eax
cmp rbx, qword [rbp + 0x3a20]
jne 0x1400d8a4a
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
cmp dword [rsi], 0x22
jne 0x1400d8a5d
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rbx, qword [rbp - 0x28]
mov dword [rax], r12d
mov r8d, 0xa
lea rdx, [rbp + 0x3a20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp + 0x3a20]
jne 0x1400d8aa4
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
cmp dword [rsi], 0x22
jne 0x1400d8ab7
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov ecx, dword [0x140166490]
test ecx, ecx
je 0x1400d8df6
sub ecx, 1
je 0x1400d8c54
sub ecx, 1
je 0x1400d8c28
cmp ecx, 1
jne 0x1400d8e9f
cmp byte [0x140166798], 0
jne 0x1400d8c1d
lea rcx, str.ddll64.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140164c00], rax
test rax, rax
je 0x1400d8c09
lea rdx, str.OpenDevice
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164c20], rax
lea rdx, str.SetScreenScale
mov rcx, qword [0x140164c00]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164bf8], rax
lea rdx, str.EnableAccurateDelay
mov rcx, qword [0x140164c00]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164c08], rax
lea rdx, str.Close
mov rcx, qword [0x140164c00]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164c10], rax
lea rdx, str.MoveR
mov rcx, qword [0x140164c00]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164c18], rax
cmp qword [0x140164c20], 0
je 0x1400d8c09
cmp qword [0x140164bf8], 0
je 0x1400d8c09
cmp qword [0x140164c08], 0
je 0x1400d8c09
cmp qword [0x140164c10], 0
je 0x1400d8c09
test rax, rax
je 0x1400d8c09
mov r9d, r15d
lea r8, str.COM_d
mov edx, 0xa
lea rcx, [rbp + 0x3a20]
call fcn.14008e6f0
mov rax, qword [0x140164c20]
lea rcx, [rbp + 0x3a20]
call rax
test eax, eax
je 0x1400d8c09
mov edx, dword [0x140166444]
mov ecx, dword [0x140166440]
call qword [0x140164bf8]
call qword [0x140164c08]
mov dil, 1
jmp 0x1400d8e9f
xor dil, dil
lea rcx, [0x140141a50]
call fcn.140035960
jmp 0x1400d8e9f
call qword [0x140164c10]
jmp 0x1400d8e9c
lea rcx, [0x140167050]
cmp byte [0x140166798], 0
jne 0x1400d8e97
mov r8d, 0xe100
mov edx, r15d
call fcn.1400fdd00
movzx edi, al
test al, al
jmp 0x1400d8e87
cmp byte [0x140166798], 0
jne 0x1400d8de1
call fcn.1400fe830
mov ecx, 0x101
lea rdx, [rbp + 0x3b30]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x1400d8dd9
movzx eax, word [rbp + 0x3b30]
cmp al, 1
jne 0x1400d8dcc
shr ax, 8
cmp al, 1
jne 0x1400d8dcc
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xor r8d, r8d
mov ebx, 2
mov edx, ebx
mov ecx, ebx
call qword [sym.imp.WSOCK32.dll_socket]
mov qword [0x1401654b0], rax
lea rcx, [0x140166498]
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [0x1401654a4], eax
mov word [0x1401654a0], bx
lea rcx, [0x140166598]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, eax
call qword [sym.imp.WSOCK32.dll_htons]
mov word [0x1401654a2], ax
lea rcx, [0x140166698]
call fcn.1400fe6b0
mov dword [0x140164c60], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [0x140164c64], eax
mov dword [0x140164c68], r12d
mov dword [0x140164c6c], 0xaf3c2828
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140164c28], xmm0
movups xmmword [0x140164c38], xmm0
movups xmmword [0x140164c48], xmm0
mov qword [0x140164c58], rax
mov qword [0x140165070], rax
mov dword [0x140165078], eax
mov dword [rsp + 0x28], recvfrom
lea rbx, [0x1401654a0]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8d, [rax + 0x10]
lea rdx, [0x140164c60]
mov rcx, qword [0x1401654b0]
call qword [sym.imp.WSOCK32.dll_sendto]
mov ecx, reloc.WSOCK32.dll_sendto
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbp - 8], recvfrom
lea rax, [rbp - 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, 0x400
lea rdx, [0x140165080]
mov rcx, qword [0x1401654b0]
call qword [sym.imp.WSOCK32.dll_recvfrom]
mov dil, 1
jmp 0x1400d8e9f
call qword [sym.imp.WSOCK32.dll_WSACleanup]
mov qword [0x1401654b0], r14
mov dil, 1
jmp 0x1400d8e9f
call fcn.1400fe830
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400d8e9c
lea rcx, [0x140166f10]
cmp byte [0x140166798], 0
jne 0x1400d8e97
mov r8d, 0x1c200
mov edx, r15d
call fcn.1400fdd00
movzx edi, al
mov byte [rbp - 0x70], 3
mov r8d, 1
lea rdx, [rbp - 0x70]
call fcn.1400fdf70
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9d, 0x1f4
lea r8, str.km.freq__d__r_n
mov edx, 0x400
lea rcx, [rbp + 0x3b30]
call fcn.14008e6f0
lea rax, [rbp + 0x3b30]
nop
inc r14
cmp byte [rax + r14], 0
jne 0x1400d8e60
mov r8, r14
lea rdx, [rbp + 0x3b30]
call fcn.1400fdf70
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
test dil, dil
jne 0x1400d8e9f
lea rcx, [0x140141a50]
call fcn.140035960
jmp 0x1400d8e9f
call fcn.1400fe2a0
xor dil, dil
mov byte [0x140166798], dil
lea rcx, [rbp - 0x28]
call fcn.140016e50
call fcn.140036190
test al, al
je 0x1400d8f49
lea rcx, str.COM
call fcn.14006d370
mov qword [rbp + 0x3a20], 0
xor r8d, r8d
lea rdx, [rbp + 0x3a20]
lea rcx, [0x140141ab0]
call fcn.14006dc00
test al, al
je 0x1400d8ef2
call fcn.140035f60
mov rbx, qword [0x140164bc0]
mov rcx, qword [rbx + 0x4158]
cmp qword [rbx + 0x4cc8], rcx
jne 0x1400d8f2d
cmp byte [rbx + 0x4d59], 0
je 0x1400d8f2d
cmp dword [rbx + 0x4d00], 0
jne 0x1400d8f2d
mov eax, dword [rbx + 0x4d5c]
and eax, 0xfffffff2
or eax, 2
mov dword [rbx + 0x4d5c], eax
test dword [rcx + 0x14], 0x1000000
je 0x1400d8f3d
mov byte [rbx + 0x40c2], 1
call fcn.140030910
mov byte [rbx + 0x40c2], 0
call fcn.14002a730
jmp 0x1400d8f78
lea eax, [rdx - 1]
movsxd rcx, eax
shl rcx, 5
lea rdx, [rbp + 0x3a50]
add rdx, rcx
lea rcx, [rbp + 0x3a30]
call fcn.14001ac60
mov rcx, rax
call fcn.1400d78b0
call fcn.140034a60
nop
lea rcx, [rbp + 0xe8]
call fcn.140048720
lea rcx, [rbp + 0xd8]
call fcn.140048720
nop
lea rcx, [rbp + 0x3a10]
call fcn.140048720
nop
lea r9, [fcn.140016e40]
mov edx, 0x20
lea r8d, [rdx - 0x19]
lea rcx, [rbp + 0x3a50]
call fcn.1401073a8
mov rcx, qword [rbp + 0x3f30]
xor rcx, rsp
call fcn.140106fb0
lea r11, [rsp + 0x4050]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret