joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a4ac
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4b0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov r12, r9
mov edi, r8d
mov qword [rsp + 0x48], rdx
mov rsi, rcx
mov r14, qword [rsp + 0x510]
xor r15d, r15d
mov dword [rsp + 0x40], r15d
cmp qword [rcx + 0x10], r15
je 0x14000a631
cmp qword [rcx + 8], r15
je 0x14000a64d
cmp r8d, 0xfffff82e
jae 0x14000a669
lea eax, [r8 + 0x7d1]
mov ebx, eax
mov ecx, eax
call sub.mfc140.dll_Ordinal_265
mov qword [r12], rax
test rax, rax
je 0x14000a685
mov r8d, ebx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov ebx, r15d
mov dword [r14], r15d
mov ecx, edi
sub ecx, ebx
mov eax, 0x3e8
cmp ecx, eax
cmovb eax, ecx
mov dword [rsp + 0x40], eax
xor edx, edx
mov r8d, 0x3f0
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memset
mov r13d, ebx
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
add rdx, r13
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memmove
mov eax, 1
mov ecx, 0x3e8
cmp dword [rsp + 0x40], ecx
cmovne r15d, eax
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, r15d
xor edx, edx
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x14000a6a6
mov r8d, dword [rsp + 0x40]
mov rcx, qword [r12]
add rcx, r13
lea rdx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memmove
add ebx, dword [rsp + 0x40]
test r15d, r15d
je 0x14000a549
lea rdi, [rsp + 0xb0]
xor eax, eax
mov ecx, 0x3f0
rep stosb byte [rdi], al
mov dword [r14], ebx
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140059ef0
add rsp, 0x4b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rcx, [rsp + 0x58]
call fcn.140008e8c
lea rdx, [0x14008d788]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x68]
call fcn.140008de4
lea rdx, [0x14008d810]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x78]
call fcn.140008d74
lea rdx, [0x14008da50]
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rsp + 0x88]
call fcn.140008dac
lea rdx, [0x14008d930]
lea rcx, [rsp + 0x88]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rcx, [rsp + 0x98]
call fcn.140008ec4
lea rdx, [0x14008d9f0]
lea rcx, [rsp + 0x98]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14000a6cc
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x40
and qword [rax + 0x18], 0
lea r8, str.Microsoft_Base_Cryptographic_Provider_v1.0
mov ebx, edx
mov rdi, rcx
xor edx, edx
mov dword [rax - 0x28], 0xf0000000
lea rcx, [rax + 0x18]
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14000a74b
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x60]
mov r8, rdi
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x60]
test eax, eax
jne 0x14000a733
test rcx, rcx
jne 0x14000a767
jmp 0x14000a76f
test rcx, rcx
je 0x14000a740
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
lea rcx, [rsp + 0x30]
call fcn.140008de4
lea rdx, [0x14008d810]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rcx, [rsp + 0x30]
call fcn.140008efc
lea rdx, [0x14008db70]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14000a78c
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
lea rbx, [rcx + 8]
mov dword [rax - 0x28], 0xf0000000
and qword [rbx], 0
lea r8, str.Microsoft_Base_Cryptographic_Provider_v1.0
mov rsi, rdx
mov rdi, rcx
mov rcx, rbx
mov r9d, 1
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14000a86a
mov rcx, qword [rbx]
lea rax, [rbp + 0x10]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8004
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14000a884
mov edx, 0x1000
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov rcx, qword [rbp + 0x10]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14000a89e
mov r8, qword [rbp + 0x10]
lea rax, [rdi + 0x10]
mov rcx, qword [rbx]
mov r9d, 0x280000
and qword [rax], 0
mov edx, 0x6801
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x14000a8b8
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
lea rcx, [rbp - 0x10]
call fcn.140008de4
lea rdx, [0x14008d810]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x10]
call fcn.140008e1c
lea rdx, [0x14008dbd0]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x10]
call fcn.140008f34
lea rdx, [0x14008dc30]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x10]
call fcn.140008e8c
lea rdx, [0x14008d788]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14001065c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rax - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rbp, r9
mov r14, r8
mov rdi, rdx
xor esi, esi
mov dword [rax - 0x28], esi
lea rdx, [0x140067a24]
mov rcx, rdi
call qword [sym.imp.mfc140.dll_Ordinal_310]
mov dword [rsp + 0x20], 1
test r14, r14
je 0x140010719
test rbp, rbp
je 0x140010714
mov r15d, 0x1000
mov edx, r15d
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov rbx, rax
mov edx, r15d
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov r15, rbp
cmp ebx, eax
cmovae r15, r14
cmovae r14, rbp
mov ebp, ebx
cmovae ebp, eax
cmovae eax, ebx
test eax, eax
je 0x140010731
mov ebx, eax
mov eax, esi
mov dl, byte [rax + r14]
xor dl, byte [r15]
mov rcx, rdi
call qword [sym.imp.mfc140.dll_Ordinal_2426]
inc r15
lea ecx, [rsi + 1]
cmp esi, ebp
sbb eax, eax
and eax, ecx
mov esi, eax
sub rbx, 1
jne 0x1400106ec
jmp 0x140010731
mov rdx, r14
jmp 0x140010728
test rbp, rbp
mov rdx, rbp
jne 0x140010728
lea rdx, [0x140067a24]
mov rcx, rdi
call qword [sym.imp.mfc140.dll_Ordinal_1507]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140010d40
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x250
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rcx
test rdx, rdx
jne 0x140010d80
xor eax, eax
jmp 0x140010f20
or r9, 0xffffffffffffffff
mov r8, rdx
mov edx, 0x200
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebx, eax
and ebx, 0x8000003f
jge 0x140010dba
dec ebx
or ebx, 0xffffffc0
inc ebx
mov rax, qword [rsi]
movzx edx, bl
mov r8d, 2
mov rcx, rsi
call qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1507]
movzx ecx, byte [rsp + 0x40]
test cl, cl
je 0x140010ecf
lea r14, [rsp + 0x40]
lea rbp, [0x140092010]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi]
movzx edx, cl
mov r8d, 2
mov rcx, rsi
call qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_310]
nop
mov r8d, 0x10
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
movzx ecx, bl
xor al, byte [rcx + rbp]
mov r9, qword [rsi]
movzx edx, al
mov r8d, 2
mov rcx, rsi
call qword [r9]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1674]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x80808081
imul r8d
add edx, r8d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub r8d, ecx
mov rax, qword [rsi]
movzx edx, r8b
mov r8d, 2
mov rcx, rsi
call qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1674]
inc bl
movzx edi, bl
lea r14, [r14 + 1]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
movzx eax, byte [r14]
movzx ecx, al
xor ebx, ebx
cmp dil, 0x3f
cmovbe ebx, edi
test al, al
jne 0x140010e00
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsi]
mov r8d, dword [rdx - 0x10]
mov rcx, rsi
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov edx, eax
mov r8d, 4
mov rcx, rsi
call qword [rbx]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1674]
mov r8, qword [rsp + 0x20]
mov edx, 0x200
lea rcx, [rsi + 8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rax, [rsi + 8]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140059ef0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140010f50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x250
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
jne 0x140010f93
xor eax, eax
jmp 0x140011142
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
or r9, 0xffffffffffffffff
mov r8, rbx
mov edx, 0x200
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebx, eax
and ebx, 0x8000003f
jge 0x140010fdf
dec ebx
or ebx, 0xffffffc0
inc ebx
mov rax, qword [rsi]
movzx edx, bl
mov r8d, 2
mov rcx, rsi
call qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1507]
movzx edx, byte [rsp + 0x40]
test dl, dl
je 0x1400110f1
lea r14, [rsp + 0x40]
lea rbp, [0x140092010]
nop word [rax + rax]
mov r8d, 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_301]
nop
movzx edx, byte [r14 + 1]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_1671]
mov r8d, 0x10
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
movzx ecx, bl
xor al, byte [rcx + rbp]
mov r9, qword [rsi]
movzx edx, al
mov r8d, 2
mov rcx, rsi
call qword [r9]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1674]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x80808081
imul r8d
add edx, r8d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub r8d, ecx
mov rax, qword [rsi]
movzx edx, r8b
mov r8d, 2
mov rcx, rsi
call qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1674]
inc bl
movzx edi, bl
lea r14, [r14 + 2]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
movzx eax, byte [r14]
movzx edx, al
xor ebx, ebx
cmp dil, 0x3f
cmovbe ebx, edi
test al, al
jne 0x140011020
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsi]
mov r8d, dword [rdx - 0x10]
mov rcx, rsi
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov edx, eax
mov r8d, 4
mov rcx, rsi
call qword [rbx]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1674]
mov r8, qword [rsp + 0x20]
mov edx, 0x200
lea rcx, [rsi + 8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rax, [rsi + 8]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140059ef0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1400118a4
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, 1
mov rdi, rdx
mov r8d, ebx
call fcn.140011bbc
test eax, eax
jne 0x1400118cf
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400119a8
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x2a0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rsi, rcx
mov r9, rcx
lea r8, str._s.
mov edx, Ordinal_265
lea rcx, [r11 - 0x128]
call fcn.140008cb0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
je 0x140011b58
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x140011b42
lea rdx, [0x140065298]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x140011a1e
lea rdx, [0x140065c90]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x140011a1e
mov edx, 0x1000
mov rcx, rsi
test byte [rsp + 0x40], 0x10
je 0x140011ad7
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov rbx, rax
mov edx, 0x104
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
lea rcx, [rax + 2]
add rcx, rbx
mov r14d, ecx
mov ecx, ecx
call sub.mfc140.dll_Ordinal_265
mov rbx, rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [0x140065c94]
mov edx, r14d
mov rcx, rbx
call fcn.140008cb0
mov rcx, rbx
call fcn.1400119a8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test rbx, rbx
je 0x140011a1e
jmp 0x140011b35
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov rbx, rax
mov edx, 0x104
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
lea rcx, [rax + 2]
add rcx, rbx
mov r14d, ecx
mov ecx, ecx
call sub.mfc140.dll_Ordinal_265
mov rbx, rax
test rax, rax
je 0x140011a1e
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [0x140065c94]
mov edx, r14d
mov rcx, rbx
call fcn.140008cb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, rbx
call sub.mfc140.dll_Ordinal_266
jmp 0x140011a1e
jmp 0x140011b49
test rdi, rdi
je 0x140011b58
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140059ef0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140011c38
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x440
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rsp + 0x430], rax
lea rbx, [rcx + 0x18]
mov rdi, rdx
mov rcx, rbx
lea rdx, [0x14006508d]
call qword [sym.imp.mfc140.dll_Ordinal_1507]
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x8023
xor ecx, ecx
call qword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
test eax, eax
js 0x140011ce4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.mfc140.dll_Ordinal_1507]
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rax - 0x10]
dec edx
call qword [sym.imp.mfc140.dll_Ordinal_4903]
cmp al, 0x5c
je 0x140011cd4
lea rdx, [0x140067a10]
mov rcx, rbx
call qword [sym.imp.mfc140.dll_Ordinal_1674]
lea rdx, [0x140067f20]
mov rcx, rbx
call qword [sym.imp.mfc140.dll_Ordinal_1674]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.mfc140.dll_Ordinal_300]
mov rax, rdi
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140059ef0
mov rbx, qword [rsp + 0x460]
add rsp, 0x440
pop rdi
ret
Function at 0x140012868
Capabilities:
Get common file path
Get session user name

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov r14d, Ordinal_265
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], Ordinal_266
test rdi, rdi
je 0x14001297f
cmp ebx, 1
jb 0x14001297f
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x801a
xor ecx, ecx
call qword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
test eax, eax
js 0x14001297f
lea rdx, str.IntelWireless_
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_310]
nop
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov r8, qword [rsi]
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_12391]
mov edx, ebx
mov r9d, ebx
mov r8, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140059ef0
add rsp, 0x280
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140012e54
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x260
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r8d, 1
mov rbx, rdx
mov rdi, rcx
call fcn.140011bbc
test eax, eax
jne 0x140012f72
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140012f72
mov r14d, Ordinal_265
lea rcx, [rsp + 0x30]
mov r8d, r14d
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea r8d, [r14 - 1]
lea rcx, [rsp + 0x140]
call sub.VCRUNTIME140.dll_memset
or r9, 0xffffffffffffffff
lea rcx, [rsp + 0x140]
mov r8, rbx
mov edx, r14d
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
lea r8, [rsp + 0x20]
lea rdx, [0x140067a10]
lea rcx, [rsp + 0x140]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbstok_s]
test rax, rax
jne 0x140012f08
xor eax, eax
jmp 0x140012f77
or r9, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov r8, rax
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
jmp 0x140012f56
lea r8, [0x140067a10]
mov rdx, r14
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r8, rbx
lea rcx, [rsp + 0x30]
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400118a4
test eax, eax
je 0x140012f04
lea r8, [rsp + 0x20]
xor ecx, ecx
lea rdx, [0x140067a10]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbstok_s]
mov rbx, rax
test rax, rax
jne 0x140012f1f
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140059ef0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x1400139e0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push rbx
sub rsp, 0x350
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov rbx, rcx
lea r8, str.FeatureSet1
lea rcx, [rsp + 0x60]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, str.FeatureSet2
mov edx, 0x64
lea rcx, [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, str.SOFTWAREIntelWireless.savGuiConfiguration
mov edx, 0x200
lea rcx, [rsp + 0x140]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [rsp + 0x60]
mov rcx, rbx
lea rdx, [rsp + 0x140]
call fcn.140014930
lea r8, [rsp + 0xd0]
mov rcx, rbx
lea rdx, [rsp + 0x140]
call fcn.140014930
lea rdx, str.SOFTWAREIntelWireless.savPolicies
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
lea r8, str.SOFTWAREIntelWireless.savAppFrameworkSettings
mov edx, 0x200
lea rcx, [rsp + 0x140]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rax, [rsp + 0x58]
xor ebx, ebx
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x140]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140013b0e
mov rcx, qword [rsp + 0x50]
lea rdx, str.PROSetVersion
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x50]
lea rdx, str.PWFramework
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea r8, str.SOFTWAREIntelWireless.savGuiConfiguration
mov edx, 0x200
lea rcx, [rsp + 0x140]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x140]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140013b7e
mov rcx, qword [rsp + 0x50]
lea rdx, str.MSZCFG
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea rdx, str.SOFTWAREIntelWireless.savConnMgr
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.140059ef0
add rsp, 0x350
pop rbx
ret