joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ce6f0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rbx, rdx
mov rsi, rcx
xor r14d, r14d
lea ecx, [r14 + 4]
call fcn.1401adb30
mov rdi, rax
test rax, rax
je 0x1400ce72a
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
jmp 0x1400ce72d
mov rdi, r14
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x60], r14
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0x2000000
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x1400ce876
mov r8, qword [rbp + 0x60]
mov rdx, qword [case.0x1401b9e8b.6]
lea rcx, [rsp + 0x60]
call fcn.140027290
nop
mov rax, qword [rsi + 0x10]
mov qword [rbp - 0x80], rax
lea rax, [0x1401ef380]
mov qword [rbp - 0x78], rax
lea rbx, [rbp - 0x80]
lea r15, [0x14024fa68]
nop dword [rax]
mov rax, qword [rbx]
mov dword [rbp - 0x50], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
xor ecx, ecx
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8, qword [rsi + 8]
mov rdx, qword [rsi]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x1400ce8ab
mov rcx, qword [0x14024fa68]
cmp rcx, r15
je 0x1400ce841
test byte [rcx + 0x1c], 0x10
je 0x1400ce841
cmp byte [rcx + 0x19], 2
jb 0x1400ce841
lea edx, [rax + 0xb]
lea r8, [0x1401ff108]
mov rcx, qword [rcx + 0x10]
call fcn.14008eb30
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x10b
jne 0x1400ce85f
add rbx, 8
lea rax, [rbp - 0x70]
cmp rbx, rax
jne 0x1400ce7a0
cmp byte [rsp + 0x60], 0
jne 0x1400ce876
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
call qword [case.0x14003c8e9.0]
xor bl, bl
test rdi, rdi
je 0x1400ce891
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov rcx, rdi
call qword [case.0x1401b9e8b.6]
movzx eax, bl
mov rbx, qword [rsp + 0x150]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rbp - 0x70]
call qword [case.0x1401b9e8b.6]
mov rcx, qword [rbp - 0x68]
call qword [case.0x1401b9e8b.6]
nop
cmp byte [rsp + 0x60], 0
jne 0x1400ce8d7
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
call qword [case.0x14003c8e9.0]
mov bl, 1
jmp 0x1400ce878
Function at 0x1400d9610
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, edx
mov rcx, qword [0x1402574c0]
mov rcx, qword [rcx + 0x488]
call fcn.1400fa080
xor edi, edi
cmp ebx, 2
jne 0x1400d96c1
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], 1
mov r9d, 0x2001b
lea r8, [rsp + 0x30]
lea rdx, str.SoftwareESETESET_SecurityCurrentVersionInfo
mov rcx, 0xffffffff80000002
call fcn.1401a5450
lea rdx, str.SkipEula
test al, al
je 0x1400d969e
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x1400d96ae
mov rcx, rbx
call qword [0x14024f048]
jmp 0x1400d96a6
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [0x1402574c0]
mov rcx, qword [rcx + 0x488]
call fcn.1400c26e0
mov rax, qword [0x1402574c0]
mov rbx, qword [rax + 0x488]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], di
mov r8d, reloc.WS2_32.dll_listen
lea rdx, [0x1401fd5f0]
lea rcx, [rsp + 0x38]
call fcn.140003530
nop
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400b0e80
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400d9757
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d9752
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d9752
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007ea0
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], di
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401c5190
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1400df730
Capabilities:
Write file on windows

Disassembly:
push rsi
push r12
push r15
mov eax, 0x1280
call fcn.1401c66b0
sub rsp, rax
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rsp + 0x1260], rax
mov rsi, rcx
xor r15b, r15b
add rcx, 0x38
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400dfae0
test al, al
je 0x1400df8e7
mov qword [rsp + 0x12b8], rdi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x1278], r13
xor r9d, r9d
xor r13d, r13d
mov edx, 0x40000000
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
lea r8d, [r13 + 3]
call qword [case.0x1401ba071.53]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400df8d7
mov qword [rsp + 0x12a8], rbx
lea rbx, [rsp + 0x260]
mov qword [rsp + 0x12b0], rbp
mov ebp, r13d
mov qword [rsp + 0x1270], r14
cmp dword [rsi + 0x20], r13d
jle 0x1400df8b3
mov r14d, r13d
nop word [rax + rax]
lea rax, [rsp + 0x1248]
cmp rbx, rax
jb 0x1400df841
lea rax, [rsp + 0x260]
mov qword [rsp + 0x20], r13
sub ebx, eax
lea r9, [rsp + 0x40]
mov r8d, ebx
lea rdx, [rsp + 0x260]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400df8b6
lea rbx, [rsp + 0x260]
mov rcx, qword [rsi + 0x28]
mov r9d, 0xa
mov rdx, rbx
mov rcx, qword [rcx + r14]
lea r8d, [r9 + 0xe]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__i64toa_s]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
inc ebp
add r14, 8
mov byte [rax], 0x2c
lea rbx, [rax + 1]
cmp ebp, dword [rsi + 0x20]
jl 0x1400df800
lea rax, [rsp + 0x261]
cmp rbx, rax
jbe 0x1400df8b3
lea rax, [rsp + 0x260]
mov qword [rsp + 0x20], r13
sub ebx, eax
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x260]
mov rcx, rdi
lea r8d, [rbx - 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400df8b6
mov r15b, 1
mov rcx, rdi
call qword [case.0x1401b9e8b.6]
mov r14, qword [rsp + 0x1270]
mov rbp, qword [rsp + 0x12b0]
mov rbx, qword [rsp + 0x12a8]
mov rdi, qword [rsp + 0x12b8]
mov r13, qword [rsp + 0x1278]
lea rcx, [rsi + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, r15b
mov rcx, qword [rsp + 0x1260]
xor rcx, rsp
call fcn.1401c5190
add rsp, 0x1280
pop r15
pop r12
pop rsi
ret
Function at 0x1400df920
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rdi
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
xor r14d, r14d
add rcx, 0x38
mov r15d, r14d
xor bl, bl
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400dfae0
test al, al
je 0x1400dfaae
mov qword [rsp + 0x30], r14
lea r8d, [r14 + 3]
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
mov qword [rsp + 0x2b8], r12
call qword [case.0x1401ba071.53]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400dfaa6
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1400dfa8d
lea ecx, [rax + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
je 0x1400dfa8d
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r14
mov r8d, ebx
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400dfa8d
mov eax, dword [rsp + 0x40]
mov qword [rsp + 0x2a8], rbp
mov rbp, r15
mov qword [rsp + 0x2b0], rsi
mov esi, r14d
mov byte [rax + r15], r14b
cmp dword [rdi + 0x20], r14d
jle 0x1400dfa70
nop dword [rax]
test rbp, rbp
je 0x1400dfa5a
mov edx, 0x2c
mov rcx, rbp
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov rbx, rax
test rax, rax
je 0x1400dfa41
mov byte [rax], 0
inc rbx
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__atoi64]
mov rcx, rax
mov rbp, rbx
mov rax, qword [rdi + 0x28]
mov qword [r14 + rax], rcx
jmp 0x1400dfa65
mov rax, qword [rdi + 0x28]
mov qword [rax], 0
inc esi
add r14, 8
cmp esi, dword [rdi + 0x20]
jl 0x1400dfa20
mov rcx, r12
mov bl, 1
call qword [case.0x1401b9e8b.6]
mov rsi, qword [rsp + 0x2b0]
mov rbp, qword [rsp + 0x2a8]
jmp 0x1400dfa9d
mov rcx, r12
call qword [case.0x1401b9e8b.6]
xor bl, bl
test r15, r15
je 0x1400dfaa6
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12, qword [rsp + 0x2b8]
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401c5190
add rsp, 0x270
pop r15
pop r14
pop r13
pop rdi
pop rbx
ret
Function at 0x1400dff20
Capabilities:
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x250
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor ebp, ebp
mov r15d, edx
test byte [rcx + 8], 4
mov r14, r9
mov rdi, r8
mov rbx, rcx
je 0x1400e008a
mov esi, 0x104
mov qword [rsp + 0x288], r12
mov edx, esi
mov word [rsp + 0x30], bp
lea rcx, [rsp + 0x30]
call fcn.140195db0
test al, al
je 0x1400dffbe
lea r8, str.Logs_
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.1401aed20
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rcx, rax
lea rdx, [rsp + 0x30]
sub rcx, rdx
lea r8, [rbx + 0x18]
sar rcx, 1
mov edx, esi
sub rdx, rcx
mov rcx, rax
call fcn.1401aec20
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov r12, rax
test r15d, r15d
je 0x1400e007b
lea rax, [rsp + 0x30]
mov rcx, r12
sub rcx, rax
sar rcx, 1
sub rsi, rcx
mov r8, qword [r14]
test rsi, rsi
je 0x1400e0030
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r8 + rax*2], bp
jne 0x1400e0000
lfence
mov rdx, rsi
mov rcx, r12
cmp rax, rsi
jae 0x1400e0020
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
jmp 0x1400e0030
lea r9, [rsi - 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [r12 + rsi*2 - 2], bp
mov ebx, 5
mov edi, ebp
test edi, edi
jne 0x1400e006d
mov edx, 0x80
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
dec ebx
mov edi, eax
test eax, eax
jne 0x1400e0069
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jg 0x1400e0037
add r14, 8
sub r15, 1
jne 0x1400dffe8
mov r12, qword [rsp + 0x288]
mov al, 1
jmp 0x1400e010b
mov rbx, qword [rcx + 0x10]
test r8, r8
je 0x1400e0101
test r9, r9
je 0x1400e0101
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400e00a7
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
mov rcx, rbx
call fcn.1401774a0
test r15d, r15d
je 0x1400e00e6
mov rsi, r15
nop dword [rax]
mov r8, qword [r14]
mov r9d, 1
mov edx, dword [rdi]
mov rcx, rbx
call fcn.140178330
test eax, eax
lea r14, [r14 + 8]
lea rdi, [rdi + 4]
cmovne ebp, eax
sub rsi, 1
jne 0x1400e00c0
mov dl, 1
mov rcx, rbx
call fcn.1401774a0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400e0106
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400e0106
mov ebp, 0xa
test ebp, ebp
sete al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401c5190
mov rbx, qword [rsp + 0x290]
add rsp, 0x250
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400fe220
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x690]
sub rsp, 0x790
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0x680], rax
movzx r14d, r9b
mov rsi, r8
mov r15, rdx
mov rdi, rcx
xor r12d, r12d
call fcn.1400fe8e0
test al, al
jne 0x1400fe2ce
lea rbx, str._hide
test rsi, rsi
cmovne rbx, rsi
mov edx, 0x104
lea rcx, [rbp + 0x50]
call fcn.1401960f0
test al, al
je 0x1400fe2ce
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x50]
lea rdx, [r12 - 1]
lea rcx, [rbp + 0x470]
test r14b, r14b
je 0x1400fe2f1
lea r8, str.__seguiproxy.exe___s
call fcn.1400ff6d0
test eax, eax
js 0x1400fe2ce
lea r9, [rbp + 0x50]
lea r8, str._seguiproxy.exe
lea rdx, [r12 - 1]
lea rcx, [rbp + 0x260]
call fcn.1400ff6d0
test eax, eax
jns 0x1400fe323
xor al, al
mov rcx, qword [rbp + 0x680]
xor rcx, rsp
call fcn.1401c5190
add rsp, 0x790
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea r8, str.__segui.exe___s
call fcn.1400ff6d0
test eax, eax
js 0x1400fe2ce
lea r9, [rbp + 0x50]
lea r8, str._segui.exe
mov rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x260]
call fcn.1400ff6d0
test eax, eax
js 0x1400fe2ce
mov r8d, 0xe7
lea rdx, [rbp + 0x260]
mov rcx, qword [rdi + 0xd68]
call fcn.1401611b0
test eax, eax
jne 0x1400fe2ce
mov qword [rsp + 0x60], r12
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.1400ff740
nop
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0x60]
call fcn.1401bf460
mov rdx, qword [rsp + 0x60]
test eax, eax
cmove rdx, r12
mov qword [rsp + 0x60], rdx
mov dword [rbp - 0x20], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], 0x424
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp + 0x470]
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1400fe475
mov r8, qword [rsp + 0x70]
mov rdx, qword [case.0x1401b9e8b.6]
lea rcx, [rbp - 0x38]
call fcn.140027290
nop
mov r8, qword [rsp + 0x78]
lea rcx, [rbp - 0x50]
call fcn.140027290
nop
mov r8, qword [rsp + 0x78]
mov rdx, qword [case.0x1401ba071.111]
lea rcx, [rbp - 0x68]
call fcn.140027290
nop
lea rcx, [rdi + 0x12a8]
mov r8d, 1
mov edx, dword [rbp - 0x80]
call fcn.1400e3010
nop
cmp byte [rbp - 0x68], 0
jne 0x1400fe448
mov rcx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x60]
call qword [case.0x14003c8e9.0]
nop
cmp byte [rbp - 0x50], 0
jne 0x1400fe45d
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x48]
call qword [case.0x14003c8e9.0]
nop
cmp byte [rbp - 0x38], 0
jne 0x1400fe471
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x30]
call qword [case.0x14003c8e9.0]
mov bl, 1
jmp 0x1400fe477
xor bl, bl
cmp byte [rbp - 0x78], 0
jne 0x1400fe48e
mov rcx, qword [rbp - 0x70]
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400fe48e
call fcn.1401bf450
movzx eax, bl
jmp 0x1400fe2d0
Function at 0x1401176c0
Capabilities:
Query or enumerate registry key

Disassembly:
push rdi
sub rsp, 0x270
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rcx, qword [0x14024fa68]
lea rdi, [0x14024fa68]
cmp rcx, rdi
je 0x14011770f
test byte [rcx + 0x1c], 4
je 0x14011770f
cmp byte [rcx + 0x19], 4
jb 0x14011770f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140202338]
mov edx, select
call fcn.14008eb30
mov r9d, 0x20019
mov byte [rsp + 0x20], 1
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
lea rdx, str.SoftwareESETESET_SecurityCurrentVersionPlugins
call fcn.1401a5450
test al, al
jne 0x140117764
mov rcx, qword [0x14024fa68]
cmp rcx, rdi
je 0x1401178b7
test byte [rcx + 0x1c], 4
je 0x1401178b7
cmp byte [rcx + 0x19], 4
jb 0x1401178b7
mov edx, reloc.WS2_32.dll_ntohs
jmp 0x1401178a7
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x280], rbx
mov r9d, 0x105
xor edx, edx
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x14011786f
lea r8, [rsp + 0x48]
lea rdx, str._08X
lea rcx, [rsp + 0x50]
call fcn.140035fe0
cmp eax, 1
jne 0x14011784d
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov r9d, 0xf003f
mov byte [rsp + 0x20], 0
lea rdx, [rsp + 0x50]
call fcn.1401a5450
test al, al
je 0x14011784d
mov rcx, qword [0x14024fa68]
cmp rcx, rdi
je 0x140117805
test byte [rcx + 0x1c], 4
je 0x140117805
cmp byte [rcx + 0x19], 4
jb 0x140117805
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, reloc.WS2_32.dll_recv
lea r8, [0x140202338]
call fcn.1400f7da0
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.Load
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x38], 1
call qword [case.0x1401ba071.80]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x40]
call qword [0x14024f048]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x50]
mov edx, ebx
mov r9d, 0x105
inc ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x140117791
mov rcx, qword [rsp + 0x30]
call qword [0x14024f048]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [0x14024fa68]
mov rbx, qword [rsp + 0x280]
cmp rcx, rdi
je 0x1401178b7
test byte [rcx + 0x1c], 4
je 0x1401178b7
cmp byte [rcx + 0x19], 4
jb 0x1401178b7
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, qword [rcx + 0x10]
lea r8, [0x140202338]
call fcn.14008eb30
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401c5190
add rsp, 0x270
pop rdi
ret

Function at 0x140118700
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
mov eax, dword [rcx + 0x20]
xor r10d, r10d
mov r11, r8
mov rbx, rcx
not eax
test r9, r9
je 0x140118754
mov qword [rsp + 0x10], rdi
lea rdi, [0x1401f8ce0]
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r10 + r11]
mov ecx, eax
xor rdx, rcx
inc r10
shr ecx, 8
movzx r8d, dl
mov eax, dword [rdi + r8*4]
xor eax, ecx
cmp r10, r9
jb 0x140118730
mov rdi, qword [rsp + 0x10]
not eax
mov dword [rbx + 0x20], eax
mov rax, r9
pop rbx
ret
Function at 0x1401242d0
Capabilities:
Shutdown system

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
inc dword [rcx + 8]
cmp dword [rcx + 8], 0x3c
jg 0x140124309
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x48]
call fcn.1400bd5a0
test al, al
je 0x1401243d1
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
call fcn.14008de60
lea rdx, str.SeShutdownPrivilege
lea rcx, [rsp + 0x30]
call fcn.1400138c0
nop
xor edi, edi
mov ebx, edi
nop dword [rax + rax]
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0x87
xor r8d, r8d
lea rdx, [0x1401ef380]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
cmp eax, 0x57
jne 0x140124373
mov dword [rsp + 0x20], 0x80000000
lea r9d, [rax - 0x50]
xor r8d, r8d
lea rdx, [0x1401ef380]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
test eax, eax
je 0x14012438e
cmp eax, 0x15
jne 0x14012438e
lea ecx, [rax + 0x4f]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
cmp rbx, 0x32
jbe 0x140124330
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1401243c4
cmp dword [rsp + 0x34], 1
jne 0x1401243be
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rsp + 0x34]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x48]
call qword [case.0x1401b9e8b.6]
cmp byte [rsp + 0x31], 0
je 0x1401243d1
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401c5190
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14013e2b0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x620]
sub rsp, 0x720
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0x610], rax
mov rbx, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
mov dword [rbp - 0x2c], eax
mov dword [rsp + 0x70], WSAGetLastError
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
mov edx, 0x104
lea rcx, [rbp - 0x10]
call fcn.1401960f0
test al, al
je 0x14013e431
lea r9, [rbp - 0x10]
lea r8, str.__wsecmds.exe___EkrnStartupWatchDog
mov edx, 0x208
lea rcx, [rbp + 0x200]
call fcn.140040350
cmp eax, 0xffffffff
je 0x14013e431
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x200]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14013e431
mov rcx, qword [rsp + 0x50]
call qword [case.0x1401b9e8b.6]
mov rcx, qword [rsp + 0x58]
call qword [case.0x1401b9e8b.6]
cmp qword [rbx + 0x450], rdi
jne 0x14013e424
mov r8d, dword [rbx + 0x43c]
lea rax, [rsp + 0x70]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x58], rdi
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov qword [rsp + 0x70], rax
lea rax, [0x14013d8a0]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x58], rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14008d270
nop
lea rcx, [rbx + 0x448]
mov rdx, rax
call fcn.14013d5f0
nop
cmp qword [rsp + 0x58], rdi
jne 0x14013e455
cmp qword [rsp + 0x60], rdi
jne 0x14013e455
lea rcx, [rsp + 0x50]
call fcn.1400c4080
mov edx, 5
mov rcx, rbx
call fcn.14013d8b0
mov rcx, qword [rbp + 0x610]
xor rcx, rsp
call fcn.1401c5190
lea r11, [rsp + 0x720]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14018b270
nop
int3
Function at 0x140140bd0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
cmp byte [rcx], 0
jne 0x140140be4
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x28
ret