joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140036450
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
sub rsp, 0x20
test byte [rcx + 0x70], 1
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rcx], rax
mov rbx, rcx
je 0x1400364ce
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140036482
mov rax, qword [rcx + 0x58]
movsxd rcx, dword [rax]
lea rdx, [rdx + rcx*2]
jmp 0x140036494
mov rax, qword [rcx + 0x50]
movsxd rdx, dword [rax]
mov rax, qword [rcx + 0x38]
mov rcx, qword [rax]
lea rdx, [rcx + rdx*2]
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, 0x1000
jb 0x1400364c9
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003655a
mov rcx, r8
call fcn.14000500c
mov rax, qword [rbx + 0x18]
xor ecx, ecx
mov qword [rax], rcx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
mov rax, qword [rbx + 0x20]
mov qword [rax], rcx
mov rax, qword [rbx + 0x40]
mov qword [rax], rcx
mov rax, qword [rbx + 0x58]
mov dword [rax], ecx
lea rax, vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
and dword [rbx + 0x70], 0xfffffffe
mov qword [rbx], rax
mov qword [rbx + 0x68], rcx
mov rbx, qword [rbx + 0x60]
test rbx, rbx
je 0x140036554
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140036542
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14002d15d.0]
mov rcx, rax
test rax, rax
je 0x140036542
mov rdx, qword [rax]
mov rax, qword [rdx]
mov edx, 1
call qword [case.0x14002d15d.0]
mov edx, 0x10
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14000500c
add rsp, 0x20
pop rbx
ret
call fcn.14000bec4
int3
Function at 0x140004880
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x538
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x528], rax
mov dword [rsp + 0x500], 0
mov dword [rsp + 0x50], 0
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElement
xor edx, edx
lea rcx, [rsp + 0x468]
call fcn.1400a9850
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x480]
call fcn.1400a9850
mov dword [rsp + 0x480], 0x68
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov rdx, qword [rsp + 0x540]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [rsp + 0x558], 0
je 0x1400049fb
cmp qword [rsp + 0x548], 0
je 0x140004941
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x508], rax
jmp 0x14000497c
lea rcx, [rsp + 0x4f0]
call fcn.140001000
mov qword [rsp + 0x510], rax
mov eax, dword [rsp + 0x500]
or eax, 1
mov dword [rsp + 0x500], eax
mov rcx, qword [rsp + 0x510]
call fcn.140050200
mov qword [rsp + 0x508], rax
lea rax, [rsp + 0x468]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x480]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x508]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x500]
and eax, 1
test eax, eax
je 0x1400049f6
and dword [rsp + 0x500], 0xfffffffe
lea rcx, [rsp + 0x4f0]
call fcn.140007060
jmp 0x140004acd
cmp qword [rsp + 0x548], 0
je 0x140004a18
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x518], rax
jmp 0x140004a53
lea rcx, [rsp + 0x4f8]
call fcn.140001000
mov qword [rsp + 0x520], rax
mov eax, dword [rsp + 0x500]
or eax, 2
mov dword [rsp + 0x500], eax
mov rcx, qword [rsp + 0x520]
call fcn.140050200
mov qword [rsp + 0x518], rax
lea rax, [rsp + 0x468]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x480]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x518]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x500]
and eax, 2
test eax, eax
je 0x140004acd
and dword [rsp + 0x500], 0xfffffffd
lea rcx, [rsp + 0x4f8]
call fcn.140007060
mov dword [rsp + 0x460], 0
cmp dword [rsp + 0x550], 0
je 0x140004af5
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x468]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x468]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x470]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x50], 0
je 0x140004b1f
mov eax, 1
jmp 0x140004b21
xor eax, eax
mov rcx, qword [rsp + 0x528]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x538
ret
Function at 0x140004b40
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.140002050
nop
mov r8d, 1
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140006ae0
mov qword [rsp + 0x98], rax
lea rdx, [0x14026773c]
mov rcx, qword [rsp + 0x98]
call fcn.140006dd0
mov byte [rsp + 0x60], al
lea rcx, [rsp + 0x68]
call fcn.140007060
movzx r11d, byte [rsp + 0x60]
test r11d, r11d
je 0x140004c0a
lea rcx, [rsp + 0x50]
call fcn.1400019a0
mov r8d, eax
sub r8d, 1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140006ba0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x50]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x70]
call fcn.140007060
lea rcx, [rsp + 0x20]
call fcn.1400777f0
nop
lea rcx, [rsp + 0x50]
call fcn.140050200
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400778f4
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x20]
call fcn.140077428
cmp dword [rsp + 0x5c], 0
je 0x140004c6a
mov dword [rsp + 0x78], 1
lea rcx, [rsp + 0x20]
call fcn.14007784c
nop
lea rcx, [rsp + 0x50]
call fcn.140007060
mov eax, dword [rsp + 0x78]
jmp 0x140004d6a
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x50]
call fcn.140006920
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0xffffffff
jne 0x140004ca9
mov dword [rsp + 0x7c], 1
lea rcx, [rsp + 0x20]
call fcn.14007784c
nop
lea rcx, [rsp + 0x50]
call fcn.140007060
mov eax, dword [rsp + 0x7c]
jmp 0x140004d6a
mov r8d, dword [rsp + 0x58]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.140006ba0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x50]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x80]
call fcn.140007060
lea rcx, [rsp + 0x50]
call fcn.140050200
mov rcx, rax
call fcn.140004b40
test eax, eax
je 0x140004d43
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [rsp + 0x88], eax
lea rcx, [rsp + 0x20]
call fcn.14007784c
nop
lea rcx, [rsp + 0x50]
call fcn.140007060
mov eax, dword [rsp + 0x88]
jmp 0x140004d6a
mov dword [rsp + 0x8c], 0
lea rcx, [rsp + 0x20]
call fcn.14007784c
nop
lea rcx, [rsp + 0x50]
call fcn.140007060
mov eax, dword [rsp + 0x8c]
add rsp, 0xc8
ret
Function at 0x140004f40
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x60]
call fcn.140002050
nop
mov r8w, VarDateFromDisp
mov dx, 0x2f
lea rcx, [rsp + 0x60]
call fcn.140006280
lea rcx, [rsp + 0x60]
call fcn.1400019a0
mov edx, eax
sub edx, 1
lea rcx, [rsp + 0x60]
call fcn.140006e50
movzx eax, ax
cmp eax, 0x5c
jne 0x140004ff4
lea rcx, [rsp + 0x60]
call fcn.1400019a0
mov r9d, eax
sub r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.1400021f0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x60]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x68]
call fcn.140007060
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14000f510
mov r8d, 0x38
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.1400a9850
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x60]
call fcn.140050200
mov qword [rsp + 0x38], rax
mov eax, 0x410
mov word [rsp + 0x48], ax
lea rcx, [rsp + 0x28]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140005064
cmp dword [rsp + 0x20], 2
je 0x140005064
cmp dword [rsp + 0x20], 3
je 0x140005064
mov dword [rsp + 0x90], 0
jmp 0x14000506f
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x60]
call fcn.140007060
mov eax, dword [rsp + 0x70]
add rsp, 0xa8
ret

Function at 0x140005500
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor eax, eax
test eax, eax
jne 0x14000550e
xor eax, eax
test eax, eax
jne 0x14000550e
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add rsp, 0x28
ret

Function at 0x140005700
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x140005713
xor eax, eax
test eax, eax
jne 0x140005713
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140005767
mov eax, dword [rsp + 0x38]
jmp 0x140005777
cmp dword [rsp + 0x30], 4
je 0x140005775
mov eax, reloc.WS2_32.dll_listen
jmp 0x140005777
xor eax, eax
add rsp, 0x48
ret
Function at 0x140005780
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
xor eax, eax
test eax, eax
jne 0x140005798
xor eax, eax
test eax, eax
jne 0x140005798
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
shl rax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140005800
mov eax, dword [rsp + 0x38]
jmp 0x140005883
cmp dword [rsp + 0x30], 1
je 0x140005815
cmp dword [rsp + 0x30], 2
je 0x140005815
mov eax, reloc.WS2_32.dll_listen
jmp 0x140005883
cmp qword [rsp + 0x60], 0
je 0x140005869
cmp dword [rsp + 0x34], 0
je 0x14000585f
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
test rdx, rdx
jne 0x140005856
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + rcx*2 - 2]
test eax, eax
je 0x14000585d
mov eax, reloc.WS2_32.dll_listen
jmp 0x140005883
jmp 0x140005869
xor ecx, ecx
mov rax, qword [rsp + 0x60]
mov word [rax], cx
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x48
ret
Function at 0x140005890
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
xor eax, eax
test eax, eax
jne 0x1400058a8
xor eax, eax
test eax, eax
jne 0x1400058a8
cmp qword [rsp + 0x60], 0
je 0x1400058d0
mov rax, qword [rsp + 0x68]
cmp dword [rax], 2
jae 0x1400058d0
mov eax, 0x7a
jmp 0x1400059e3
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
shl rax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14000592c
mov eax, dword [rsp + 0x38]
jmp 0x1400059e3
cmp dword [rsp + 0x30], 7
je 0x14000593d
mov eax, reloc.WS2_32.dll_listen
jmp 0x1400059e3
cmp qword [rsp + 0x60], 0
je 0x1400059c9
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
test rdx, rdx
jne 0x1400059c2
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
cmp rax, 1
jb 0x1400059c2
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + rcx*2 - 2]
test eax, eax
jne 0x1400059c2
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
cmp rax, 1
jbe 0x1400059c9
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + rcx*2 - 4]
test eax, eax
je 0x1400059c9
mov eax, reloc.WS2_32.dll_listen
jmp 0x1400059e3
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400059f0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x140005a03
xor eax, eax
test eax, eax
jne 0x140005a03
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x140005a50
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x140005a68
xor eax, eax
test eax, eax
jne 0x140005a68
cmp qword [rsp + 0x60], 0
je 0x140005a86
mov dword [rsp + 0x34], 1
jmp 0x140005a8e
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140005aa4
mov eax, reloc.WS2_32.dll_listen
jmp 0x140005ae6
xor eax, eax
test eax, eax
jne 0x140005a74
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x48
ret

Function at 0x140005af0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor eax, eax
test eax, eax
jne 0x140005b03
xor eax, eax
test eax, eax
jne 0x140005b03
cmp qword [rsp + 0x70], 0
je 0x140005b21
mov dword [rsp + 0x48], 1
jmp 0x140005b29
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x140005b42
mov eax, reloc.WS2_32.dll_listen
jmp 0x140005bc3
xor eax, eax
test eax, eax
jne 0x140005b0f
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x30]
lea rax, [rax + rcx*2]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x40], 1
jne 0x140005b5a
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x58
ret

Function at 0x14000b730
Capabilities:
Capture webcam image

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, dword [rsp + 0x38]
xor r9d, r9d
mov edx, 0x419
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
add rsp, 0x28
ret
Function at 0x14001af60
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x14001af78
xor eax, eax
test eax, eax
jne 0x14001af78
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x14001b130
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor eax, eax
test eax, eax
jne 0x14001b147
xor eax, eax
test eax, eax
jne 0x14001b147
cmp qword [rsp + 0x80], 0
jne 0x14001b16b
lea rax, [rsp + 0x40]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add rsp, 0x58
ret

Function at 0x14001cdf0
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x2c], 0
jmp 0x14001ce26
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x2c], eax
jge 0x14001ce89
movsxd rdx, dword [rsp + 0x2c]
imul rdx, rdx, 0x10
movsxd rcx, dword [rsp + 0x2c]
imul rcx, rcx, 0x10
xor r9d, r9d
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + rdx + 8]
mov rdx, qword [rsp + 0x50]
mov rdx, qword [rdx + rcx]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jg 0x14001ce75
movsxd rax, dword [rsp + 0x28]
jmp 0x14001ce8e
movsxd rcx, dword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
add rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14001ce1b
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x14001cea0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x2c], 0
jmp 0x14001cede
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x2c], eax
jge 0x14001cfdc
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x220], 0
je 0x14001cfdc
movsxd rcx, dword [rsp + 0x2c]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + rcx]
mov qword [rsp + 0x30], rax
movsxd rcx, dword [rsp + 0x2c]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + rcx + 8]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], 0
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x38]
sub eax, ecx
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x220], 0
je 0x14001cf66
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.1400da270
test eax, eax
je 0x14001cf64
jmp 0x14001cf66
jmp 0x14001cf41
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x220], 0
jne 0x14001cf78
xor eax, eax
jmp 0x14001cff3
movsxd rcx, dword [rsp + 0x2c]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + rcx + 8]
mov rdx, qword [rsp + 0x30]
add rdx, rax
movsxd rax, dword [rsp + 0x38]
sub rdx, rax
xor r9d, r9d
mov r8d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jg 0x14001cfbd
xor eax, eax
jmp 0x14001cff3
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x28], eax
movsxd rcx, dword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
add rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14001ced3
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x220], 0
jne 0x14001cfee
xor eax, eax
jmp 0x14001cff3
mov rax, qword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x14002ceb0
Capabilities:
Query service status
Start service

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002cedd
xor al, al
jmp 0x14002cf93
mov r8d, reloc.OLEAUT32.dll_SafeArrayLock
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14002cf32
mov r8d, 4
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14002cf32
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x14002cf93
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14002cf6e
cmp dword [rsp + 0x34], 2
jne 0x14002cf6a
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002cf6c
jmp 0x14002cf6e
jmp 0x14002cf42
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [rsp + 0x34], 4
jne 0x14002cf91
mov al, 1
jmp 0x14002cf93
xor al, al
add rsp, 0x58
ret
Function at 0x14004f950
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov edx, 0x2c0
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004f999
mov eax, dword [rsp + 0x20]
jmp 0x14004fafc
mov dword [rsp + 0x3c], 0x2c0
lea rdx, [rsp + 0x3c]
mov rcx, qword [rsp + 0x28]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14004fa2d
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rsp + 0x28], 0
cmp dword [rsp + 0x38], 0x6f
jne 0x14004fa24
mov edx, dword [rsp + 0x3c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004f9fb
mov eax, dword [rsp + 0x20]
jmp 0x14004fafc
lea rdx, [rsp + 0x3c]
mov rcx, qword [rsp + 0x28]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x14004fa22
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [rsp + 0x20]
jmp 0x14004fafc
jmp 0x14004fa2d
mov eax, dword [rsp + 0x20]
jmp 0x14004fafc
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x28]
add rcx, 0xc
call fcn.14004f6c0
test eax, eax
je 0x14004faa1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x194], 0x10
jbe 0x14004fa61
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetDim
jmp 0x14004fa70
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x194]
mov dword [rsp + 0x40], eax
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
add rdx, 0x198
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
add rcx, rax
call fcn.1400aa500
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004fa37
cmp qword [rsp + 0x30], 0
je 0x14004fac9
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rsp + 0x20], 0
jne 0x14004faf8
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor edx, edx
call fcn.1400a9850
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x58
ret