joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020a10
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rbx, r9
mov edi, r8d
mov rsi, rdx
call fcn.1400143a0
mov r9, rbx
mov r8d, edi
mov rdx, rsi
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
jmp 0x140020a10
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x19ff0]
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov edi, r8d
mov rbx, rdx
mov r13, rcx
xor edx, edx
mov r8d, 0xa084
lea rcx, [rsp + 0x44]
mov r14, r9
call fcn.140249b10
mov dword [rsp + 0x30], 0x1021
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rsi, qword [rbp + 0x1a040]
mov ecx, 1
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], edi
test rsi, rsi
je 0x140020a85
mov eax, dword [rsi]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x44], ecx
mov rdi, qword [rbp + 0x1a060]
test rdi, rdi
je 0x140020a9b
mov eax, dword [rdi]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x4c], ecx
mov eax, dword [rsp + 0x58]
lea r9, [rbp + 0x1a030]
test r14, r14
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
cmovne eax, ecx
cmp qword [rbp + 0x1a058], 0
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x54]
cmovne eax, ecx
mov rcx, qword [r13 + 0x10]
xor ebx, ebx
mov dword [rsp + 0x54], eax
mov dword [rbp + 0x1a030], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rbp + 0x9fd0]
mov r8d, 0x10018
call fcn.140249b10
mov rcx, qword [r13 + 0x10]
lea r9, [rbp + 0x1a020]
mov r8d, 0x10018
mov dword [rbp + 0x1a020], ebx
lea rdx, [rbp + 0x9fd0]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rbp + 0x9fd0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [rbp + 0x9fd8]
cmp ebx, 0xffffffff
je 0x140020bb1
test r14, r14
je 0x140020b65
test ebx, ebx
jne 0x140020b58
lea rdx, [rbp + 0x9fdc]
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ebx, dword [rbp + 0x9fd8]
test rsi, rsi
je 0x140020b65
mov eax, dword [rbp + 0xb01c]
mov dword [rsi], eax
mov r8d, dword [rbp + 0x13024]
test rdi, rdi
je 0x140020b78
test ebx, ebx
jne 0x140020b78
mov dword [rdi], r8d
mov rax, qword [rbp + 0x1a050]
test rax, rax
je 0x140020b90
test ebx, ebx
jne 0x140020b90
mov edx, dword [rbp + 0xb020]
mov dword [rax], edx
cmp qword [rbp + 0x1a058], 0
je 0x140020bb1
test ebx, ebx
jne 0x140020bb1
mov rcx, qword [rbp + 0x1a058]
lea rdx, [rbp + 0xb024]
call fcn.1402496a0
mov eax, ebx
mov rbx, qword [rsp + 0x1a128]
add rsp, 0x1a0f0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret

Function at 0x140020be0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x90]
mov r10, r9
mov r9, qword [rsp + 0x70]
mov r11d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rdx
mov rax, qword [rsp + 0x88]
mov r8, r10
mov qword [rsp + 0x30], rax
mov edx, r11d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add rsp, 0x40
pop rbx
ret
Function at 0x140020c40
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r9
mov rdi, r8
mov rsi, rdx
call fcn.1400143a0
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140020c80
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0xa088
lea rcx, [rsp + 0x40]
mov rdi, r9
call fcn.140249b10
mov dword [rsp + 0x30], 0x1036
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
test rsi, rsi
je 0x140020cdd
mov rdx, rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
test rdi, rdi
je 0x140020cf3
mov rdx, rdi
lea rcx, [rsp + 0x2040]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rcx, qword [rbp + 0x10]
lea r9, [rsp + 0x1a110]
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a110], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0xa0d0]
mov r8d, 0x10018
call fcn.140249b10
mov rcx, qword [rbp + 0x10]
lea r9, [rsp + 0x1a118]
mov r8d, 0x10018
mov dword [rsp + 0x1a118], ebx
lea rdx, [rsp + 0xa0d0]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0xa0d0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0xa0d8]
mov rbx, qword [rsp + 0x1a120]
add rsp, 0x1a0f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140020c80
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r9
mov rdi, r8
mov rsi, rdx
call fcn.1400143a0
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140020c80
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0xa088
lea rcx, [rsp + 0x40]
mov rdi, r9
call fcn.140249b10
mov dword [rsp + 0x30], 0x1036
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
test rsi, rsi
je 0x140020cdd
mov rdx, rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
test rdi, rdi
je 0x140020cf3
mov rdx, rdi
lea rcx, [rsp + 0x2040]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rcx, qword [rbp + 0x10]
lea r9, [rsp + 0x1a110]
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a110], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0xa0d0]
mov r8d, 0x10018
call fcn.140249b10
mov rcx, qword [rbp + 0x10]
lea r9, [rsp + 0x1a118]
mov r8d, 0x10018
mov dword [rsp + 0x1a118], ebx
lea rdx, [rsp + 0xa0d0]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0xa0d0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0xa0d8]
mov rbx, qword [rsp + 0x1a120]
add rsp, 0x1a0f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140020db0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r9
mov rdi, r8
mov rsi, rdx
call fcn.1400143a0
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140020df0
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0xa088
lea rcx, [rsp + 0x40]
mov rdi, r9
call fcn.140249b10
mov dword [rsp + 0x30], 0x1035
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
test rsi, rsi
je 0x140020e4d
mov rdx, rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
test rdi, rdi
je 0x140020e63
mov rdx, rdi
lea rcx, [rsp + 0x4040]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov rcx, qword [rbp + 0x10]
lea r9, [rsp + 0x1a110]
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a110], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0xa0d0]
mov r8d, 0x10018
call fcn.140249b10
mov rcx, qword [rbp + 0x10]
lea r9, [rsp + 0x1a118]
mov r8d, 0x10018
mov dword [rsp + 0x1a118], ebx
lea rdx, [rsp + 0xa0d0]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0xa0d0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0xa0d8]
mov rbx, qword [rsp + 0x1a120]
add rsp, 0x1a0f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140020df0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r9
mov rdi, r8
mov rsi, rdx
call fcn.1400143a0
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140020df0
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0xa088
lea rcx, [rsp + 0x40]
mov rdi, r9
call fcn.140249b10
mov dword [rsp + 0x30], 0x1035
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
test rsi, rsi
je 0x140020e4d
mov rdx, rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
test rdi, rdi
je 0x140020e63
mov rdx, rdi
lea rcx, [rsp + 0x4040]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov rcx, qword [rbp + 0x10]
lea r9, [rsp + 0x1a110]
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a110], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0xa0d0]
mov r8d, 0x10018
call fcn.140249b10
mov rcx, qword [rbp + 0x10]
lea r9, [rsp + 0x1a118]
mov r8d, 0x10018
mov dword [rsp + 0x1a118], ebx
lea rdx, [rsp + 0xa0d0]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0xa0d0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0xa0d8]
mov rbx, qword [rsp + 0x1a120]
add rsp, 0x1a0f0
pop rdi
pop rsi
pop rbp
ret

Function at 0x140021230
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.1400143a0
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140021270
Function at 0x140021270
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0x1040
lea rcx, [rsp + 0x40]
mov edi, r9d
call fcn.140249b10
xor edx, edx
lea rcx, [rsp + 0x1088]
mov r8d, 0x9040
call fcn.140249b10
mov dword [rsp + 0x30], 0x101d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x1a130]
mov dword [rsp + 0x1084], eax
mov dword [rsp + 0x1080], edi
test rsi, rsi
je 0x1400212f7
mov rdx, rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov rcx, qword [rbp + 0x10]
lea r9, [rsp + 0x1a128]
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a128], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0xa0d0]
mov r8d, 0x10018
call fcn.140249b10
mov rcx, qword [rbp + 0x10]
lea r9, [rsp + 0x1a110]
mov r8d, 0x10018
mov dword [rsp + 0x1a110], ebx
lea rdx, [rsp + 0xa0d0]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [rsp + 0x1a138]
test rcx, rcx
je 0x14002137b
mov rax, qword [rsp + 0xa0e0]
mov qword [rcx], rax
mov ecx, dword [rsp + 0xa0d0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0xa0d8]
mov rbx, qword [rsp + 0x1a118]
add rsp, 0x1a0f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400213f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rbx, r9
mov rdi, r8
mov rsi, rdx
call fcn.1400143a0
mov r10, rax
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, r10
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
jmp 0x140021620
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x19ff8]
mov eax, 0x1a0f8
call fcn.140247340
sub rsp, rax
xor eax, eax
lea rcx, [rbp - 0x60]
mov rsi, r8
mov qword [rsp + 0x40], rax
mov rbx, rdx
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0xa028
mov rdi, r9
call fcn.140249b10
mov dword [rsp + 0x30], 0x1031
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r13, qword [rbp + 0x1a068]
mov r12, qword [rbp + 0x1a080]
mov r15, qword [rbp + 0x1a088]
mov r14, qword [rbp + 0x1a090]
mov dword [rsp + 0x34], eax
mov rax, qword [rbp + 0x1a070]
mov qword [rsp + 0x68], rax
mov rax, qword [rbp + 0x1a078]
mov qword [rsp + 0x38], rbx
mov rbx, qword [rbp + 0x1a0a0]
mov qword [rsp + 0x48], rsi
mov rsi, qword [rbp + 0x1a098]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rbx
test rdi, rdi
je 0x1400216f9
mov eax, dword [rdi]
mov dword [rsp + 0x40], eax
mov rcx, qword [rbp + 0x1a040]
lea r9, [rbp + 0x1a048]
xor eax, eax
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rbp + 0x1a048], eax
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rbp + 0x9fd0]
mov r8d, 0x10018
call fcn.140249b10
xor eax, eax
lea r9, [rbp + 0x1a058]
mov dword [rbp + 0x1a058], eax
lea rdx, [rbp + 0x9fd0]
mov qword [rsp + 0x20], rax
mov r8d, 0x10018
mov rax, qword [rbp + 0x1a040]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rbp + 0x9fd0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x1a050]
test rcx, rcx
je 0x140021794
lea rdx, [rbp + 0x9fdc]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
test rdi, rdi
je 0x1400217a1
mov eax, dword [rbp + 0xa7fc]
mov dword [rdi], eax
test r13, r13
je 0x1400217b0
mov eax, dword [rbp + 0xa800]
mov dword [r13], eax
mov rcx, qword [rbp + 0x1a070]
test rcx, rcx
je 0x1400217c4
mov eax, dword [rbp + 0xa804]
mov dword [rcx], eax
mov rcx, qword [rbp + 0x1a078]
test rcx, rcx
je 0x1400217d8
mov eax, dword [rbp + 0xa808]
mov dword [rcx], eax
test r12, r12
je 0x1400217e7
mov eax, dword [rbp + 0xa80c]
mov dword [r12], eax
test r15, r15
je 0x1400217f5
mov eax, dword [rbp + 0xa810]
mov dword [r15], eax
test r14, r14
je 0x140021803
mov eax, dword [rbp + 0xa814]
mov dword [r14], eax
test rsi, rsi
je 0x140021810
mov eax, dword [rbp + 0xa818]
mov dword [rsi], eax
test rbx, rbx
je 0x14002181f
mov rax, qword [rbp + 0xa81c]
mov qword [rbx], rax
mov eax, dword [rbp + 0x9fd8]
add rsp, 0x1a0f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140021620
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rbx, r9
mov rdi, r8
mov rsi, rdx
call fcn.1400143a0
mov r10, rax
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, r10
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
jmp 0x140021620
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x19ff8]
mov eax, 0x1a0f8
call fcn.140247340
sub rsp, rax
xor eax, eax
lea rcx, [rbp - 0x60]
mov rsi, r8
mov qword [rsp + 0x40], rax
mov rbx, rdx
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0xa028
mov rdi, r9
call fcn.140249b10
mov dword [rsp + 0x30], 0x1031
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r13, qword [rbp + 0x1a068]
mov r12, qword [rbp + 0x1a080]
mov r15, qword [rbp + 0x1a088]
mov r14, qword [rbp + 0x1a090]
mov dword [rsp + 0x34], eax
mov rax, qword [rbp + 0x1a070]
mov qword [rsp + 0x68], rax
mov rax, qword [rbp + 0x1a078]
mov qword [rsp + 0x38], rbx
mov rbx, qword [rbp + 0x1a0a0]
mov qword [rsp + 0x48], rsi
mov rsi, qword [rbp + 0x1a098]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rbx
test rdi, rdi
je 0x1400216f9
mov eax, dword [rdi]
mov dword [rsp + 0x40], eax
mov rcx, qword [rbp + 0x1a040]
lea r9, [rbp + 0x1a048]
xor eax, eax
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rbp + 0x1a048], eax
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rbp + 0x9fd0]
mov r8d, 0x10018
call fcn.140249b10
xor eax, eax
lea r9, [rbp + 0x1a058]
mov dword [rbp + 0x1a058], eax
lea rdx, [rbp + 0x9fd0]
mov qword [rsp + 0x20], rax
mov r8d, 0x10018
mov rax, qword [rbp + 0x1a040]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rbp + 0x9fd0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x1a050]
test rcx, rcx
je 0x140021794
lea rdx, [rbp + 0x9fdc]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
test rdi, rdi
je 0x1400217a1
mov eax, dword [rbp + 0xa7fc]
mov dword [rdi], eax
test r13, r13
je 0x1400217b0
mov eax, dword [rbp + 0xa800]
mov dword [r13], eax
mov rcx, qword [rbp + 0x1a070]
test rcx, rcx
je 0x1400217c4
mov eax, dword [rbp + 0xa804]
mov dword [rcx], eax
mov rcx, qword [rbp + 0x1a078]
test rcx, rcx
je 0x1400217d8
mov eax, dword [rbp + 0xa808]
mov dword [rcx], eax
test r12, r12
je 0x1400217e7
mov eax, dword [rbp + 0xa80c]
mov dword [r12], eax
test r15, r15
je 0x1400217f5
mov eax, dword [rbp + 0xa810]
mov dword [r15], eax
test r14, r14
je 0x140021803
mov eax, dword [rbp + 0xa814]
mov dword [r14], eax
test rsi, rsi
je 0x140021810
mov eax, dword [rbp + 0xa818]
mov dword [rsi], eax
test rbx, rbx
je 0x14002181f
mov rax, qword [rbp + 0xa81c]
mov qword [rbx], rax
mov eax, dword [rbp + 0x9fd8]
add rsp, 0x1a0f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400218d0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [rsp + 0xd0]
mov r10, r9
mov r9, qword [rsp + 0x90]
mov r11, r8
mov qword [rsp + 0x58], rax
mov rcx, rdx
mov rax, qword [rsp + 0xc8]
mov r8, r10
mov qword [rsp + 0x50], rax
mov rdx, r11
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
add rsp, 0x60
pop rbx
ret
Function at 0x140021970
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rbx, r9
mov rdi, r8
mov rsi, rdx
call fcn.1400143a0
mov r10, rax
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, r10
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
jmp 0x140021a50
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x19ff8]
mov eax, 0x1a0f8
call fcn.140247340
sub rsp, rax
xor eax, eax
lea rcx, [rbp - 0x60]
mov rsi, r8
mov qword [rsp + 0x40], rax
mov rbx, rdx
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0xa028
mov rdi, r9
call fcn.140249b10
mov dword [rsp + 0x30], 0x1032
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r13, qword [rbp + 0x1a068]
mov r12, qword [rbp + 0x1a080]
mov r15, qword [rbp + 0x1a088]
mov r14, qword [rbp + 0x1a090]
mov dword [rsp + 0x34], eax
mov rax, qword [rbp + 0x1a070]
mov qword [rsp + 0x68], rax
mov rax, qword [rbp + 0x1a078]
mov qword [rsp + 0x38], rbx
mov rbx, qword [rbp + 0x1a0a0]
mov qword [rsp + 0x48], rsi
mov rsi, qword [rbp + 0x1a098]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rbx
test rdi, rdi
je 0x140021b29
mov eax, dword [rdi]
mov dword [rsp + 0x40], eax
mov rcx, qword [rbp + 0x1a040]
lea r9, [rbp + 0x1a048]
xor eax, eax
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rbp + 0x1a048], eax
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rbp + 0x9fd0]
mov r8d, 0x10018
call fcn.140249b10
xor eax, eax
lea r9, [rbp + 0x1a058]
mov dword [rbp + 0x1a058], eax
lea rdx, [rbp + 0x9fd0]
mov qword [rsp + 0x20], rax
mov r8d, 0x10018
mov rax, qword [rbp + 0x1a040]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rbp + 0x9fd0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x1a050]
test rcx, rcx
je 0x140021bc4
lea rdx, [rbp + 0x9fdc]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
test rdi, rdi
je 0x140021bd1
mov eax, dword [rbp + 0xb01c]
mov dword [rdi], eax
test r13, r13
je 0x140021be0
mov eax, dword [rbp + 0xb020]
mov dword [r13], eax
mov rcx, qword [rbp + 0x1a070]
test rcx, rcx
je 0x140021bf4
mov eax, dword [rbp + 0xb024]
mov dword [rcx], eax
mov rcx, qword [rbp + 0x1a078]
test rcx, rcx
je 0x140021c08
mov eax, dword [rbp + 0xb028]
mov dword [rcx], eax
test r12, r12
je 0x140021c17
mov eax, dword [rbp + 0xb02c]
mov dword [r12], eax
test r15, r15
je 0x140021c25
mov eax, dword [rbp + 0xb030]
mov dword [r15], eax
test r14, r14
je 0x140021c33
mov eax, dword [rbp + 0xb034]
mov dword [r14], eax
test rsi, rsi
je 0x140021c40
mov eax, dword [rbp + 0xb038]
mov dword [rsi], eax
test rbx, rbx
je 0x140021c4f
mov rax, qword [rbp + 0xb03c]
mov qword [rbx], rax
mov eax, dword [rbp + 0x9fd8]
add rsp, 0x1a0f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret