joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001dca4
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001e978
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001e978
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14001ddf4
cmp rax, 0xffffffffffffffff
je 0x14001ddf4
xor edi, edi
test rbp, rbp
jle 0x14001dd9f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001562c
mov rbx, rax
test rax, rax
jne 0x14001dd2c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14001dd95
mov edx, 0x8000
mov ecx, r14d
call fcn.140011a40
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001a820
cmp eax, 0xffffffff
je 0x14001dd75
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14001dd3c
mov edx, r15d
mov ecx, r14d
call fcn.140011a40
jmp 0x14001dd95
cmp byte [rsi + 0x38], dil
je 0x14001dd8c
cmp dword [rsi + 0x34], 5
jne 0x14001dd8c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14001dd95
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140012f44
jmp 0x14001de08
jns 0x14001de08
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001e978
cmp rax, 0xffffffffffffffff
jne 0x14001ddc0
cmp byte [rsi + 0x30], dil
je 0x14001de08
mov edi, dword [rsi + 0x2c]
jmp 0x14001de08
mov ecx, r14d
call fcn.140017c08
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14001de08
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14001de08
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14001de01
mov eax, dword [rsi + 0x2c]
jmp 0x14001de06
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001e978
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14001de38
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140024f40]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001de8f
cmp word [rdx], r13w
jne 0x14001de8f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001de94
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001dfb9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001dfda
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001decd
mov rdx, r9
mov word [rbx], cx
jmp 0x14001def4
cmp r9, r8
jae 0x14001df04
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001deae
jmp 0x14001dfb9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001dfae
cmp dword [rsp + 0x80], esi
je 0x14001dfae
lea r8, [0x140024f40]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001df86
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001df56
mov word [rbx], r13w
jmp 0x14001dfb6
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001df63
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001dfb6
cmp word [rsp + 0x70], r13w
jne 0x14001df93
cmp rbx, r14
je 0x14001df50
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001e978
cmp word [rsp + 0x70], r13w
je 0x14001dfb9
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140024f40]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001dfb3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001dfb9
Function at 0x140020890
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400208b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400208b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14001100f
Capabilities:
Delete registry value

Disassembly:
jmp 0x1400147d0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x14002c19a]
call fcn.1400114d3
mov r8, qword [rbp + 0x110]
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 2
jne 0x140014821
jmp 0x14001488b
cmp dword [rbp + 4], 0
jne 0x140014862
mov rcx, qword [rbp + 0x100]
call fcn.14001113b
mov dword [rsp + 0x28], 0xc4
mov dword [rsp + 0x20], 0xc0
mov r9, qword [rbp + 0x110]
mov r8, qword [rbp + 0x108]
mov rdx, rax
lea rcx, str._ws_ws_ws_n_c_c_deleted_n_n
call fcn.140011235
jmp 0x14001488b
mov rcx, qword [rbp + 0x100]
call fcn.14001113b
mov r9, qword [rbp + 0x110]
mov r8, qword [rbp + 0x108]
mov rdx, rax
lea rcx, str.Failed_to_delete_value:__ws_ws_ws_n_n
call fcn.140011235
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011046
Capabilities:
Set registry value

Disassembly:
jmp 0x140015d30
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x140026080]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14002c19a]
call fcn.1400114d3
mov qword [rbp + 8], 0
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rbp + 0x148]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140015ddc
mov rcx, qword [rbp + 0x140]
call fcn.14001113b
mov r8, qword [rbp + 0x148]
mov rdx, rax
lea rcx, str.Failed_to_open_key:__ws_ws_n_n
call fcn.140011235
jmp 0x140015e8d
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
call qword [sym.imp.ucrtbased.dll_rand]
mov dword [rbp + 0x48], eax
call qword [sym.imp.ucrtbased.dll_rand]
mov dword [rbp + 0x4c], eax
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
mov rdx, qword [rbp + 0x150]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140015e64
mov rcx, qword [rbp + 0x28]
call fcn.14001113b
mov dword [rsp + 0x20], 0xc4
mov r9d, 0xc0
mov r8, qword [rbp + 0x150]
mov rdx, rax
lea rcx, str._ws_ws_n_c_c_qword_n_n
call fcn.140011235
jmp 0x140015e83
mov rcx, qword [rbp + 0x28]
call fcn.14001113b
mov r8, qword [rbp + 0x150]
mov rdx, rax
lea rcx, str.Failed_to_write:__ws_ws_n_n
call fcn.140011235
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x30]
lea rdx, [0x140022380]
call fcn.14001142e
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.140011253
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140011113
Capabilities:
Set registry value

Disassembly:
jmp 0x140015120
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x14002c19a]
call fcn.1400114d3
lea r9, [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call fcn.1400112c6
test eax, eax
jne 0x140015178
jmp 0x140015206
mov rcx, qword [rbp + 0xe0]
call fcn.14001113b
mov rcx, qword [rbp + 0xf0]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0xc4
mov r9d, 0xc0
mov r8, qword [rbp + 0xe8]
mov rdx, rax
lea rcx, str._ws_ws_n_c_c__ws___
call fcn.140011235
mov rcx, qword [rbp + 0xf0]
call fcn.1400110aa
mov eax, dword [rbp + 0xf8]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rbp + 0xf0]
lea rcx, str._ws_n_n
call fcn.140011235
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400111ae
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x1400158a0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1b8]
mov rax, qword [0x140026080]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x14002c19a]
call fcn.1400114d3
mov qword [rbp + 8], 0
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rbp + 0x188]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001594c
mov rcx, qword [rbp + 0x180]
call fcn.14001113b
mov r8, qword [rbp + 0x188]
mov rdx, rax
lea rcx, str.Failed_to_open_key:__ws_ws_n_n
call fcn.140011235
jmp 0x140015aa3
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x44], 0
lea rax, [rbp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400159b6
mov rcx, qword [rbp + 0x28]
call fcn.14001113b
mov r8, qword [rbp + 0x190]
mov rdx, rax
lea rcx, str.Failed_to_query_size_of:__ws_ws_n_n
call fcn.140011235
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140015aa3
mov eax, dword [rbp + 0x44]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x1400159e7
lea rcx, str.Failed_to_allocate_buffer_for_SpoofBinary_n_n
call fcn.140011235
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140015aa3
mov dword [rbp + 0x84], 0
jmp 0x140015a01
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 0x44]
cmp dword [rbp + 0x84], eax
jae 0x140015a31
call qword [sym.imp.ucrtbased.dll_rand]
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov ecx, dword [rbp + 0x84]
mov rdx, qword [rbp + 0x68]
mov byte [rdx + rcx], al
jmp 0x1400159f3
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_free]
mov rcx, qword [rbp + 0x28]
call fcn.14001113b
mov ecx, dword [rbp + 0x44]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 0xc4
mov r9d, 0xc0
mov r8, qword [rbp + 0x190]
mov rdx, rax
lea rcx, str._ws_ws_n_c_c_binary_of_length__d_n_n
call fcn.140011235
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x30]
lea rdx, [0x140022500]
call fcn.14001142e
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.140011253
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x140011230
Capabilities:
Delete registry key

Disassembly:
jmp 0x140015640
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x140026080]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x14002c19a]
call fcn.1400114d3
mov qword [rbp + 8], 0
lea r8, [rbp + 8]
mov rdx, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0x3fd
jne 0x140015707
mov qword [rsp + 0x40], 0
lea rax, [rbp + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x140015734
mov rcx, qword [rbp + 0x120]
call fcn.14001113b
mov r8, qword [rbp + 0x130]
mov rdx, rax
lea rcx, str.Failed_to_create_key:__ws_ws_n_n
call fcn.140011235
jmp 0x1400157f6
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.ADVAPI32.dll_RegCopyTreeW]
test eax, eax
jne 0x1400157ca
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x1400157a6
mov rcx, qword [rbp + 0x120]
call fcn.14001113b
mov rcx, qword [rbp + 0x130]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0xc4
mov r9d, 0xc0
mov r8, qword [rbp + 0x128]
mov rdx, rax
lea rcx, str._ws_ws_n_c_c_renamed_to__ws_n_n
call fcn.140011235
jmp 0x1400157c8
mov rcx, qword [rbp + 0x120]
call fcn.14001113b
mov r8, qword [rbp + 0x128]
mov rdx, rax
lea rcx, str.Failed_to_delete_key:__ws_ws_n_n
call fcn.140011235
jmp 0x1400157ec
mov rcx, qword [rbp + 0x120]
call fcn.14001113b
mov r8, qword [rbp + 0x128]
mov rdx, rax
lea rcx, str.Failed_to_copy_key:__ws_ws_n_n
call fcn.140011235
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x50]
lea rdx, [0x140022580]
call fcn.14001142e
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.140011253
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400112b7
Capabilities:
Terminate process

Disassembly:
jmp 0x1400178b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400112bc
Capabilities:
Set registry value

Disassembly:
jmp 0x140016060
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x26e8
call fcn.1400110c8
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x82e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2708]
mov rax, qword [0x140026080]
xor rax, rbp
mov qword [rbp + 0x26a8], rax
lea rcx, [0x14002c19a]
call fcn.1400114d3
mov qword [rbp + 8], 0
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rbp + 0x26d8]
mov rcx, qword [rbp + 0x26d0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140016112
mov rcx, qword [rbp + 0x26d0]
call fcn.14001113b
mov r8, qword [rbp + 0x26d8]
mov rdx, rax
lea rcx, str.Failed_to_open_key:__ws_ws_n_n
call fcn.140011235
jmp 0x14001626b
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x1ffe
rep stosb byte [rdi], al
mov dword [rbp + 0x2064], 0x1ffe
lea r9, [rbp + 0x2064]
lea r8, [rbp + 0x50]
mov rdx, qword [rbp + 0x26e0]
mov rcx, qword [rbp + 0x28]
call fcn.1400112c6
test eax, eax
jne 0x140016162
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001626b
mov dword [rbp + 0x2084], 0
jmp 0x14001617c
mov eax, dword [rbp + 0x2084]
inc eax
mov dword [rbp + 0x2084], eax
mov eax, dword [rbp + 0x2064]
cmp dword [rbp + 0x2084], eax
jae 0x1400161fd
mov eax, dword [rbp + 0x2084]
mov dx, 0x80
movzx ecx, word [rbp + rax*2 + 0x50]
call qword [sym.imp.ucrtbased.dll_iswctype]
test eax, eax
je 0x1400161f8
call qword [sym.imp.ucrtbased.dll_rand]
cdqe
mov qword [rbp + 0x2698], rax
lea rcx, str.abcdef012345789
call qword [sym.imp.ucrtbased.dll_wcslen]
dec rax
mov qword [rbp + 0x26a0], rax
xor edx, edx
mov rcx, qword [rbp + 0x2698]
mov rax, rcx
mov rcx, qword [rbp + 0x26a0]
div rcx
mov rax, rdx
lea rcx, str.abcdef012345789
mov edx, dword [rbp + 0x2084]
movzx eax, word [rcx + rax*2]
mov word [rbp + rdx*2 + 0x50], ax
jmp 0x14001616e
mov eax, dword [rbp + 0x2064]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rbp + 0x26e0]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x28]
call fcn.14001113b
mov ecx, dword [rbp + 0x2064]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 0xc4
mov r9d, 0xc0
mov r8, qword [rbp + 0x26e0]
mov rdx, rax
lea rcx, str._ws_ws_n_c_c_multi_string_of_length__d_n_n
call fcn.140011235
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x30]
lea rdx, [0x1400222b0]
call fcn.14001142e
mov rcx, qword [rbp + 0x26a8]
xor rcx, rbp
call fcn.140011253
lea rsp, [rbp + 0x26b8]
pop rdi
pop rbp
ret
Function at 0x1400112c6
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140015060
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x14002c19a]
call fcn.1400114d3
mov rax, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xf0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400150cb
mov eax, 1
jmp 0x1400150ef
mov rcx, qword [rbp + 0xe0]
call fcn.14001113b
mov r8, qword [rbp + 0xe8]
mov rdx, rax
lea rcx, str.Failed_to_read:__ws_ws_n_n
call fcn.140011235
xor eax, eax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x140011357
Capabilities:
Delete registry key

Disassembly:
jmp 0x1400146f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x14002c19a]
call fcn.1400114d3
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 2
jne 0x140014735
jmp 0x14001478f
cmp dword [rbp + 4], 0
jne 0x14001476d
mov rcx, qword [rbp + 0x100]
call fcn.14001113b
mov dword [rsp + 0x20], 0xc4
mov r9d, 0xc0
mov r8, qword [rbp + 0x108]
mov rdx, rax
lea rcx, str._ws_ws_n_c_c_deleted_n_n
call fcn.140011235
jmp 0x14001478f
mov rcx, qword [rbp + 0x100]
call fcn.14001113b
mov r8, qword [rbp + 0x108]
mov rdx, rax
lea rcx, str.Failed_to_delete_value:__ws_ws_n_n
call fcn.140011235
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011361
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018c00
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018c20
xor al, al
jmp 0x140018ca1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018c33
xor al, al
jmp 0x140018ca1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140018c5d
xor al, al
jmp 0x140018ca1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018c71
xor al, al
jmp 0x140018ca1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018c83
xor al, al
jmp 0x140018ca1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140018c9f
xor al, al
jmp 0x140018ca1
mov al, 1
add rsp, 0x38
ret
Function at 0x417360
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41750b
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433fa0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x4173ce
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4173e1
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x417405
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x417419
cmp rbx, 0x1000
jae 0x4173d8
nop
jmp 0x417489
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41742d
xor edx, edx
jmp 0x417480
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433fa0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x41740f
jmp 0x4173f5
call fcn.00464920
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00438700
lea rax, [0x0050c429]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00439000
mov rax, qword [rsp + 0x38]
call fcn.00438d00
lea rax, [0x0050c501]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00439000
mov rax, qword [rsp + 0x30]
call fcn.00438d00
call fcn.00438960
call fcn.00438780
lea rax, [0x0050e919]
mov ebx, 0x21
call fcn.00436e40
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460d60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00417360