joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a797c
Capabilities:
Terminate process

Disassembly:
jmp 0x140139840
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 0x14013986e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400a8151
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 0x1400a81a6
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401af750
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 0x1400a825a
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140138800
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140138150
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140138849
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 [0x1402fc020]
jmp 0x140138858
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x1400a82ff
Capabilities:
Set environment variable

Disassembly:
jmp 0x1401e5a00
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1400a63ec
lea rcx, [rsp + 0x48]
call fcn.1400a63ec
call fcn.1400a6c70
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1400a61e4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401e5a6f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400a6702
lea rcx, [rsp + 0x78]
call fcn.1400a6702
mov eax, dword [rsp + 0x24]
jmp 0x1401e5b00
call fcn.1400a6c70
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400a61e4
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1401e5ab6
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400a6702
lea rcx, [rsp + 0x78]
call fcn.1400a6702
mov eax, dword [rsp + 0x2c]
jmp 0x1401e5b00
lea rcx, [rsp + 0x48]
call fcn.1400a635b
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.1400a635b
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.1400a6702
lea rcx, [rsp + 0x78]
call fcn.1400a6702
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x1401b6b50
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.1400a599c
sub rsp, rax
mov rax, qword [0x1402e8178]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1402eb310]
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 0x1401b6d42
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 0x1401b6c96
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1401b6c96
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 0x1401b6c7b
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 0x1401b6c18
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 0x1401b6d02
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 0x1401b6d61
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 0x1401b6d3d
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 0x1401b6d61
jmp 0x1401b6bee
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.1400a69dc
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1401b6e10
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.1400a599c
sub rsp, rax
mov rax, qword [0x1402e8178]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1402eb310]
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 0x1401b701d
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 0x1401b6f69
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1401b6f69
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 0x1401b6f49
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 0x1401b6ed8
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 0x1401b6fdd
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 0x1401b703c
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 0x1401b7018
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 0x1401b703c
jmp 0x1401b6eae
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.1400a69dc
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1400011e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13f0
call fcn.140003bd0
sub rsp, rax
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], 0xf
lea ecx, [rdi + 0x20]
call fcn.140002da0
mov rsi, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x1a
mov qword [rsp + 0x48], 0x1f
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZ]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140004478]
movsd qword [rax + 0x10], xmm0
movzx eax, word [0x140004480]
mov word [rsi + 0x18], ax
mov byte [rsi + 0x1a], dil
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
mov edi, 1
mov dword [rsp + 0x20], edi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
nop word [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edi
mov dword [rsp + rdi*4 + 0x54], ecx
inc rdi
cmp rdi, 0x270
jb 0x1400012b0
mov dword [rsp + 0x50], 0x270
mov edi, 3
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.140002bb0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x14000130a
lea rcx, [rsp + 0x50]
call fcn.140002bb0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x1400012f5
shr rax, 0x20
movsxd rcx, eax
movzx r9d, byte [rcx + rsi]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140001342
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140001337
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000134a
mov rcx, rbx
call fcn.140002340
sub rdi, 1
jne 0x1400012e0
lea edx, [rdi + 0x20]
mov rcx, rsi
call fcn.140002de4
mov rax, rbx
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.140002d80
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140002bb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140002c11
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140002bd0
mov ecx, dword [r10]
jmp 0x140002cfa
cmp ecx, 0x4e0
jb 0x140002cfa
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140002c30
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140002c80
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140003714
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000375e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000375e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000375e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000375e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000375e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003760
xor al, al
add rsp, 0x28
ret
Function at 0x140002a10
Capabilities:
Query or enumerate registry value

Disassembly:
movzx eax, byte [section.jkl.bss]
test al, al
jne 0x140002a21
mov eax, 0xffffffff
ret
jmp 0x1400078d0
push rbx
push rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov rbx, rcx
mov qword [rcx], rsi
lea rcx, [0x1400724e0]
mov qword [rsp + 0x68], rsi
call fcn.140008e10
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14000c130
mov rdx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400079d0
lea rcx, [0x140072530]
mov dword [rsp + 0x58], 4
call fcn.140008c70
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x58]
mov rdi, rax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov rdx, rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400079bd
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x1400079bd
lea edx, [rsi + 1]
call fcn.14003853c
lea rcx, [rsp + 0x50]
mov qword [rbx], rax
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1400079bd
mov rcx, qword [rbx]
call fcn.140038520
lea eax, [rsi - 1]
mov qword [rbx], rsi
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.140038520
mov rcx, qword [rsp + 0x68]
call fcn.140038520
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x140002c20
Capabilities:
Check mutex on windows

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x140002c37
lea eax, [rcx + 2]
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x140054008]
test rax, rax
jne 0x140002c57
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x140054008], rax
mov rax, qword [0x140054008]
test rax, rax
je 0x140002e16
mov rcx, qword [0x140054008]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140002e16
movzx eax, byte [0x140071080]
test al, al
je 0x140002ca4
mov rcx, qword [0x140054008]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, WSACleanup
add rsp, 0x20
pop rdi
ret
mov rax, qword [rdi + 0x40]
mov qword [rsp + 0x30], rbx
xor ebx, ebx
test rax, rax
jne 0x140002cbc
lea ebx, [rax + 0x64]
jmp 0x140002dfc
mov rdx, qword [rdi + 0x38]
mov rcx, rbx
test rdx, rdx
je 0x140002cde
cmp qword [rax], rbx
je 0x140002ce8
inc rcx
add rax, 8
cmp rcx, rdx
jb 0x140002cc8
test rdx, rdx
jne 0x140002cf2
mov ebx, 0x66
jmp 0x140002dfc
mov ebx, 0x65
jmp 0x140002dfc
cmp dword [rdi + 0x6c], 0x3e8
jae 0x140002d05
mov ebx, 0x67
jmp 0x140002dfc
movzx eax, byte [0x140054001]
test al, al
jne 0x140002d23
cmp dword [rdi + 0x58], 0xe10
jae 0x140002d23
mov ebx, 0x68
jmp 0x140002dfc
movzx eax, byte [0x140054001]
test al, al
jne 0x140002d41
cmp dword [rdi + 0x5c], 0xe10
jae 0x140002d41
mov ebx, 0x69
jmp 0x140002dfc
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x140002df7
mov rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp byte [rdx + rcx], bl
jne 0x140002d58
test rcx, rcx
je 0x140002df7
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x140002df0
mov rcx, rax
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], bl
jne 0x140002d80
test rcx, rcx
je 0x140002df0
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140002de9
inc rax
cmp byte [rcx + rax], bl
jne 0x140002d96
test rax, rax
je 0x140002de9
cmp qword [rdi + 0x48], rbx
jne 0x140002db0
mov ebx, WSAStartup
jmp 0x140002dfc
mov rcx, rdi
call fcn.1400010b0
call fcn.1400057a0
call fcn.14000b800
mov r8d, eax
mov eax, 0x1b4e81b5
mul r8d
shr edx, 6
imul ecx, edx, 0x258
sub r8d, ecx
mov dword [0x140054004], r8d
mov byte [section.jkl.bss], 1
jmp 0x140002dfc
mov ebx, 0x82
jmp 0x140002dfc
mov ebx, 0x6b
jmp 0x140002dfc
mov ebx, 0x6a
mov rcx, qword [0x140054008]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, reloc.OLEAUT32.dll_SafeArrayDestroy
add rsp, 0x20
pop rdi
ret
Function at 0x140006e40
Capabilities:
Set registry value

Disassembly:
movzx ecx, byte [0x1400710a4]
jmp 0x14000d9d0
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x30
movzx ebp, cl
lea rcx, [0x140072ad8]
call fcn.14001e310
mov rbx, rax
test rax, rax
jne 0x14000d9fc
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
mov qword [rsp + 0x40], rsi
xor sil, sil
mov qword [rsp + 0x50], rdi
call fcn.140009460
mov rdi, rax
test rax, rax
je 0x14000da54
xor ecx, ecx
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x48]
test bpl, bpl
mov r9d, 4
mov qword [rsp + 0x20], rax
setne cl
mov rdx, rdi
mov dword [rsp + 0x48], ecx
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call fcn.140038520
mov sil, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x50]
movzx eax, sil
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret

Function at 0x140006ec0
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [reloc.OLEAUT32.dll_SysReAllocString]
jmp 0x14000da80
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov esi, ecx
lea rcx, [0x140072b08]
call fcn.14001e310
mov rdi, rax
test rax, rax
je 0x14000db00
call fcn.140009460
mov rbx, rax
test rax, rax
je 0x14000db00
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x48], esi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call fcn.140038520
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor al, al
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140008c70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
mov word [rsp + 0x39], 0x1b09
mov byte [rsp + 0x38], recvfrom
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140008ca0
movsxd rbx, eax
mov r14d, 1
mov edx, r14d
mov rsi, rbx
lea rcx, [rbx + 1]
call fcn.14003853c
mov r9, rax
test rax, rax
je 0x140008dfa
dec rbx
test rsi, rsi
je 0x140008d20
lea r10, [rax + rbx]
sub rdi, r9
movabs r11, 0xaaaaaaaaaaaaaaab
nop word [rax + rax]
mov rcx, rbx
lea r10, [r10 - 1]
mov r8, rbx
mov rax, r11
mul rbx
dec rbx
shr rdx, 1
lea rax, [rdx + rdx*2]
sub rcx, rax
movzx eax, byte [rsp + rcx + 0x38]
xor al, byte [rdi + r10 + 1]
mov byte [r10 + 1], al
test r8, r8
jne 0x140008cf0
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x140008d30
test rax, rax
je 0x140008df7
sub r14, r9
mov r8, r9
neg r8
mov rdx, r9
nop
cmp byte [rdx], 0x5c
jne 0x140008dd3
movzx ecx, byte [rdx + 1]
lea eax, [rcx - 0x6e]
test al, 0xf9
jne 0x140008dd3
cmp cl, 0x70
je 0x140008dd3
lea rax, [r8 + rdx]
test rax, rax
je 0x140008dd3
cmp byte [rdx - 1], 0x5c
je 0x140008dd3
cmp cl, 0x6e
jne 0x140008d7e
mov byte [rdx], 0xa
jmp 0x140008d90
cmp cl, 0x74
jne 0x140008d88
mov byte [rdx], 9
jmp 0x140008d90
cmp cl, 0x72
jne 0x140008d90
mov byte [rdx], SafeArrayDestroy
lea rcx, [r14 + rdx]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x140008da0
cmp rcx, rax
jae 0x140008dd3
nop
movzx eax, byte [rcx + r9 + 1]
mov byte [rcx + r9], al
inc rcx
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r9 + rax], 0
jne 0x140008dc4
cmp rcx, rax
jb 0x140008db0
inc rdx
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r9 + rcx], 0
jne 0x140008de0
lea rax, [r8 + rdx]
cmp rax, rcx
jb 0x140008d50
mov rax, r9
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140009c70
Capabilities:
Get hostname

Disassembly:
sub rsp, 0x28
xor edx, edx
mov dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140009ce3
mov ecx, eax
mov qword [rsp + 0x20], rbx
add rcx, rcx
call fcn.140038534
mov rbx, rax
test rax, rax
je 0x140009ccc
lea r8, [rsp + 0x30]
mov rdx, rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x140009cd6
mov rcx, rbx
call fcn.140038520
xor eax, eax
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
mov rax, rbx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000b800
Capabilities:
Check mutex on windows

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140054010]
test rax, rax
jne 0x14000b847
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x140054010], rax
mov dword [0x14005401c], 0
test rax, rax
jne 0x14000b847
mov dword [0x14005401c], 1
mov eax, 1
add rsp, 0x28
ret
mov edx, 0x3e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b86c
mov eax, dword [0x14005401c]
inc eax
mov dword [0x14005401c], eax
add rsp, 0x28
ret
lea rcx, [0x140054018]
mov qword [rsp + 0x20], rbx
call fcn.1400411a0
mov rcx, qword [0x140054010]
mov ebx, dword [0x140054018]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, ebx
mov eax, 0x20005
mul ebx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0xe
imul ecx, ecx, 0x7fff
sub ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret