joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e1c0
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2e0
mov rax, qword [0x14004a1a0]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rsi, rdx
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SystemCurrentControlSetControlKeyboard_Layouts
mov r9d, 0xf003f
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000e22c
xor r9d, r9d
lea rdx, [0x140035f78]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x14000e347
xor edx, edx
mov qword [rsp + 0x2f0], rbx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x64]
call fcn.140017c40
xor edx, edx
lea rcx, [rsp + 0xc0]
mov r8d, 0x208
call fcn.140017c40
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0xc0]
mov r9d, 0x104
xor edx, edx
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x14000e33d
nop
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14000e318
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.Ime_File
lea rax, [rsp + 0x50]
mov dword [rsp + 0x38], 0x32
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x50]
call fcn.14001d408
mov rcx, rsi
call fcn.14001d408
lea rax, [rsp + 0x50]
mov r8, rsi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000e314
add rax, 2
test ecx, ecx
jne 0x14000e300
test edx, edx
je 0x14000e368
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0xc0]
inc ebx
mov r9d, 0x104
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x14000e280
xor eax, eax
mov rbx, qword [rsp + 0x2f0]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140013270
mov rsi, qword [rsp + 0x308]
add rsp, 0x2e0
pop rdi
ret
lea rax, [rsp + 0xc0]
sub rdi, rax
lea rcx, [rsp + 0xc0]
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rdi + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000e380
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
jmp 0x14000e33f
Function at 0x14000e440
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push rdi
sub rsp, 0x240
mov rax, qword [0x14004a1a0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x208
call fcn.140017c40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000e506
mov qword [rsp + 0x250], rbx
xor ebx, ebx
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
mov r8, rdi
test ebx, ebx
jne 0x14000e4aa
lea rdx, str._s.del
call fcn.140008050
jmp 0x14000e4b9
mov r9d, ebx
lea rdx, str._s.del_d
call fcn.140008050
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000e4e0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000e4e0
cmp ebx, 0xa
jg 0x14000e4fe
inc ebx
jmp 0x14000e490
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001d4bc
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 5]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov rbx, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140013270
add rsp, 0x240
pop rdi
ret
Function at 0x14000e800
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x190], rbx
mov rax, qword [0x14004a1a0]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rdi, r8
mov rbx, rdx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r13
mov word [rsp + 0x50], r13w
xor r8d, r8d
lea rdx, [0x140032910]
lea rcx, [rsp + 0x50]
call fcn.140003190
nop
lea rcx, [rbp - 0x50]
call fcn.140003b90
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000e9b6
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r13 + 1]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000e8f1
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
cmp qword [rbx + 0x18], 8
jb 0x14000e8d3
mov rax, qword [rbx]
jmp 0x14000e8d6
mov rax, rbx
mov word [rax], r13w
xor r8d, r8d
lea rdx, [0x140032910]
mov rcx, rbx
call fcn.140003190
jmp 0x14000e9e3
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
lea rcx, [r14 + 1]
call fcn.1400138d4
mov rsi, rax
test rax, rax
je 0x14000e8bb
lea r8, [r14 + 1]
xor edx, edx
mov rcx, rax
call fcn.140017c40
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x44]
mov r8d, r14d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, r14d
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.1400050f0
mov rcx, rsi
call fcn.14001315c
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.140004700
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000bfb0
nop
lea rcx, [rbp - 0x70]
call fcn.140003c00
cmp qword [rbp - 0x80], 0
jbe 0x14000e99a
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140003050
nop
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x14000e9b6
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.140003370
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
cmp qword [rbx + 0x18], 8
jb 0x14000e9ce
mov rax, qword [rbx]
jmp 0x14000e9d1
mov rax, rbx
mov word [rax], r13w
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140002b10
nop
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x14000ea00
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140003370
mov rax, rbx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140013270
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ea30
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2e0
mov rax, qword [0x14004a1a0]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rdi, r8
lea rax, [rsp + 0x38]
mov rsi, rdx
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SystemCurrentControlSetControlKeyboard_Layouts
mov r9d, 0x20019
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000ea9c
xor r9d, r9d
lea rdx, [0x140035f78]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x14000ebb7
xor edx, edx
mov qword [rsp + 0x2f0], rbx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x64]
call fcn.140017c40
xor edx, edx
lea rcx, [rsp + 0xc0]
mov r8d, 0x208
call fcn.140017c40
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0xc0]
mov r9d, 0x104
xor edx, edx
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x14000ebad
nop
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14000eb88
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.Ime_File
lea rax, [rsp + 0x50]
mov dword [rsp + 0x30], 0x32
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x50]
call fcn.14001d408
mov rcx, rsi
call fcn.14001d408
lea rax, [rsp + 0x50]
mov r8, rsi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000eb84
add rax, 2
test ecx, ecx
jne 0x14000eb70
test edx, edx
je 0x14000ebd8
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0xc0]
inc ebx
mov r9d, 0x104
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x14000eaf0
xor eax, eax
mov rbx, qword [rsp + 0x2f0]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140013270
mov rsi, qword [rsp + 0x308]
add rsp, 0x2e0
pop rdi
ret
lea rax, [rsp + 0xc0]
sub rdi, rax
lea rcx, [rsp + 0xc0]
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rdi + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000ebf0
mov eax, 1
jmp 0x14000ebaf
Function at 0x14000ec10
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x14004a1a0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rdx
mov rbx, r9
mov rcx, rsi
xor edx, edx
mov r14, r8
call sub.VERSION.dll_GetFileVersionInfoSizeW
movsxd rdi, eax
mov rcx, 0xffffffffffffffff
mov eax, 2
mul rdi
cmovo rax, rcx
mov rcx, rax
call fcn.1400138d4
mov r9, rax
mov r8d, edi
xor edx, edx
mov rcx, rsi
mov rbp, rax
call sub.VERSION.dll_GetFileVersionInfoW
lea r9, [rsp + 0x30]
mov rcx, rbp
lea r8, [rsp + 0x38]
lea rdx, str.VarFileInfoTranslation
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x14000ec95
xor eax, eax
jmp 0x14000ecfd
mov rax, qword [rsp + 0x38]
lea rdx, str.StringFileInfo_04x_04x_s
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], r14
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call fcn.140008050
lea r9, [rsp + 0x34]
mov rcx, rbp
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000ec91
mov rcx, qword [rsp + 0x40]
sub rbx, rcx
nop dword [rax]
movzx eax, word [rcx]
mov word [rbx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000ece0
mov rcx, rbp
call fcn.14001315c
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140013270
add rsp, 0x260
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14000ed20
Capabilities:
Get common file path
Get file version info

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x14004a1a0]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
xor ebx, ebx
call fcn.140017c40
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [rbx + 0x25]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14000ee37
lea rdx, str.kernel32.DLL
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x14000ee37
xor edx, edx
mov qword [rsp + 0x278], rdi
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test eax, eax
je 0x14000ee33
mov ecx, edi
mov qword [rsp + 0x270], rsi
call fcn.1400138d4
mov r9, rax
lea rcx, [rsp + 0x40]
mov r8d, edi
xor edx, edx
mov rsi, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14000ee00
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
lea rdx, [0x140032be0]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000ee00
mov rax, qword [rsp + 0x38]
mov ebx, dword [rax + 8]
mov rcx, rsi
call fcn.14001315c
mov rsi, qword [rsp + 0x270]
mov eax, ebx
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140013270
add rsp, 0x260
pop rbx
ret
mov eax, ebx
jmp 0x14000ee12
mov eax, ebx
jmp 0x14000ee1a
Function at 0x140011540
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x4f0
mov rax, qword [0x14004a1a0]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov rbp, rdx
lea rax, [rsp + 0x30]
xor esi, esi
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SystemCurrentControlSetControlKeyboard_Layouts
mov rcx, 0xffffffff80000002
lea r9d, [rsi + 9]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011594
xor eax, eax
jmp 0x140011721
xor edx, edx
mov qword [rsp + 0x500], rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x508], rdi
lea r8d, [rdx + 0x64]
call fcn.140017c40
xor edx, edx
lea rcx, [rsp + 0xc0]
mov r8d, 0x208
call fcn.140017c40
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0xc0]
mov r9d, 0x104
xor edx, edx
mov ebx, esi
mov edi, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x140011704
cmp ebx, 0x2710
jge 0x140011704
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xc0]
inc ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1400116d8
xor edx, edx
mov dword [rsp + 0x38], 0x32
mov r8d, 0x208
lea rcx, [rsp + 0x2d0]
call fcn.140017c40
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.Ime_File
lea rax, [rsp + 0x50]
mov dword [rsp + 0x3c], 0x104
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rdx, str.Layout_Text
lea rax, [rsp + 0x2d0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x50]
call fcn.14001d408
mov r8, rbp
sub r8, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400116d4
add rax, 2
test ecx, ecx
jne 0x1400116c0
test edx, edx
je 0x1400116ff
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0xc0]
inc edi
mov r9d, 0x104
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1400115f0
jmp 0x140011704
mov esi, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x508]
mov eax, esi
mov rbx, qword [rsp + 0x500]
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.140013270
mov rbp, qword [rsp + 0x510]
add rsp, 0x4f0
pop rsi
ret
Function at 0x140011750
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov rax, qword [0x14004a1a0]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
mov rbx, r8
lea rax, [rsp + 0x38]
mov r14, rdx
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SystemCurrentControlSetControlKeyboard_Layouts
mov r9d, 0xf003f
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400119ad
mov qword [rsp + 0x710], rsi
lea r8d, [rax + 0x64]
xor edx, edx
mov qword [rsp + 0x718], rdi
lea rcx, [rsp + 0x50]
call fcn.140017c40
xor edx, edx
lea rcx, [rbp - 0x40]
mov r8d, 0x208
call fcn.140017c40
mov rcx, qword [rsp + 0x38]
lea r8, [rbp - 0x40]
xor edi, edi
mov r9d, 0x104
xor edx, edx
mov esi, edi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x140011992
cmp edi, 0x2710
jge 0x140011992
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x40]
inc edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1400118e3
xor edx, edx
mov dword [rsp + 0x40], 0x32
mov r8d, 0x208
lea rcx, [rbp + 0x3e0]
call fcn.140017c40
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.Ime_File
lea rax, [rsp + 0x50]
mov dword [rsp + 0x44], 0x104
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rdx, str.Layout_Text
lea rax, [rbp + 0x3e0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x50]
call fcn.14001d408
mov r8, r14
sub r8, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400118d4
add rax, 2
test ecx, ecx
jne 0x1400118c0
test edx, edx
je 0x140011909
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
lea r8, [rbp - 0x40]
inc esi
mov r9d, 0x104
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x140011804
jmp 0x140011992
xor edx, edx
lea rcx, [rbp + 0x1d0]
mov r8d, 0x208
call fcn.140017c40
lea rcx, [rbp + 0x1d0]
sub rcx, rbx
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x140011930
lea rcx, [rbp + 0x1d0]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140011950
mov rcx, qword [rsp + 0x30]
lea rdx, str.Layout_Text
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x718]
mov rsi, qword [rsp + 0x710]
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.140013270
lea r11, [rsp + 0x700]
mov rbx, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140014624
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140035408]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx], rax
test rax, rax
jne 0x140014649
xor eax, eax
jmp 0x1400146f5
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.IsWow64Process
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.Wow64DisableWow64FsRedirection
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.Wow64RevertWow64FsRedirection
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, [0x1400396e8]
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.advapi32.dll
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 8], rax
test rax, rax
je 0x140014642
lea rdx, str.Wow64RevertWow64FsRedirection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.Wow64RevertWow64FsRedirection
mov qword [rbx + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140014a48
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14004a1a0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rsi, rcx
xor ebx, ebx
mov edi, ebx
mov dword [rsp + 0x20], ebx
test rcx, rcx
jne 0x140014a96
xor eax, eax
jmp 0x140014c0a
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp word [rcx], bx
jne 0x140014ab3
mov rax, rbx
jmp 0x140014ab8
call fcn.1400225d4
mov r8, rax
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140003190
nop
lea rcx, [rsp + 0x50]
call fcn.14001505c
mov r14d, 0x238
mov r8d, r14d
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140017c40
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140014bf9
mov dword [rbp - 0x70], r14d
lea rdx, [rbp - 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140014bef
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
cmp word [rbp - 0x44], bx
jne 0x140014b34
mov rax, rbx
jmp 0x140014b3d
lea rcx, [rbp - 0x44]
call fcn.1400225d4
mov r8, rax
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x30]
call fcn.140003190
nop
lea rcx, [rsp + 0x30]
call fcn.14001505c
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140014774
test al, al
jne 0x140014b92
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140014e1c
or edi, 1
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140014774
test al, al
mov r14b, bl
je 0x140014b95
mov r14b, 1
test dil, 1
je 0x140014bad
and edi, 0xfffffffe
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x70]
call fcn.140008450
test r14b, r14b
jne 0x140014bd2
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.140008450
lea rdx, [rbp - 0x70]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
jmp 0x140014b0e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp - 0x68]
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.140008450
jmp 0x140014bf9
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x50]
call fcn.140008450
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140013270
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140021388
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14002115c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002115c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002115c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002115c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002115c
cmp dword [rcx + 0x84], 0xe
jbe 0x14002115c
cmp dword [rcx + 0xf8], esi
je 0x14002115c
mov ecx, r14d
call fcn.1400212a4
mov ecx, 2
call fcn.14001e2f8
nop
cmp byte [0x14004cf30], 0
jne 0x140021226
mov r15d, 1
mov eax, r15d
xchg dword [0x14004cf20], eax
test ebx, ebx
jne 0x1400211cf
mov rdi, qword [0x14004a1a0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14004cf28]
cmp rcx, rax
je 0x1400211c6
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400084d0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14004d170]
jmp 0x1400211db
cmp ebx, r15d
jne 0x1400211e1
lea rcx, [0x14004d188]
call fcn.140021f80
nop
test ebx, ebx
jne 0x1400211f8
lea rdx, [0x140032658]
lea rcx, [0x140032630]
call fcn.1400222c4
lea rdx, [0x140032668]
lea rcx, [0x140032660]
call fcn.1400222c4
movzx eax, byte [0x14004cf30]
test esi, esi
cmove eax, r15d
mov byte [0x14004cf30], al
jmp 0x140021226
mov ecx, 2
call fcn.14001e34c
test esi, esi
jne 0x14002123d
mov ecx, r14d
call fcn.140021258
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400210ec
Function at 0x140004a80
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004aca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004aca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004aca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004aca
cmp dword [rcx + 0x84], 0xe
jbe 0x140004aca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004acc
xor al, al
add rsp, 0x28
ret