joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400fb184
Capabilities:
Enumerate processes
Terminate process

Disassembly:
jmp 0x14013de10
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xb2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x488]
mov rax, qword [0x14036f240]
xor rax, rbp
mov qword [rbp + 0x438], rax
lea rcx, [0x14039110e]
call fcn.1400ff54f
xor edx, edx
mov ecx, 2
call fcn.1400fc039
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14013de77
xor al, al
jmp 0x14013dfae
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400fcd18
test eax, eax
jne 0x14013dea0
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14013dfae
mov rdx, qword [rbp + 0x460]
lea rcx, [rbp + 0x5c]
call fcn.1400ff301
test eax, eax
jne 0x14013def2
mov r8d, dword [rbp + 0x38]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x288], rax
cmp qword [rbp + 0x288], 0
je 0x14013def2
xor edx, edx
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400fe672
test eax, eax
jne 0x14013dea0
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov ecx, 2
call fcn.1400fc039
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14013df2b
xor al, al
jmp 0x14013dfae
mov byte [rbp + 0x2a4], 0
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400fcd18
test eax, eax
jne 0x14013df51
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14013dfae
mov rdx, qword [rbp + 0x460]
lea rcx, [rbp + 0x5c]
call fcn.1400ff301
test eax, eax
jne 0x14013df6e
mov byte [rbp + 0x2a4], 1
jmp 0x14013df7f
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400fe672
test eax, eax
jne 0x14013df51
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rbp + 0x2a4]
test eax, eax
jne 0x14013df96
jmp 0x14013dfac
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
cmp eax, 1
jne 0x14013df0d
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14030fed0]
call fcn.1400fe366
mov rax, rdi
mov rcx, qword [rbp + 0x438]
xor rcx, rbp
call fcn.1400fc10b
lea rsp, [rbp + 0x448]
pop rdi
pop rbp
ret
Function at 0x1400fb7f6
Capabilities:
Start service

Disassembly:
jmp 0x14013e100
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14039110e]
call fcn.1400ff54f
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14013e13e
xor al, al
jmp 0x14013e1b7
mov rcx, qword [rbp + 0x120]
call fcn.1400fb2ec
mov r8d, 0xf01ff
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14013e176
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x14013e1b7
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x14013e1a1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x14013e1b7
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400fbd87
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14027fee0
mov rax, rcx
neg rcx
test rax, 7
je 0x14027fefd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14027ff58
test al, 7
jne 0x14027fef0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x14027ff11
mov rdx, qword [rax - 8]
test dl, dl
je 0x14027ff82
test dh, dh
je 0x14027ff7c
shr rdx, 0x10
test dl, dl
je 0x14027ff76
test dh, dh
je 0x14027ff70
shr rdx, 0x10
test dl, dl
je 0x14027ff6a
test dh, dh
je 0x14027ff64
shr edx, 0x10
test dl, dl
je 0x14027ff5e
test dh, dh
jne 0x14027ff11
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x1400fbdd2
Capabilities:
Query environment variable

Disassembly:
jmp 0x1402d42e0
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1402d3e60
lea rcx, [rsp + 0x20]
call fcn.1402d3eb0
movzx eax, al
test eax, eax
jne 0x1402d4325
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.1402d3e90
mov rax, qword [rsp + 0x40]
jmp 0x1402d441f
lea rcx, [rsp + 0x20]
call fcn.1402d3fb0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1402d3f50
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1400fc237
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400fb5f8
lea rcx, [rsp + 0x28]
call fcn.1400fc7f0
movzx eax, al
test eax, eax
jne 0x1402d43bf
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400fe09b
lea rcx, [rsp + 0x20]
call fcn.1402d3e90
mov rax, qword [rsp + 0x50]
jmp 0x1402d441f
lea rcx, [rsp + 0x20]
call fcn.1402d3fb0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400ff405
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400fc138
lea rcx, [rsp + 0x28]
call fcn.1400fffb8
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400fe09b
lea rcx, [rsp + 0x20]
call fcn.1402d3e90
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1400fc426
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14020e890
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14020e210
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14020e8cf
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140392020]
jmp 0x14020e8d9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x1400fc6fb
Capabilities:
Query environment variable

Disassembly:
jmp 0x1402d4030
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1402d3e60
lea rcx, [rsp + 0x40]
call fcn.1402d3fe0
movzx eax, al
test eax, eax
jne 0x1402d4078
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1402d3e90
mov rax, qword [rsp + 0x70]
jmp 0x1402d4249
lea rcx, [rsp + 0x40]
call fcn.1402d3fb0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1402d3f50
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.1402d3fb0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1400fdbfa
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1402d411e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1402d3e90
mov rax, qword [rsp + 0x80]
jmp 0x1402d4249
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400fc237
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400fbf94
lea rcx, [rsp + 0x48]
call fcn.1400fb878
movzx eax, al
test eax, eax
jne 0x1402d4185
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400fa031
lea rcx, [rsp + 0x40]
call fcn.1402d3e90
mov rax, qword [rsp + 0x88]
jmp 0x1402d4249
lea rcx, [rsp + 0x48]
call fcn.1400fccfa
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.1402d3fb0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1400fdbfa
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1402d421b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400fa031
lea rcx, [rsp + 0x40]
call fcn.1402d3e90
mov rax, qword [rsp + 0xa0]
jmp 0x1402d4249
lea rcx, [rsp + 0x48]
call fcn.1400fbf3a
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400fa031
lea rcx, [rsp + 0x40]
call fcn.1402d3e90
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x1400fc714
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14020e7c0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.14020e190
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14020e801
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140392020]
jmp 0x14020e807
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x1400fc7fa
Capabilities:
Get geographical location

Disassembly:
jmp 0x1402b5780
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.1402b46b0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1402b57e7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x140392030]
jmp 0x1402b5809
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400fb7c9
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x1400fc813
Capabilities:
Terminate process

Disassembly:
jmp 0x1401ea9a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400fcc69
Capabilities:
Print debug messages

Disassembly:
jmp 0x1402debd0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x14036f240]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1402debf6
jmp 0x1402dec73
mov rcx, qword [rbp + 0x30]
call fcn.1400fbd87
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1402dec0f
jmp 0x1402dec73
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1402dec2c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400fa2d9
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1400faa68
test eax, eax
jne 0x1402dec73
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400fc10b
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x1400fd065
Capabilities:
Get geographical location

Disassembly:
jmp 0x140186ea0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x140186edd
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.1400ff4f5
add rsp, 0x58
ret

Function at 0x1400fd187
Capabilities:
Set environment variable

Disassembly:
jmp 0x1402d6190
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x1400fd547
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401eb710
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1401eb730
xor al, al
jmp 0x1401eb7b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1401eb743
xor al, al
jmp 0x1401eb7b1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1401eb76d
xor al, al
jmp 0x1401eb7b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1401eb781
xor al, al
jmp 0x1401eb7b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1401eb793
xor al, al
jmp 0x1401eb7b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1401eb7af
xor al, al
jmp 0x1401eb7b1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400fdf42
Capabilities:
Terminate process

Disassembly:
jmp 0x14020fb80
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14020fbae
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400fedca
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400fee60
Capabilities:
Print debug messages

Disassembly:
jmp 0x1402aa8c0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1400ff009
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14020e900
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14020e250
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14020e949
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140392020]
jmp 0x14020e958
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x1400ff176
Capabilities:
Set environment variable

Disassembly:
jmp 0x1402ebd80
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1400fb58f
lea rcx, [rsp + 0x48]
call fcn.1400fb58f
call fcn.1400fc65b
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1400fb1a7
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1402ebdef
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400fbbe8
lea rcx, [rsp + 0x78]
call fcn.1400fbbe8
mov eax, dword [rsp + 0x24]
jmp 0x1402ebe80
call fcn.1400fc65b
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400fb1a7
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1402ebe36
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400fbbe8
lea rcx, [rsp + 0x78]
call fcn.1400fbbe8
mov eax, dword [rsp + 0x2c]
jmp 0x1402ebe80
lea rcx, [rsp + 0x48]
call fcn.1400fb459
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.1400fb459
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1400fbbe8
lea rcx, [rsp + 0x78]
call fcn.1400fbbe8
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x1400ff478
Capabilities:
Query service status
Stop service

Disassembly:
jmp 0x14013e200
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x14036f240]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x14039110e]
call fcn.1400ff54f
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14013e26b
xor al, al
jmp 0x14013e31d
mov rcx, qword [rbp + 0x160]
call fcn.1400fb2ec
mov r8d, 0xf01ff
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14013e2a3
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x14013e31d
lea rax, [rbp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x1c
rep stosb byte [rdi], al
lea r8, [rbp + 0x48]
mov edx, 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14013e307
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14013e307
cmp dword [rbp + 0x4c], 1
jne 0x14013e2fa
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x14013e31d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14013e2ca
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1403114b0]
call fcn.1400fe366
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400fc10b
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1402b8b80
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400fa2d9
sub rsp, rax
mov rax, qword [0x14036f240]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140374290]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1402b8d72
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x1402b8cc6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1402b8cc6
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x1402b8cab
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1402b8c48
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1402b8d32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1402b8d91
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x1402b8d6d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1402b8d91
jmp 0x1402b8c1e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400fc10b
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1402b8e40
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400fa2d9
sub rsp, rax
mov rax, qword [0x14036f240]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140374290]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1402b904d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x1402b8f99
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1402b8f99
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x1402b8f79
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x1402b8f08
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1402b900d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1402b906c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x1402b9048
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1402b906c
jmp 0x1402b8ede
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400fc10b
add rsp, 0x1498
pop rdi
pop rsi
ret