joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002fd0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180002ff8
xor eax, eax
lea r8, [0x180002ef0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x1800046e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180004900
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800047e7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180004744
mov rax, qword [0x18000e008]
cmp qword [rsp + 0x20], rax
ja 0x180004744
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180004706
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180004773
jmp 0x1800047e7
cmp dword [rsp + 0x50], 0x10000
jne 0x1800047ca
cmp qword [rsp + 0x48], 0x10000
jb 0x1800047ca
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800047b8
mov rax, qword [rsp + 0x28]
jmp 0x1800047e9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800047e2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180004900
mov qword [rsp + 0x20], rax
jmp 0x180004706
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800047f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180004940
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800048f3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18000484b
mov rax, qword [0x18000e008]
cmp qword [rsp + 0x20], rax
ja 0x18000484b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18000480d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18000487a
jmp 0x1800048f3
cmp dword [rsp + 0x50], 0x10000
jne 0x1800048d1
cmp qword [rsp + 0x48], 0x10000
jb 0x1800048d1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800048bf
mov rax, qword [rsp + 0x28]
jmp 0x1800048f5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800048ee
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180004940
mov qword [rsp + 0x20], rax
jmp 0x18000480d
xor eax, eax
add rsp, 0x68
ret
Function at 0x180004990
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180004f20
mov qword [rsp + 0x28], 0
cmp qword [0x18000e378], 0
jne 0x1800049d8
cmp qword [0x18000e370], 0
je 0x1800049d8
mov rax, qword [0x18000e370]
mov qword [0x18000e378], rax
cmp qword [0x18000e378], 0
je 0x180004a7e
mov rax, qword [0x18000e378]
cmp qword [rax + 0x10], 0
je 0x180004a7e
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180004a7e
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180004a7e
mov rax, qword [0x18000e378]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180004a44
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180004a4b
xor eax, eax
jmp 0x180004bf9
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x180004bf9
mov rax, qword [0x18000e370]
mov qword [0x18000e378], rax
jmp 0x180004aa0
mov rax, qword [0x18000e378]
mov rax, qword [rax + 8]
mov qword [0x18000e378], rax
cmp qword [0x18000e378], 0
je 0x180004aed
cmp qword [0x18000e378], 0
je 0x180004aeb
mov rax, qword [0x18000e378]
cmp qword [rax + 0x10], 0
je 0x180004aeb
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180004aeb
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180004aeb
jmp 0x180004a1c
jmp 0x180004a8e
mov rcx, qword [rsp + 0x60]
call fcn.180006b50
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180004c00
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180004bf7
mov rax, qword [rsp + 0x48]
mov qword [0x18000e378], rax
mov rax, qword [0x18000e378]
mov dword [rax], 0x52727464
mov rax, qword [0x18000e378]
mov qword [rax + 0x10], 0
mov rax, qword [0x18000e378]
mov rcx, qword [0x18000e370]
mov qword [rax + 8], rcx
mov rax, qword [0x18000e378]
mov qword [0x18000e370], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18000e378]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180004ba8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180004be2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180004b9e
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180004a1c
xor eax, eax
add rsp, 0x58
ret
Function at 0x140006510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push r12
push r13
sub rsp, 0x58
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
mov r12, r8
mov r13, rcx
lea r8, [rsp + 0x28]
movzx edx, dx
mov rcx, r9
mov rdi, r9
mov word [rsp + 0x20], ax
mov qword [rsp + 0x28], 0x4c4d58
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x34], al
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x14000661b
mov rdx, rax
mov rcx, rdi
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rsi
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, esi
mov rdi, rax
call fcn.14010a204
lea ecx, [rsi - 2]
mov ebx, ecx
mov r8d, ecx
lea rdx, [rdi + 2]
mov rcx, rax
mov rbp, rax
call fcn.14010c9b0
lea ecx, [rsi - 1]
mov byte [rbx + rbp], 0
mov byte [rcx + rbp], 0
mov rcx, rbp
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [r12]
lea r8, [rsp + 0x20]
mov r9, qword [rcx]
mov rdx, rax
mov rbx, rax
call qword [r9 + 0x208]
mov rcx, rbp
mov edi, eax
call fcn.140085540
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp word [rsp + 0x20], 0
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
je 0x14000661b
test edi, edi
js 0x14000661b
mov rdx, qword [r12]
mov rcx, r13
call fcn.140005af0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x58
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x1400085e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rdx, rcx
lea rcx, [rsp + 0xa0]
mov r8d, 0x80
call fcn.14010d5f0
lea rcx, [rsp + 0xa0]
mov byte [rsp + 0x11f], 0
call fcn.140115670
xor edi, edi
cmp byte [str._86__.__t957], dil
je 0x1400086ac
lea rsi, str._86__.__t957
mov rbx, rsi
nop word [rax + rax]
movsxd rcx, edi
lea rdx, [rsp + 0x20]
shl rcx, 4
add rcx, rsi
sub rdx, rcx
movzx eax, byte [rcx]
inc rcx
mov byte [rdx + rcx - 1], al
test al, al
jne 0x140008662
cmp byte [rsp + 0x20], 0
lea rax, [rsp + 0x20]
je 0x14000868b
nop dword [rax]
xor byte [rax], 0x5a
inc rax
cmp byte [rax], 0
jne 0x140008680
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xa0]
call fcn.14010d30c
test rax, rax
jne 0x1400086d3
add rbx, 0x10
inc edi
cmp byte [rbx], al
jne 0x140008650
xor eax, eax
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov eax, 1
jmp 0x1400086ae
Function at 0x140008bf0
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
xor edx, edx
lea rsi, [0x1402bd8f0]
lea r8d, [rdx + 0x28]
mov rcx, rsi
call fcn.14010da60
lea rcx, [0x1400084a0]
xor edx, edx
call qword [sym.imp.USER32.dll_EnumWindows]
xor ecx, ecx
call fcn.14010d57c
mov r12d, 0xa
xor r14d, r14d
lea r13, [rax + 0xa]
xor ecx, ecx
call fcn.14010d57c
cmp r13, rax
jle 0x140008ca3
mov ebp, 1
mov rbx, rsi
mov rdi, r12
nop dword [rax]
mov r8d, dword [rbx]
test r8d, r8d
je 0x140008c8b
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x140008c88
mov rcx, rax
mov ebp, r14d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008c8b
mov dword [rbx], r14d
add rbx, 4
dec rdi
jne 0x140008c60
test ebp, ebp
jne 0x140008ca3
lea ecx, [rdi + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008c46
mov r8d, dword [rsi]
test r8d, r8d
je 0x140008ce7
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x140008ce7
mov r8d, dword [rsi]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140008ce7
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 4
dec r12
jne 0x140008ca3
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
jmp fcn.1400085a0
Function at 0x140008d80
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x2b0
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
lea rax, [rsp + 0x48]
lea rdx, str.SOFTWAREMicrosoftInternet_ExplorerTypedUrls
xor ebx, ebx
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140008ec3
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x2c0], rdi
mov qword [rsp + 0x28], rbx
mov byte [rsp + 0x60], bl
mov edi, ebx
mov dword [rsp + 0x40], 0x40
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x140008ebb
nop word [rax + rax]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
lea rdx, [rsp + 0x60]
xor r8d, r8d
inc edi
mov byte [rsp + 0xa0], bl
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x200
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140008e75
lea rcx, [rsp + 0xa0]
call fcn.1400085e0
test eax, eax
jne 0x140008eb6
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov edx, edi
mov qword [rsp + 0x28], rbx
mov byte [rsp + 0x60], bl
mov dword [rsp + 0x40], 0x40
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x140008e20
jmp 0x140008ebb
mov ebx, 1
mov rdi, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140008ed3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x2b0
pop rbx
ret
Function at 0x140009ac0
Capabilities:
Timestomp file

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor eax, eax
xor r9d, r9d
mov edx, 0xc0000000
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
lea r8d, [rax + 3]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140009b3a
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x60
pop rbx
ret

Function at 0x140009b50
Capabilities:
Get common file path
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x170
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor esi, esi
mov rbx, rdx
mov rbp, rcx
test rcx, rcx
je 0x140009cfb
test rdx, rdx
je 0x140009cfb
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x103
mov qword [rsp + 0x1a0], rdi
mov byte [rsp + 0x50], sil
call fcn.14010da60
mov rcx, qword [0x1402c0178]
lea rdx, [rsp + 0x50]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [rsi + 0x5c]
lea rcx, [rsp + 0x50]
call fcn.14010dc54
test rax, rax
je 0x140009c42
mov byte [rax + 1], sil
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasb al, byte [rdi]
mov rax, qword [str.pl_runset.ini]
lea rcx, [rsp + 0x50]
mov qword [rdi - 1], rax
mov eax, dword [0x1401eb0d8]
mov dword [rdi + 7], eax
movzx eax, word [0x1401eb0dc]
mov word [rdi + 0xb], ax
call fcn.1400d0090
test eax, eax
je 0x140009c42
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x50]
sub rbx, rax
nop dword [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rbx + rcx - 1], al
test al, al
jne 0x140009c20
mov rdi, qword [rsp + 0x1a0]
mov esi, 1
mov eax, esi
jmp 0x140009cfd
cmp rbp, 0xff
je 0x140009cef
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call fcn.14010da60
lea rdx, [rsp + 0x50]
mov ecx, 0x103
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, [0x1401eb0c8]
lea rcx, [rsp + 0x50]
mov r9, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
lea r8d, [r9 + 3]
mov edx, 0xc0000000
mov rcx, rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140009cef
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasb al, byte [rdi]
lea r9, [rsp + 0x40]
mov rdx, rbp
not rcx
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x20], rsi
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x1a0]
mov eax, esi
jmp 0x140009cfd
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x170
pop rsi
pop rbp
pop rbx
ret
Function at 0x140009db0
Capabilities:
Check internet connectivity via wininet

Disassembly:
xor ecx, ecx
jmp qword [sym.imp.WININET.dll_InternetAttemptConnect]

Function at 0x140009e80
Capabilities:
Get common file path
Get disk information
Set current directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x140
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor esi, esi
mov rbx, rcx
test rcx, rcx
jne 0x140009eb0
xor eax, eax
jmp 0x140009fec
cmp byte [0x1402c1860], sil
mov qword [rsp + 0x158], rdi
je 0x140009ef5
lea rcx, [0x1402c1860]
mov rdx, rbx
sub rdx, rcx
nop
movzx eax, byte [rcx]
inc rcx
mov byte [rdx + rcx - 1], al
test al, al
jne 0x140009ed0
mov edx, 0x5c
mov rcx, rbx
call fcn.14010db4c
test rax, rax
je 0x140009f2e
mov byte [rax], sil
jmp 0x140009f2e
cmp byte [0x1402c1b90], sil
je 0x140009f20
lea rcx, [0x1402c1b90]
mov rdx, rbx
sub rdx, rcx
nop dword [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rdx + rcx - 1], al
test al, al
jne 0x140009f10
jmp 0x140009f2e
mov rdx, rcx
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
lea rcx, [rsp + 0x20]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp edi, 5
je 0x140009f65
test edi, edi
jne 0x140009fe2
mov edx, 4
lea rcx, str.shell32.dll
lea r8d, [rdx + 0x43]
call fcn.1400cf190
cmp eax, 1
jne 0x140009fce
lea rcx, str.shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x140009fce
lea rdx, str.SHGetSpecialFolderPathA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140009fc1
mov rcx, qword [0x1402c0418]
xor r9d, r9d
mov rdx, rbx
lea r8d, [r9 + 0x10]
call rax
mov esi, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
jne 0x140009fe2
movzx ecx, word [0x1401eb11c]
mov word [rbx], cx
movzx ecx, byte [0x1401eb11e]
mov byte [rbx + 2], cl
mov rdi, qword [rsp + 0x158]
mov eax, esi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rsi
ret
Function at 0x14000c320
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push r13
sub rsp, 0x1a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x190], rax
xor esi, esi
mov qword [rsp + 0x48], rsi
test rcx, rcx
jne 0x14000c36a
xor eax, eax
jmp 0x14000c539
mov edx, 4
mov rcx, qword [0x1402c0178]
call fcn.1400d7960
mov rbx, rax
test rax, rax
je 0x14000c52f
cmp dword [rax], 0
je 0x14000c52f
cmp dword [rax + 4], 0
je 0x14000c52f
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.Wow64DisableWow64FsRedirection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14000c3c9
lea rcx, [rsp + 0x68]
call rax
nop
mov byte [rsp + 0x80], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x81]
call fcn.14010da60
mov r8d, 0x104
lea rdx, [rsp + 0x80]
mov rcx, qword [0x1402c0178]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14000c4fd
mov ecx, dword [rbx + 4]
call fcn.14010a204
mov r12, rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rbx]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
mov r8d, dword [rbx + 4]
mov rdx, r12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000c4eb
mov eax, dword [rbx + 4]
cmp dword [rsp + 0x40], eax
jne 0x14000c4eb
mov ebx, eax
mov qword [rsp + 0x58], rax
mov rdi, r12
mov qword [rsp + 0x50], r12
mov rax, qword [0x1401eaf40]
cmp rbx, 8
jb 0x14000c4eb
cmp qword [rdi], rax
jne 0x14000c4d9
add rdi, 8
mov qword [rsp + 0x50], rdi
sub rbx, 8
mov qword [rsp + 0x58], rbx
lea rcx, [rbx + 1]
call fcn.14010a204
mov rsi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000c4eb
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call fcn.14010c9b0
mov byte [rsi + rbx], 0
jmp 0x14000c4eb
inc rdi
mov qword [rsp + 0x50], rdi
dec rbx
mov qword [rsp + 0x58], rbx
jmp 0x14000c492
mov rcx, r12
call fcn.14010d304
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x60], 0
je 0x14000c52f
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.Wow64RevertWow64FsRedirection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000c52f
mov rcx, qword [rsp + 0x68]
call rax
nop
jmp 0x14000c536
mov rax, rsi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop r13
ret
Function at 0x14000d660
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x3b0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
mov rbx, rcx
mov byte [rsp + 0x70], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x71]
call fcn.14010da60
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
lea rcx, [rsp + 0x70]
call fcn.14010db4c
mov rdi, rax
test rax, rax
je 0x14000d6d7
inc rdi
jmp 0x14000d6dc
lea rdi, [rsp + 0x70]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000d80d
mov byte [rsp + 0x290], al
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x291]
call fcn.14010da60
mov byte [rsp + 0x180], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x181]
call fcn.14010da60
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x48], 0x104
xor esi, esi
mov ebx, esi
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x44], esi
nop dword [rax]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x290]
mov edx, ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x14000d801
lea rcx, [rsp + 0x180]
call fcn.140115670
cmp dword [rsp + 0x44], 1
jne 0x14000d7e6
mov rdx, rdi
lea rcx, [rsp + 0x180]
call fcn.14010d30c
test rax, rax
je 0x14000d7e6
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x14000d801
jmp 0x14000d7ec
inc ebx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x48], 0x104
jmp 0x14000d760
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret