joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003d820
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x1a0
lea rdi, [rsp + 0x40]
mov ecx, 0x58
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x400
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
lea rcx, [rsp + 0x68]
call fcn.140004cd0
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov r9, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x40]
lea rdx, str.LastError__u_:__s
mov rcx, qword [rsp + 0x178]
call fcn.140056b20
mov r8, rax
lea rdx, [0x1401c1ce4]
lea rcx, [rsp + 0xc0]
call fcn.140058bb0
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x188], rax
lea r8, [0x1401c19fc]
mov rdx, qword [rsp + 0x188]
lea rcx, [rsp + 0x118]
call fcn.140058a70
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov rcx, qword [rsp + 0x198]
call fcn.140052720
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rsp + 0x118]
call fcn.140004db0
nop
lea rcx, [rsp + 0xc0]
call fcn.140004db0
nop
lea rcx, [rsp + 0x68]
call fcn.140004db0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsp
lea rdx, [0x1401cb8c0]
call fcn.1400bfd90
add rsp, 0x1a0
pop rdi
ret

Function at 0x14003f4b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x20]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x1402558e8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x20], 0
lea rdx, [0x1401c27c4]
mov rcx, qword [rsp + 0xf0]
call fcn.140132800
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14003f5b5
mov r9, qword [rsp + 0x28]
mov r8d, 0x40
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140133780
cmp rax, 0x40
jne 0x14003f5ab
xor r8d, r8d
mov edx, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x28]
call fcn.1401343a0
test eax, eax
jne 0x14003f5ab
mov r9, qword [rsp + 0x28]
mov r8d, 4
mov edx, 1
lea rcx, [rsp + 0x94]
call fcn.140133780
cmp rax, 4
jne 0x14003f5ab
cmp dword [rsp + 0x94], 0x4550
jne 0x14003f5ab
mov r9, qword [rsp + 0x28]
mov r8d, 2
mov edx, 1
lea rcx, [rsp + 0xb4]
call fcn.140133780
cmp rax, 2
jne 0x14003f5ab
movzx eax, word [rsp + 0xb4]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x28]
call fcn.140132c80
mov rax, qword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401cbda0]
call fcn.1400bfd90
mov rax, rdi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400c0080
add rsp, 0xe0
pop rdi
ret
Function at 0x140041130
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x160
lea rdi, [rsp + 0x50]
mov ecx, 0x44
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x170]
call fcn.1400090b0
mov r9d, 0x784
lea r8, [0x1401c3ee0]
lea rdx, str.IsValidString__szKeyName_
mov rcx, rax
call fcn.14001a8b0
mov rcx, qword [rsp + 0x178]
call fcn.1400090b0
mov r9d, 0x785
lea r8, [0x1401c3f60]
lea rdx, str.IsValidString__szKeyValue_
mov rcx, rax
call fcn.14001a8b0
mov rcx, qword [rsp + 0x170]
call fcn.14001ab00
test rax, rax
jne 0x1400411df
mov rcx, qword [rsp + 0x178]
call fcn.14001ab00
test rax, rax
jne 0x1400411df
mov qword [rsp + 0x128], 1
jmp 0x1400411eb
mov qword [rsp + 0x128], 0
mov r9d, 0x787
lea r8, [0x1401c3fe0]
lea rdx, str.IsEmptyStr__szKeyName___FALSE__IsEmptyStr__szKeyValue___FALSE
mov rcx, qword [rsp + 0x128]
call fcn.14001a8b0
mov rcx, qword [rsp + 0x178]
call fcn.1400e1fa0
lea rax, [rax + rax + 2]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x170]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400412a9
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1401c14d4]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x78]
call fcn.1400087a0
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
mov r8, qword [rsp + 0x170]
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0xd0]
call fcn.140058a70
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov rcx, qword [rsp + 0x148]
call fcn.140052720
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140041367
mov dword [rsp + 0x150], 1
jmp 0x140041372
mov dword [rsp + 0x150], 0
movzx eax, byte [rsp + 0x150]
mov byte [rsp + 0x74], al
lea rcx, [rsp + 0xd0]
call fcn.140004db0
nop
lea rcx, [rsp + 0x78]
call fcn.140004db0
movzx eax, byte [rsp + 0x74]
test eax, eax
je 0x1400413da
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1401c154c]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rsp
lea rdx, [0x1401cc368]
call fcn.1400bfd90
add rsp, 0x160
pop rdi
ret
Function at 0x140041400
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x30]
mov ecx, reloc.OLEAUT32.dll_SafeArrayLock
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call fcn.1400090b0
mov r9d, 0x89c
lea r8, [0x1401c4740]
lea rdx, str.IsValidString__szSubKey_
mov rcx, rax
call fcn.14001a8b0
mov r8d, 1
mov edx, 0x208
mov rcx, qword [rsp + 0xa0]
call fcn.140032010
mov r9d, 0x89d
lea r8, [0x1401c47c0]
lea rdx, str.IsValidAddress___psRetData____260__sizeof__TCHAR____TRUE_
mov rcx, rax
call fcn.14001a8b0
xor eax, eax
mov rcx, qword [rsp + 0xa0]
mov word [rcx], ax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400414cb
xor eax, eax
jmp 0x14004151f
mov dword [rsp + 0x54], 0x208
lea r9, [rsp + 0x54]
mov r8, qword [rsp + 0xa0]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x1400414fc
mov qword [rsp + 0x70], 1
jmp 0x140041505
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x68]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400bfd90
mov rax, rdi
add rsp, 0x80
pop rdi
ret
Function at 0x1400439e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rcx, qword [rsp + 0x40]
call fcn.140043a90
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140043a76
cmp qword [rsp + 0x20], 0x11
je 0x140043a28
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x140043a28
mov rax, qword [rsp + 0x20]
bts rax, 0xd
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0x10
je 0x140043a4f
mov ecx, SafeArrayLock
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x140043a4f
mov rax, qword [rsp + 0x20]
bts rax, 0xf
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0x12
je 0x140043a76
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetUBound
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x140043a76
mov rax, qword [rsp + 0x20]
bts rax, 0xe
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x140047500
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
cmp qword [rsp + 0x60], 0xffffffffffffffff
jl 0x140047527
mov qword [rsp + 0x38], 1
jmp 0x140047530
mov qword [rsp + 0x38], 0
mov r9d, 0x1fe
lea r8, [0x1401d36a0]
lea rdx, str.npReadDataSize____1
mov rcx, qword [rsp + 0x38]
call fcn.14001a8b0
mov rcx, qword [rsp + 0x58]
call fcn.1400090b0
mov r9d, 0x1ff
lea r8, [0x1401d3710]
lea rdx, [0x1401d2e18]
mov rcx, rax
call fcn.14001a8b0
mov rcx, qword [rsp + 0x58]
call fcn.14001ab00
test rax, rax
je 0x14004758f
mov rax, 0xffffffffffffffff
jmp 0x140047679
mov qword [rsp + 0x20], 0xffffffffffffffff
lea rdx, [0x1401d2134]
mov rcx, qword [rsp + 0x58]
call fcn.140132800
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14004766a
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x1400475f4
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1401343a0
mov rcx, qword [rsp + 0x28]
call fcn.1401389b0
cdqe
mov qword [rsp + 0x60], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1401343a0
cmp qword [rsp + 0x60], 0
jle 0x140047657
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call fcn.140044ed0
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x60]
mov edx, 1
mov rcx, rax
call fcn.140133780
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x28]
call fcn.140137880
test eax, eax
jne 0x140047655
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.140045040
mov rcx, qword [rsp + 0x28]
call fcn.140132c80
mov rax, qword [rsp + 0x30]
jmp 0x140047679
jmp 0x140047660
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x28]
call fcn.140132c80
mov rcx, qword [rsp + 0x50]
call fcn.140045220
mov rax, qword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
Function at 0x140048890
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x250
lea rdi, [rsp + 0x20]
mov ecx, 0x8c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x260]
mov rax, qword [0x1402558e8]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x260]
lea rcx, vtable.CPoolMem.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x260]
cmp qword [rax + 8], 0
je 0x1400488f7
mov qword [rsp + 0x240], 1
jmp 0x140048903
mov qword [rsp + 0x240], 0
mov r9d, 0xb1
lea r8, [0x1401d6850]
lea rdx, str.m_pbBufferBegin___NULL
mov rcx, qword [rsp + 0x240]
call fcn.14001a8b0
lea rax, [0x14025a210]
lock dec qword [rax]
cmp qword [0x14025a210], 0
je 0x14004895c
mov r8, qword [0x14025a210]
lea rdx, [0x1401d6618]
lea rcx, [rsp + 0x30]
call fcn.140043350
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x260]
call fcn.140048ff0
mov rax, qword [rsp + 0x260]
mov rcx, qword [rax + 8]
call fcn.140049b60
nop
mov rax, qword [rsp + 0x260]
add rax, 0x50
mov rcx, rax
call fcn.140011910
mov rcx, rsp
lea rdx, [0x1401d93c0]
call fcn.1400bfd90
nop
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400c0080
add rsp, 0x250
pop rdi
ret

Function at 0x1400489c0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.140048a30
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140048a10
mov r9d, 0xc8
lea r8, [0x1401d68c0]
lea rdx, [0x1401d63d4]
xor ecx, ecx
call fcn.14001a8b0
mov ecx, 0xffffffff
call fcn.140125e00
mov rax, qword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x140048c50
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.140048cc0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140048caa
mov r9d, 0xd4
lea r8, [0x1401d6930]
lea rdx, [0x1401d6654]
xor ecx, ecx
call fcn.14001a8b0
mov ecx, 0xffffffff
call fcn.140125e00
mov rax, qword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x140048ff0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x470
lea rdi, [rsp + 0x40]
mov ecx, 0x10c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x480]
mov rax, qword [0x1402558e8]
xor rax, rsp
mov qword [rsp + 0x468], rax
mov rax, qword [rsp + 0x480]
cmp qword [rax + 0x40], 0
jne 0x140049045
xorps xmm0, xmm0
movss dword [rsp + 0x460], xmm0
jmp 0x140049076
mov rax, qword [rsp + 0x480]
cvtsi2ss xmm0, qword [rax + 0x48]
mulss xmm0, dword [0x1401d9468]
mov rax, qword [rsp + 0x480]
cvtsi2ss xmm1, qword [rax + 0x40]
divss xmm0, xmm1
movss dword [rsp + 0x460], xmm0
cvtss2sd xmm0, dword [rsp + 0x460]
movsd qword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x480]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x480]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x480]
mov r9, qword [rax + 0x28]
mov rax, qword [rsp + 0x480]
mov r8, qword [rax + 0x38]
lea rdx, [0x1401d6f20]
lea rcx, [rsp + 0x50]
call fcn.140043350
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rsp
lea rdx, [0x1401d9420]
call fcn.1400bfd90
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.1400c0080
add rsp, 0x470
pop rdi
ret

Function at 0x1400499a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
cmp qword [rsp + 0x40], 0
jle 0x1400499bd
mov qword [rsp + 0x28], 1
jmp 0x1400499c6
mov qword [rsp + 0x28], 0
mov r9d, 0x38
lea r8, [0x1401d6270]
lea rdx, [0x1401d62c8]
mov rcx, qword [rsp + 0x28]
call fcn.14001a8b0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140049a2c
mov r9d, 0x41
lea r8, [0x1401d62e0]
lea rdx, [0x1401d62d4]
xor ecx, ecx
call fcn.14001a8b0
mov ecx, 0xffffffff
call fcn.140125e00
lea rax, [0x14025a210]
lock inc qword [rax]
mov rax, qword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x14004a150
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
cmp qword [rsp + 0x68], 0
jl 0x14004a17c
mov qword [rsp + 0x30], 1
jmp 0x14004a185
mov qword [rsp + 0x30], 0
mov r9d, 0xd6
lea r8, [0x1401d99b0]
lea rdx, str.npStackSize___0
mov rcx, qword [rsp + 0x30]
call fcn.14001a8b0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x28]
test rax, rax
je 0x14004a1bb
mov eax, 1
jmp 0x14004a2b5
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x28], 1
mov rax, qword [rsp + 0x50]
cmp qword [rax + 8], 0
je 0x14004a201
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cdqe
mov r9d, 0xde
lea r8, [0x1401d9a60]
lea rdx, str.::CloseHandle__m_handle_
mov rcx, rax
call fcn.14001a8b0
mov rax, qword [rsp + 0x50]
add rax, 0x18
mov rcx, rax
call fcn.14004cbe0
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x38], rcx
cmp qword [rsp + 0x58], 0
jne 0x14004a251
lea rax, [0x14004a540]
mov qword [rsp + 0x38], rax
jmp 0x14004a25d
lea rax, [0x14004a490]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 8], 0
jne 0x14004a2b0
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x28], 0
xor eax, eax
jmp 0x14004a2b5
mov eax, 1
add rsp, 0x40
pop rdi
ret
Function at 0x14004da40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov r8d, 1
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.140032010
mov r9d, 0x130
lea r8, [0x1401dcfd0]
lea rdx, [0x1401dcfa8]
mov rcx, rax
call fcn.14001a8b0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x10], 0
jne 0x14004da95
xor eax, eax
jmp 0x14004dab2
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x10]
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.140133780
add rsp, 0x20
pop rdi
ret
Function at 0x140065af0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x140065b44
lea rax, str.m_hKey___0
mov qword [rsp + 0x28], rax
lea rax, [0x1401a4858]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x167c
lea rdx, [0x1401a4ac0]
mov ecx, 2
call fcn.1400e0250
cmp eax, 1
jne 0x140065b44
int3
xor eax, eax
test eax, eax
jne 0x140065aff
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
je 0x140065b76
mov r8, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call fcn.140067780
jmp 0x140065bf9
movzx eax, byte [0x14025a280]
test eax, eax
jne 0x140065bbb
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140065bb4
lea rdx, str.RegDeleteKeyExW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14025a278], rax
mov byte [0x14025a280], 1
cmp qword [0x14025a278], 0
je 0x140065be6
xor r9d, r9d
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + 8]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [0x14025a278]
jmp 0x140065bf9
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x40
pop rdi
ret

Function at 0x140065c00
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x140065c54
lea rax, str.m_hKey___0
mov qword [rsp + 0x28], rax
lea rax, [0x1401a4858]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x16a5
lea rdx, [0x1401a4ac0]
mov ecx, 2
call fcn.1400e0250
cmp eax, 1
jne 0x140065c54
int3
xor eax, eax
test eax, eax
jne 0x140065c0f
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add rsp, 0x30
pop rdi
ret
Function at 0x1400673b0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x300
lea rdi, [rsp + 0x40]
mov ecx, reloc.OLEAUT32.dll_VarDecAdd
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x310]
mov rax, qword [0x1402558e8]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1400637b0
nop
mov rax, qword [rsp + 0x310]
mov eax, dword [rax + 8]
or eax, 0x2001f
mov r9d, eax
mov r8, qword [rsp + 0x318]
mov rax, qword [rsp + 0x310]
mov rdx, qword [rax]
lea rcx, [rsp + 0x48]
call fcn.140066ae0
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x1400674c5
cmp dword [rsp + 0x64], 2
je 0x1400674a4
cmp dword [rsp + 0x64], 3
je 0x1400674a4
lea rcx, [0x14025768c]
call fcn.140002850
mov dword [rsp + 0x2ec], eax
mov r8d, 0x18c9
lea rdx, [0x1401a4ba0]
lea rcx, [rsp + 0x2d0]
call fcn.140002420
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x318]
mov qword [rsp + 0x20], rcx
lea r9, str.CRegKey::RecurseDeleteKey_:_Failed_to_Open_Key__Ts_Error___d__n
xor r8d, r8d
mov ecx, dword [rsp + 0x2ec]
mov edx, ecx
mov rcx, rax
call fcn.140002870
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x2e0], eax
lea rcx, [rsp + 0x48]
call fcn.140063b80
mov eax, dword [rsp + 0x2e0]
jmp 0x140067598
mov dword [rsp + 0x94], 0x100
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x94]
lea r8, [rsp + 0xc0]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140067561
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x48]
call fcn.1400673b0
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x140067551
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x2e4], eax
lea rcx, [rsp + 0x48]
call fcn.140063b80
mov eax, dword [rsp + 0x2e4]
jmp 0x140067598
mov dword [rsp + 0x94], 0x100
jmp 0x1400674d0
lea rcx, [rsp + 0x48]
call fcn.140065870
mov rdx, qword [rsp + 0x318]
mov rcx, qword [rsp + 0x310]
call fcn.140065af0
mov dword [rsp + 0x2e8], eax
lea rcx, [rsp + 0x48]
call fcn.140063b80
mov eax, dword [rsp + 0x2e8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f4e80]
call fcn.1400bfd90
mov rax, rdi
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400c0080
add rsp, 0x300
pop rdi
ret
Function at 0x140067780
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x140067853
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400677f7
lea rax, str.hAdvAPI32___0
mov qword [rsp + 0x28], rax
lea rax, [0x1401a4858]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x29c
lea rdx, str.D:HSwin_androidplugins_vprj_win_sdkcompiler_normalVCToolsMSVC14.29.30133ATLMFCinclude_atltransactionmanager.h
mov ecx, 2
call fcn.1400e0250
cmp eax, 1
jne 0x1400677f7
int3
cmp qword [rsp + 0x30], 0
jne 0x140067806
mov eax, 1
jmp 0x140067875
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140067851
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x38]
jmp 0x140067875
jmp 0x140067870
mov rax, qword [rsp + 0x50]
cmp dword [rax + 8], 0
je 0x140067870
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140067875
mov eax, 1
add rsp, 0x40
pop rdi
ret