joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001150a
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x1400180f0
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x40]
lea rcx, [0x14002e0d6]
call fcn.1400116d6
nop
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, qword [0x1400274c8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
add eax, 1
cdqe
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov edx, 2
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_calloc]
mov qword [0x1400277f0], rax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x28], eax
mov rax, qword [0x1400277f0]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [0x1400274c8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
lea rdx, [0x1400274c4]
mov rcx, qword [0x1400277f0]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [0x140027b20], rax
movsxd rax, dword [0x1400274c4]
shl rax, 3
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x64], 0
jmp 0x1400181ca
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov eax, dword [0x1400274c4]
cmp dword [rbp + 0x64], eax
jge 0x14001822c
movsxd rax, dword [rbp + 0x64]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov rcx, qword [0x140027b20]
mov r8, qword [rcx + rax*8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov ecx, dword [rbp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x44], eax
jmp 0x1400181c2
movsxd rax, dword [rbp + 0x44]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [0x140027b28], rax
movsxd rax, dword [rbp + 0x44]
movsxd rcx, dword [0x1400274c4]
shl rcx, 3
sub rax, rcx
mov dword [rbp + 0x84], eax
movsxd rax, dword [0x1400274c4]
mov rcx, qword [0x140027b28]
lea rax, [rcx + rax*8]
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xc4], 0
jmp 0x14001828d
mov eax, dword [rbp + 0xc4]
inc eax
mov dword [rbp + 0xc4], eax
mov eax, dword [0x1400274c4]
cmp dword [rbp + 0xc4], eax
jge 0x140018338
movsxd rax, dword [rbp + 0xc4]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov ecx, dword [rbp + 0x84]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 0xa8]
mov qword [rsp + 0x20], rcx
mov r9d, 0xffffffff
mov rcx, qword [0x140027b20]
mov r8, qword [rcx + rax*8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rbp + 0x24], eax
movsxd rax, dword [rbp + 0xc4]
mov rcx, qword [0x140027b28]
mov rdx, qword [rbp + 0xa8]
mov qword [rcx + rax*8], rdx
movsxd rax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov eax, dword [rbp + 0x24]
mov ecx, dword [rbp + 0x84]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x84], eax
jmp 0x14001827f
mov dword [0x1400274c0], 1
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x140019310
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011721
movzx eax, al
test eax, eax
jne 0x140019330
mov ecx, 7
call fcn.1400115c8
nop
mov byte [rsp + 0x20], 0
call fcn.1400115ff
mov byte [rsp + 0x21], al
cmp dword [0x140028348], 1
jne 0x140019354
mov ecx, 7
call fcn.1400115c8
nop
jmp 0x1400193ac
cmp dword [0x140028348], 0
jne 0x1400193a7
mov dword [0x140028348], 1
lea rdx, [0x140021660]
lea rcx, [0x140021330]
call fcn.14001132a
test eax, eax
je 0x140019388
mov eax, 0xff
jmp 0x1400194b1
lea rdx, [0x140021220]
lea rcx, [section..rdata]
call fcn.1400115e6
mov dword [0x140028348], 2
jmp 0x1400193ac
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400115af
call fcn.1400114ec
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140019409
mov rcx, qword [rsp + 0x30]
call fcn.140011299
movzx eax, al
test eax, eax
je 0x140019409
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002f020]
nop
call fcn.140011550
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001943d
mov rcx, qword [rsp + 0x38]
call fcn.140011299
movzx eax, al
test eax, eax
je 0x14001943d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001168b
nop
call fcn.140019560
mov dword [rsp + 0x28], eax
call fcn.1400114b0
movzx eax, al
test eax, eax
jne 0x14001945c
mov ecx, dword [rsp + 0x28]
call fcn.14001108c
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001946b
call fcn.1400116a9
nop
xor edx, edx
mov cl, 1
call fcn.140011267
mov eax, dword [rsp + 0x28]
jmp 0x1400194b1
add rsp, 0x68
ret
Function at 0x140009cc0
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
sub rsp, 0x678
mov rax, qword [0x14013e100]
xor rax, rsp
mov qword [rsp + 0x660], rax
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140009dc3
mov r8d, 0x104
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x140009dc3
lea rdx, str._c_del
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.____NUL
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov r8d, 0x104
lea rdx, [rsp + 0x450]
lea rcx, str.ComSpec
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140009dc3
mov qword [rsp + 0x670], rbx
lea r9, [rsp + 0x240]
xor ebx, ebx
lea r8, [rsp + 0x450]
mov dword [rsp + 0x28], ebx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg bl
mov eax, ebx
mov rbx, qword [rsp + 0x670]
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.1400c1b00
add rsp, 0x678
ret
xor eax, eax
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.1400c1b00
add rsp, 0x678
ret

Function at 0x140009de0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdx, rcx
lea rcx, [0x14000a0b0]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rcx, [rsp + 0x50]
call fcn.140009be0
movabs rdi, 0x7ffffffffa0a1eff
mov ebp, 0xff
movabs rsi, 0x7fffffffffffffff
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
cmp rax, rdi
je 0x140009e4a
mov ecx, 1
cmovl ecx, ebp
test cl, cl
jns 0x140009e4a
add rax, 0x5f5e100
mov qword [rsp + 0x48], rax
jmp 0x140009e4f
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x48]
call fcn.140012460
mov rdx, rbx
lea rcx, [0x14000a0b0]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rcx, [rsp + 0x50]
call fcn.140009be0
jmp 0x140009e22
Function at 0x14000c850
Capabilities:
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x90
mov rax, qword [0x14013e100]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x14000c8bd
lea rdx, str.OpenSCManager_failed:
lea rcx, [0x1417aa440]
call fcn.140010800
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14000cd00
mov rcx, rax
call fcn.140010ac0
jmp 0x14000ca7f
cmp qword [rbx + 0x18], 7
mov rdx, rbx
mov qword [rsp + 0xa8], rdi
jbe 0x14000c8d2
mov rdx, qword [rbx]
mov r8d, 0x24
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x14000c91c
lea rdx, str.OpenService_failed:
lea rcx, [0x1417aa440]
call fcn.140010800
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14000cd00
mov rcx, rax
call fcn.140010ac0
jmp 0x14000ca6e
lea rax, [rsp + 0x30]
mov r9d, 0x24
lea r8, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14000c96b
lea rdx, str.QueryServiceStatusEx_failed:
lea rcx, [0x1417aa440]
call fcn.140010800
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14000cd00
jmp 0x14000ca5d
cmp dword [rsp + 0x5c], 1
jne 0x14000c97e
lea rdx, str.Service_is_already_stopped.
jmp 0x14000ca51
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14000c99e
lea rdx, str.ControlService_failed:
jmp 0x14000c947
lea rdx, str.Stopping
lea rcx, [0x1417aa2a0]
call fcn.140010800
cmp qword [rbx + 0x18], 7
mov r8, qword [rbx + 0x10]
jbe 0x14000c9bf
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140012510
lea rdx, str._service...
mov rcx, rax
call fcn.140010800
mov rcx, rax
call fcn.140010ac0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x3c], 1
je 0x14000ca4a
nop dword [rax]
nop word [rax + rax]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14000caa0
cmp dword [rsp + 0x3c], 1
je 0x14000ca4a
lea rdx, [0x14011c5d8]
lea rcx, [0x1417aa2a0]
call fcn.140010800
mov rcx, rax
call fcn.140010ac0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x3c], 1
jne 0x14000ca00
lea rdx, str.Service_stopped_successfully.
lea rcx, [0x1417aa2a0]
call fcn.140010800
mov rcx, rax
call fcn.140010ac0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400c1b00
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rsi
ret
lea rdx, str.QueryServiceStatus_failed:
jmp 0x14000c947
Function at 0x14000cab0
Capabilities:
Query service status
Start service

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x70
mov rax, qword [0x14013e100]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x14000cb17
lea rdx, str.OpenSCManager_failed:
lea rcx, [0x1417aa440]
call fcn.140010800
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14000cd00
mov rcx, rax
call fcn.140010ac0
jmp 0x14000cce1
cmp qword [rbx + 0x18], 7
mov rdx, rbx
mov qword [rsp + 0x88], rdi
jbe 0x14000cb2c
mov rdx, qword [rbx]
mov r8d, 0x14
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x14000cb76
lea rdx, str.OpenService_failed:
lea rcx, [0x1417aa440]
call fcn.140010800
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14000cd00
mov rcx, rax
call fcn.140010ac0
jmp 0x14000ccd0
lea rax, [rsp + 0x30]
mov r9d, 0x24
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14000cbc5
lea rdx, str.QueryServiceStatusEx_failed:
lea rcx, [0x1417aa440]
call fcn.140010800
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14000cd00
jmp 0x14000ccbf
cmp dword [rsp + 0x3c], 1
je 0x14000cbd8
lea rdx, str.Service_is_already_running.
jmp 0x14000ccb3
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14000cbf3
lea rdx, str.StartService_failed:
jmp 0x14000cba1
lea rdx, str.Starting
lea rcx, [0x1417aa2a0]
call fcn.140010800
cmp qword [rbx + 0x18], 7
mov r8, qword [rbx + 0x10]
jbe 0x14000cc14
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140012510
lea rdx, str._service...
mov rcx, rax
call fcn.140010800
mov rcx, rax
call fcn.140010ac0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x3c], 4
je 0x14000ccac
nop dword [rax + rax]
lea rax, [rsp + 0x30]
mov r9d, 0x24
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000cb9a
cmp dword [rsp + 0x3c], 4
je 0x14000ccac
lea rdx, [0x14011c5d8]
lea rcx, [0x1417aa2a0]
call fcn.140010800
mov rcx, rax
call fcn.140010ac0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x3c], 4
jne 0x14000cc50
lea rdx, str.Service_started_successfully.
lea rcx, [0x1417aa2a0]
call fcn.140010800
mov rcx, rax
call fcn.140010ac0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c1b00
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14000d480
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x14000d4a4
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x14000d532
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000d500
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x14000d500
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1400f0690
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000d51d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14000d525
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x14000d4c1
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x14000d610
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x14000d549
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000d54b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000d57d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1400f0690
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000d60d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000d5b8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x14000d5ee
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1400cd5f8
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14000d60d
cmp rsi, rax
ja 0x14000d5c1
test rsi, rsi
je 0x14000d60d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400cd5f8
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x1400142a0
Capabilities:
Delete registry key
Open recentdocs registry key

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14013e100]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0xffffffff80000001
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsShell
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400142ff
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0xffffffff80000001
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerComD1g32OpenSavePid
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001434b
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0xffffffff80000001
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerRunMRU
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140014397
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0xffffffff80000001
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerRecentD1MRU
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400143e3
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0xffffffff80000001
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerRecentDOCS
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001442f
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.Chaves_do_Registro_exclu
lea rcx, [0x1417aa2a0]
call fcn.140010800
mov rcx, rax
call fcn.140010ac0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c1b00
add rsp, 0x48
ret
Function at 0x140014460
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14013e100]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerRunMRU
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400144b6
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.Entradas_do_hist
lea rcx, [0x1417aa2a0]
call fcn.140010800
mov rcx, rax
call fcn.140010ac0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c1b00
add rsp, 0x48
ret
Function at 0x1400164d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13e0
call fcn.1400c2560
sub rsp, rax
mov rax, qword [0x14013e100]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
call fcn.1400c11ec
mov dword [rsp + 0x44], eax
mov edx, 1
mov dword [rsp + 0x13c4], 0xffffffff
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x44], eax
inc rdx
cmp rdx, 0x270
jb 0x140016510
mov dword [rsp + 0x40], 0x270
mov ebx, 0xc8
nop dword [rax]
lea rcx, [rsp + 0x40]
call fcn.140016a60
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x319
ja 0x14001657a
nop word [rax + rax]
lea rcx, [rsp + 0x40]
call fcn.140016a60
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x31a
jb 0x140016560
shr rax, 0x20
lea rcx, [rsp + 0x40]
add eax, 0x80000000
xor eax, 0x80000000
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.140016a60
mov ecx, eax
imul rax, rcx, 0x7bd
cmp eax, 0x32f
ja 0x1400165ca
nop dword [rax]
lea rcx, [rsp + 0x40]
call fcn.140016a60
mov ecx, eax
imul rax, rcx, 0x7bd
cmp eax, 0x330
jb 0x1400165b0
mov rdx, qword [0x1417ac1e8]
shr rax, 0x20
add eax, 0x80000000
movss dword [rsp + 0x28], xmm1
xor eax, 0x80000000
cmp rdx, qword [0x1417ac1f0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
je 0x140016612
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x1417ac1e8], 8
movsd qword [rsp + 0x24], xmm0
jmp 0x140016623
lea r8, [rsp + 0x24]
lea rcx, [0x1417ac1e0]
call fcn.1400168a0
lea rcx, [rsp + 0x40]
call fcn.140016a60
sar eax, 0x1f
lea rcx, [rsp + 0x40]
and eax, 2
dec eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.140016a60
mov rdx, qword [0x1417ac200]
sar eax, 0x1f
and eax, 2
dec eax
movss dword [rsp + 0x30], xmm1
cmp rdx, qword [0x1417ac208]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
je 0x140016688
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x1417ac200], 8
movsd qword [rsp + 0x2c], xmm0
jmp 0x140016699
lea r8, [rsp + 0x2c]
lea rcx, [0x1417ac1f8]
call fcn.1400168a0
mov rdx, qword [0x1417ac218]
cmp rdx, qword [0x1417ac220]
mov dword [rsp + 0x20], 3
je 0x1400166c1
mov dword [rdx], 3
add qword [0x1417ac218], 4
jmp 0x1400166cb
lea r8, [rsp + 0x20]
call fcn.1400166f0
sub rbx, 1
jne 0x140016540
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.1400c1b00
add rsp, 0x13e0
pop rbx
ret
Function at 0x140016a60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140016ac1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140016a80
mov ecx, dword [r9]
jmp 0x140016bab
cmp ecx, 0x4e0
jb 0x140016bab
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140016ae0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140016b30
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x1400195c0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 0xbb8
mov byte [0x1417ac4f1], 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140051820
call fcn.1400142a0
call fcn.140014460
call fcn.1400149e0
call fcn.140015310
call fcn.140007dd0
call fcn.1400040c0
call fcn.140004630
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14001b8f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001b94d
lea rbx, [0x14011e500]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001b934
cmp r10, 2
jb 0x14001b934
cmp byte [r9], r8b
jne 0x14001b934
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14001b910
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001b98f
lea rbx, [0x14011e500]
cmp r8b, 0x23
jne 0x14001b973
cmp byte [r9], r8b
jne 0x14001b973
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14001b960
mov rbx, qword [rsp + 8]
not eax
ret