joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021a50
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
Function at 0x140021f50
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
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 + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x140021fa0
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xa088
lea rcx, [rsp + 0x40]
call fcn.140249b10
mov dword [rsp + 0x30], 0x1024
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
test rdi, rdi
je 0x140021ffd
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rbx, qword [rsp + 0x1a130]
test rbx, rbx
je 0x140022013
mov eax, dword [rbx]
mov dword [rsp + 0x860], eax
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a100]
xor edi, edi
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a100], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0xa0d0]
mov r8d, 0x10018
call fcn.140249b10
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a108]
mov r8d, 0x10018
mov dword [rsp + 0x1a108], edi
lea rdx, [rsp + 0xa0d0]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0xa0d0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [rsp + 0xa0d8]
test edi, edi
jne 0x1400220e3
mov rcx, qword [rsp + 0x1a120]
test rcx, rcx
je 0x1400220ad
mov eax, dword [rsp + 0xa0dc]
mov dword [rcx], eax
mov esi, dword [rsp + 0x120e0]
test rbx, rbx
je 0x1400220bb
mov dword [rbx], esi
mov rcx, qword [rsp + 0x1a128]
test rcx, rcx
je 0x1400220e3
mov r8, rsi
lea rdx, [rsp + 0xa0e0]
call fcn.1402496a0
mov eax, edi
test rbx, rbx
je 0x1400220e5
mov dword [rbx], esi
jmp 0x1400220e5
mov eax, edi
lea r11, [rsp + 0x1a0f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140021fa0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
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 + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x140021fa0
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xa088
lea rcx, [rsp + 0x40]
call fcn.140249b10
mov dword [rsp + 0x30], 0x1024
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
test rdi, rdi
je 0x140021ffd
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rbx, qword [rsp + 0x1a130]
test rbx, rbx
je 0x140022013
mov eax, dword [rbx]
mov dword [rsp + 0x860], eax
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a100]
xor edi, edi
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a100], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0xa0d0]
mov r8d, 0x10018
call fcn.140249b10
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a108]
mov r8d, 0x10018
mov dword [rsp + 0x1a108], edi
lea rdx, [rsp + 0xa0d0]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0xa0d0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [rsp + 0xa0d8]
test edi, edi
jne 0x1400220e3
mov rcx, qword [rsp + 0x1a120]
test rcx, rcx
je 0x1400220ad
mov eax, dword [rsp + 0xa0dc]
mov dword [rcx], eax
mov esi, dword [rsp + 0x120e0]
test rbx, rbx
je 0x1400220bb
mov dword [rbx], esi
mov rcx, qword [rsp + 0x1a128]
test rcx, rcx
je 0x1400220e3
mov r8, rsi
lea rdx, [rsp + 0xa0e0]
call fcn.1402496a0
mov eax, edi
test rbx, rbx
je 0x1400220e5
mov dword [rbx], esi
jmp 0x1400220e5
mov eax, edi
lea r11, [rsp + 0x1a0f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400223c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov qword [rsp + 0x28], rax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8, r10
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add rsp, 0x30
pop rbx
ret
Function at 0x140022400
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
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 + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x140022440
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xa088
lea rcx, [rsp + 0x40]
call fcn.140249b10
mov dword [rsp + 0x30], 0x1023
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
test rdi, rdi
je 0x14002249d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov rbx, qword [rsp + 0x1a130]
test rbx, rbx
je 0x1400224b3
mov eax, dword [rbx]
mov dword [rsp + 0x1080], eax
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a100]
xor edi, edi
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a100], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0xa0d0]
mov r8d, 0x10018
call fcn.140249b10
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a108]
mov r8d, 0x10018
mov dword [rsp + 0x1a108], edi
lea rdx, [rsp + 0xa0d0]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0xa0d0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [rsp + 0xa0d8]
test edi, edi
jne 0x140022583
mov rcx, qword [rsp + 0x1a120]
test rcx, rcx
je 0x14002254d
mov eax, dword [rsp + 0xa0dc]
mov dword [rcx], eax
mov esi, dword [rsp + 0x120e0]
test rbx, rbx
je 0x14002255b
mov dword [rbx], esi
mov rcx, qword [rsp + 0x1a128]
test rcx, rcx
je 0x140022583
mov r8, rsi
lea rdx, [rsp + 0xa0e0]
call fcn.1402496a0
mov eax, edi
test rbx, rbx
je 0x140022585
mov dword [rbx], esi
jmp 0x140022585
mov eax, edi
lea r11, [rsp + 0x1a0f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140022440
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
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 + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x140022440
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xa088
lea rcx, [rsp + 0x40]
call fcn.140249b10
mov dword [rsp + 0x30], 0x1023
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
test rdi, rdi
je 0x14002249d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov rbx, qword [rsp + 0x1a130]
test rbx, rbx
je 0x1400224b3
mov eax, dword [rbx]
mov dword [rsp + 0x1080], eax
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a100]
xor edi, edi
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a100], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0xa0d0]
mov r8d, 0x10018
call fcn.140249b10
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a108]
mov r8d, 0x10018
mov dword [rsp + 0x1a108], edi
lea rdx, [rsp + 0xa0d0]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0xa0d0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [rsp + 0xa0d8]
test edi, edi
jne 0x140022583
mov rcx, qword [rsp + 0x1a120]
test rcx, rcx
je 0x14002254d
mov eax, dword [rsp + 0xa0dc]
mov dword [rcx], eax
mov esi, dword [rsp + 0x120e0]
test rbx, rbx
je 0x14002255b
mov dword [rbx], esi
mov rcx, qword [rsp + 0x1a128]
test rcx, rcx
je 0x140022583
mov r8, rsi
lea rdx, [rsp + 0xa0e0]
call fcn.1402496a0
mov eax, edi
test rbx, rbx
je 0x140022585
mov dword [rbx], esi
jmp 0x140022585
mov eax, edi
lea r11, [rsp + 0x1a0f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140022730
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov qword [rsp + 0x28], rax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8, r10
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x30
pop rbx
ret

Function at 0x140022930
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 rbx, r9
mov rdi, r8
mov rsi, rdx
call fcn.1400143a0
mov r9, rbx
mov r8, rdi
mov rcx, rax
mov rdx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140022970
Function at 0x140022970
Capabilities:
Read file on windows
Write file on windows

Disassembly:
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], 0x1034
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
test rsi, rsi
je 0x1400229cd
mov rdx, rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
test rdi, rdi
je 0x1400229e3
mov rdx, rdi
lea rcx, [rsp + 0x440]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov rdx, qword [rsp + 0x1a130]
test rdx, rdx
je 0x1400229fe
lea rcx, [rsp + 0x840]
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 0x140022ba0
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 fcn.140022be0

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xa088
lea rcx, [rsp + 0x40]
call fcn.140249b10
mov dword [rsp + 0x30], 0x1033
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
test rdi, rdi
je 0x140022c3d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a100]
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a100], 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 [rsi + 0x10]
lea r9, [rsp + 0x1a108]
mov r8d, 0x10018
mov dword [rsp + 0x1a108], 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]
lea r11, [rsp + 0x1a0f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140022d10
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
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 + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x140022e80
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xa088
lea rcx, [rsp + 0x40]
call fcn.140249b10
mov dword [rsp + 0x30], 0x1029
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
test rdi, rdi
je 0x140022edd
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [rsp + 0x1a120]
mov rdx, qword [rsp + 0x1a128]
mov dword [rsp + 0x860], eax
mov eax, dword [rsp + 0x1a130]
mov dword [rsp + 0x8864], eax
test rdx, rdx
je 0x140022f16
mov r8d, eax
lea rcx, [rsp + 0x864]
call fcn.1402496a0
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a100]
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a100], 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 [rsi + 0x10]
lea r9, [rsp + 0x1a108]
mov r8d, 0x10018
mov dword [rsp + 0x1a108], 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]
lea r11, [rsp + 0x1a0f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140022e80
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
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 + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x140022e80
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xa088
lea rcx, [rsp + 0x40]
call fcn.140249b10
mov dword [rsp + 0x30], 0x1029
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
test rdi, rdi
je 0x140022edd
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [rsp + 0x1a120]
mov rdx, qword [rsp + 0x1a128]
mov dword [rsp + 0x860], eax
mov eax, dword [rsp + 0x1a130]
mov dword [rsp + 0x8864], eax
test rdx, rdx
je 0x140022f16
mov r8d, eax
lea rcx, [rsp + 0x864]
call fcn.1402496a0
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a100]
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a100], 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 [rsi + 0x10]
lea r9, [rsp + 0x1a108]
mov r8d, 0x10018
mov dword [rsp + 0x1a108], 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]
lea r11, [rsp + 0x1a0f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140022fc0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r10d, r9d
mov r9d, dword [rsp + 0x60]
mov r11, r8
mov dword [rsp + 0x28], eax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8d, r10d
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x30
pop rbx
ret
Function at 0x140023000
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
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 + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x140023040
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xa088
lea rcx, [rsp + 0x40]
call fcn.140249b10
mov dword [rsp + 0x30], 0x1028
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
test rdi, rdi
je 0x14002309d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov eax, dword [rsp + 0x1a120]
mov rdx, qword [rsp + 0x1a128]
mov dword [rsp + 0x1080], eax
mov eax, dword [rsp + 0x1a130]
mov dword [rsp + 0x9084], eax
test rdx, rdx
je 0x1400230d6
mov r8d, eax
lea rcx, [rsp + 0x1084]
call fcn.1402496a0
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a100]
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a100], 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 [rsi + 0x10]
lea r9, [rsp + 0x1a108]
mov r8d, 0x10018
mov dword [rsp + 0x1a108], 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]
lea r11, [rsp + 0x1a0f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140023040
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
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 + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x140023040
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xa088
lea rcx, [rsp + 0x40]
call fcn.140249b10
mov dword [rsp + 0x30], 0x1028
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
test rdi, rdi
je 0x14002309d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov eax, dword [rsp + 0x1a120]
mov rdx, qword [rsp + 0x1a128]
mov dword [rsp + 0x1080], eax
mov eax, dword [rsp + 0x1a130]
mov dword [rsp + 0x9084], eax
test rdx, rdx
je 0x1400230d6
mov r8d, eax
lea rcx, [rsp + 0x1084]
call fcn.1402496a0
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a100]
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a100], 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 [rsi + 0x10]
lea r9, [rsp + 0x1a108]
mov r8d, 0x10018
mov dword [rsp + 0x1a108], 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]
lea r11, [rsp + 0x1a0f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400232c0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r10d, r9d
mov r9d, dword [rsp + 0x60]
mov r11, r8
mov dword [rsp + 0x28], eax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8d, r10d
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x30
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.1400143a0
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.1400233c0