joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400114dd
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001aed0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001aef0
xor al, al
jmp 0x14001af71
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001af03
xor al, al
jmp 0x14001af71
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 0x14001af2d
xor al, al
jmp 0x14001af71
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001af41
xor al, al
jmp 0x14001af71
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001af53
xor al, al
jmp 0x14001af71
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001af6f
xor al, al
jmp 0x14001af71
mov al, 1
add rsp, 0x38
ret
Function at 0x12fff60
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x12fff6d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x12fff7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x12fff65
lea eax, [rcx + 1]
jmp 0x12fff8b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x12fff9e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x12fff84
sub eax, 3
jb 0x12fffbe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x130000d
sar eax, 1
movsxd rbp, eax
jb 0x12ffff4
jmp 0x12fffcc
add ebx, ebx
jne 0x12fffca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x12ffff4
inc ecx
add ebx, ebx
jne 0x12fffda
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x12ffff4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x12fffed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x12fffdc
add ecx, 2
jmp 0x12ffff9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.012fff22
jmp 0x12fff6d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xeec000]
mov eax, dword [rdi]
or eax, eax
je 0x1300069
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf00000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1300019
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1300063
mov qword [rbx], rax
add rbx, 8
jmp 0x1300039
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x13000ad
cmp al, 0xef
ja 0x1300095
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1300075
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1300084
mov eax, dword [rdi]
add rdi, 4
jmp 0x1300084
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1300101
sub rsp, 0xffffffffffffff80
jmp 0x46c840
Function at 0x140001420
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov r8d, 0x100
lea rdx, [0x140094690]
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
cmp eax, 0x100
jb 0x140001483
lea ecx, [rax + 1]
mov qword [rsp + 0x30], rdi
add rcx, rcx
call fcn.14003b0b8
mov rdi, rax
test rax, rax
je 0x1400014a6
mov r8d, ebx
invalid
invalid
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140011d60
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]
add rsp, 0x28
ret

Function at 0x140011276
Capabilities:
Create process on windows

Disassembly:
jmp 0x140011880
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rcx, [0x1400230a5]
call fcn.140011389
lea rax, str.Error_
mov qword [rbp + 8], rax
lea rax, str.Program_doesnt_work__nSupport:_aria_gmail.com
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x48], 0
cmp dword [rbp + 0x140], 2
je 0x1400118f1
mov rcx, qword [rbp + 0x48]
call fcn.14001134d
test eax, eax
je 0x1400118f1
xor r9d, r9d
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0xffffffff
jmp 0x140011936
cmp qword [rbp + 0x48], 0
jne 0x140011912
xor r9d, r9d
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x140011936
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140011285
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400144c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400144e0
xor al, al
jmp 0x140014561
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400144f3
xor al, al
jmp 0x140014561
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 0x14001451d
xor al, al
jmp 0x140014561
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014531
xor al, al
jmp 0x140014561
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014543
xor al, al
jmp 0x140014561
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001455f
xor al, al
jmp 0x140014561
mov al, 1
add rsp, 0x38
ret
Function at 0x1400049f0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x280
movdqa xmmword [rsp + 0x2e0], xmm6
movdqa xmmword [rsp + 0x2f0], xmm7
movdqa xmmword [rsp + 0x300], xmm8
movdqa xmmword [rsp + 0x310], xmm9
movdqa xmmword [rsp + 0x320], xmm10
movdqa xmmword [rsp + 0x330], xmm11
movdqa xmmword [rsp + 0x340], xmm12
movdqa xmmword [rsp + 0x350], xmm13
movdqa xmmword [rsp + 0x360], xmm14
movdqa xmmword [rsp + 0x370], xmm15
mov eax, dword [0x1404d8b00]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x280]
mov qword [rdx + 8], r8
call fcn.140146b40
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x1404d8b00]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x140004b80
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x140004b9c
cmp rcx, r8
jl 0x140004b8f
mov qword [rdx + 0x80], rcx
test dword [0x1404d1c78], 1
je 0x140004bcb
cmp byte [rsp + 0xd0], 0
je 0x140004bcb
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x1400046f0
mov rsp, r8
jmp rax
Function at 0x140004bd0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xc8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rdx
mov eax, dword [0x1404d8b00]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
add rax, rbx
mov qword [rsp + 0xc0], rax
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [rdx + 0x18]
mov rbx, qword [rax]
mov rax, qword [rdx + 0x20]
mov rbp, qword [rax]
mov rax, qword [rdx + 0x28]
mov rsi, qword [rax]
mov rax, qword [rdx + 0x30]
mov rdi, qword [rax]
mov rax, qword [rdx + 0x58]
mov r12, qword [rax]
mov rax, qword [rdx + 0x60]
mov r13, qword [rax]
mov rax, qword [rdx + 0x68]
mov r14, qword [rax]
mov rax, qword [rdx + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [rdx + 0x90]
movdqa xmm7, xmmword [rdx + 0xa0]
movdqa xmm8, xmmword [rdx + 0xb0]
movdqa xmm9, xmmword [rdx + 0xc0]
movdqa xmm10, xmmword [rdx + 0xd0]
movdqa xmm11, xmmword [rdx + 0xe0]
movdqa xmm12, xmmword [rdx + 0xf0]
movdqa xmm13, xmmword [rdx + 0x100]
movdqa xmm14, xmmword [rdx + 0x110]
movdqa xmm15, xmmword [rdx + 0x120]
mov rcx, qword [rdx + 0x78]
call qword [rsp + pe_nt_image_headers64]
mov rdx, qword [rsp + 0x118]
mov rax, qword [rdx + 0x18]
mov qword [rax], rbx
mov rax, qword [rdx + 0x20]
mov qword [rax], rbp
mov rax, qword [rdx + 0x28]
mov qword [rax], rsi
mov rax, qword [rdx + 0x30]
mov qword [rax], rdi
mov rax, qword [rdx + 0x58]
mov qword [rax], r12
mov rax, qword [rdx + 0x60]
mov qword [rax], r13
mov rax, qword [rdx + 0x68]
mov qword [rax], r14
mov rax, qword [rdx + 0x70]
mov qword [rax], r15
movdqa xmmword [rdx + 0x90], xmm6
movdqa xmmword [rdx + 0xa0], xmm7
movdqa xmmword [rdx + 0xb0], xmm8
movdqa xmmword [rdx + 0xc0], xmm9
movdqa xmmword [rdx + 0xd0], xmm10
movdqa xmmword [rdx + 0xe0], xmm11
movdqa xmmword [rdx + 0xf0], xmm12
movdqa xmmword [rdx + 0x100], xmm13
movdqa xmmword [rdx + 0x110], xmm14
movdqa xmmword [rdx + 0x120], xmm15
mov rax, qword [rsp + 0xc0]
lock or dword [rax + 0x38], 0x10
movdqa xmm6, xmmword [rsp + 0x20]
movdqa xmm7, xmmword [rsp + 0x30]
movdqa xmm8, xmmword [rsp + 0x40]
movdqa xmm9, xmmword [rsp + 0x50]
movdqa xmm10, xmmword [rsp + 0x60]
movdqa xmm11, xmmword [rsp + 0x70]
movdqa xmm12, xmmword [rsp + 0x80]
movdqa xmm13, xmmword [rsp + 0x90]
movdqa xmm14, xmmword [rsp + 0xa0]
movdqa xmm15, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbp
pop rdi
pop rsi
pop rbx
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000cb20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x14000cb34
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000cc00
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov r9, rdx
mov qword [rsp + 0x28], 0
mov r8, rcx
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x14000cc35
add rsp, 0x30
pop rbx
ret
mov edx, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x30
pop rbx
ret

Function at 0x14000d0f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
movzx eax, byte [0x1404d2058]
test al, al
jne 0x14000d2a1
lea rcx, [0x1404d2060]
call fcn.14000cd40
movzx eax, byte [0x1404d2058]
test al, al
je 0x14000d12b
lea rcx, [0x1404d2060]
call fcn.14000cd60
add rsp, 0x28
ret
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], rbp
call sub.KERNEL32.dll_QueryPerformanceFrequency
test eax, eax
je 0x14000d289
mov rbp, qword [rsp + 0x30]
cmp rbp, 0x64
jl 0x14000d289
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x30]
movabs rax, 0xa3d70a3d70a3d70b
mov qword [rsp + 0x48], rsi
imul rbp
mov qword [rsp + 0x20], rdi
xor edi, edi
lea rbx, [rdx + rbp]
sar rbx, 6
mov rax, rbx
shr rax, 0x3f
add rbx, rax
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rsi, qword [rsp + 0x30]
mov eax, 0x3e8
pause
sub rax, 1
jne 0x14000d195
lea rcx, [rsp + 0x30]
add edi, 0x3e8
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rax, qword [rsp + 0x30]
sub rax, rsi
cmp rax, rbx
jl 0x14000d190
movsd xmm3, qword [0x140444e28]
xorps xmm1, xmm1
mov rsi, qword [rsp + 0x48]
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x38]
xorps xmm2, xmm2
cvtsi2sd xmm0, rbp
mov ecx, 1
cvtsi2sd xmm2, rax
mov eax, edi
cvtsi2sd xmm1, rax
mulsd xmm2, qword [0x140444e40]
mulsd xmm1, xmm0
movsd xmm0, qword [0x140444e30]
divsd xmm2, xmm1
movsd xmm1, qword [0x140444e38]
maxsd xmm3, xmm2
divsd xmm0, xmm3
addsd xmm0, qword [0x140444e20]
cvttsd2si edx, xmm0
cmp edx, ecx
cmovl edx, ecx
mov dword [0x1404c8c10], edx
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
divsd xmm1, xmm0
addsd xmm1, qword [0x140444e20]
cvttsd2si eax, xmm1
movd xmm1, edx
cmp eax, ecx
cvtdq2ps xmm1, xmm1
cmovl eax, ecx
mov dword [0x1404c8c14], eax
mov byte [0x1404d2058], cl
mov rcx, qword [0x1404d1f10]
mov rax, qword [rcx]
call qword [rax + 0x180]
lea rcx, [0x1404d2060]
call fcn.14000cd60
mov rdi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
ret
lea rcx, [0x1404d2060]
mov byte [0x1404d2058], 1
call fcn.14000cd60
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
ret
Function at 0x140010650
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x1404c96e8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [str.DOTNET_]
mov rbp, rcx
lea rcx, [rsp + 0x40]
xorps xmm1, xmm1
movzx r15d, r9b
movaps xmmword [rsp + 0x40], xmm0
mov r12, r8
movups xmmword [rsp + 0x50], xmm1
mov r14, rdx
sub rcx, 2
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rsp + 0x80], xmm1
movups xmmword [r11 - 0x78], xmm1
movups xmmword [r11 - 0x68], xmm1
movups xmmword [r11 - 0x58], xmm1
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400106c0
xor edx, edx
nop dword [rax]
movzx eax, word [r14 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1400106d0
mov r8d, 9
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call sub.KERNEL32.dll_GetEnvironmentVariableW
xor ebx, ebx
mov r10d, eax
lea ecx, [rax - 1]
cmp ecx, 7
jbe 0x1400107b6
mov rax, qword [rbp]
test rax, rax
jne 0x140010719
mov rcx, rbp
call fcn.140010850
mov rax, qword [rbp]
cmp rax, 1
je 0x14001082b
mov rbp, qword [rbp]
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xd0], rdi
mov edi, ebx
nop dword [rax]
movsxd rsi, edi
mov rcx, r14
imul rdx, rsi, 0x78
add rdx, rbp
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
je 0x140010762
inc edi
cmp edi, 9
jl 0x140010740
mov r10d, ebx
jmp 0x1400107a1
xor r9b, r9b
mov r8d, ebx
mov rdx, rbx
nop dword [rax + rax]
imul rax, rsi, 0x3c
add rax, rdx
movzx ecx, word [rbp + rax*2 + 0x66]
mov word [rsp + rdx*2 + 0x20], cx
test cx, cx
je 0x140010794
inc r8d
inc rdx
cmp r8d, 9
jb 0x140010770
jmp 0x140010797
mov r9b, 1
test r9b, r9b
mov r10d, ebx
cmovne r10d, r8d
mov rdi, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xd8]
test r10d, r10d
je 0x14001082b
cmp r10d, 9
jae 0x14001082b
mov r8d, ebx
test r10d, r10d
je 0x140010823
lea r9, [rsp + 0x20]
nop dword [rax]
movzx edx, word [r9]
lea eax, [rdx - 0x30]
test r15b, r15b
je 0x1400107ed
cmp ax, 9
ja 0x14001082b
lea ebx, [rbx + rbx*4]
lea ebx, [rbx - 0x18]
lea ebx, [rdx + rbx*2]
jmp 0x140010817
shl ebx, 4
cmp ax, 9
ja 0x1400107fb
add ebx, 0xffffffd0
jmp 0x140010815
lea eax, [rdx - 0x61]
cmp ax, 5
ja 0x140010809
add ebx, 0xffffffa9
jmp 0x140010815
lea eax, [rdx - 0x41]
cmp ax, 5
ja 0x14001082b
add ebx, 0xffffffc9
add ebx, edx
inc r8d
add r9, 2
cmp r8d, r10d
jb 0x1400107d0
mov dword [r12], ebx
mov al, 1
jmp 0x14001082d
xor al, al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14006ad50
add rsp, 0xe0
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
Function at 0x1400147c0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
xor ebx, ebx
mov dword [0x1404d2ae0], eax
mov eax, dword [rsp + 0x24]
mov dword [0x1404d2ae4], eax
mov eax, dword [rsp + 0x48]
mov dword [0x1404d2ae8], eax
mov dword [rsp + 0x60], ebx
mov byte [0x1404d2aed], bl
call fcn.140015970
test al, al
je 0x14001482e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
test eax, eax
je 0x14001482e
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14001482e
inc eax
mov byte [0x1404d2aed], 1
mov dword [0x1404d2b70], eax
mov byte [0x1404d2aee], bl
mov word [rsp + 0x60], bx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessGroupAffinity]
mov edi, 1
test eax, eax
jne 0x14001486b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001486b
movzx eax, word [rsp + 0x60]
jmp 0x140014872
mov eax, edi
mov word [rsp + 0x60], ax
cmp ax, di
seta cl
call fcn.140015870
test al, al
je 0x14001489b
call fcn.1400145a0
test al, al
je 0x14001489b
cmp dword [0x1404d2b74], edi
seta al
mov byte [0x1404d2aee], al
jmp 0x1400148a2
movzx eax, byte [0x1404d2aee]
test al, al
je 0x1400148f0
mov r9d, dword [0x1404d2b78]
test r9, r9
je 0x140014973
lea r8, [0x1404d2af0]
nop dword [rax]
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
inc rbx
mov rax, qword [rdx]
bts rax, rcx
mov qword [rdx], rax
cmp rbx, r9
jb 0x1400148c0
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x140014973
mov r9, qword [rsp + 0x60]
lea r8, [0x1404d2af0]
nop dword [rax]
test r9, rdi
je 0x140014941
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rcx
mov qword [rdx], rax
rol rdi, 1
test r9, rdi
je 0x140014966
lea rdx, [rbx + 1]
mov rax, rdx
and edx, 0x3f
shr rax, 6
lea rcx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rdx
mov qword [rcx], rax
rol rdi, 1
add rbx, 2
cmp rbx, 0x40
jb 0x140014920
mov rbx, qword [rsp + 0x70]
mov al, 1
add rsp, 0x50
pop rdi
ret

Function at 0x14006b548
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006b592
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006b592
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006b592
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006b592
cmp dword [rcx + 0x84], 0xe
jbe 0x14006b592
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006b594
xor al, al
add rsp, 0x28
ret
Function at 0x140079240
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x3c], r8d
mov rdx, rcx
mov qword [rbp - 0x48], rdx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov r9d, 2
mov dword [rbp - 0x40], r9d
lea rcx, [rbp - 0x78]
call fcn.140004ef0
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.bcrypt.dll_BCryptGenRandom
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.140004f40
mov ecx, esi
test ecx, ecx
jne 0x1400792b6
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
or ecx, 0x1000000
call fcn.140078870
mov rcx, rax
call fcn.1400047e0
int3

Function at 0x1400a8f30
Capabilities:
Delete registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x10], rcx
mov rsi, rdx
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14014e930
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 8]
test rsi, rsi
je 0x1400a8f78
add rsi, 0xc
jmp 0x1400a8f7a
xor esi, esi
mov qword [rbp - 0x48], rsi
mov rcx, rdx
mov qword [rbp - 0x50], rcx
mov rdx, rsi
mov qword [rbp - 0x58], rdx
lea rcx, [rbp - 0x80]
call fcn.140004ef0
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x58]
call sub.ADVAPI32.dll_RegDeleteValueW
mov esi, eax
lea rcx, [rbp - 0x80]
call fcn.140004f40
nop
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x1400a8fc5
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.14014e9c0
mov eax, esi
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400a91f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x10], rcx
mov rsi, rdx
mov rdi, r8
mov rbx, r9
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14014e930
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 8]
test rsi, rsi
je 0x1400a9241
add rsi, 0xc
jmp 0x1400a9243
xor esi, esi
mov qword [rbp - 0x48], rsi
mov r14, qword [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov r14, qword [rbp + 0x38]
mov qword [rsp + 0x28], r14
mov rcx, rdx
mov qword [rbp - 0x50], rcx
mov rdx, rsi
mov qword [rbp - 0x58], rdx
mov r8, rdi
mov qword [rbp - 0x60], r8
mov r9, rbx
mov qword [rbp - 0x68], r9
lea rcx, [rbp - 0x90]
call fcn.140004ef0
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
mov r9, qword [rbp - 0x68]
call sub.ADVAPI32.dll_RegQueryValueExW
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.140004f40
nop
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x1400a92bc
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.14014e9c0
mov eax, esi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret