joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002366c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400236f3
mov rsi, rbx
cmp word [rax], bp
je 0x1400236b2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002369c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140023698
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001ad80
mov rdi, rax
test rax, rax
je 0x1400236e0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000ab60
mov rbp, rdi
xor ecx, ecx
call fcn.14001ad44
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140029ef0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029f18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029f18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14002c7f8
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rax, r8
xor ecx, ecx
mov rdi, rdx
mov r8, r9
mov rdx, rax
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
mov rcx, rbx
mov dword [rbx + 0x50], 0x6a09e667
mov dword [rbx + 0x54], 0xbb67ae85
mov dword [rbx + 0x58], 0x3c6ef372
mov dword [rbx + 0x5c], 0xa54ff53a
mov dword [rbx + 0x60], 0x510e527f
mov dword [rbx + 0x64], 0x9b05688c
mov dword [rbx + 0x68], 0x1f83d9ab
mov dword [rbx + 0x6c], 0x5be0cd19
call fcn.14002aa50
mov rdx, rdi
mov rcx, rbx
call fcn.14002a7e4
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x14002df90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
mov r13, rdx
mov rsi, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r14d, dword [rdi + 0x1c]
mov r15d, dword [rdi + 0x20]
add r14, rcx
mov r12d, dword [rdi + 0x24]
add r15, rcx
add r12, rcx
cmp dword [rdi + 0x18], ebx
jbe 0x14002e003
movzx eax, word [r12 + rbx*2]
mov rdx, r13
mov ecx, dword [r15 + rbx*4]
add rcx, rsi
mov ebp, dword [r14 + rax*4]
add rbp, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x14002e022
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x14002dfdc
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rbp
jmp 0x14002e005

Function at 0x14002e244
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
jmp 0x14002e280
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
call fcn.14000a854
test rax, rax
jne 0x14002e297
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14002e26c
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x14002e287
Function at 0x140031204
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r10, rdx
mov r9, rcx
test rcx, rcx
je 0x140031285
test rdx, rdx
je 0x140031285
movsxd rax, dword [rcx + 0x3c]
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov edi, dword [r8 + 0x1c]
mov edx, dword [r8 + 0x20]
add rdi, rcx
mov esi, dword [r8 + 0x24]
add rdx, rcx
mov ebp, dword [r8 + 0x18]
add rsi, rcx
xor ecx, ecx
test ebp, ebp
je 0x140031285
mov eax, dword [rdx]
mov rbx, r10
add rax, r9
sub rbx, rax
movzx r8d, byte [rax]
movzx r11d, byte [rax + rbx]
sub r8d, r11d
jne 0x140031276
inc rax
test r11d, r11d
jne 0x140031260
test r8d, r8d
je 0x14003129c
inc ecx
add rdx, 4
cmp ecx, ebp
jb 0x140031255
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rsi + rcx*2]
mov eax, dword [rdi + rcx*4]
add rax, r9
jmp 0x140031287
Function at 0x140003720
Capabilities:
Check mutex on windows
Query environment variable
Set current directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor edx, edx
mov rdi, rcx
lea rcx, [rbp - 0x80]
mov esi, r9d
lea r8d, [rdx + 0x30]
call fcn.1400092fd
lea r8, str.NvSmartMax_mutex64
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
test rax, rax
je 0x14000392b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140003922
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x140003922
and dword [rsp + 0x20], 0
lea rcx, [rbp - 0x50]
and qword [rsp + 0x28], 0
mov r15d, 0x208
mov r8d, r15d
xor edx, edx
call fcn.140005bf0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x1400037f2
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
test eax, eax
je 0x140003922
mov eax, dword [rsp + 0x20]
test eax, eax
lea rdx, str.ProgramW6432
lea rcx, str.ProgramFiles
mov r8d, 0x104
cmovne rcx, rdx
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r8, [0x1400187dc]
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.140001148
lea r8, str.NVIDIA_CorporationDisplay
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.140001148
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
xor edx, edx
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x4c]
call fcn.140005bf0
and dword [rsp + 0x40], 0
lea rax, [0x1400040c0]
and dword [rsp + 0x44], 0
mov edx, 0x7f00
and qword [rsp + 0x50], 0
xor ecx, ecx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x50
mov dword [rsp + 0x34], 3
mov qword [rsp + 0x48], rdi
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [0x140018e00]
lea rcx, [rsp + 0x30]
and qword [rsp + 0x78], 0
mov qword [rsp + 0x58], rax
lea rax, str.NVSmartMaxappWindowClass
mov qword [rsp + 0x70], rax
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov edx, esi
mov rcx, rdi
call fcn.140003958
test eax, eax
je 0x140003922
jmp 0x1400038f2
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x80]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x1400038de
mov rcx, qword [0x14001d2b0]
test rcx, rcx
je 0x140003922
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [0x14001d2b8], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp - 0x70]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140004920
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
Function at 0x140007ab0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140007943
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007943
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007943
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007943
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007943
cmp dword [rcx + 0x84], 0xe
jbe 0x140007943
cmp dword [rcx + 0xf8], 0
je 0x140007943
mov ecx, ebx
call fcn.1400079e4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400077d4
cmp dword [rbp + 0x20], 0
je 0x140007990
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140007998
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400078dc
Function at 0x14063a108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14063a28f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14063a139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14063a11f
add dl, dl
jne 0x14063a146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14063a1a6
xor eax, eax
add dl, dl
jne 0x14063a155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14063a25d
add dl, dl
jne 0x14063a166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14063a173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14063a180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14063a18d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14063a19a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14063a12e
mov eax, 1
add dl, dl
jne 0x14063a1b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14063a1c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14063a1ab
sub eax, ebx
mov ebx, 1
jne 0x14063a1fc
mov ecx, 1
add dl, dl
jne 0x14063a1de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14063a1eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14063a1d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14063a12e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14063a218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14063a225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14063a20d
cmp eax, 0x7d00
jae 0x14063a24b
cmp eax, 0x500
jb 0x14063a246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14063a12e
cmp eax, 0x7f
ja 0x14063a24e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14063a12e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14063a282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14063a12e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400011c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea r14d, [rbp + 4]
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov r15d, 0x20
mov eax, dword [r15 + rsi]
mov r12d, 0x30
test al, 1
jne 0x140001259
or eax, 1
mov dword [r15 + rsi], eax
mov ebx, r12d
add rbx, rsi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
lea ecx, [rbp + 1]
lea r8, [rbx + 8]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [r8], edx
inc rcx
lea r8, [r8 + 4]
cmp rcx, 0x270
jb 0x140001231
mov dword [rbx], 0x270
mov eax, dword [r15 + rsi]
mov ecx, 0x10
test al, 2
jne 0x14000127a
or eax, 2
mov dword [r15 + rsi], eax
mov qword [rsi + rcx], rbp
mov qword [rsi + rcx + 8], 0xf
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
lea r15, [rsi + rcx]
mov ebx, r12d
add rbx, rsi
lea r12, str.0123456789ABCDEF
nop dword [rax + rax]
dec r14
mov qword [rsp + 0x28], rbx
mov rbp, qword [r15]
mov rdx, qword [r15 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x1400012e5
mov rcx, rbx
call fcn.14000f220
mov esi, eax
shl rsi, 0x20
mov rcx, rbx
call fcn.14000f220
mov eax, eax
or rsi, rax
jmp 0x1400012f5
inc rdx
lea rcx, [rsp + 0x28]
call fcn.14000f070
mov rsi, rax
lea rax, [rsi + rbp]
movzx r9d, byte [rax + r12]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14000132a
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14000131f
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001332
mov rcx, rdi
call fcn.14000e9a0
test r14, r14
jne 0x1400012b0
mov rax, rdi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000f220
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14000f281
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14000f240
mov ecx, dword [r9]
jmp 0x14000f368
cmp ecx, 0x4e0
jb 0x14000f368
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14000f2a0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14000f2f0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x14000ff00
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
cmp ecx, 2
jle 0x14000135f
mov rbx, qword [rdx + 8]
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140001260
cmp qword [0x1400050c0], 0x10
lea rcx, str.3212
mov r8, qword [0x1400050b8]
cmovae rcx, qword [str.3212]
cmp r8, rax
jne 0x1400012ad
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400012ad
nop dword [rax + rax]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400012a0
mov rax, rdi
inc rax
cmp byte [rbx + rax], 0
jne 0x1400012b0
cmp qword [0x1400050a0], 0x10
lea rcx, str.8532
mov r8, qword [0x140005098]
cmovae rcx, qword [str.8532]
cmp r8, rax
jne 0x14000135f
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000135f
mov rdx, qword [rsi + 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001390
mov rax, qword [rsi + 0x10]
cmp byte [rax + rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x140001300
lea eax, [rdi + 1]
movsxd rcx, eax
call fcn.140001894
mov rbx, qword [rsi + 0x10]
lea eax, [rdi + 0x3e8]
movsxd rcx, eax
call fcn.140001894
movups xmm0, xmmword [str.3285]
mov r9, rbx
lea r8, [rsp + 0x20]
movups xmm1, xmmword [0x140005058]
lea rdx, str.Microsoft.exe__s___s_
mov rcx, rax
movaps xmmword [rsp + 0x20], xmm0
mov rdi, rax
movaps xmmword [rsp + 0x30], xmm1
call fcn.140001050
mov rcx, rdi
jmp 0x140001366
lea rcx, str.C:WindowsSystem32cmd.exe
mov edx, 1
call qword [sym.imp.KERNEL32.dll_WinExec]
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140002038
Capabilities:
Parse pe header

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

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r11, qword [rax + 0x20]
test r11, r11
je 0x2ac401811
nop word cs:[rax + rax]
mov r8, qword [r11 + 0x50]
movzx r10d, word [r11 + 0x48]
test r8, r8
je 0x2ac401815
test r10w, r10w
je 0x2ac401815
sub r10d, 1
lea rdx, [r8 + 1]
xor eax, eax
movzx r10d, r10w
add r10, rdx
jmp 0x2ac4017e4
add rdx, 1
movzx r9d, byte [r8]
ror eax, 0xd
mov r8, r9
add rax, r9
lea r9, [rax - 0x20]
cmp r8b, 0x60
mov r8, rdx
cmova rax, r9
cmp rdx, r10
jne 0x2ac4017e0
cmp ecx, eax
je 0x2ac40181c
mov r11, qword [r11]
test r11, r11
jne 0x2ac4017b0
mov rax, r11
ret
xor r11d, r11d
mov rax, r11
ret
mov r11, qword [r11 + 0x20]
mov rax, r11
ret

Function at 0x2ac4018f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push rsi
push rbx
mov rax, rcx
mov r11, rdx
test rcx, rcx
je 0x2ac401980
movsxd rdx, dword [rcx + 0x3c]
mov edx, dword [rcx + rdx + 0x88]
add rdx, rcx
mov esi, dword [rdx + 0x1c]
add rsi, rcx
test r11d, 0xffff0000
je 0x2ac4019a5
mov ecx, dword [rdx + 0x18]
test ecx, ecx
je 0x2ac401980
mov r9d, dword [rdx + 0x20]
mov r10d, dword [rdx + 0x24]
lea edx, [rcx - 1]
add r9, rax
add r10, rax
lea rbx, [r9 + rdx*4 + 4]
mov edx, dword [r9]
mov rdi, r11
add rdx, rax
sub rdi, rdx
jmp 0x2ac401955
cmp cl, r8b
jne 0x2ac401990
mov rcx, rdx
add rdx, 1
movzx r8d, byte [rdx + rdi - 1]
movzx ecx, byte [rcx]
test cl, cl
jne 0x2ac401950
movzx ecx, r8b
neg ecx
test ecx, ecx
je 0x2ac401997
add r9, 4
add r10, 2
cmp r9, rbx
jne 0x2ac401940
xor eax, eax
pop rbx
pop rsi
pop rdi
ret
sub ecx, r8d
test ecx, ecx
jne 0x2ac401973
movzx edx, word [r10]
mov edx, dword [rsi + rdx*4]
add rax, rdx
pop rbx
pop rsi
pop rdi
ret
mov edx, dword [rdx + 0x10]
movzx r11d, r11w
sub r11, rdx
mov edx, dword [rsi + r11*4]
add rax, rdx
pop rbx
pop rsi
pop rdi
ret
Function at 0x2ac401b70
Capabilities:
Enumerate processes
Get hostname
Get session user name

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x168
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x100000
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
mov rcx, rax
lea rdx, [rsp + 0x28]
mov dword [rsp + 0x28], 0xfffff
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov edx, dword [rsp + 0x28]
lea r8, [rsp + 0x2c]
mov ecx, 3
lea eax, [rdx - 1]
mov rbx, rdx
add rdx, rsi
mov byte [rsi + rax], 0x5f
mov dword [rsp + 0x2c], 0xfffff
call qword [sym.imp.KERNEL32.dll_GetComputerNameExA]
movsx eax, byte [rsi]
add ebx, dword [rsp + 0x2c]
test al, al
je 0x2ac401cbe
lea rcx, [rsi + 1]
mov edx, 1
mov r9d, 0xd1b71759
nop dword [rax]
imul edx, eax
mov eax, edx
imul rax, r9
shr rax, 0x2d
imul r8d, eax, 0x2710
mov eax, edx
sub eax, r8d
cmovne edx, eax
movsx eax, byte [rcx]
add rcx, 1
test al, al
jne 0x2ac401bf8
mov eax, ebx
mov dword [0x2ac40b028], edx
mov ecx, 2
xor edx, edx
mov byte [rsi + rax], 0xa
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [rsp + 0x30], 0x130
mov rbp, rax
test rax, rax
je 0x2ac401cab
lea rdi, [rsp + 0x30]
mov rcx, rax
mov rdx, rdi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x2ac401cab
add ebx, 1
nop
cmp ebx, 0xffefb
ja 0x2ac401cab
mov byte [rsi + rbx], 0xa
movzx edx, byte [rsp + 0x5c]
lea eax, [rbx + 1]
mov ebx, eax
test dl, dl
je 0x2ac401c9c
lea rcx, [rsp + 0x5d]
mov ebx, eax
nop dword [rax]
mov eax, ebx
add rcx, 1
add ebx, 1
mov byte [rsi + rax], dl
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x2ac401c88
mov rdx, rdi
mov rcx, rbp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x2ac401c60
mov qword [0x2ac40b020], rsi
add rsp, 0x168
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov edx, 1
jmp 0x2ac401c1f
Function at 0x2ac402f20
Capabilities:
Resolve function by hash

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x90
mov ecx, 0x3cfa685d
call fcn.2ac401790
lea rsi, [rsp + 0x70]
mov byte [rsp + 0x7c], 0xb
lea rdi, [rsp + 0x50]
mov r12, rax
mov rcx, rsi
mov dword [rsp + 0x78], 0xb6767
movabs rax, 0x4f6f6a6447796f47
mov qword [rsp + 0x70], rax
call fcn.2ac406060
mov rcx, r12
lea r12, [rsp + 0x48]
mov rdx, rax
call fcn.2ac4018f0
mov rdx, r12
mov r9, rdi
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov rbx, rax
lea rbp, [rax + 5]
mov rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], 0x3000
mov dword [rsp + 0x3f], 0xc3e3ff41
mov dword [rsp + 0x43], 0x245c8948
mov byte [rsp + 0x47], 0x10
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0x13
call fcn.2ac404b70
mov rdx, qword [rsp + 0x48]
xor eax, eax
mov ecx, 0x48
jmp 0x2ac402fe5
movzx ecx, byte [rsp + rax + 0x43]
mov byte [rdx + rax], cl
add rax, 1
cmp rax, 5
jne 0x2ac402fe0
mov eax, 0xffffbb49
mov qword [rdx + 7], rbp
mov ecx, 0x41
mov word [rdx + 5], ax
xor eax, eax
jmp 0x2ac403015
movzx ecx, byte [rsp + rax + 0x3f]
mov byte [rdx + rax + 0xf], cl
add rax, 1
cmp rax, 4
jne 0x2ac403010
lea rax, [rsp + 0x38]
mov r9d, 0x20
mov r8, rdi
mov rdx, r12
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffffffffffff
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x50], 0x1e
call fcn.2ac404bd0
xor edx, edx
mov qword [rsp + 0x20], rsi
mov r9d, 0xffffffff
mov qword [rsp + 0x70], 0
lea r8, str.wininet.dll
mov ecx, 0xfde9
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x28], 0x18
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rsp + 0x70]
test dx, dx
je 0x2ac403100
mov rax, rsi
nop dword [rax + rax]
add rax, 2
cmp word [rax], 0
jne 0x2ac4030b0
sub rax, rsi
mov edx, eax
add eax, 2
mov word [rsp + 0x60], dx
lea r9, [rsp + 0x58]
xor edx, edx
xor ecx, ecx
mov word [rsp + 0x62], ax
lea r8, [rsp + 0x60]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x58], 0
call rbx
mov rax, qword [rsp + 0x58]
add rsp, 0x90
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, 2
jmp 0x2ac4030c2

Function at 0x2ac403110
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x60
movabs rax, 0x667b6e7b66796146
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
movabs rax, 0xf696b7f216160
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x50], 0xf
call fcn.2ac406170
lea rcx, [rsp + 0x39]
mov byte [rsp + 0x3f], 5
mov rbx, rax
mov eax, 5
mov dword [rsp + 0x39], 0x6b60756a
mov word [rsp + 0x3d], ax
call fcn.2ac4063b0
xor r9d, r9d
xor ecx, ecx
mov r8, rbx
mov dword [rsp + 0x28], 1
mov rdx, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
setg al
movzx eax, al
add rsp, 0x60
pop rbx
ret