joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140120c90]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx eax, byte [rdx]
mov r11, rcx
mov r10, qword [rsp + 0x88]
shl eax, 0x18
mov dword [rsp + 0x38], eax
movzx eax, word [rdx + 1]
mov dword [rsp + 0x3c], eax
mov rax, qword [rdx + 3]
add rdx, 0xb
mov qword [rsp + 0x40], rax
mov rax, qword [rcx + 8]
mov qword [r10], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], r10
movzx ecx, word [rax]
mov dword [r10 + 8], ecx
lea rcx, str.ETW0
mov qword [r10 + 0x10], rdx
mov dword [r10 + 0xc], 2
movzx eax, word [rdx]
lea rdx, [rsp + 0x38]
mov dword [r10 + 0x18], eax
lea rax, [0x1400f666e]
sub eax, ecx
mov dword [r10 + 0x1c], 1
mov rcx, qword [r11 + 0x20]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_EventWriteTransfer]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400be470
add rsp, 0x58
ret
Function at 0x14001b3fc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140120c90]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov ebx, edx
mov rdi, rcx
and qword [rbp + 0x47], 0
lea rax, [rbp + 0x47]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftUEVAgentConfiguration
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001b4be
mov dword [rbp + 0x37], 4
mov rcx, qword [rbp + 0x47]
test rcx, rcx
je 0x14001b4fa
lea rax, [rbp + 0x37]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3f]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x3b]
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001b4cd
mov edx, dword [rbp + 0x3b]
cmp edx, 4
jne 0x14001b4b0
mov ebx, dword [rbp + 0x3f]
jmp 0x14001b4cd
lea rcx, str.AgentService.Util::GetDwordConfigValue:_Unexpected_value_type__type__0x_X
call fcn.1400045a0
jmp 0x14001b4cd
mov edx, eax
lea rcx, str.AgentService.Util::GetDwordConfigValue:_Failed_to_open_configuration_key__status__0x_X
call fcn.1400045a0
nop
lea rcx, [rbp + 0x47]
call fcn.140006264
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400be470
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rbp - 0x31]
call fcn.1400062c8
nop
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 9]
call fcn.140005ae4
lea rdx, [0x140116d60]
lea rcx, [rbp - 9]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140028488
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x190
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140120c90]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r12, rdx
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400284c9
mov rcx, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov r15d, eax
xor esi, esi
test eax, eax
je 0x140028586
lea eax, [rsi + 2]
mul r15
lea r14, [rsi - 1]
cmovo rax, r14
mov rcx, rax
call fcn.1400a1a90
mov rbx, rax
mov qword [rsp + 0x28], rax
cmp qword [rdi + 0x18], 8
jb 0x14002850f
mov rdi, qword [rdi]
mov r8d, r15d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
je 0x1400285ce
cmp word [rbx], si
je 0x14002853e
inc r14
cmp word [rbx + r14*2], si
jne 0x140028531
mov rsi, r14
mov r8, rsi
mov rdx, rbx
mov rcx, r12
call fcn.1400064bc
nop
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400be470
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rdx, str.Cannot_expand_environment_strings
lea rcx, [rsp + 0x38]
call fcn.1400062c8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r8d, eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x110]
call fcn.140005970
lea rdx, [0x140116c80]
lea rcx, [rsp + 0x110]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.Cannot_expand_environment_strings
lea rcx, [rsp + 0x38]
call fcn.1400062c8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r8d, eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xa0]
call fcn.140005970
lea rdx, [0x140116c80]
lea rcx, [rsp + 0xa0]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x14003ecf0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140120c90]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor ebx, ebx
cmp qword [0x14011a3b0], rbx
jne 0x14003ed87
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x1400e5190]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
js 0x14003ed76
mov rdx, qword [rsp + 0x20]
cmp word [rdx], bx
je 0x14003ed4e
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], bx
jne 0x14003ed42
mov rbx, rax
mov r8, rbx
lea rcx, [0x14011a3a0]
call fcn.1400064bc
mov r8d, 0x18
lea rdx, str.MicrosoftUEVTemplates
lea rcx, [0x14011a3a0]
call fcn.1400065a4
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
lea rax, [0x14011a3a0]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400be470
add rsp, 0x30
pop rbx
ret

Function at 0x14003ee1c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140120c90]
xor rax, rsp
mov qword [rsp + 0x48], rax
and dword [rsp + 0x30], 0
lea rdx, str.SOFTWAREMicrosoftHvsiOffice
and qword [rsp + 0x40], 0
mov eax, 4
mov dword [rsp + 0x38], eax
mov r9d, 0x20019
mov dword [rsp + 0x34], eax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
xor bl, bl
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
js 0x14003eeda
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.OfficeWDAGEnabledOnHost
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
js 0x14003eeda
cmp dword [rsp + 0x30], 1
sete bl
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14003eef0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov al, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400be470
add rsp, 0x50
pop rbx
ret
Function at 0x14004d2cc
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140120c90]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, r8
mov rsi, rdx
mov qword [rbp + 0x17], rdx
mov ecx, 0x18
call fcn.1400a0910
mov rdi, rax
mov qword [rbp + 7], rax
xor r13d, r13d
test rax, rax
je 0x14004d32f
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
jmp 0x14004d332
mov rdi, r13
mov qword [rbp - 0x51], rdi
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0x17]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x14004d487
mov r12d, dword [rbp + 0x17]
inc r12d
mov ecx, r12d
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400a1a90
mov rbx, rax
mov qword [rbp - 0x49], rax
mov r14d, r13d
cmp dword [rbp + 0xf], r13d
jbe 0x14004d44a
mov dword [rbp + 7], r12d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 7]
mov r8, rbx
mov edx, r14d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14004d4ce
mov r8d, dword [rbp + 7]
mov qword [rbp - 0x61], 7
mov qword [rbp - 0x69], r13
mov word [rbp - 0x79], r13w
mov rdx, rbx
lea rcx, [rbp - 0x79]
call fcn.1400064bc
nop
lea rdx, [rbp - 0x79]
mov rcx, rdi
call fcn.140043ccc
nop
cmp qword [rbp - 0x61], 8
jb 0x14004d43d
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
inc r14d
cmp r14d, dword [rbp + 0xf]
jb 0x14004d3be
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov qword [rsi], rdi
mov rax, rsi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400be470
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test byte [0x140121dc0], 2
je 0x14004d49f
mov r8d, eax
lea rdx, [0x1400d6630]
call fcn.140007cf4
lea rdx, str.Unable_to_query_template_index.
lea rcx, [rbp - 0x79]
call fcn.1400062c8
nop
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x39]
call fcn.14004cef8
lea rdx, [0x140117c90]
lea rcx, [rbp - 0x39]
call sub.msvcrt.dll__CxxThrowException
nop
test byte [0x140121dc0], 2
je 0x14004d4e6
mov r8d, eax
lea rdx, [0x1400d63d0]
call fcn.140007cf4
lea rdx, str.Unable_to_enumerate_template_index_subkeys.
lea rcx, [rbp - 0x79]
call fcn.1400062c8
nop
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x39]
call fcn.14004cef8
lea rdx, [0x140117c90]
lea rcx, [rbp - 0x39]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140070768
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov rax, qword [0x140120c90]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, r9
mov rdi, r8
mov r15d, edx
mov rsi, rcx
xor r12d, r12d
mov qword [rbp - 0x69], r12
mov rcx, r9
call fcn.140050824
mov ecx, 0x200
call fcn.1400a1a90
mov rbx, rax
mov qword [rbp - 0x51], rax
test rax, rax
jne 0x140070803
lea edi, [rax + 0xe]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x69]
call fcn.140006264
mov eax, edi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400be470
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp qword [rbp - 0x69], r12
jne 0x14007099f
cmp qword [rdi + 0x18], 8
jb 0x140070817
mov rdi, qword [rdi]
mov edx, r15d
mov rcx, rsi
call fcn.1400706dc
mov rcx, rax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x1400707c9
mov esi, r12d
mov dword [rbp - 0x61], 0x100
mov rcx, qword [rbp - 0x69]
test rcx, rcx
setne al
test al, al
je 0x140070970
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x61]
mov r8, rbx
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x14007093d
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r12
mov word [rbp - 9], r12w
cmp word [rbx], r12w
jne 0x1400708bb
mov r8, r12
jmp 0x1400708c9
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r12w
jne 0x1400708bf
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.1400064bc
nop
mov r15, qword [r14]
lea r9, [rbp - 9]
mov r8, qword [r15 + 8]
mov rdx, r15
call fcn.140077258
mov rdx, qword [r14 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x140070963
lea rcx, [rdx + 1]
mov qword [r14 + 8], rcx
mov qword [r15 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
cmp qword [rbp + 0xf], 8
jb 0x14007092a
mov rcx, qword [rbp - 9]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
inc esi
cmp esi, 0x1000
jb 0x140070853
jmp 0x1400707c9
cmp eax, 0x103
jne 0x140070956
mov edi, 2
cmp qword [r14 + 8], r12
cmova edi, r12d
jmp 0x1400707c9
mov rcx, r14
call fcn.140050824
jmp 0x1400707c9
lea rcx, str.list_T__too_long
call fcn.1400a0c2c
nop
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rbp - 9]
call fcn.1400062c8
nop
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.140005ae4
lea rdx, [0x140116d60]
lea rcx, [rbp - 0x49]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.Attempting_to_assign_an_already_valid_handle.
lea rcx, [rbp - 9]
call fcn.1400062c8
nop
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.140005ae4
lea rdx, [0x140116d60]
lea rcx, [rbp - 0x49]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140087e98
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rdx + 0x18], 0x10
mov rbx, rcx
mov r9, qword [rdx + 0x10]
jb 0x140087eaf
mov rdx, qword [rdx]
xor r8d, r8d
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x140087edf
movzx eax, byte [rdx + r8]
movabs r10, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r10
cmp r8, r9
jb 0x140087ec1
mov rax, rcx
mov edx, 0x1f31d
shr rax, 0x20
xor ecx, eax
btr ecx, 0x1f
call qword [sym.imp.msvcrt.dll_ldiv]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
shr rax, 0x20
imul ecx, eax, 0x41a7
imul eax, dword [rsp + 0x30], 0xb14
sub ecx, eax
jns 0x140087f1e
add ecx, 0x7fffffff
mov rdx, qword [rbx + 0x28]
movsxd rax, ecx
and rax, rdx
cmp qword [rbx + 0x30], rax
ja 0x140087f3b
shr rdx, 1
or rcx, 0xffffffffffffffff
sub rcx, rdx
add rax, rcx
add rsp, 0x20
pop rbx
ret

Function at 0x140094ecc
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140120c90]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x140094f0a
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x140094f31
test rbx, rbx
je 0x140094f2d
and dword [rbx], 0
call fcn.140095f14
mov qword [rbx + 8], rax
mov al, 1
jmp 0x140094f8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
and dword [rsp + 0x20], 0
call fcn.140095f14
mov qword [rsp + 0x28], rax
cmp esi, 0xb7
jne 0x140094f7c
lea r8, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140095164
cmp dword [rax], 3
jne 0x140094f7c
test rbx, rbx
je 0x140094f8c
and dword [rbx], 0
call fcn.140095f14
jmp 0x140094f88
test rbx, rbx
je 0x140094fb4
call fcn.140095f14
mov dword [rbx], esi
mov qword [rbx + 8], rax
xor al, al
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400be470
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rdx, str.boost::filesystem::create_directory
lea rcx, [rsp + 0x48]
call fcn.140003be4
nop
call fcn.140095f14
mov r8, rax
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.140027bdc
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x20]
mov r8, rdi
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.140094254
lea rdx, [0x140117630]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x1400bc478
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, rcx
mov ebp, 0x7ff
movzx ecx, word [rcx + 6]
mov esi, edx
shr cx, 4
and cx, bp
cmp cx, bp
jne 0x1400bc4d9
test byte [rbx + 6], 0xf
jne 0x1400bc4cc
xor edi, edi
cmp word [rbx + 4], di
jne 0x1400bc4cc
cmp word [rbx + 2], di
jne 0x1400bc4cc
cmp word [rbx], di
jne 0x1400bc4cc
lea esi, [rdi + 1]
jmp 0x1400bc4d1
mov esi, 2
movzx eax, si
jmp 0x1400bc6d6
xor edi, edi
test cx, cx
jne 0x1400bc4f4
mov rcx, rbx
call fcn.1400bdd58
movzx ecx, ax
cmp di, ax
jl 0x1400bc6d3
movsx edx, cx
test esi, esi
jle 0x1400bc524
sub ebp, edx
cmp ebp, esi
jg 0x1400bc524
movsd xmm0, qword [0x140120c50]
cmp word [rbx + 6], di
jge 0x1400bc516
xorps xmm0, xmmword [0x1400e7000]
movsd qword [rbx], xmm0
mov eax, 1
jmp 0x1400bc6d6
movzx r11d, word [rbx + 6]
mov eax, edx
neg eax
cmp eax, esi
jge 0x1400bc551
add si, cx
mov eax, 0x800f
shl si, 4
and r11w, ax
or si, r11w
mov word [rbx + 6], si
or eax, 0xffffffff
jmp 0x1400bc6d6
movzx r15d, r11w
lea ebp, [rsi - 1]
and r11w, 0xf
mov r13d, 0x8000
mov r12d, 0x10
and r15w, r13w
or r11w, r12w
add ebp, edx
cmp ebp, 0xffffffcb
jl 0x1400bc6c8
test ebp, ebp
jns 0x1400bc6c8
lea esi, [r12 - 0xf]
movzx r14d, di
cmp bp, 0xfff0
jg 0x1400bc5ec
movzx ecx, word [rbx + 4]
mov eax, 0xfff0
movzx edx, word [rbx + 2]
sub ax, bp
shr ax, 4
movzx r9d, r11w
add ax, si
movzx r8d, ax
movzx eax, r8w
shl ax, 4
add bp, ax
test r14w, r14w
mov eax, edi
setne al
movzx r14d, ax
or r14w, word [rbx]
mov word [rbx], dx
movzx edx, cx
movzx ecx, r9w
mov r9d, edi
sub r8, rsi
jne 0x1400bc5bd
mov word [rbx + 4], cx
movzx r11d, di
mov word [rbx + 2], dx
neg bp
je 0x1400bc66b
movzx r8d, word [rbx]
mov eax, edi
movzx r9d, word [rbx + 2]
movzx edx, r8w
movsx r10d, bp
sub r12d, r10d
mov ecx, r12d
shl dx, cl
test r14w, r14w
movzx r14d, dx
movzx edx, word [rbx + 4]
setne al
or r14w, ax
movzx eax, r9w
shl ax, cl
movzx ecx, bp
shr r8w, cl
mov ecx, r12d
or ax, r8w
mov word [rbx], ax
movzx eax, dx
shl ax, cl
movzx ecx, bp
shr r9w, cl
mov ecx, r12d
or ax, r9w
mov word [rbx + 2], ax
movzx eax, r11w
shl ax, cl
movzx ecx, bp
shr dx, cl
mov ecx, r10d
or ax, dx
mov word [rbx + 4], ax
shr r11w, cl
or r11w, r15w
mov word [rbx + 6], r11w
cmp r13w, r14w
jb 0x1400bc681
jne 0x1400bc6a0
test byte [rbx], sil
je 0x1400bc6a0
add word [rbx], si
jne 0x1400bc6a0
add word [rbx + 2], si
jne 0x1400bc6a0
add word [rbx + 4], si
jne 0x1400bc6a0
add r11w, si
mov word [rbx + 6], r11w
jmp 0x1400bc549
cmp r11w, r15w
jne 0x1400bc549
cmp word [rbx + 4], di
jne 0x1400bc549
cmp word [rbx + 2], di
jne 0x1400bc549
cmp word [rbx], di
je 0x1400bc6d3
jmp 0x1400bc549
mov word [rbx + 6], r15w
mov dword [rbx + 2], edi
mov word [rbx], di
movzx eax, di
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14001117c
Capabilities:
Terminate process

Disassembly:
jmp 0x14001dbf0
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 0x14001131b
Capabilities:
Create thread
Inject thread

Disassembly:
jmp 0x140019dc0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x40]
mov rdi, rsp
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1b8]
mov rax, qword [0x14002b018]
xor rax, rbp
mov qword [rbp + 0x140], rax
lea rcx, [0x140031052]
call fcn.140011163
mov r8d, dword [rbp + 0x170]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140019e2e
jmp 0x140019f50
mov rcx, qword [rbp + 0x178]
call fcn.14001181b
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140019e67
jmp 0x140019f50
mov rcx, qword [rbp + 0x178]
call fcn.14001181b
mov qword [rbp + 0x138], rax
mov rcx, qword [rbp + 0x178]
call fcn.1400116ae
mov qword [rsp + 0x20], 0
mov rcx, qword [rbp + 0x138]
mov r9, rcx
mov r8, rax
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140019ed1
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140019f50
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x48], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rbp + 0x64], 0
lea rdx, [rbp + 0x64]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rbp + 0x64], 0
je 0x140019f46
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x40]
lea rdx, [0x140025ef0]
call fcn.140011771
mov rcx, qword [rbp + 0x140]
xor rcx, rbp
call fcn.140011217
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x1400116a4
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001cf10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001cf30
xor al, al
jmp 0x14001cfb1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001cf43
xor al, al
jmp 0x14001cfb1
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 0x14001cf6d
xor al, al
jmp 0x14001cfb1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001cf81
xor al, al
jmp 0x14001cfb1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001cf93
xor al, al
jmp 0x14001cfb1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001cfaf
xor al, al
jmp 0x14001cfb1
mov al, 1
add rsp, 0x38
ret

Function at 0x14001170d
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140019be0
push rbp
push rdi
sub rsp, 0x4f8
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x13e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002b018]
xor rax, rbp
mov qword [rbp + 0x4c0], rax
lea rcx, [0x140031052]
call fcn.140011163
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov ecx, 2
call fcn.140011528
mov qword [rbp + 8], rax
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140011488
test eax, eax
je 0x140019d21
lea rax, [rbp + 0x464]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x488]
lea rcx, [rbp + 0x464]
call fcn.140016630
mov rcx, rax
call fcn.1400111ea
mov qword [rbp + 0x4a8], rax
lea rdx, [rbp + 0x5c]
lea rcx, [rbp + 0x428]
call fcn.1400110f5
mov qword [rbp + 0x4b0], rax
xor r8d, r8d
mov rax, qword [rbp + 0x4a8]
mov rdx, rax
mov rcx, qword [rbp + 0x4b0]
call fcn.14001148d
cmp rax, 0xffffffffffffffff
je 0x140019ccf
mov dword [rbp + 0x4b8], 1
jmp 0x140019cd9
mov dword [rbp + 0x4b8], 0
movzx eax, byte [rbp + 0x4b8]
mov byte [rbp + 0x404], al
lea rcx, [rbp + 0x428]
call fcn.14001165e
movzx eax, byte [rbp + 0x404]
test eax, eax
je 0x140019d0c
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x38]
jmp 0x140019d2d
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.14001119a
test eax, eax
jne 0x140019c58
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140025e70]
call fcn.140011771
mov rax, rdi
mov rcx, qword [rbp + 0x4c0]
xor rcx, rbp
call fcn.140011217
lea rsp, [rbp + 0x4d8]
pop rdi
pop rbp
ret