joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004400
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14001f010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rsp + 0x40]
call fcn.14000cf90
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140004456
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14000c190
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x14000457b
mov byte [rsp + 0x38], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000457b
mov byte [rsp + 0x39], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x39]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000457b
mov byte [rsp + 0x3a], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x3a]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000457b
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140004541
mov rbx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000457b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
jmp 0x14000457d
xor bl, bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400045bd
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400045b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001186c
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140011810
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x14000b3a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14001f010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000b3cd
xor eax, eax
jmp 0x14000b539
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000b407
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000b407
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 0x14000b539
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000b52c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000b44a
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 0x14000b475
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 0x14000b531
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 0x14000b4e4
sub eax, 1
je 0x14000b4e4
cmp eax, 2
jne 0x14000b52c
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 0x14000b531
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000b512
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 0x14000b52c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000b531
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140011810
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000bac0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14001f010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000bb93
cmp byte [rcx + 0x71], 0
je 0x14000bb93
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000bb8f
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 0x14000bb54
sub eax, 1
je 0x14000bb58
cmp eax, 2
jne 0x14000bb8f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140011810
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000bb86
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 0x14000bb8f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000bb3c
xor al, al
jmp 0x14000bb3c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140011810
add rsp, 0x60
pop rbx
ret
Function at 0x14000e240
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x50
mov rax, qword [0x14001f010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
lea r9, [rsp + 0x20]
xor r8d, r8d
mov dword [rsp + 0x20], ebp
xor edx, edx
mov edi, ebp
lea ecx, [rbp + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14000e2c9
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14000e280
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
test eax, eax
js 0x14000e3a1
mov ebx, ebp
cmp dword [rdi], ebx
jbe 0x14000e3a1
nop word [rax + rax]
mov eax, ebx
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rdi + 0x2e]
lea rsi, [rcx + rdi]
add rdx, 0x30
mov qword [rsp + 0x38], rbp
add rdx, rcx
mov qword [rsp + 0x40], rbp
add rdx, rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], bpl
jne 0x14000e325
lea rcx, [rsp + 0x28]
call fcn.14000cf90
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
lea rdx, str.ntoskrnl.exe
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000e3d6
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000e397
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e392
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e41f
call fcn.14001186c
inc ebx
cmp ebx, dword [rdi]
jb 0x14000e2f0
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140011810
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov rbx, qword [rsi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000e42b
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e426
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e426
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001186c
mov rax, rbx
jmp 0x14000e3b4
Function at 0x140010b08
Capabilities:
Get geographical location

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

Function at 0x14001129c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140010c1c
mov ebx, eax
test eax, eax
jne 0x1400112cc
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x14001132f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140011326
test al, 0x10
je 0x140011326
bt eax, 0xa
jae 0x14001131f
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140011340
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x14001131b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14001131b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
test edi, edi
jne 0x140011326
and dword [rsp + 0x3c], 0
jmp 0x14001132b
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140012554
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001259e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001259e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001259e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001259e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001259e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400125a0
xor al, al
add rsp, 0x28
ret
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
adc eax, 0x90cf8768
xor byte [rdi], bl
out 0x40, al
and al, 0x2e
movabs eax, dword [0x26c8016d5c82e2b9]
mov eax, 0xc33909e4
or dword [rcx], edi
ret
xchg edi, eax
sub cl, bh
mov ch, 0xad
test dword [rbx - 0x35], edx
invalid
ret
mov edx, 0x73b1df22
and edi, ecx
jle 0x14003f6ab
wait
or byte [rbx], cl
test esp, edx
mov ah, 0xc5
xchg ebp, ebp
insb byte [rdi], dx
cmp ah, byte [rbx - 7]
push rcx
mov byte [rcx], ah
mov es, word [rbx + 0xd9fdd69]
imul ebx, ebp, 0x8a200d9f
lahf
or eax, 0xabbe8a20
outsd dx, dword [rsi]
mov cl, 0x91
lahf
or eax, 0xabbe8a20
outsd dx, dword [rsi]
mov cl, 0x91
outsd dx, dword [rsi]
xchg edi, esi
jg 0x14003f720
jae 0x14003f6ab
stc
jno 0x14003f6bb
invalid
loopne 0x14003f732
push rsi
fstp st(1)
invalid
jns 0x14003f719
adc ecx, dword [rbx]
invalid
sbb r14b, byte [r9 - 0x3450c48b]
rol ebp, 0x84
jmp 0x104f4fd63
mov eax, 0x84d3a7be
movsd dword [rdi], dword [rsi]
adc dword [rax + 0x74], esi
adc edx, dword [rcx + rdx + 0x6f]
push rsp
invalid
outsd dx, dword [rsi]
outsd dx, dword [rsi]
push 0x25
sar edi, cl
sbb byte [rdx], dl
add dword [rbp - 0x7bb4f5ca], esi
invalid
test ah, dl
ret 0xd25f
invalid

Function at 0x14000727c
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x140007342
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007306
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007303
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x140020640]
mov rdx, rsi
call fcn.1400123b8
jmp 0x140007306
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400072d3
mov rdx, qword [0x14001f118]
lea rcx, [0x140020640]
mov rdi, rdx
inc rdx
mov qword [0x14001f118], rdx
lea edx, [rbx + 0x20]
call fcn.140012400
lea rcx, [0x140021210]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x1400021a0
Capabilities:
Enumerate processes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x160
mov rdi, rcx
mov rax, qword [0x140056008]
xor rax, rsp
mov qword [rsp + 0x158], rax
call fcn.140001520
call fcn.140001350
xor ebx, ebx
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x14000225b
mov rsi, rax
mov dword [rsp + 0x28], 0x130
lea rdx, [rsp + 0x28]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140002240
call fcn.140001520
call fcn.140001350
lea rbx, [rsp + 0x54]
mov r15, qword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea r14, [rsp + 0x28]
nop dword [rax + rax]
mov rcx, rdi
mov rdx, rbx
call r15
test eax, eax
je 0x140002244
mov rcx, rsi
mov rdx, r14
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140002220
xor ebx, ebx
jmp 0x140002248
xor ebx, ebx
jmp 0x140002252
mov ebx, dword [rsp + 0x30]
call fcn.140001520
call fcn.140001350
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140002b00
mov eax, ebx
add rsp, 0x160
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140002280
Capabilities:
Create process on windows

Disassembly:
push rsi
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov rsi, rcx
mov rax, qword [0x140056008]
xor rax, rsp
mov qword [rsp + 0xd8], rax
call fcn.140001350
xorps xmm6, xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0xd0], 0
movaps xmmword [rsp + 0x50], xmm6
mov qword [rsp + 0x60], 0
mov word [rsp + 0xb0], 0
call fcn.140001520
call fcn.140001350
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140002360
call fcn.140001520
mov rcx, qword [rsp + 0x50]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0x58]
call rsi
call fcn.140001350
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140002b00
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rsi
ret
Function at 0x1400025b0
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140056008]
xor rax, rsp
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov edx, 8
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140002614
mov rdi, rax
mov rcx, rax
mov rdx, r14
mov r8, rsi
call fcn.14000f500
test rsi, rsi
je 0x1400026ab
cmp rsi, 8
jae 0x14000261b
xor eax, eax
jmp 0x1400026a0
xor esi, esi
jmp 0x140002725
cmp rsi, 0x20
jae 0x140002625
xor eax, eax
jmp 0x140002672
mov rax, rsi
and rax, 0xffffffffffffffe0
xor ecx, ecx
pcmpeqd xmm0, xmm0
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdi + rcx]
movdqu xmm2, xmmword [rdi + rcx + 0x10]
pxor xmm1, xmm0
pxor xmm2, xmm0
movdqu xmmword [rdi + rcx], xmm1
movdqu xmmword [rdi + rcx + 0x10], xmm2
add rcx, 0x20
cmp rax, rcx
jne 0x140002640
cmp rax, rsi
je 0x1400026ab
test sil, 0x18
je 0x1400026a0
mov rcx, rax
mov rax, rsi
and rax, 0xfffffffffffffff8
pcmpeqd xmm0, xmm0
movq xmm1, qword [rdi + rcx]
pxor xmm1, xmm0
movq qword [rdi + rcx], xmm1
add rcx, 8
cmp rax, rcx
jne 0x140002680
cmp rax, rsi
je 0x1400026ab
nop dword [rax]
not byte [rdi + rax]
inc rax
cmp rsi, rax
jne 0x1400026a0
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov rcx, rbx
mov edx, 0xc0000000
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rcx, rax
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140002b00
mov eax, esi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140002740
Capabilities:
Check mutex on windows
Get hostname

Disassembly:
push rsi
sub rsp, 0x240
mov rax, qword [0x140056008]
xor rax, rsp
mov qword [rsp + 0x238], rax
mov dword [rsp + 0x2c], 0x104
lea rsi, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rsi
xor edx, edx
call fcn.14000fba0
lea rdx, [rsp + 0x2c]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor ecx, ecx
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0xb7
setne sil
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140002b00
mov eax, esi
add rsp, 0x240
pop rsi
ret
Function at 0x1400027c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
xor r15d, r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140002869
mov rsi, rax
call fcn.140001520
xor r15d, r15d
xor ecx, ecx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
xor ecx, ecx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
call fcn.140001350
test rbx, rbx
je 0x140002869
call fcn.140001350
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x14000284c
mov r15, rax
call fcn.140001520
add r14d, 0xfffffc00
mov rcx, rdi
mov rdx, r15
mov r8, r14
call fcn.1400025b0
test eax, eax
je 0x14000284c
call fcn.140001350
call fcn.140001520
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15d, 1
mov eax, r15d
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400064b0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbp, r9
mov r8, r9
mov rsi, rdx
mov rbx, rcx
call fcn.140008760
test eax, eax
je 0x140006603
cmp dword [rdi], 0
je 0x140006571
mov eax, dword [rdi + 4]
cmp eax, 0x36001
jne 0x140006510
call fcn.14000bca0
test eax, eax
je 0x140006603
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.14000c070
jmp 0x140006556
cmp eax, 0x36002
jne 0x140006534
call fcn.14000d010
test eax, eax
je 0x140006603
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.14000d5e0
jmp 0x140006556
cmp eax, 0x36003
jne 0x14000655e
call fcn.14000e120
test eax, eax
je 0x140006603
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.14000e330
test eax, eax
je 0x140006603
mov rdx, rdi
mov rcx, rbx
call fcn.140005780
test eax, eax
je 0x140006603
cmp qword [rbx + 0x48], 0
je 0x1400065d6
mov rcx, qword [rbx + 0x350]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, rbx
call fcn.140007620
mov rcx, rbx
call fcn.140007580
cmp dword [rsi + 0x2c], 0
je 0x1400065fc
mov rcx, rbx
call fcn.140003c10
mov eax, 1
jmp 0x140006605
cmp dword [rsi + 0x14], 0
je 0x1400065fc
mov rcx, qword [rbx + 0x350]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
cmp dword [rsi + 0x1c], 0
je 0x1400065fc
mov rcx, rbx
call fcn.140006a10
mov eax, 1
jmp 0x140006605
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret