joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003d670
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.140006a00
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.140056970
mov r8, rax
lea rdx, [0x1401c1a14]
lea rcx, [rsp + 0xc0]
call fcn.140058a00
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x188], rax
lea r8, [0x1401c172c]
mov rdx, qword [rsp + 0x188]
lea rcx, [rsp + 0x118]
call fcn.1400588c0
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov rcx, qword [rsp + 0x198]
call fcn.140052570
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rsp + 0x118]
call fcn.140006c20
nop
lea rcx, [rsp + 0xc0]
call fcn.140006c20
nop
lea rcx, [rsp + 0x68]
call fcn.140006c20
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsp
lea rdx, [0x1401cb5f0]
call fcn.1400bfbe0
add rsp, 0x1a0
pop rdi
ret

Function at 0x14003de30
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x130
lea rdi, [rsp + 0x30]
mov ecx, 0x40
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x140]
lea rax, [rsp + 0x160]
mov qword [rsp + 0x38], rax
lea rdx, [0x1401c21cc]
lea rcx, [rsp + 0x60]
call fcn.1400069b0
nop
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x158]
mov r8, qword [rsp + 0x150]
mov edx, dword [rsp + 0x148]
mov rcx, qword [rsp + 0x140]
call fcn.14003e2e0
lea rcx, [rsp + 0x60]
call fcn.1400525f0
cmp rax, 0x3fff
jle 0x14003df23
mov r8d, 0x3fff
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x60]
call fcn.140055250
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x128]
call fcn.140052570
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rsp + 0xc8]
call fcn.140006c20
jmp 0x14003df47
lea rdx, [0x1401c22cc]
lea rcx, [rsp + 0x60]
call fcn.140052e80
lea rcx, [rsp + 0x60]
call fcn.140052570
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x60]
call fcn.140006c20
mov rcx, rsp
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400bfbe0
add rsp, 0x130
pop rdi
ret
Function at 0x14003f300
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, [0x1401c24f4]
mov rcx, qword [rsp + 0xf0]
call fcn.140132650
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14003f405
mov r9, qword [rsp + 0x28]
mov r8d, 0x40
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.1401335d0
cmp rax, 0x40
jne 0x14003f3fb
xor r8d, r8d
mov edx, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x28]
call fcn.1401341f0
test eax, eax
jne 0x14003f3fb
mov r9, qword [rsp + 0x28]
mov r8d, 4
mov edx, 1
lea rcx, [rsp + 0x94]
call fcn.1401335d0
cmp rax, 4
jne 0x14003f3fb
cmp dword [rsp + 0x94], 0x4550
jne 0x14003f3fb
mov r9, qword [rsp + 0x28]
mov r8d, 2
mov edx, 1
lea rcx, [rsp + 0xb4]
call fcn.1401335d0
cmp rax, 2
jne 0x14003f3fb
movzx eax, word [rsp + 0xb4]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x28]
call fcn.140132ad0
mov rax, qword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401cbad0]
call fcn.1400bfbe0
mov rax, rdi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400bfed0
add rsp, 0xe0
pop rdi
ret
Function at 0x140040f80
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.140007e50
mov r9d, 0x784
lea r8, [0x1401c3c10]
lea rdx, str.IsValidString__szKeyName_
mov rcx, rax
call fcn.14001a700
mov rcx, qword [rsp + 0x178]
call fcn.140007e50
mov r9d, 0x785
lea r8, [0x1401c3c90]
lea rdx, str.IsValidString__szKeyValue_
mov rcx, rax
call fcn.14001a700
mov rcx, qword [rsp + 0x170]
call fcn.14001a950
test rax, rax
jne 0x14004102f
mov rcx, qword [rsp + 0x178]
call fcn.14001a950
test rax, rax
jne 0x14004102f
mov qword [rsp + 0x128], 1
jmp 0x14004103b
mov qword [rsp + 0x128], 0
mov r9d, 0x787
lea r8, [0x1401c3d10]
lea rdx, str.IsEmptyStr__szKeyName___FALSE__IsEmptyStr__szKeyValue___FALSE
mov rcx, qword [rsp + 0x128]
call fcn.14001a700
mov rcx, qword [rsp + 0x178]
call fcn.1400e1df0
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 0x1400410f9
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, [0x1401c1204]
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.1400069b0
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.1400588c0
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov rcx, qword [rsp + 0x148]
call fcn.140052570
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 0x1400411b7
mov dword [rsp + 0x150], 1
jmp 0x1400411c2
mov dword [rsp + 0x150], 0
movzx eax, byte [rsp + 0x150]
mov byte [rsp + 0x74], al
lea rcx, [rsp + 0xd0]
call fcn.140006c20
nop
lea rcx, [rsp + 0x78]
call fcn.140006c20
movzx eax, byte [rsp + 0x74]
test eax, eax
je 0x14004122a
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, [0x1401c127c]
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, [0x1401cc098]
call fcn.1400bfbe0
add rsp, 0x160
pop rdi
ret
Function at 0x140041250
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.140007e50
mov r9d, 0x89c
lea r8, [0x1401c4470]
lea rdx, str.IsValidString__szSubKey_
mov rcx, rax
call fcn.14001a700
mov r8d, 1
mov edx, 0x208
mov rcx, qword [rsp + 0xa0]
call fcn.140031e60
mov r9d, 0x89d
lea r8, [0x1401c44f0]
lea rdx, str.IsValidAddress___psRetData____260__sizeof__TCHAR____TRUE_
mov rcx, rax
call fcn.14001a700
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 0x14004131b
xor eax, eax
jmp 0x14004136f
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 0x14004134c
mov qword [rsp + 0x70], 1
jmp 0x140041355
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.1400bfbe0
mov rax, rdi
add rsp, 0x80
pop rdi
ret
Function at 0x140043830
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rcx, qword [rsp + 0x40]
call fcn.1400438e0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400438c6
cmp qword [rsp + 0x20], 0x11
je 0x140043878
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x140043878
mov rax, qword [rsp + 0x20]
bts rax, 0xd
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0x10
je 0x14004389f
mov ecx, SafeArrayLock
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x14004389f
mov rax, qword [rsp + 0x20]
bts rax, 0xf
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0x12
je 0x1400438c6
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetUBound
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x1400438c6
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 0x140047350
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 0x140047377
mov qword [rsp + 0x38], 1
jmp 0x140047380
mov qword [rsp + 0x38], 0
mov r9d, 0x1fe
lea r8, [0x1401d33d0]
lea rdx, str.npReadDataSize____1
mov rcx, qword [rsp + 0x38]
call fcn.14001a700
mov rcx, qword [rsp + 0x58]
call fcn.140007e50
mov r9d, 0x1ff
lea r8, [0x1401d3440]
lea rdx, [0x1401d2b48]
mov rcx, rax
call fcn.14001a700
mov rcx, qword [rsp + 0x58]
call fcn.14001a950
test rax, rax
je 0x1400473df
mov rax, 0xffffffffffffffff
jmp 0x1400474c9
mov qword [rsp + 0x20], 0xffffffffffffffff
lea rdx, [0x1401d1e64]
mov rcx, qword [rsp + 0x58]
call fcn.140132650
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400474ba
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x140047444
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1401341f0
mov rcx, qword [rsp + 0x28]
call fcn.140138800
cdqe
mov qword [rsp + 0x60], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1401341f0
cmp qword [rsp + 0x60], 0
jle 0x1400474a7
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call fcn.140044d20
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x60]
mov edx, 1
mov rcx, rax
call fcn.1401335d0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x28]
call fcn.1401376d0
test eax, eax
jne 0x1400474a5
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.140044e90
mov rcx, qword [rsp + 0x28]
call fcn.140132ad0
mov rax, qword [rsp + 0x30]
jmp 0x1400474c9
jmp 0x1400474b0
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x28]
call fcn.140132ad0
mov rcx, qword [rsp + 0x50]
call fcn.140045070
mov rax, qword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
Function at 0x1400486e0
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 0x140048747
mov qword [rsp + 0x240], 1
jmp 0x140048753
mov qword [rsp + 0x240], 0
mov r9d, 0xb1
lea r8, [0x1401d6580]
lea rdx, str.m_pbBufferBegin___NULL
mov rcx, qword [rsp + 0x240]
call fcn.14001a700
lea rax, [0x14025a200]
lock dec qword [rax]
cmp qword [0x14025a200], 0
je 0x1400487ac
mov r8, qword [0x14025a200]
lea rdx, [0x1401d6348]
lea rcx, [rsp + 0x30]
call fcn.1400431a0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x260]
call fcn.140048e40
mov rax, qword [rsp + 0x260]
mov rcx, qword [rax + 8]
call fcn.1400499b0
nop
mov rax, qword [rsp + 0x260]
add rax, 0x50
mov rcx, rax
call fcn.1400111e0
mov rcx, rsp
lea rdx, [0x1401d90f0]
call fcn.1400bfbe0
nop
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400bfed0
add rsp, 0x250
pop rdi
ret

Function at 0x140048810
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.140048880
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140048860
mov r9d, 0xc8
lea r8, [0x1401d65f0]
lea rdx, [0x1401d6104]
xor ecx, ecx
call fcn.14001a700
mov ecx, 0xffffffff
call fcn.140122e90
mov rax, qword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x140048aa0
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.140048b10
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140048afa
mov r9d, 0xd4
lea r8, [0x1401d6660]
lea rdx, [0x1401d6384]
xor ecx, ecx
call fcn.14001a700
mov ecx, 0xffffffff
call fcn.140122e90
mov rax, qword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x140048e40
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 0x140048e95
xorps xmm0, xmm0
movss dword [rsp + 0x460], xmm0
jmp 0x140048ec6
mov rax, qword [rsp + 0x480]
cvtsi2ss xmm0, qword [rax + 0x48]
mulss xmm0, dword [0x1401d9198]
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, [0x1401d6c50]
lea rcx, [rsp + 0x50]
call fcn.1400431a0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rsp
lea rdx, [0x1401d9150]
call fcn.1400bfbe0
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.1400bfed0
add rsp, 0x470
pop rdi
ret

Function at 0x1400497f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
cmp qword [rsp + 0x40], 0
jle 0x14004980d
mov qword [rsp + 0x28], 1
jmp 0x140049816
mov qword [rsp + 0x28], 0
mov r9d, 0x38
lea r8, [0x1401d5fa0]
lea rdx, [0x1401d5ff8]
mov rcx, qword [rsp + 0x28]
call fcn.14001a700
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 0x14004987c
mov r9d, 0x41
lea r8, [0x1401d6010]
lea rdx, [0x1401d6004]
xor ecx, ecx
call fcn.14001a700
mov ecx, 0xffffffff
call fcn.140122e90
lea rax, [0x14025a200]
lock inc qword [rax]
mov rax, qword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x140049fa0
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 0x140049fcc
mov qword [rsp + 0x30], 1
jmp 0x140049fd5
mov qword [rsp + 0x30], 0
mov r9d, 0xd6
lea r8, [0x1401d96e0]
lea rdx, str.npStackSize___0
mov rcx, qword [rsp + 0x30]
call fcn.14001a700
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x28]
test rax, rax
je 0x14004a00b
mov eax, 1
jmp 0x14004a105
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x28], 1
mov rax, qword [rsp + 0x50]
cmp qword [rax + 8], 0
je 0x14004a051
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cdqe
mov r9d, 0xde
lea r8, [0x1401d9790]
lea rdx, str.::CloseHandle__m_handle_
mov rcx, rax
call fcn.14001a700
mov rax, qword [rsp + 0x50]
add rax, 0x18
mov rcx, rax
call fcn.14004ca30
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 0x14004a0a1
lea rax, [0x14004a390]
mov qword [rsp + 0x38], rax
jmp 0x14004a0ad
lea rax, [0x14004a2e0]
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 0x14004a100
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x28], 0
xor eax, eax
jmp 0x14004a105
mov eax, 1
add rsp, 0x40
pop rdi
ret
Function at 0x14004d890
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.140031e60
mov r9d, 0x130
lea r8, [0x1401dcd00]
lea rdx, [0x1401dccd8]
mov rcx, rax
call fcn.14001a700
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x10], 0
jne 0x14004d8e5
xor eax, eax
jmp 0x14004d902
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.1401335d0
add rsp, 0x20
pop rdi
ret
Function at 0x140065940
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 0x140065994
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.1400e00a0
cmp eax, 1
jne 0x140065994
int3
xor eax, eax
test eax, eax
jne 0x14006594f
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
je 0x1400659c6
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.1400675d0
jmp 0x140065a49
movzx eax, byte [0x14025a270]
test eax, eax
jne 0x140065a0b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140065a04
lea rdx, str.RegDeleteKeyExW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14025a268], rax
mov byte [0x14025a270], 1
cmp qword [0x14025a268], 0
je 0x140065a36
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 [0x14025a268]
jmp 0x140065a49
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 0x140065a50
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 0x140065aa4
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.1400e00a0
cmp eax, 1
jne 0x140065aa4
int3
xor eax, eax
test eax, eax
jne 0x140065a5f
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 0x140067200
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.140063600
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.140066930
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x140067315
cmp dword [rsp + 0x64], 2
je 0x1400672f4
cmp dword [rsp + 0x64], 3
je 0x1400672f4
lea rcx, [0x14025767c]
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.1400639d0
mov eax, dword [rsp + 0x2e0]
jmp 0x1400673e8
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 0x1400673b1
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x48]
call fcn.140067200
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x1400673a1
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x2e4], eax
lea rcx, [rsp + 0x48]
call fcn.1400639d0
mov eax, dword [rsp + 0x2e4]
jmp 0x1400673e8
mov dword [rsp + 0x94], 0x100
jmp 0x140067320
lea rcx, [rsp + 0x48]
call fcn.1400656c0
mov rdx, qword [rsp + 0x318]
mov rcx, qword [rsp + 0x310]
call fcn.140065940
mov dword [rsp + 0x2e8], eax
lea rcx, [rsp + 0x48]
call fcn.1400639d0
mov eax, dword [rsp + 0x2e8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f4bb0]
call fcn.1400bfbe0
mov rax, rdi
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400bfed0
add rsp, 0x300
pop rdi
ret
Function at 0x1400675d0
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 0x1400676a3
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140067647
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.1400e00a0
cmp eax, 1
jne 0x140067647
int3
cmp qword [rsp + 0x30], 0
jne 0x140067656
mov eax, 1
jmp 0x1400676c5
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 0x1400676a1
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 0x1400676c5
jmp 0x1400676c0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 8], 0
je 0x1400676c0
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x1400676c5
mov eax, 1
add rsp, 0x40
pop rdi
ret