joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a0866
Capabilities:
Set registry value

Disassembly:
jmp 0x1400d0700
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rcx, [0x14026606c]
call fcn.1400a4e07
mov rax, qword [rbp + 0x160]
cmp qword [rax], 0
jne 0x1400d0776
mov eax, dword [0x140248098]
add eax, 5
lea rcx, str.m_hKey___0
mov qword [rsp + 0x28], rcx
lea rcx, [0x1401f45e0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x1401fa660]
mov ecx, 2
call fcn.1400a0875
cmp eax, 1
jne 0x1400d0776
int3
xor eax, eax
test eax, eax
jne 0x1400d0729
cmp qword [rbp + 0x170], 0
je 0x1400d0792
mov dword [rbp + 0x134], 1
jmp 0x1400d079c
mov dword [rbp + 0x134], 0
mov eax, dword [rbp + 0x134]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
jne 0x1400d07eb
mov eax, dword [0x140248098]
add eax, 6
lea rcx, str.__atl_condVal
mov qword [rsp + 0x28], rcx
lea rcx, [0x1401f45e0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x1401fa660]
mov ecx, 2
call fcn.1400a0875
cmp eax, 1
jne 0x1400d07eb
int3
cmp dword [rbp + 0x64], 0
jne 0x1400d07f8
mov eax, 0xd
jmp 0x1400d0877
xor eax, eax
test eax, eax
jne 0x1400d077c
mov dword [rbp + 0x24], 0
mov rax, qword [rbp + 0x170]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 8]
call fcn.1400a04ec
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
mov rcx, qword [rbp + 8]
lea rax, [rcx + rax*2]
mov qword [rbp + 8], rax
mov eax, dword [rbp + 0x44]
mov ecx, dword [rbp + 0x24]
lea rax, [rcx + rax*2]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x44], 1
jne 0x1400d0814
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x170]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rbp + 0x168]
mov rax, qword [rbp + 0x160]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1400a0b5e
Capabilities:
Get file size
Read file on windows

Disassembly:
jmp 0x140101b50
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
mov rax, qword [0x140248940]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x140266362]
call fcn.1400a4e07
mov dword [rbp + 4], 0
mov qword [rbp + 0x68], 0xffffffffffffffff
mov qword [rbp + 0x88], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0x80000000
mov rcx, qword [rbp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0xffffffffffffffff
jne 0x140101c01
jmp 0x140101cd2
lea rdx, [rbp + 0xa8]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x140101c20
jmp 0x140101cd2
mov rax, qword [rbp + 0xa8]
inc rax
mov ecx, 0xffffffff
cmp rax, rcx
jle 0x140101c3e
jmp 0x140101cd2
mov eax, dword [rbp + 0xa8]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
add eax, 1
mov eax, eax
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.1400a2e31
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140101c77
jmp 0x140101cd2
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140101ca1
jmp 0x140101cd2
mov eax, dword [rbp + 0x24]
xor ecx, ecx
mov rdx, qword [rbp + 0x88]
mov word [rdx + rax*2], cx
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x1a0]
call fcn.1400a05aa
mov dword [rbp + 4], eax
mov dword [rbp + 4], 1
cmp qword [rbp + 0x68], 0xffffffffffffffff
je 0x140101ceb
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x68], 0
cmp qword [rbp + 0x88], 0
je 0x140101d0c
mov rcx, qword [rbp + 0x88]
call fcn.1400a1bcb
mov qword [rbp + 0x88], 0
mov eax, 1
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x140206c80]
call fcn.1400a3fe8
mov eax, edi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.1400a25bc
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400a0d7f
Capabilities:
Read .ini file

Disassembly:
jmp 0x1400dd610
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x1402660c5]
call fcn.1400a4e07
mov rax, qword [rbp + 0xe0]
add rax, 0xb30
lea rcx, [0x14024cdd0]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x20
mov r9, rax
lea r8, [0x1401f5b54]
lea rdx, str.LicFile
lea rcx, str.dwmgr
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400a0e47
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x1400d30e0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x82
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x318]
mov rax, qword [0x140248940]
xor rax, rbp
mov qword [rbp + 0x2b8], rax
lea rcx, [0x140266076]
call fcn.1400a4e07
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rbp + 0x1c4], eax
cmp dword [rbp + 0x1c4], 0
jge 0x1400d318f
mov eax, dword [0x1402480e0]
add eax, 3
lea rcx, str.___HRESULT__hRes_____0_
mov qword [rsp + 0x28], rcx
lea rcx, [0x1401f45e0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, str.F:WorkSpacemsoftdwmgr_fdmgr.cpp
mov ecx, 2
call fcn.1400a0875
cmp eax, 1
jne 0x1400d318f
int3
lea rdx, [rbp + 0x10]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, 0x404
call fcn.1400a0de8
xor r9d, r9d
mov r8, qword [rbp + 0x2e0]
xor edx, edx
lea rcx, [0x14024cd30]
call fcn.1400a4b64
mov dword [rbp + 0x1c4], eax
cmp dword [rbp + 0x1c4], 0
jge 0x1400d320e
mov eax, dword [0x1402480e0]
add eax, 0xa
lea rcx, str.___HRESULT__hRes_____0_
mov qword [rsp + 0x28], rcx
lea rcx, [0x1401f45e0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, str.F:WorkSpacemsoftdwmgr_fdmgr.cpp
mov ecx, 2
call fcn.1400a0875
cmp eax, 1
jne 0x1400d320e
int3
mov rax, qword [rbp + 0x2e0]
mov qword [0x14024cdb0], rax
mov edx, dword [rbp + 0x2f8]
mov rcx, qword [rbp + 0x2f0]
call fcn.1400a455b
mov dword [rbp + 0x1e4], eax
lea rcx, [0x14024cd30]
call fcn.1400a2427
call qword [sym.imp.ole32.dll_CoUninitialize]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [rbp + 0x1e4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x1401f8780]
call fcn.1400a3fe8
mov eax, edi
mov rcx, qword [rbp + 0x2b8]
xor rcx, rbp
call fcn.1400a25bc
lea rsp, [rbp + 0x2c8]
pop rdi
pop rbp
ret
Function at 0x1400a10ea
Capabilities:
Delete registry key

Disassembly:
jmp 0x1400c9c80
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x14026606c]
call fcn.1400a4e07
mov rax, qword [rbp + 0x100]
cmp qword [rax], 0
jne 0x1400c9cf0
mov eax, dword [0x140248080]
inc eax
lea rcx, str.m_hKey___0
mov qword [rsp + 0x28], rcx
lea rcx, [0x1401f45e0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x1401fa660]
mov ecx, 2
call fcn.1400a0875
cmp eax, 1
jne 0x1400c9cf0
int3
xor eax, eax
test eax, eax
jne 0x1400c9ca4
mov rax, qword [rbp + 0x100]
cmp qword [rax + 0x10], 0
je 0x1400c9d2a
mov r8, qword [rbp + 0x108]
mov rax, qword [rbp + 0x100]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax + 0x10]
call fcn.1400a440c
jmp 0x1400c9db4
movzx eax, byte [0x14024cd29]
test eax, eax
jne 0x1400c9d6c
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1400c9d65
lea rdx, str.RegDeleteKeyExW
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14024cd20], rax
mov byte [0x14024cd29], 1
cmp qword [0x14024cd20], 0
je 0x1400c9d9d
xor r9d, r9d
mov rax, qword [rbp + 0x100]
mov r8d, dword [rax + 8]
mov rdx, qword [rbp + 0x108]
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax]
call qword [0x14024cd20]
jmp 0x1400c9db4
mov rdx, qword [rbp + 0x108]
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400a155e
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400ec780
push rbp
push rdi
sub rsp, 0x4b8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0xba
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140248940]
xor rax, rbp
mov qword [rbp + 0x458], rax
lea rcx, [0x1402662e9]
call fcn.1400a4e07
mov edx, 0x7d0
mov rcx, qword [0x14024d888]
call fcn.1400a0ad7
test eax, eax
jne 0x1400ec7d7
jmp 0x1400ec92e
lea rdx, [0x1401f5b54]
lea rcx, [0x14024dc22]
call fcn.1400a262a
test eax, eax
jne 0x1400ec7ff
mov edx, 0x104
lea rcx, [0x14024dc22]
call fcn.1400a25b2
lea rdx, [0x1401f5b54]
lea rcx, [0x14024dc22]
call fcn.1400a262a
test eax, eax
jne 0x1400ec81b
jmp 0x1400ec92e
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
lea rcx, [0x14024dc22]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14024d890], rax
cmp qword [0x14024d890], 0xffffffffffffffff
jne 0x1400ec870
mov qword [0x14024d890], 0
jmp 0x1400ec922
mov qword [rbp + 8], 0
lea rax, [rbp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rcx, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov r9d, 2
lea r8, [rbp + 0x28]
mov rdx, qword [rbp + 8]
mov rcx, qword [0x14024d890]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
movzx eax, word [rbp + 0x54]
movzx ecx, word [rbp + 0x52]
movzx edx, word [rbp + 0x50]
movzx edi, word [rbp + 0x4e]
movzx r8d, word [rbp + 0x4a]
movzx r9d, word [rbp + 0x48]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r8d
lea r8, str._r_n__d__02d__02d__02d:_02d:_02d__r_n
mov edx, 0x80
lea rcx, [rbp + 0xc0]
call fcn.1400a2df0
mov dword [rbp + 0x74], eax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x94]
mov r8d, dword [rbp + 0x74]
lea rdx, [rbp + 0xc0]
mov rcx, qword [0x14024d890]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x14024d888]
call fcn.1400a3967
lea rcx, [rbp - 0x50]
lea rdx, [0x140201ec0]
call fcn.1400a3fe8
mov rcx, qword [rbp + 0x458]
xor rcx, rbp
call fcn.1400a25bc
lea rsp, [rbp + 0x468]
pop rdi
pop rbp
ret

Function at 0x1400a1586
Capabilities:
Set registry value

Disassembly:
jmp 0x1400d0610
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x14026606c]
call fcn.1400a4e07
mov rax, qword [rbp + 0xe0]
cmp qword [rax], 0
jne 0x1400d0685
mov eax, dword [0x140248090]
inc eax
lea rcx, str.m_hKey___0
mov qword [rsp + 0x28], rcx
lea rcx, [0x1401f45e0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x1401fa660]
mov ecx, 2
call fcn.1400a0875
cmp eax, 1
jne 0x1400d0685
int3
xor eax, eax
test eax, eax
jne 0x1400d0639
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbp + 0xe8]
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400a15ef
Capabilities:
Create directory
Get common file path

Disassembly:
jmp 0x1400ec280
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x40]
lea rcx, [0x1402662e9]
call fcn.1400a4e07
mov qword [rbp + 0x48], 0xffffffffffffffff
xor r9d, r9d
mov r8d, 0x23
mov rdx, qword [rbp + 0x140]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, [0x1401f5b54]
lea rcx, [0x14024d8a0]
call fcn.1400a262a
test eax, eax
je 0x1400ec339
lea r8, [0x140202364]
mov edx, 0xfa
mov rcx, qword [rbp + 0x140]
call fcn.1400a207b
lea r8, [0x14024d8a0]
mov edx, 0xfa
mov rcx, qword [rbp + 0x140]
call fcn.1400a207b
mov edx, 1
mov rcx, qword [rbp + 0x140]
call fcn.1400a06c2
test eax, eax
jne 0x1400ec339
xor edx, edx
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400ec339
xor eax, eax
jmp 0x1400ec4a9
mov rcx, qword [rbp + 0x140]
call fcn.1400a04ec
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jle 0x1400ec36f
mov eax, dword [rbp + 4]
dec eax
cdqe
mov rcx, qword [rbp + 0x140]
movzx eax, word [rcx + rax*2]
cmp eax, 0x20
jne 0x1400ec36f
mov eax, dword [rbp + 4]
dec eax
mov dword [rbp + 4], eax
jmp 0x1400ec348
cmp dword [rbp + 4], 0
jle 0x1400ec3a4
mov eax, dword [rbp + 4]
dec eax
cdqe
mov rcx, qword [rbp + 0x140]
movzx eax, word [rcx + rax*2]
cmp eax, 0x5c
jne 0x1400ec3a4
lea r8, [0x140202364]
mov edx, 0xfa
mov rcx, qword [rbp + 0x140]
call fcn.1400a207b
mov rcx, qword [rbp + 0x140]
call fcn.1400a04ec
mov qword [rbp + 0x118], rax
lea rcx, [0x14024d922]
call fcn.1400a04ec
mov rcx, qword [rbp + 0x118]
add rcx, rax
mov rax, rcx
cmp rax, 0x104
jb 0x1400ec3df
xor eax, eax
jmp 0x1400ec4a9
lea r8, [0x140202364]
mov edx, 0x104
mov rcx, qword [rbp + 0x140]
call fcn.1400a207b
lea r8, [0x14024d922]
mov edx, 0x104
mov rcx, qword [rbp + 0x140]
call fcn.1400a207b
mov dx, 0x2e
mov rcx, qword [rbp + 0x140]
call fcn.1400a0023
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x1400ec43f
lea r8, [0x140202368]
mov edx, 6
mov rcx, qword [rbp + 0x28]
call fcn.1400a23dc
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov r8d, 1
mov edx, 0xc0000000
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
jne 0x1400ec482
xor eax, eax
jmp 0x1400ec4a9
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [rbp + 0x140]
mov edx, 0x104
lea rcx, [0x14024dc22]
call fcn.1400a23dc
mov eax, 1
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400a1635
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x14010a9cc
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x14024dfd8]
test rcx, rcx
jne 0x14010a9f2
call fcn.14010ab50
test eax, eax
je 0x14010aa31
mov rcx, qword [0x14024dfd8]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rbx, rax
test rax, rax
je 0x14010aa13
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x16]
call fcn.1400a39d0
jmp 0x14010aa95
mov edx, 0x1000
mov r9d, 0x40
mov r8d, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x14010aa48
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xc0000017
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x14024dfd8]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x14010aa75
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x14010aa98
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x14024dfd8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x14010aa7c
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400a1883
Capabilities:
Get graphical window text

Disassembly:
jmp 0x1400b19c0
mov qword [rsp + 0x20], r9
mov word [rsp + 0x18], r8w
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3d8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x8e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x3f8]
mov rax, qword [0x140248940]
xor rax, rbp
mov qword [rbp + 0x3a8], rax
lea rcx, [0x14026601e]
call fcn.1400a4e07
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8d, 0x100
lea rdx, [rbp + 0x10]
mov rax, qword [rbp + 0x3d0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x3d0]
call fcn.1400a0474
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1401f4c60]
call fcn.1400a3fe8
mov eax, edi
mov rcx, qword [rbp + 0x3a8]
xor rcx, rbp
call fcn.1400a25bc
lea rsp, [rbp + 0x3b8]
pop rdi
pop rbp
ret

Function at 0x1400a1abd
Capabilities:
Delete registry value

Disassembly:
jmp 0x1400c9e10
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x14026606c]
call fcn.1400a4e07
mov rax, qword [rbp + 0xe0]
cmp qword [rax], 0
jne 0x1400c9e80
mov eax, dword [0x140248084]
inc eax
lea rcx, str.m_hKey___0
mov qword [rsp + 0x28], rcx
lea rcx, [0x1401f45e0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x1401fa660]
mov ecx, 2
call fcn.1400a0875
cmp eax, 1
jne 0x1400c9e80
int3
xor eax, eax
test eax, eax
jne 0x1400c9e34
mov rdx, qword [rbp + 0xe8]
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400a22d8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14018c2b0
mov rax, rcx
neg rcx
test rax, 7
je 0x14018c2cd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14018c328
test al, 7
jne 0x14018c2c0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x14018c2e1
mov rdx, qword [rax - 8]
test dl, dl
je 0x14018c352
test dh, dh
je 0x14018c34c
shr rdx, 0x10
test dl, dl
je 0x14018c346
test dh, dh
je 0x14018c340
shr rdx, 0x10
test dl, dl
je 0x14018c33a
test dh, dh
je 0x14018c334
shr edx, 0x10
test dl, dl
je 0x14018c32e
test dh, dh
jne 0x14018c2e1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x1400a22fb
Capabilities:
Query or enumerate registry key

Disassembly:
jmp 0x1400ccfa0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x508
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xd2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x528]
mov rax, qword [0x140248940]
xor rax, rbp
mov qword [rbp + 0x4b8], rax
lea rcx, [0x14026606c]
call fcn.1400a4e07
xor edx, edx
lea rcx, [rbp + 8]
call fcn.1400a0f96
mov rax, qword [rbp + 0x4e0]
mov eax, dword [rax + 8]
or eax, 0x2001f
mov r9d, eax
mov r8, qword [rbp + 0x4e8]
mov rax, qword [rbp + 0x4e0]
mov rdx, qword [rax]
lea rcx, [rbp + 8]
call fcn.1400a2a4e
mov dword [rbp + 0x34], eax
cmp dword [rbp + 0x34], 0
je 0x1400cd0b9
cmp dword [rbp + 0x34], 2
je 0x1400cd09c
cmp dword [rbp + 0x34], 3
je 0x1400cd09c
lea rcx, [0x14024cc40]
call fcn.1400a4ab0
mov dword [rbp + 0x4b4], eax
mov ecx, dword [0x14024809c]
add ecx, 7
mov r8d, ecx
lea rdx, str.D:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.39.33519_atlmfcinclude_atlbase.h
lea rcx, [rbp + 0x438]
call fcn.1400a1d2e
mov ecx, dword [rbp + 0x34]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 0x4e8]
mov qword [rsp + 0x20], rcx
lea r9, str.CRegKey::RecurseDeleteKey_:_Failed_to_Open_Key__Ts_Error___d__n
xor r8d, r8d
mov ecx, dword [rbp + 0x4b4]
mov edx, ecx
mov rcx, rax
call fcn.1400a0ad2
mov eax, dword [rbp + 0x34]
mov dword [rbp + 0x464], eax
lea rcx, [rbp + 8]
call fcn.1400a10f9
mov eax, dword [rbp + 0x464]
jmp 0x1400cd16c
mov dword [rbp + 0x74], 0x100
lea rax, [rbp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x74]
lea r8, [rbp + 0xa0]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400cd13b
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 8]
call fcn.1400a22fb
mov dword [rbp + 0x34], eax
cmp dword [rbp + 0x34], 0
je 0x1400cd132
mov eax, dword [rbp + 0x34]
mov dword [rbp + 0x484], eax
lea rcx, [rbp + 8]
call fcn.1400a10f9
mov eax, dword [rbp + 0x484]
jmp 0x1400cd16c
mov dword [rbp + 0x74], 0x100
jmp 0x1400cd0c0
lea rcx, [rbp + 8]
call fcn.1400a2166
mov rdx, qword [rbp + 0x4e8]
mov rcx, qword [rbp + 0x4e0]
call fcn.1400a10ea
mov dword [rbp + 0x4a4], eax
lea rcx, [rbp + 8]
call fcn.1400a10f9
mov eax, dword [rbp + 0x4a4]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1401f8ce0]
call fcn.1400a3fe8
mov rax, rdi
mov rcx, qword [rbp + 0x4b8]
xor rcx, rbp
call fcn.1400a25bc
lea rsp, [rbp + 0x4c8]
pop rdi
pop rbp
ret
Function at 0x1400a2314
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401bbf80
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1401bbb00
lea rcx, [rsp + 0x20]
call fcn.1401bbb50
movzx eax, al
test eax, eax
jne 0x1401bbfc5
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.1401bbb30
mov rax, qword [rsp + 0x40]
jmp 0x1401bc0bf
lea rcx, [rsp + 0x20]
call fcn.1401bbc50
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1401bbbf0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1400a267a
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400a1d0b
lea rcx, [rsp + 0x28]
call fcn.1400a2b2a
movzx eax, al
test eax, eax
jne 0x1401bc05f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400a3dd1
lea rcx, [rsp + 0x20]
call fcn.1401bbb30
mov rax, qword [rsp + 0x50]
jmp 0x1401bc0bf
lea rcx, [rsp + 0x20]
call fcn.1401bbc50
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400a4d3a
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400a25d5
lea rcx, [rsp + 0x28]
call fcn.1400a5578
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400a3dd1
lea rcx, [rsp + 0x20]
call fcn.1401bbb30
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret

Function at 0x1400a2788
Capabilities:
Hash data with md5

Disassembly:
jmp 0x140109610
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14026636d]
call fcn.1400a4e07
xor eax, eax
sub rax, qword [rbp + 0x100]
mov qword [rbp + 8], rax
mov r8d, 0x6c
xor edx, edx
mov rcx, qword [rbp + 8]
call fcn.1400a39d0
mov rax, qword [rbp + 8]
mov byte [rax + 0x68], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 8]
mov dword [rcx + rax + 0x10], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rbp + 8]
mov dword [rcx + rax + 0x10], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 8]
mov dword [rcx + rax], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rbp + 8]
mov dword [rcx + rax], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rbp + 8]
mov dword [rcx + rax], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rbp + 8]
mov dword [rcx + rax], 0x10325476
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400a2819
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140132800
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140132180
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14013283f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140268020]
jmp 0x140132849
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret