Function at 0x180013940
Capabilities:
Execute command

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x270
lea rdi, [rsp + 0x30]
mov ecx, 0x90
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x280]
mov rax, qword [0x1801b4ec0]
xor rax, rsp
mov qword [rsp + 0x268], rax
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x38], 0
mov byte [rsp + 0x3c], 0
lea rcx, str.javaw.exe
call qword [sym.imp.KERNEL32.dll_GetProcessId]
cmp dword [rsp + 0x280], eax
jne 0x1800139b5
mov byte [rsp + 0x3c], 1
mov eax, dword [rsp + 0x280]
cvtsi2sd xmm0, rax
movsd qword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x280]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800140ba
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov r9d, 0x30
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1800140ba
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x180013a48
cmp qword [rsp + 0x98], 0x2000000
jle 0x180013a48
jmp 0x1800140ba
cmp dword [rsp + 0x78], 0x1000
jne 0x18001409a
cmp dword [rsp + 0x7c], 0x40
jne 0x180013a6a
mov dword [rsp + 0x254], 1
jmp 0x180013a75
mov dword [rsp + 0x254], 0
cmp dword [rsp + 0x7c], 4
jne 0x180013a89
mov dword [rsp + 0x258], 1
jmp 0x180013a94
mov dword [rsp + 0x258], 0
cmp dword [rsp + 0x7c], 0x80
jne 0x180013aab
mov dword [rsp + 0x25c], 1
jmp 0x180013ab6
mov dword [rsp + 0x25c], 0
cmp dword [rsp + 0x7c], 8
jne 0x180013aca
mov dword [rsp + 0x260], 1
jmp 0x180013ad5
mov dword [rsp + 0x260], 0
mov eax, dword [rsp + 0x258]
mov ecx, dword [rsp + 0x254]
or ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x25c]
or eax, dword [rsp + 0x260]
test eax, eax
je 0x18001409a
mov edx, 0x20
lea rcx, [rsp + 0xb8]
call fcn.18001a8b0
lea rcx, [rsp + 0x250]
call fcn.180017780
mov r8, rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xb8]
call fcn.180017d30
nop
xor edx, edx
lea rcx, [rsp + 0xb8]
call fcn.180018940
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x70]
mov r8, rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180013d36
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call fcn.18001a710
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xe8]
call fcn.18001a730
mov qword [rsp + 0xf8], rax
jmp 0x180013bbd
mov rax, qword [rsp + 0xf0]
add rax, 8
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf8]
cmp qword [rsp + 0xf0], rax
je 0x180013d36
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x100]
call sub.ucrtbased.dll_strlen
mov qword [rsp + 0x108], rax
movsxd rax, dword [rsp + 0x70]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], 0
jmp 0x180013c29
mov rax, qword [rsp + 0x118]
inc rax
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x110]
cmp qword [rsp + 0x118], rax
jg 0x180013d31
mov qword [rsp + 0x120], 0
jmp 0x180013c60
mov rax, qword [rsp + 0x120]
inc rax
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x108]
cmp qword [rsp + 0x120], rax
jge 0x180013cbc
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x118]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.180018940
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x100]
add rdx, rcx
mov rcx, rdx
movsx ecx, byte [rcx]
cmp eax, ecx
je 0x180013cba
jmp 0x180013cbc
jmp 0x180013c4d
mov rax, qword [rsp + 0x108]
cmp qword [rsp + 0x120], rax
jne 0x180013d2c
lea rdx, [0x18010adb2]
lea rcx, [rsp + 0x138]
call fcn.18000f3c0
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x108]
lea r8, [rsp + 0x138]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, [rsp + 0x138]
call fcn.180006680
jmp 0x180013c16
jmp 0x180013ba9
mov edx, 0x20
lea rcx, [rsp + 0x178]
call fcn.18001a8f0
lea rcx, [rsp + 0x251]
call fcn.1800177a0
mov r8, rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x178]
call fcn.180017e90
nop
xor edx, edx
lea rcx, [rsp + 0x178]
call fcn.180018a00
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x70]
mov r8, rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18001407f
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x1a8], rax
mov rcx, qword [rsp + 0x1a8]
call fcn.18001a710
mov qword [rsp + 0x1b0], rax
mov rcx, qword [rsp + 0x1a8]
call fcn.18001a730
mov qword [rsp + 0x1b8], rax
jmp 0x180013df6
mov rax, qword [rsp + 0x1b0]
add rax, 8
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b8]
cmp qword [rsp + 0x1b0], rax
je 0x18001407f
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax]
mov qword [rsp + 0x1c0], rax
mov rcx, qword [rsp + 0x1c0]
call sub.ucrtbased.dll_strlen
mov qword [rsp + 0x1c8], rax
movsxd rax, dword [rsp + 0x70]
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1d8], 0
jmp 0x180013e62
mov rax, qword [rsp + 0x1d8]
inc rax
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d0]
cmp qword [rsp + 0x1d8], rax
jg 0x18001407a
mov qword [rsp + 0x1e0], 0
jmp 0x180013e99
mov rax, qword [rsp + 0x1e0]
inc rax
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1c8]
cmp qword [rsp + 0x1e0], rax
jge 0x180013ef5
mov rax, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1d8]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x178]
call fcn.180018a00
movzx eax, word [rax]
mov rcx, qword [rsp + 0x1e0]
mov rdx, qword [rsp + 0x1c0]
add rdx, rcx
mov rcx, rdx
movsx ecx, byte [rcx]
cmp eax, ecx
je 0x180013ef3
jmp 0x180013ef5
jmp 0x180013e86
mov rax, qword [rsp + 0x1c8]
cmp qword [rsp + 0x1e0], rax
jne 0x180014075
movzx eax, byte [rsp + 0x290]
test eax, eax
je 0x18001402a
mov byte [0x1801b59e4], 1
mov dword [rsp + 0x204], 0
mov eax, dword [rsp + 0x1d8]
mov dword [rsp + 0x208], eax
mov dword [rsp + 0x20c], 0
mov rax, qword [rsp + 0x98]
sub rax, 4
mov qword [rsp + 0x98], rax
mov edx, 0x23
xor ecx, ecx
call fcn.180013270
mov word [rsp + 0x214], ax
mov eax, dword [rsp + 0x208]
shl eax, 1
cdqe
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 1
lea r8, [rsp + 0x1f4]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsx eax, byte [rsp + 0x1f4]
cmp eax, 0x21
jne 0x180013fc9
mov eax, dword [rsp + 0x204]
inc eax
mov dword [rsp + 0x204], eax
mov eax, dword [rsp + 0x208]
shl eax, 1
cdqe
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, [rsp + 0x214]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [rsp + 0x208]
inc eax
mov dword [rsp + 0x208], eax
cmp dword [rsp + 0x204], 5
jne 0x180014023
jmp 0x180014028
jmp 0x180013f5a
jmp 0x180014075
xor eax, eax
mov word [rsp + 0x234], ax
mov rax, qword [rsp + 0x1c8]
shl rax, 1
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rcx + rdx*2]
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, [rsp + 0x234]
mov rdx, rcx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x180013e4f
jmp 0x180013de2
lea rcx, [rsp + 0x178]
call fcn.180018630
nop
lea rcx, [rsp + 0xb8]
call fcn.1800184d0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
jmp 0x180013a05
movzx eax, byte [rsp + 0x290]
test eax, eax
je 0x1800140df
movzx eax, byte [0x1801b59e4]
test eax, eax
jne 0x1800140df
lea rcx, str.sc_stop_DPS
call qword [sym.imp.ucrtbased.dll_system]
nop
mov rcx, qword [rsp + 0x288]
call fcn.180018580
mov rcx, rsp
lea rdx, [0x18010c490]
call fcn.1800e8bd0
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
call fcn.1800e9000
add rsp, 0x270
pop rdi
ret