joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002c9f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
movzx r9d, byte [rdx + 0x38]
cmp r9b, 1
jbe 0x14002ca05
xor eax, eax
xor r8d, r8d
jmp case.0x14002cbe1.6
movzx eax, byte [rdx + 0x3a]
test al, 1
jne 0x14002ca54
movzx r8d, byte [rdx + 0x10]
lea r10d, [r8 - 5]
push rax
sti
Function at 0x14002f210
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rbx, r8
mov r14, rdx
mov rdi, rcx
movzx eax, byte [0x141d43a20]
mov edx, 0x10
xor ecx, ecx
call fcn.14002f460
test rax, rax
je 0x14002f2e4
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14002f2f0]
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14002f2d7
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, qword [rbx]
test rax, rax
je 0x14002f28c
mov rcx, rdi
call rax
cmp qword [rbx + 8], 0
je 0x14002f2b0
cmp qword [rbx + 0x10], 0x11
jb 0x14002f29e
mov rdi, qword [rdi - 8]
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ebx, 1
mov rax, rbx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
ud2
Function at 0x14002fb90
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x478
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x38], 0
mov r8d, 0x200
mov edi, 2
xor esi, esi
mov r14d, 0xffffffff
xor r15d, r15d
cmp r8, 0x201
jae 0x14002fc10
jmp 0x14002fbff
jae 0x14002fcc8
cmp r8, 0x201
jae 0x14002fc10
mov ebx, 0x200
lea r12, [rsp + 0x78]
mov r13, r8
jmp 0x14002fc39
sub r8, r15
mov rax, rsi
sub rax, r15
cmp r8, rax
ja 0x14002fc9d
cmp rsi, r14
mov r15d, 0xffffffff
cmovb r15, rsi
mov qword [rsp + 0x38], r15
mov rbx, r15
mov r12, rdi
mov r13, r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, r12
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebp, eax
test eax, eax
jne 0x14002fc61
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14002fd7a
mov r8d, ebp
cmp r13, r8
jne 0x14002fbf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14002fda5
lea r8, [r13*2]
cmp r13, 0x7fffffff
cmova r8, r14
cmp r8, 0x201
jb 0x14002fbff
jmp 0x14002fc10
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x28]
mov rdx, r15
call fcn.140059920
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
jmp 0x14002fc1e
cmp rbx, r8
jb 0x14002fda5
lea r14, [rsp + 0x58]
mov rcx, r14
mov rdx, r12
call fcn.1400329a0
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax]
mov r8, qword [rax + 8]
mov rcx, r14
call fcn.14002cfc0
mov rax, qword [rsp + 0x50]
cmp byte [rax], 0
jne 0x14002fd16
lea rdx, [0x141d35898]
lea rcx, [rsp + 0x58]
mov r8d, 3
call fcn.14002e0d0
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
mov rdx, rdi
call fcn.140029090
cmp qword [rsp + 0x58], 0
je 0x14002fd4c
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rsi, qword [rsp + 0x28]
test rsi, rsi
je 0x14002fd65
mov r8, qword [rsp + 0x30]
mov rcx, qword [0x141d439e8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
add rsp, 0x478
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 8], rax
movabs rax, 0x8000000000000001
mov qword [rcx], rax
test rsi, rsi
jne 0x14002fd51
jmp 0x14002fd65
ud2
Function at 0x14002fdb0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x448
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 2
mov qword [rsp + 0x40], 0
mov ebx, 0x200
mov edi, 2
xor r13d, r13d
xor r14d, r14d
cmp rbx, 0x201
jae 0x14002fe20
jmp 0x14002fe0f
jae 0x14002fee4
cmp rbx, 0x201
jae 0x14002fe20
mov esi, 0x200
lea r15, [rsp + 0x48]
mov r12, rbx
jmp 0x14002fe52
sub rbx, r14
mov rax, r13
sub rax, r14
cmp rbx, rax
ja 0x14002feb6
mov eax, 0xffffffff
cmp r13, rax
mov r14d, 0xffffffff
cmovb r14, r13
mov qword [rsp + 0x40], r14
mov rsi, r14
mov r15, rdi
mov r12, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, r15
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
test eax, eax
jne 0x14002fe7a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14002ff0f
mov ebx, ebp
cmp r12, rbx
jne 0x14002fe00
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14002ff0d
lea rbx, [r12 + r12]
cmp r12, 0x7fffffff
mov eax, 0xffffffff
cmova rbx, rax
cmp rbx, 0x201
jb 0x14002fe0f
jmp 0x14002fe20
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x30]
mov rdx, r14
mov r8, rbx
call fcn.140059920
mov r13, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
jmp 0x14002fe32
cmp rsi, rbx
jb 0x14002ff0d
lea rdi, [rbx + rbx]
test ebp, ebp
je 0x14002ff3a
movzx eax, byte [0x141d43a20]
xor ecx, ecx
mov rdx, rdi
call fcn.14002f460
mov r14, rax
mov rsi, rbx
test rax, rax
jne 0x14002ff42
ud2
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rcx], rax
test r13, r13
jne 0x14002ff65
jmp 0x14002ff79
xor esi, esi
mov r14d, 2
mov rcx, r14
mov rdx, r15
mov r8, rdi
call fcn.140055470
mov rax, qword [rsp + 0x28]
mov qword [rax], rsi
mov qword [rax + 8], r14
mov qword [rax + 0x10], rbx
test r13, r13
je 0x14002ff79
mov r8, qword [rsp + 0x38]
mov rcx, qword [0x141d439e8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
add rsp, 0x448
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140030450
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0xa0
mov rsi, rcx
movups xmm0, xmmword [0x141d35940]
rol byte [rcx], 1
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
push rdi
ror byte [rdi], 0x11
and al, 0x38
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
invalid
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400304bc
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add dword [rbx + 0x3d602444], ecx
add eax, dword [rcx]
add byte [rax], al
je 0x1400304f0
test eax, eax
js 0x1400304d0
mov rdx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0xa0
add byte [rax], al
pop rsi
ret
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa0
add esp, 0xa0
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x141d359a0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
push rdi
ror byte [rdi], 0x11
test byte [rax + rcx*4], ah
add byte [rax], al
add byte [rax - 0x73], cl
and al, 0x58
lea rdx, [rsp + 0x70]
call fcn.140030a50
mov rcx, rax
call fcn.14002eab0
mov ecx, 7
int 0x29
ud2

Function at 0x140033640
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x40]
xor eax, eax
test rcx, rcx
sete al
lea rdx, [0x141d35880]
cmovne rdx, rcx
add rsp, 0x58
ret

Function at 0x140033a40
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.14002f720
mov rax, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rcx, rax
neg rcx
jo 0x140033aa8
movabs rbx, 0x8000000000000000
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov r8b, 1
call fcn.140031c20
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
cmp rdi, rbx
jne 0x140033ab3
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140033add
test rdi, rdi
je 0x140033b07
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x140033aab
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x140033aab
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, rsi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140033aa8
xor eax, eax
jmp 0x140033aab
Function at 0x14003b270
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov r15, rcx
movzx eax, byte [0x141d43a20]
mov edx, 4
xor ecx, ecx
call fcn.14002f460
test rax, rax
je 0x14003b350
mov rsi, rax
mov eax, dword [r14]
mov dword [rsi], eax
mov r14, qword [r15]
add rdi, rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x48], 0
mov dword [rsp + 0x50], 1
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x38]
call fcn.14003b780
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], 4
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
cmp qword [rsp + 0x58], 0
je 0x14003b31c
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x141d439e8]
xor ebx, ebx
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, rdi
shl rax, 0x20
or rax, 2
test edi, edi
cmovne rbx, rax
mov rax, rbx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
ud2

Function at 0x14003be50
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x20
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
cmp eax, 0xc0000000
jb 0x14003bea7
mov ebx, eax
lea rcx, [rsp + 0x20]
mov edx, 0x20
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14003bf56
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [0x141d43a18]
test rax, rax
je 0x14003bf8a
and eax, 0x4000
xor ecx, ecx
lea rbx, [rsp + 0x70]
or rax, rcx
je 0x14003bef2
lea r8, [0x141d36180]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001ea10
jmp 0x14003bf14
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm1
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
jmp fcn.14001c780
movzx eax, byte [0x141d43a20]
mov edx, 4
xor ecx, ecx
call fcn.14002f460
test rax, rax
je 0x14003bf94
and ebx, 0x7fffffff
mov dword [rax], ebx
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14003bf2a
call fcn.1400580a0
jmp 0x14003becb
ud2
Function at 0x14003f9a0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
test rax, rax
je 0x14003fa99
mov rdi, rax
mov qword [rsp + 0x40], rsi
movsxd r12, dword [rsp + 0x24]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], 0
test r12, r12
je 0x14003fa78
shl r12, 3
mov ebp, 8
xor r13d, r13d
lea rbx, [rsp + 0x48]
lea r14, [rsp + 0x28]
xor esi, esi
jmp 0x14003fa48
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
Function at 0x140043200
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rcx]
mov rbx, qword [rcx + 0x18]
movdqa xmm0, xmmword [rdi]
pmovmskb eax, xmm0
not eax
lea r14, [rdi + 0x10]
mov r15, qword [sym.imp.pdh.dll_PdhRemoveCounter]
jmp 0x14004324b
lea ebp, [rax - 1]
and ebp, eax
tzcnt eax, eax
shl eax, 5
mov rcx, rdi
sub rcx, rax
mov rcx, qword [rcx - 8]
call r15
mov eax, ebp
sub rbx, 1
jb 0x14004327f
test ax, ax
jne 0x140043230
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r14]
pmovmskb eax, xmm0
add rdi, 0xfffffffffffffe00
add r14, 0x10
cmp eax, 0xffff
je 0x140043260
not eax
jmp 0x140043230
mov rcx, qword [rsi + 0x38]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x140043297
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400432b2
mov rcx, qword [rsi + 0x30]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x1400432c6
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsi + 0x30]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x1400432a5
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.pdh.dll_PdhCloseQuery]
Function at 0x1400440a0
Capabilities:
Get memory capacity

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x178
movaps xmmword [rsp + 0x160], xmm6
mov rsi, rcx
mov eax, dword [0x141d43a24]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp dword [rax + 0x70], 1
jne 0x1400440f6
mov eax, dword [0x141d43a24]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rbx, qword [rax + 0x78]
mov r14, qword [rax + 0x80]
jmp 0x140044149
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x90]
mov edx, 0x10
call qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
mov rbx, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov eax, dword [0x141d43a24]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x70], 1
mov qword [rax + 0x80], r14
lea rax, [rbx + 1]
mov ecx, dword [0x141d43a24]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov qword [rcx + 0x78], rax
movzx eax, byte [0x141d43a20]
mov edx, 0x58410
xor ecx, ecx
call fcn.14002f460
test rax, rax
je 0x140044364
mov rdi, rax
add rdi, 0x58000
mov r8d, 0x410
mov rcx, rdi
mov dl, 0xff
call fcn.140055b10
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], 0x3ff
mov qword [rsp + 0xe0], 0x380
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0xf8], r14
mov qword [rsp + 0x90], 0
xorps xmm6, xmm6
movups xmmword [rsp + 0x100], xmm6
movups xmmword [rsp + 0x110], xmm6
mov qword [rsp + 0x98], 8
mov qword [rsp + 0xa0], 0
movabs rax, 0x8000000000000000
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xc0], 0
mov byte [rsp + 0xc8], 0
mov qword [rsp + 0x120], 0
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x140044272
call qword [sym.imp.KERNEL32.dll_GetLastError]
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call qword [sym.imp.KERNEL32.dll_K32GetPerformanceInfo]
test eax, eax
je 0x14004430d
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsp + 0x110], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsp + 0x118], rax
lea rdi, [rsp + 0x90]
mov rcx, rdi
call fcn.14003fec0
mov byte [rsp + 0x20], 1
movabs rax, 0x202020202020101
mov qword [rsp + 0x21], rax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140040a40
mov r8d, 0xd0
mov rcx, rsi
mov rdx, rdi
call fcn.140055470
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rdi
pop rsi
pop r14
ret
ud2
Function at 0x140044370
Capabilities:
Get memory capacity

Disassembly:
push rsi
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rsi, rcx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x1400443b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call qword [sym.imp.KERNEL32.dll_K32GetPerformanceInfo]
test eax, eax
je 0x14004444c
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsi + 0x80], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsi + 0x88], rax
mov rcx, rsi
call fcn.14003fec0
mov byte [rsp + 0x20], 1
movabs rax, 0x202020202020101
mov qword [rsp + 0x21], rax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140040a40
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rsi
ret
Function at 0x140049ff0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x50], 0
lea r12, [rsp + 0x50]
mov qword [rsp + 0x20], r12
lea rcx, [0x141d36520]
lea r9, [0x141d36504]
xor ebx, ebx
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14004a105
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14004a11c
mov rcx, r15
mov rdx, r14
call fcn.140045c80
mov r14, rax
mov qword [rsp + 0x50], 0
mov rax, qword [rdi]
mov qword [rsp + 0x40], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
xor r15d, r15d
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [rax + 0x18]
test eax, eax
js 0x14004a13e
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14004a156
test r14, r14
je 0x14004a0bc
mov rcx, r14
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x14004a19e
mov qword [rsi + 8], rbx
mov byte [rsi], 0x12
jmp 0x14004a185
mov ecx, eax
call fcn.1400460d0
mov ebx, edx
test rax, rax
je 0x14004a11c
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
movzx eax, byte [rsp + 0x4f]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x4d]
mov word [rsi + 1], ax
mov dword [rsi + 4], ebx
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
jmp 0x14004a18e
mov ecx, eax
call fcn.1400460d0
mov r15d, edx
test rax, rax
je 0x14004a156
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
test r14, r14
je 0x14004a164
mov rcx, r14
call qword [sym.imp.oleaut32.dll_SysFreeString]
movzx eax, byte [rsp + 0x4f]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x4d]
mov word [rsi + 1], ax
mov dword [rsi + 4], r15d
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
nop
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, eax
call fcn.1400460d0
mov ebp, edx
test rax, rax
je 0x14004a1b5
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov byte [rsi], 0
movzx eax, word [rsp + 0x50]
mov word [rsi + 1], ax
movzx eax, byte [rsp + 0x52]
mov byte [rsi + 3], al
mov dword [rsi + 4], ebp
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 8], xmm0
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x18], rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x14004a185
Function at 0x14004a82c
Capabilities:
Parse pe header

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

Function at 0x14004b1a4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14004b2ec

Function at 0x14004c3d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14004c3f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14004c3f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140011343
Capabilities:
Terminate process

Disassembly:
jmp 0x140017430
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011433
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018780
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400187a0
xor al, al
jmp 0x140018821
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400187b3
xor al, al
jmp 0x140018821
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400187dd
xor al, al
jmp 0x140018821
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400187f1
xor al, al
jmp 0x140018821
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018803
xor al, al
jmp 0x140018821
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001881f
xor al, al
jmp 0x140018821
mov al, 1
add rsp, 0x38
ret