joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006540
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140027040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000656d
xor eax, eax
jmp 0x1400066d9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400065a7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400065a7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400066d9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400066cc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400065ea
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140006615
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400066d1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006684
sub eax, 1
je 0x140006684
cmp eax, 2
jne 0x1400066cc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400066d1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400066b2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400066cc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400066d1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001aa50
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140006bb0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140027040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006c83
cmp byte [rcx + 0x71], 0
je 0x140006c83
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140006c7f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006c44
sub eax, 1
je 0x140006c48
cmp eax, 2
jne 0x140006c7f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001aa50
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006c76
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140006c7f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140006c2c
xor al, al
jmp 0x140006c2c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001aa50
add rsp, 0x60
pop rbx
ret

Function at 0x140016d20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140027040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
xor esi, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140016d82
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x140016d90
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140016dc5
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x140016db6
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140016d90
jmp 0x140016dba
mov esi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14001aa50
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140019fe8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14001a022
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14001a027
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14001a070
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14001e690]
cmp byte [rcx + rax], 0
je 0x14001a070
dec r8
sub rdx, 1
jne 0x14001a056
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14001b734
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001b77e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001b77e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001b77e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001b77e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001b77e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001b780
xor al, al
add rsp, 0x28
ret
Function at 0x180006df0
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
mov rax, qword gs:[0x60]
mov rbp, rdx
mov r14, rcx
mov rsi, qword [rax + 0x18]
add rsi, 0x10
mov rdi, qword [rsi]
cmp rdi, rsi
je 0x180006e96
movzx ebx, word [rdi + 0x58]
xor eax, eax
shr rbx, 1
je 0x180006e85
mov r10, qword [rdi + 0x60]
nop dword [rax]
nop dword [rax + rax]
movzx edx, word [r10]
movsx r11d, byte [rax + rbp]
movzx r9d, r11w
lea ecx, [rdx - 0x61]
cmp cx, 0x19
lea r8d, [rdx - 0x20]
lea ecx, [r9 - 0x61]
cmova r8w, dx
cmp cx, 0x19
lea edx, [r9 - 0x20]
cmova dx, r11w
cmp r8w, dx
jne 0x180006e8e
test r11b, r11b
je 0x180006e8e
inc rax
add r10, 2
cmp rax, rbx
jb 0x180006e40
mov rax, qword [rdi + 0x30]
mov qword [r14], rax
jmp 0x180006e9d
mov rdi, qword [rdi]
cmp rdi, rsi
jne 0x180006e25
mov qword [r14], 0
mov rbx, qword [rsp + 0x10]
mov rax, r14
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x18000b360
Capabilities:
Parse pe header

Disassembly:
push rbx
push r13
sub rsp, 0x18
mov r11, qword [rcx]
xor r9d, r9d
mov r13, r8
mov rbx, rdx
test r11, r11
je 0x18000b499
mov qword [rsp + 0x30], rbp
mov eax, 0x5a4d
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x10], r12
mov qword [rsp + 8], r14
mov qword [rsp], r15
cmp word [r11], ax
jne 0x18000b46e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
cmp dword [rax], 0x4550
cmovne rax, r9
test rax, rax
je 0x18000b46e
add rax, 0x18
mov ecx, 0x20b
cmp word [rax], cx
jne 0x18000b46e
test rax, rax
je 0x18000b46e
cmp dword [rax + 0x6c], r9d
jbe 0x18000b46e
lea r14, [rax + 0x70]
test r14, r14
je 0x18000b46e
mov r15d, dword [r14]
mov r10d, r9d
mov edi, dword [r11 + r15 + 0x18]
lea rsi, [r11 + r15]
test edi, edi
je 0x18000b46e
mov r12d, dword [rsi + 0x20]
nop dword [rax]
mov ebp, r10d
mov r8, r13
lea rax, [r12 + rbp*4]
mov eax, dword [rax + r11]
add rax, r11
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18000b437
inc rax
test ecx, ecx
jne 0x18000b424
test edx, edx
je 0x18000b445
inc r10d
cmp r10d, edi
jb 0x18000b410
jmp 0x18000b46e
mov ecx, dword [rsi + 0x24]
add rcx, r11
movzx edx, word [rcx + rbp*2]
mov ecx, dword [rsi + 0x1c]
add rcx, r11
mov r8d, dword [rcx + rdx*4]
cmp r8d, r15d
jb 0x18000b46a
mov eax, r8d
sub eax, r15d
cmp eax, dword [r14 + 4]
jb 0x18000b46e
lea r9, [r11 + r8]
mov qword [rbx], r9
mov rax, rbx
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
add rsp, 0x18
pop r13
pop rbx
ret
mov qword [rdx], r9
mov rax, rbx
add rsp, 0x18
pop r13
pop rbx
ret

Function at 0x18000ba40
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rcx]
mov rbx, rdx
xor edx, edx
mov rdi, rcx
test r9, r9
je 0x18000bae6
mov eax, 0x5a4d
cmp word [r9], ax
jne 0x18000bac0
movsxd r8, dword [r9 + 0x3c]
add r8, r9
cmp dword [r8], 0x4550
cmovne r8, rdx
test r8, r8
je 0x18000bac0
movzx ecx, word [r8 + 0x14]
movzx eax, word [r8 + 6]
add rcx, 0x18
add rcx, r8
lea rax, [rax + rax*4]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x18000bac0
nop
test dword [rcx + 0x24], 0x40000000
je 0x18000bab7
cmp dword [rcx], 0x7461642e
jne 0x18000bab7
cmp byte [rcx + 4], 0x61
je 0x18000bada
add rcx, 0x28
cmp rcx, r8
jne 0x18000baa0
mov qword [rbx + 8], rdx
mov r8, rdx
mov eax, 8
mov qword [rbx], r8
mov rcx, rbx
mov r9, rbx
add rcx, rax
jmp 0x18000baed
mov r8d, dword [rcx + 0xc]
mov edx, dword [rcx + 8]
add r8, r9
jmp 0x18000bac7
mov qword [rbx], rdx
lea rcx, [rbx + 8]
mov qword [rcx], rdx
lea rdx, [rbx + 0x10]
mov rcx, rdi
call fcn.18000bb20
mov rax, qword [rdi]
mov qword [rbx + 0x20], rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18000bb20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r10, qword [rcx]
xor r8d, r8d
test r10, r10
je 0x18000bbaa
mov eax, 0x5a4d
cmp word [r10], ax
jne 0x18000bb93
movsxd rcx, dword [r10 + 0x3c]
add rcx, r10
cmp dword [rcx], 0x4550
cmovne rcx, r8
test rcx, rcx
je 0x18000bb93
movzx eax, word [rcx + 0x14]
add rax, 0x18
add rax, rcx
movzx ecx, word [rcx + 6]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8]
cmp rax, r9
je 0x18000bb93
test dword [rax + 0x24], 0x40000000
je 0x18000bb81
cmp dword [rax], 0x6164722e
jne 0x18000bb81
cmp word [rax + 4], 0x6174
je 0x18000bb87
add rax, 0x28
jmp 0x18000bb63
mov ecx, dword [rax + 0xc]
mov r8d, dword [rax + 8]
add rcx, r10
jmp 0x18000bb9a
mov qword [rdx + 8], r8
mov rcx, r8
mov eax, 8
mov qword [rdx], rcx
mov qword [rax + rdx], r8
mov rax, rdx
ret
mov qword [rdx], r8
mov rax, rdx
mov qword [rdx + 8], r8
ret
Function at 0x140007bb0
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov byte [rsp], 0
mov eax, 1
imul rax, rax, 0
movzx ecx, byte [rsp + 0x30]
mov byte [rsp + rax + 8], cl
mov dword [rsp + 4], 1
jmp 0x140007bec
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 4
jge 0x140007c39
mov eax, dword [rsp + 4]
dec eax
cdqe
movzx eax, byte [rsp + rax + 8]
shl eax, 1
movsxd rcx, dword [rsp + 4]
mov byte [rsp + rcx + 8], al
mov eax, dword [rsp + 4]
dec eax
cdqe
movzx eax, byte [rsp + rax + 8]
and eax, 0x80
test eax, eax
je 0x140007c37
movsxd rax, dword [rsp + 4]
movzx eax, byte [rsp + rax + 8]
xor eax, 0x1b
movsxd rcx, dword [rsp + 4]
mov byte [rsp + rcx + 8], al
jmp 0x140007be2
mov dword [rsp + 4], 0
jmp 0x140007c4d
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 4
jge 0x140007c7d
movzx eax, byte [rsp + 0x28]
mov ecx, dword [rsp + 4]
sar eax, cl
and eax, 1
test eax, eax
je 0x140007c7b
movsxd rax, dword [rsp + 4]
movzx eax, byte [rsp + rax + 8]
movzx ecx, byte [rsp]
xor ecx, eax
mov eax, ecx
mov byte [rsp], al
jmp 0x140007c43
movzx eax, byte [rsp]
add rsp, 0x18
ret

Function at 0x14000e290
Capabilities:
Execute anti-debugging instructions
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1468
call fcn.1401390a0
sub rsp, rax
mov qword [rsp + 0x4e0], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x1450], rax
lea rcx, [0x1401b3d48]
jmp 0x140236649
Function at 0x1400140f0
Capabilities:
Authenticate hmac

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp dword [rsp + 0xa0], 0x40
jne 0x140014138
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x24], 0x40
jmp 0x1400141ec
cmp dword [rsp + 0xa0], 0x40
jbe 0x14001416f
mov dword [rsp + 0x24], 0x20
lea r8, [rsp + 0x48]
mov edx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
call fcn.140017530
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
jmp 0x140014187
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x24], eax
mov eax, 0x40
sub eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x90]
lea rcx, [rdx + rcx + 0x2a0]
mov rdi, rcx
mov eax, gethostname
mov rcx, qword [rsp + 0x38]
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x90]
lea rcx, [rdx + rcx + 0x2e0]
mov rdi, rcx
mov eax, 0x5c
mov rcx, qword [rsp + 0x40]
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
jmp 0x140014200
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jge 0x140014256
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
xor eax, 0x36
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x90]
mov byte [rdx + rcx + 0x2a0], al
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
xor eax, 0x5c
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x90]
mov byte [rdx + rcx + 0x2e0], al
jmp 0x1400141f6
mov rax, qword [rsp + 0x90]
mov rcx, rax
call fcn.1400175b0
mov rax, qword [rsp + 0x90]
add rax, 0x2a0
mov rcx, qword [rsp + 0x90]
mov r8d, 0x40
mov rdx, rax
call fcn.140017610
mov rax, qword [rsp + 0x90]
add rax, 0xa8
mov rcx, rax
call fcn.1400175b0
mov rax, qword [rsp + 0x90]
add rax, 0x2e0
mov rcx, qword [rsp + 0x90]
add rcx, 0xa8
mov r8d, 0x40
mov rdx, rax
call fcn.140017610
mov rax, qword [rsp + 0x90]
lea rdi, [rax + 0x150]
mov rsi, qword [rsp + 0x90]
mov ecx, 0xa8
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x90]
lea rdi, [rax + 0x1f8]
lea rsi, [rcx + 0xa8]
mov ecx, 0xa8
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140138320
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400145e0
Capabilities:
Get common file path
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp qword [rsp + 0x280], 0
jne 0x140014610
xor al, al
jmp 0x1400146ba
mov rax, qword [rsp + 0x280]
mov dword [rax], 0
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140014639
xor al, al
jmp 0x1400146ba
lea rdx, [0x1401b3c7c]
lea rcx, [rsp + 0x50]
call fcn.1400144b0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140014662
xor eax, eax
mov rcx, qword [rsp + 0x40]
mov word [rcx + 2], ax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x1400146aa
xor al, al
jmp 0x1400146ba
mov rax, qword [rsp + 0x280]
mov ecx, dword [rsp + 0x48]
mov dword [rax], ecx
mov al, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140138320
add rsp, 0x278
ret

Function at 0x1400146e0
Capabilities:
Get user security identifier

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor r8d, r8d
mov edx, 0x80
lea rcx, [rsp + 0x68]
call fcn.140015480
nop
mov dword [rsp + 0x58], Ordinal_133
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x5c], eax
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140015300
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xa0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x140014820
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140014820
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x5c], eax
jbe 0x1400147bd
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x68]
call fcn.140010220
movzx eax, byte [rsp + 0x40]
jmp 0x140014851
cmp dword [rsp + 0x58], 0x80
jbe 0x1400147da
mov eax, dword [rsp + 0x58]
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140015290
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140015300
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xa0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140014831
mov dword [rsp + 0x48], 1
jmp 0x140014839
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x41], al
lea rcx, [rsp + 0x68]
call fcn.140010220
movzx eax, byte [rsp + 0x41]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140138320
add rsp, 0x98
ret
Function at 0x140014920
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov dword [rsp + 0x60], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x1400149de
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r8d, 0x44
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.1400146e0
movzx eax, al
test eax, eax
je 0x1400149de
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140014870
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x100]
call fcn.140015370
nop
lea rcx, [rsp + 0x40]
call fcn.140010220
mov rax, qword [rsp + 0x108]
mov dword [rax], 0
mov rcx, qword [rsp + 0x108]
call fcn.1400145e0
movzx eax, al
test eax, eax
jne 0x140014a0e
mov rax, qword [rsp + 0x108]
mov dword [rax], 0
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140138320
add rsp, 0xf0
pop rdi
ret
Function at 0x1400175b0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0
jmp 0x1400175ca
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 8
jge 0x1400175f1
movsxd rax, dword [rsp]
lea rcx, [0x140213340]
movsxd rdx, dword [rsp]
mov r8, qword [rsp + 0x20]
mov eax, dword [rcx + rax*4]
mov dword [r8 + rdx*4 + 0x88], eax
jmp 0x1400175c2
mov rax, qword [rsp + 0x20]
mov dword [rax + 4], 0
mov rax, qword [rsp + 0x20]
mov dword [rax], 0
add rsp, 0x18
ret

Function at 0x140018680
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
test eax, eax
jne 0x1400186a2
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400186f0
mov eax, dword [rsp + 0x30]
jmp 0x140018700
cmp dword [rsp + 0x38], 4
je 0x1400186fe
mov eax, reloc.WS2_32.dll_listen
jmp 0x140018700
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140138320
add rsp, 0x58
ret

Function at 0x140018720
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
test eax, eax
jne 0x140018747
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14001878d
mov eax, dword [rsp + 0x30]
jmp 0x14001879d
cmp dword [rsp + 0x34], 3
je 0x14001879b
mov eax, reloc.WS2_32.dll_listen
jmp 0x14001879d
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140138320
add rsp, 0x48
ret