joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400099e0
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140046080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, 1
mov ecx, 0xff
cpuid
shr edx, 0x1c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x24], ebx
test dl, 1
jne 0x140009a2a
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400308f0
add rsp, 0x70
pop rbx
ret
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, byte [rsp + 0x26]
cmp eax, dword [rsp + 0x50]
setg al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400308f0
add rsp, 0x70
pop rbx
ret

Function at 0x14000c680
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1150
call fcn.140031300
sub rsp, rax
mov rax, qword [0x140046080]
xor rax, rsp
mov qword [rsp + 0x1140], rax
mov rbp, rcx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x14000c73b
mov esi, dword [rsp + 0x20]
xor ebx, ebx
shr esi, 2
test esi, esi
je 0x14000c73b
nop dword [rax + rax]
mov r8d, dword [rsp + rbx*4 + 0x30]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14000c735
mov r9d, 0x104
lea r8, [rsp + 0x1030]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
test eax, eax
je 0x14000c72c
mov rdx, rbp
lea rcx, [rsp + 0x1030]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x14000c766
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, esi
jb 0x14000c6e0
xor al, al
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.1400308f0
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14000c73d
Function at 0x1400109a0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1150
call fcn.140031300
sub rsp, rax
mov rax, qword [0x140046080]
xor rax, rsp
mov qword [rsp + 0x1140], rax
mov rbp, rdx
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x140010a5b
mov esi, dword [rsp + 0x20]
xor ebx, ebx
shr esi, 2
test esi, esi
je 0x140010a5b
nop dword [rax + rax]
mov r8d, dword [rsp + rbx*4 + 0x30]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140010a55
mov r9d, 0x104
lea r8, [rsp + 0x1030]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
test eax, eax
je 0x140010a4c
mov rdx, rbp
lea rcx, [rsp + 0x1030]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x140010a86
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, esi
jb 0x140010a00
xor al, al
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.1400308f0
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140010a5d

Function at 0x140013350
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x450
mov rax, qword [0x140046080]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov r14, rcx
mov dword [rsp + 0x3c], 1
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x38], 0x400
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001346e
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140013463
lea rax, [rsp + 0x40]
mov r8, qword [rsp + 0x490]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140013423
inc rax
test ecx, ecx
jne 0x140013410
test edx, edx
jne 0x140013463
mov rcx, qword [0x140046e48]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], dl
jne 0x14001344f
cmp qword [rax + 0x20], rdi
jae 0x140013443
mov rax, qword [rax + 0x10]
jmp 0x140013449
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140013437
cmp byte [rcx + 0x19], 0
jne 0x140013492
cmp rdi, qword [rcx + 0x20]
jb 0x140013492
inc dword [rcx + 0x28]
mov rax, qword [r14]
inc byte [rax]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400308f0
mov rbx, qword [rsp + 0x478]
add rsp, 0x450
pop r14
pop rdi
pop rsi
ret
lea rcx, str.invalid_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
Function at 0x1400229b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400229e4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400229d0
ret

Function at 0x1400240e0
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov ecx, 0xe0
call fcn.140030918
mov rbx, rax
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
movups xmmword [rax + 0x20], xmm0
mov qword [rax + 0x30], rsi
mov qword [rax + 0x38], 0xf
mov byte [rax + 0x20], sil
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], rsi
mov qword [rax + 0x58], 0xf
mov byte [rax + 0x40], sil
movups xmmword [rax + 0x60], xmm0
mov qword [rax + 0x70], rsi
mov qword [rax + 0x78], 0xf
mov byte [rax + 0x60], sil
movups xmmword [rax + 0x80], xmm0
mov qword [rax + 0x90], rsi
mov qword [rax + 0x98], 0xf
mov byte [rax + 0x80], sil
movups xmmword [rax + 0xa0], xmm0
mov qword [rax + 0xb0], rsi
mov qword [rax + 0xb8], 0xf
mov byte [rax + 0xa0], sil
movups xmmword [rax + 0xc0], xmm0
mov qword [rax + 0xd0], rsi
mov qword [rax + 0xd8], 0xf
mov byte [rax + 0xc0], sil
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
nop
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14002e190
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14002e255
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002e255
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14002e26e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x14002e245
cmp byte [rcx], 0x5c
jne 0x14002e23e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14002e23e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002e22c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14002e23b
test r8b, 0x10
jne 0x14002e23e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14002e23e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140028ab0
test edi, edi
jne 0x14002e1b0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140028aa0
int3

Function at 0x14003167c
Capabilities:
Parse pe header

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

Disassembly:
call fcn.140d051df
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 0x140d05089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d0506f
add dl, dl
jne 0x140d05096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d050f6
xor eax, eax
add dl, dl
jne 0x140d050a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d051ad
add dl, dl
jne 0x140d050b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d050c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d050d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d050dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140d050ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140d0507e
mov eax, 1
add dl, dl
jne 0x140d05106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d05113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d050fb
sub eax, ebx
mov ebx, 1
jne 0x140d0514c
mov ecx, 1
add dl, dl
jne 0x140d0512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d0513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d05123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d0507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140d05168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d05175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d0515d
cmp eax, 0x7d00
jae 0x140d0519b
cmp eax, 0x500
jb 0x140d05196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d0507e
cmp eax, 0x7f
ja 0x140d0519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d0507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140d051d2
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 0x140d0507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140014203
Capabilities:
Write file on windows

Disassembly:
jmp 0x140033140
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14005b068]
call fcn.140015211
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140033197
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1400332a3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14003323c
cmp qword [rbp + 0x28], 0
jle 0x14003323c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1400331dc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1400150ea
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x140033292
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140033292
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140014a64
Capabilities:
Terminate process

Disassembly:
jmp 0x140039b50
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 0x140014bdb
Capabilities:
Get geographical location

Disassembly:
jmp 0x140033e10
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x140033e4d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.1400151ee
add rsp, 0x58
ret
Function at 0x140014c8a
Capabilities:
Parse pe header

Disassembly:
jmp 0x14003a680
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003a6a0
xor al, al
jmp 0x14003a721
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14003a6b3
xor al, al
jmp 0x14003a721
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 0x14003a6dd
xor al, al
jmp 0x14003a721
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14003a6f1
xor al, al
jmp 0x14003a721
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14003a703
xor al, al
jmp 0x14003a721
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14003a71f
xor al, al
jmp 0x14003a721
mov al, 1
add rsp, 0x38
ret
Function at 0x1400151c6
Capabilities:
Write file on windows

Disassembly:
jmp 0x140028610
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140050040]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14005b068]
call fcn.140015211
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x140028676
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14002867d
mov al, 1
jmp 0x1400287ed
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.140014537
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.140014537
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.140014e42
movzx eax, al
test eax, eax
je 0x1400286e0
xor al, al
jmp 0x1400287ed
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x140028753
cmp dword [rbp + 0x160], 1
je 0x14002875e
cmp dword [rbp + 0x160], 3
je 0x1400287dc
jmp 0x1400287eb
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x1400287ae
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x1400287ae
xor al, al
jmp 0x1400287ed
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400287c9
mov dword [rbp + 0x154], 1
jmp 0x1400287d3
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1400287ed
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400287ed
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140044da0]
call fcn.140014ef6
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.1400148e3
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x14000d78d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
movsxd rax, dword [rcx + 0x3c]
mov eax, dword [rax + rcx + 0x88]
mov ecx, dword [rax + rcx + 0x1c]
mov qword [rsp + 0x28], rcx
mov ebp, dword [rax + rsi + 0x20]
add rbp, rsi
mov r13d, dword [rax + rsi + 0x24]
add r13, rsi
lea r14, [rsp + 0x30]
lea r15, [0x1401057b0]
mov r12d, dword [rbp]
add r12, rsi
mov rcx, r12
call fcn.1400f3cb0
mov rcx, r14
mov rdx, r12
mov r8, rax
call fcn.14002ba40
mov rcx, r14
mov rdx, r15
call fcn.1400039d0
mov rcx, rax
mov r8, rbx
mov r9, rdi
call fcn.14000266e
test al, al
jne 0x14000d819
add rbp, 4
add r13, 2
jmp 0x14000d7d5
mov rcx, qword [rsp + 0x28]
add rcx, rsi
movzx eax, word [r13]
mov eax, dword [rcx + rax*4]
add rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14000dc96
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14000dd1c
mov rsi, rdx
lea rax, [rdx + 1]
cmp rax, 2
jb 0x14000dd1c
mov rdi, rcx
xor edx, edx
call qword [sym.imp.kernel32.dll_TerminateProcess]
test eax, eax
je 0x14000dcfe
lea rcx, [rsp + 0x28]
and qword [rcx], 0
call fcn.140002d86
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rdi
call fcn.140007588
mov rcx, rbx
call fcn.140002d86
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.140007588
mov rcx, rdi
jmp 0x14000dd17
call fcn.1400c496e
lea rcx, [rsp + 0x28]
and qword [rcx + 8], 0
mov dword [rcx + 0x10], eax
mov qword [rcx], 1
call fcn.140002d86
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000f21f
Capabilities:
Get token membership

Disassembly:
sub rsp, 0x78
lea rcx, [rsp + 0x70]
and dword [rcx], 0
mov word [rcx + 4], 0x500
lea rax, [rsp + 0x68]
and qword [rax], 0
and dword [rsp + 0x48], 0
and dword [rsp + 0x40], 0
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x50], rax
and dword [rsp + 0x20], 0
mov dl, 2
mov r8d, 0x20
mov r9d, 0x220
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
je 0x14000f2a6
lea r8, [rsp + 0x64]
and dword [r8], 0
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call sub.advapi32.dll_CheckTokenMembership
test eax, eax
jne 0x14000f292
and dword [rsp + 0x64], 0
mov rcx, qword [rsp + 0x68]
call sub.kernel32.dll_LocalFree
cmp dword [rsp + 0x64], 0
setne al
jmp 0x14000f2a8
xor eax, eax
add rsp, 0x78
ret
Function at 0x1400192e0
Capabilities:
Persist via run registry key

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1348
call fcn.1400efe30
sub rsp, rax
movaps xmmword [rsp + 0x1330], xmm6
mov qword [rsp + 0x150], rcx
mov esi, 8
mov ecx, 0x40
mov edx, 8
call fcn.140003edd
lea rcx, str.HKLMSOFTWAREMicrosoftWindowsCurrentVersionRunHKLMSOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionRunHKCUSOFTWAREMicrosoftWindowsCurrentVersionRunHKCUSOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionRunHKLMHKCUsrccoreutils_regeditmod.rs
mov qword [rax], rcx
mov r8d, 0x32
mov qword [rax + 8], r8
lea rcx, [0x14010594a]
mov qword [rax + 0x10], rcx
mov ecx, 0x3e
mov qword [rax + 0x18], rcx
lea rdx, [0x140105988]
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], r8
lea rdx, [0x1401059ba]
mov qword [rax + 0x30], rdx
mov qword [rax + 0x38], rcx
lea rcx, [rsp + 0x2a8]
mov qword [rcx], rsi
xorps xmm6, xmm6
movups xmmword [rcx + 8], xmm6
lea rcx, [rsp + 0x2c0]
mov qword [rcx], rsi
movups xmmword [rcx + 8], xmm6
lea rcx, [rsp + 0x2d8]
mov qword [rcx], rsi
movups xmmword [rcx + 8], xmm6
lea rcx, [rax + 0x40]
mov qword [rsp + 0x278], rax
mov qword [rsp + 0x280], 4
mov qword [rsp + 0x288], rax
mov qword [rsp + 0x290], rcx
lea rcx, [rsp + 0x298]
add rcx, rsi
mov qword [rsp + 0x1b8], rcx
lea rcx, [rsp + 0x80]
add rcx, rsi
mov qword [rsp + 0x168], rcx
lea rcx, [rsp + 0x60]
add rcx, rsi
mov qword [rsp + 0x1c8], rcx
lea r13, [rsp + 0x330]
lea rcx, [rsi + r13]
mov qword [rsp + 0x160], rcx
lea rcx, [rsp + 0xa8]
add rsi, rcx
mov qword [rsp + 0x1c0], rsi
lea rbp, [rsp + 0x4c]
lea r14, [rsp + 0x5c]
mov r12, qword [sym.imp.advapi32.dll_RegEnumValueW]
xor ecx, ecx
mov qword [rsp + 0x158], rax

Function at 0x140027ab2
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x140030260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x1400302f0
cmp r11, r10
ja 0x140030366
cmp r10, rdx
ja 0x14003037a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400302f2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400302d0
jmp 0x140030354
ja 0x1400302fa
mov r11, r10
cmp rax, r8
jne 0x140030294
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140030330
mov rdi, r8
sub ecx, edx
jns 0x14003034b
jmp 0x140030356
cmp r8, rsi
je 0x14003038b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140030356
xor al, 1
cmp rdi, rsi
jne 0x140030310
jmp 0x140030356
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400fed10
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400fea40
ud2
lea rcx, [0x14015c0c2]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400feac0
ud2