joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f0100
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4f0246
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], rdi
nop dword [rax]
cmp rcx, r9
jb 0x4f0236
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rax
mov qword [rsp], rax
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r8
call fcn.004fa140
xorps xmm15, xmm15
mov r14, qword [0x0072ddb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x4f021b
mov rbx, qword [rsp + 0x90]
mov rsi, rbx
sar rbx, 1
lea rcx, [rsi + rbx]
mov rdx, qword [rsp + 0x70]
cmp rdx, rcx
jb 0x4f0231
cmp rsi, rcx
ja 0x4f0229
sub rdx, rsi
mov rdi, rdx
neg rdx
mov r8, rsi
shl rsi, 3
sar rdx, 0x3f
and rsi, rdx
mov rdx, qword [rsp + 0x60]
add rdx, rsi
mov rcx, qword [rsp + 0x68]
cmp rcx, r8
jb 0x4f0221
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], rdx
sub rcx, r8
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rax
call fcn.004fa280
xorps xmm15, xmm15
mov r14, qword [0x0072ddb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x50
pop rbp
ret
mov rax, r8
call fcn.0046a580
mov rax, rsi
call fcn.0046a580
call fcn.0046a540
mov rdx, rcx
mov rcx, r9
nop dword [rax]
call fcn.0046a540
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.004681e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.004f0100
Function at 0x4fa9c0
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
mov rcx, qword [rax + 0xd0]
cmp rcx, 6
jne 0x4faa45
movabs rcx, 0xcbbb9d5dc1059ed8
mov qword [rax], rcx
movabs rcx, 0x629a292a367cd507
mov qword [rax + 8], rcx
movabs rcx, 0x9159015a3070dd17
mov qword [rax + 0x10], rcx
movabs rcx, 0x152fecd8f70e5939
mov qword [rax + 0x18], rcx
movabs rcx, 0x67332667ffc00b31
mov qword [rax + 0x20], rcx
movabs rcx, 0x8eb44a8768581511
mov qword [rax + 0x28], rcx
movabs rcx, 0xdb0c2e0d64f98fa7
mov qword [rax + 0x30], rcx
movabs rcx, 0x47b5481dbefa4fa4
mov qword [rax + 0x38], rcx
nop dword [rax]
jmp 0x4faba6
cmp rcx, 0xe
jne 0x4faac0
movabs rcx, 0x8c3d37c819544da2
mov qword [rax], rcx
movabs rcx, 0x73e1996689dcd4d6
mov qword [rax + 8], rcx
movabs rcx, 0x1dfab7ae32ff9c82
mov qword [rax + 0x10], rcx
movabs rcx, 0x679dd514582f9fcf
mov qword [rax + 0x18], rcx
movabs rcx, 0xf6d2b697bd44da8
mov qword [rax + 0x20], rcx
movabs rcx, 0x77e36f7304c48942
mov qword [rax + 0x28], rcx
movabs rcx, 0x3f9d85a86a1d36c8
mov qword [rax + 0x30], rcx
movabs rcx, 0x1112e6ad91d692a1
mov qword [rax + 0x38], rcx
jmp 0x4faba6
cmp rcx, 0xf
jne 0x4fab37
movabs rcx, 0x22312194fc2bf72c
mov qword [rax], rcx
movabs rcx, 0x9f555fa3c84c64c2
mov qword [rax + 8], rcx
movabs rcx, 0x2393b86b6f53b151
mov qword [rax + 0x10], rcx
movabs rcx, 0x963877195940eabd
mov qword [rax + 0x18], rcx
movabs rcx, 0x96283ee2a88effe3
mov qword [rax + 0x20], rcx
movabs rcx, 0xbe5e1e2553863992
mov qword [rax + 0x28], rcx
movabs rcx, 0x2b0199fc2c85b8aa
mov qword [rax + 0x30], rcx
movabs rcx, 0xeb72ddc81c52ca2
mov qword [rax + 0x38], rcx
jmp 0x4faba6
movabs rcx, 0x6a09e667f3bcc908
mov qword [rax], rcx
movabs rcx, 0xbb67ae8584caa73b
mov qword [rax + 8], rcx
movabs rcx, 0x3c6ef372fe94f82b
mov qword [rax + 0x10], rcx
movabs rcx, 0xa54ff53a5f1d36f1
mov qword [rax + 0x18], rcx
movabs rcx, 0x510e527fade682d1
mov qword [rax + 0x20], rcx
movabs rcx, 0x9b05688c2b3e6c1f
mov qword [rax + 0x28], rcx
movabs rcx, 0x1f83d9abfb41bd6b
mov qword [rax + 0x30], rcx
movabs rcx, 0x5be0cd19137e2179
mov qword [rax + 0x38], rcx
movups xmmword [rax + 0xc0], xmm15
ret
Function at 0x505680
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x505698
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x505698
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x5056a0
xor eax, eax
ret
cmp rbx, 3
je 0x5056ac
cmp rbx, 4
jne 0x5056d9
cmp al, 0x2c
ja 0x5056c6
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x5056d6
cmp al, 0x24
je 0x5056d6
nop dword [rax]
cmp al, 0x26
jae 0x5056d6
jmp 0x5056d9
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x5056d6
cmp al, 0x5b
je 0x5056d6
cmp al, 0x5d
jne 0x5056d9
xor eax, eax
ret
cmp al, 0x2f
ja 0x505712
nop dword [rax]
cmp al, 0x26
ja 0x5056f1
cmp al, 0x24
je 0x505731
cmp al, 0x26
je 0x505731
jmp 0x5057ab
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x505731
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x5057a8
cmp al, 0x2f
je 0x505731
jmp 0x5057ab
cmp al, 0x3d
ja 0x505729
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x505731
nop
cmp al, 0x3d
je 0x505731
jmp 0x5057ab
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x5057a0
cmp rbx, 2
jg 0x505767
cmp rbx, 1
je 0x505761
nop dword [rax]
cmp rbx, 2
jne 0x5057ab
cmp al, 0x2f
je 0x505752
cmp al, 0x3b
je 0x505752
cmp al, 0x2c
jne 0x505759
mov ecx, 1
jmp 0x50575e
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x50578a
cmp al, 0x40
je 0x505779
cmp al, 0x2f
je 0x505779
cmp al, 0x3f
jne 0x505782
mov ecx, 1
nop
jmp 0x505787
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x505799
cmp rbx, 7
jne 0x5057ab
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x5057a8
cmp al, 0x7e
jne 0x5057ab
xor eax, eax
ret
cmp rbx, 7
jne 0x5057c1
cmp al, 0x21
je 0x5057bd
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x5057c1
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x1400578a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x140496300]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x140496088], 0
je 0x1400578d6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x1404965e0]
aesenc xmm0, xmmword [0x1404965f0]
aesenc xmm0, xmmword [0x140496600]
movq rax, xmm0
ret
jmp 0x140008400

Function at 0x140067750
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14043c840]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140067770
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140067778
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140067770
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1400677c5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400677bc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140067770
add rax, 0x28
cmp rax, r9
jne 0x1400677a8
xor eax, eax
ret

Function at 0x1400677d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14043c840]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400677f0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400677f8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400677f0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140067880
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14043c840]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400678a0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400678a8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140006510
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1b0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x1400425e0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov dword [rsp + 0x20], 0
mov eax, dword [0x140044420]
and eax, 1
test eax, eax
jne 0x140006584
mov eax, dword [0x140044420]
or eax, 1
mov dword [0x140044420], eax
call fcn.140006750
mov rdx, rax
lea rcx, [0x140044418]
call fcn.140001990
lea rcx, [0x1400313d0]
call fcn.140018f74
lea rax, [0x140044418]
mov rax, qword [rax]
mov eax, dword [rax - 0x10]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x1400065a6
mov dword [rsp + 0x24], 1
jmp 0x1400065ae
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140006673
mov byte [rsp + 0x90], 0
lea rax, [rsp + 0x91]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x38]
call fcn.140001a10
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea r8, str.inf_
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.1400027d0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [0x140044418]
call fcn.1400023a0
nop
mov rax, qword [rsp + 0x30]
sub rax, 0x18
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140009650
nop
mov rax, qword [rsp + 0x38]
sub rax, 0x18
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140009650
lea rax, [0x140044418]
mov rax, qword [rax]
sub rax, 0x18
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.1400032e0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
add rax, 0x18
mov rcx, qword [rsp + 0x1c8]
mov qword [rcx], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14001c4b0
add rsp, 0x1b0
pop rdi
ret

Function at 0x1400066e0
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
and eax, 0
test eax, eax
je 0x140006717
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140006880
jmp 0x140006737
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [0x1400332e0]
mov rcx, qword [rsp + 0x38]
call fcn.1400199d0
mov rax, qword [rsp + 0x38]
add rsp, 0x28
ret
Function at 0x140009ee0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1f8
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x1400425e0]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 1
mov rdx, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x200]
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x34], 0x100
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.CoInstallers32
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000a09a
lea rax, [rsp + 0x80]
mov qword [rsp + 0x60], rax
lea rdx, str.SynTPCo50_11.dll
mov rcx, qword [rsp + 0x60]
call fcn.140001b00
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xc0]
call fcn.140016af0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
lea r8, str._PS2DeviceInstall
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xa0]
call fcn.1400014a0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0xc0]
call fcn.14000e180
cmp qword [rsp + 0xb8], 0x10
jb 0x14000a015
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x38], rax
jmp 0x14000a022
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov r8, qword [rsp + 0x38]
mov edx, dword [rsp + 0x34]
lea rcx, [rsp + 0xe0]
call fcn.140014a60
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000a075
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
lea rdx, str.CoInstallers32
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x14000a088
lea rdx, str.CoInstallers32
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0xa0]
call fcn.14000e180
mov eax, 1
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14001c4b0
add rsp, 0x1f8
ret
Function at 0x14000b650
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x338
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1400425e0]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov dword [rsp + 0x40], 0x104
mov eax, dword [rsp + 0x40]
mov r8d, eax
xor edx, edx
lea rcx, [rsp + 0x100]
call fcn.140019790
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPInstall
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xd0]
call fcn.140015ff0
nop
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x100]
mov rdx, qword [0x1400326c8]
mov rcx, rax
call fcn.140015a10
test eax, eax
jne 0x14000b708
lea rcx, [rsp + 0xd0]
call fcn.1400160a0
jmp 0x14000b83d
lea rax, str.oemsetup.bat
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x100]
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rsp + 0x210]
call fcn.14001aecc
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [rsp + 0x210]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x14000b786
lea rcx, [rsp + 0xd0]
call fcn.1400160a0
jmp 0x14000b83d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 0x70
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140019790
mov dword [rsp + 0x60], 0x70
mov dword [rsp + 0x64], 0x40
mov qword [rsp + 0x68], 0
lea rax, str.open
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x210]
mov qword [rsp + 0x78], rax
lea rax, str._uninstall
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x14000b830
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0xd0]
call fcn.1400160a0
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.14001c4b0
add rsp, 0x338
ret

Function at 0x14000b860
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov dword [rsp + 0x50], 0
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140019790
mov dword [rsp + 0x70], 0x68
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xf0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14000b8f7
mov dword [rsp + 0x54], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x50]
add rsp, 0xe8
ret
Function at 0x14000c5d0
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x1400425e0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x2a8]
lea rcx, [rsp + 0x170]
call fcn.140019a70
lea rdx, [0x140033aec]
lea rcx, [rsp + 0x170]
call fcn.1400199d0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x14000c649
jmp 0x14000c77b
cmp dword [rsp + 0x20], 0
je 0x14000c762
lea rdx, [0x140033b9c]
lea rcx, [rsp + 0x5c]
call fcn.140019b40
test eax, eax
je 0x14000c749
lea rdx, [0x140033ba0]
lea rcx, [rsp + 0x5c]
call fcn.140019b40
test eax, eax
je 0x14000c749
mov eax, dword [rsp + 0x30]
and eax, 0x10
test eax, eax
je 0x14000c703
mov rdx, qword [rsp + 0x2a8]
lea rcx, [rsp + 0x170]
call fcn.140019a70
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x170]
call fcn.1400199d0
lea rdx, [0x1400332e0]
lea rcx, [rsp + 0x170]
call fcn.1400199d0
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x2a0]
call fcn.14000c5d0
mov edx, 0x80
lea rcx, [rsp + 0x170]
call fcn.14001b6c4
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x14000c749
mov rdx, qword [rsp + 0x2a8]
lea rcx, [rsp + 0x170]
call fcn.140019a70
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x170]
call fcn.1400199d0
mov edx, 0x80
lea rcx, [rsp + 0x170]
call fcn.14001b6c4
lea rcx, [rsp + 0x170]
call fcn.14001ade4
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [rsp + 0x20], eax
jmp 0x14000c649
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x2a8]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14001c4b0
add rsp, 0x298
ret

Function at 0x14000cda0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov rax, qword [0x1400425e0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov edx, 0x104
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call fcn.140019a70
lea rdx, str._regsvr32.exe__s__u
lea rcx, [rsp + 0x20]
call fcn.1400199d0
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call fcn.1400199d0
lea rdx, [0x140033678]
lea rcx, [rsp + 0x20]
call fcn.1400199d0
lea rcx, [rsp + 0x20]
call fcn.14000b860
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14001c4b0
add rsp, 0x258
ret
Function at 0x140014790
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rdi
sub rsp, 0x5d0
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov rax, qword [0x1400425e0]
xor rax, rsp
mov qword [rsp + 0x5c0], rax
mov byte [rsp + 0x1c0], 0
lea rax, [rsp + 0x1c1]
mov rdi, rax
xor eax, eax
mov ecx, 0x3ff
rep stosb byte [rdi], al
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rsp + 0x188]
lea rcx, str.Keyboard
call qword [sym.imp.SETUPAPI.dll_SetupDiClassGuidsFromNameA]
mov edx, 0xf003f
lea rcx, [rsp + 0x188]
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenClassRegKey]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0xffffffffffffffff
je 0x140014a46
mov dword [rsp + 0x30], 0x400
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc8]
xor r8d, r8d
lea rdx, str.UpperFilters
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140014a3b
lea rax, [rsp + 0x168]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x148]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0xa8], rax
lea rdx, [0x1400331aa]
mov rcx, qword [rsp + 0x68]
call fcn.140001b00
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x58], rax
lea rdx, [0x1400331aa]
mov rcx, qword [rsp + 0x78]
call fcn.140001b00
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x90], rax
lea rdx, [0x1400331aa]
mov rcx, qword [rsp + 0x88]
call fcn.140001b00
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xa0], rax
lea rdx, [0x1400331aa]
mov rcx, qword [rsp + 0x98]
call fcn.140001b00
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rax
lea rdx, str.SynTP
mov rcx, qword [rsp + 0xa8]
call fcn.140001b00
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x198]
call fcn.140016c20
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x18], 0x10
jb 0x1400149d5
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
jmp 0x1400149df
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x1c0]
call fcn.140014a60
mov dword [rsp + 0x48], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x198]
call fcn.14000e180
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
lea rdx, str.UpperFilters
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.14001c4b0
add rsp, 0x5d0
pop rdi
ret
Function at 0x140015890
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
je 0x1400158b4
test rdx, rdx
jne 0x1400158cd
lea rdx, str.RegistryEx.cpp
lea rcx, str.m_hKey__pszSubKeyNameBuf
mov r8d, 0x2d3
call fcn.140018670
mov edx, dword [rbx + 0x20]
mov rcx, qword [rbx + 0x10]
mov r9d, esi
lea eax, [rdx + 1]
mov r8, rdi
mov dword [rbx + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x20
pop rdi
ret

Function at 0x140015900
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor ebx, ebx
mov rdi, r9
mov rsi, r8
mov r15, rdx
mov r14d, ebx
test r9, r9
je 0x140015929
mov r14d, dword [r9]
test rdx, rdx
je 0x1400159f3
test r8, r8
je 0x1400159f3
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400159e4
mov qword [rsp + 0x30], rcx
cmp qword [rsp + 0x80], rbx
je 0x140015981
mov rdx, qword [rsp + 0x80]
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400159e4
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r15
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r15d, eax
cmp qword [rsp + 0x80], rbx
je 0x1400159c1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r15d, r15d
jne 0x1400159e4
mov eax, dword [rsp + 0x78]
cmp eax, 4
je 0x1400159db
cmp eax, 3
jne 0x1400159e0
cmp dword [rsp + 0x68], 4
jne 0x1400159e0
mov ebx, 1
mov eax, ebx
jmp 0x1400159f5
test rdi, rdi
je 0x1400159f3
mov dword [rsi], r14d
mov eax, 1
jmp 0x1400159f5
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret