joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001e620
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 rdx, rsi
mov rcx, rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x14001e620
mov qword [rsp + 0x18], rbx
push rbp
push 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, 0xa094
lea rcx, [rsp + 0x34]
mov rbp, r9
call fcn.140249b10
mov dword [rsp + 0x30], 0x1057
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a110]
mov dword [rsp + 0x34], eax
lea rdx, [rsp + 0x30]
mov rax, qword [rsp + 0x1a130]
mov r8d, 0xa098
mov qword [rsp + 0x38], rbx
xor ebx, ebx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
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 [rsi + 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 r9d, dword [rsp + 0xa0dc]
test r9d, r9d
je 0x14001e711
mov rdx, qword [rsi + 0x10]
lea rax, [rsp + 0x1a130]
mov r8, rbp
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.14001e4f0
mov ecx, dword [rsp + 0xa0d0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x1a138]
test rcx, rcx
je 0x14001e735
mov eax, dword [rsp + 0xa0dc]
mov qword [rcx], rax
mov eax, dword [rsp + 0xa0d8]
mov rbx, qword [rsp + 0x1a120]
add rsp, 0x1a0f0
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001e790
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 0x14001e860
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x34]
mov r8d, 0xa094
call fcn.140249b10
mov dword [rsp + 0x30], 0x101e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rdi + 0x10]
lea r9, [rsp + 0x1a100]
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
xor ebx, ebx
mov dword [rsp + 0x34], eax
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 [rdi + 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]
mov rbx, qword [rsp + 0x1a110]
add rsp, 0x1a0f0
pop rdi
ret
Function at 0x14001e860
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 0x14001e860
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x34]
mov r8d, 0xa094
call fcn.140249b10
mov dword [rsp + 0x30], 0x101e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rdi + 0x10]
lea r9, [rsp + 0x1a100]
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
xor ebx, ebx
mov dword [rsp + 0x34], eax
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 [rdi + 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]
mov rbx, qword [rsp + 0x1a110]
add rsp, 0x1a0f0
pop rdi
ret

Function at 0x14001ec30
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 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 + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
jmp fcn.14001ec70
Function at 0x14001ec70
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x19ff0]
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rsi, r8
mov rbx, rdx
mov r14, rcx
xor edx, edx
mov r8d, 0x1040
lea rcx, [rsp + 0x40]
mov edi, r9d
call fcn.140249b10
xor edx, edx
lea rcx, [rbp + 0xf84]
mov r8d, 0x1040
call fcn.140249b10
xor edx, edx
lea rcx, [rbp + 0x1fcc]
mov r8d, 0x7ffc
call fcn.140249b10
mov dword [rsp + 0x30], 0x101c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x34], eax
mov eax, dword [rbp + 0x1a038]
mov dword [rbp + 0x1fc4], eax
mov eax, dword [rbp + 0x1a040]
mov dword [rbp + 0x1fc8], eax
mov rax, qword [rbp + 0x1a048]
mov qword [rsp + 0x38], rbx
mov dword [rbp + 0xf80], edi
test rax, rax
je 0x14001ed3b
movups xmm0, xmmword [rax]
mov dword [rbp + 0x1fe8], 1
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rbp + 0x1fd0], xmm0
movsd qword [rbp + 0x1fe0], xmm1
test rsi, rsi
je 0x14001ed4e
mov rdx, rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov rdx, qword [rbp + 0x1a030]
test rdx, rdx
je 0x14001ed67
lea rcx, [rbp + 0xf84]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov rcx, qword [r14 + 0x10]
lea r9, [rbp + 0x1a028]
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rbp + 0x1a028], 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 [r14 + 0x10]
lea r9, [rbp + 0x1a010]
mov r8d, 0x10018
mov dword [rbp + 0x1a010], ebx
lea rdx, [rbp + 0x9fd0]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [rbp + 0x1a050]
test rcx, rcx
je 0x14001ede3
mov rax, qword [rbp + 0x9fe0]
mov qword [rcx], rax
mov rcx, qword [rbp + 0x1a058]
test rcx, rcx
je 0x14001edf7
mov eax, dword [rbp + 0x9fe8]
mov dword [rcx], eax
mov ecx, dword [rbp + 0x9fd0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rbp + 0x9fd8]
lea r11, [rsp + 0x1a0f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x14001f280
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 rcx, rax
mov rdx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.14001f2c0
Function at 0x14001f2c0
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, 0xa094
lea rcx, [rsp + 0x34]
mov edi, r9d
call fcn.140249b10
mov dword [rsp + 0x30], 0x1027
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rdx, rsi
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x40]
mov eax, dword [rsp + 0x1a130]
mov dword [rsp + 0x1084], eax
mov dword [rsp + 0x1080], edi
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 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 0x14001f3f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
call fcn.1400143a0
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14001f420

Function at 0x14001f420
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, 0xa094
lea rcx, [rsp + 0x34]
call fcn.140249b10
mov dword [rsp + 0x30], 0x1026
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rdx, rdi
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x34], eax
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 0x14001f710
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
call fcn.1400143a0
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14001f740
Function at 0x14001f740
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], 0x1025
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], eax
test rdi, rdi
je 0x14001f79d
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 0x14001feb0
Capabilities:
Query or enumerate registry key

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_RegEnumKeyExA]
add rsp, 0x40
pop rbx
ret

Function at 0x14001ff10
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 fcn.14001ff50

Function at 0x1400202f0
Capabilities:
Query or enumerate registry key

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_RegEnumKeyExW]
add rsp, 0x40
pop rbx
ret

Function at 0x140020350
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 edi, r8d
mov rsi, rdx
call fcn.1400143a0
mov r9, rbx
mov r8d, edi
mov rcx, rax
mov rdx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140020390
Function at 0x140020390
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 edi, r8d
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xa094
lea rcx, [rsp + 0x34]
mov rbp, r9
call fcn.140249b10
mov dword [rsp + 0x30], 0x101f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a120]
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x34], eax
xor ebx, ebx
mov eax, dword [rsp + 0x1a130]
mov r8d, 0xa098
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x1a120], 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 + 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 ecx, dword [rsp + 0xa0d0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0xa0d8]
cmp eax, 0xffffffff
je 0x140020486
lea rdx, [rsp + 0xa0dc]
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov eax, dword [rsp + 0xa0d8]
mov rbx, qword [rsp + 0x1a118]
add rsp, 0x1a0f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400204d0
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 0x140020520
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], 0x1022
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 0x140020595
mov eax, dword [rsi]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x44], ecx
mov rdi, qword [rbp + 0x1a060]
test rdi, rdi
je 0x1400205ab
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 0x1400206c5
test rsi, rsi
je 0x14002065a
test ebx, ebx
jne 0x14002065a
mov eax, dword [rbp + 0xa7fc]
mov dword [rsi], eax
test r14, r14
je 0x140020679
test ebx, ebx
jne 0x140020679
lea rdx, [rbp + 0x9fdc]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [rbp + 0x9fd8]
mov r8d, dword [rbp + 0x12804]
test rdi, rdi
je 0x14002068c
test ebx, ebx
jne 0x14002068c
mov dword [rdi], r8d
mov rax, qword [rbp + 0x1a050]
test rax, rax
je 0x1400206a4
test ebx, ebx
jne 0x1400206a4
mov edx, dword [rbp + 0xa800]
mov dword [rax], edx
cmp qword [rbp + 0x1a058], 0
je 0x1400206c5
test ebx, ebx
jne 0x1400206c5
mov rcx, qword [rbp + 0x1a058]
lea rdx, [rbp + 0xa804]
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 0x140020520
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 0x140020520
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], 0x1022
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 0x140020595
mov eax, dword [rsi]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x44], ecx
mov rdi, qword [rbp + 0x1a060]
test rdi, rdi
je 0x1400205ab
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 0x1400206c5
test rsi, rsi
je 0x14002065a
test ebx, ebx
jne 0x14002065a
mov eax, dword [rbp + 0xa7fc]
mov dword [rsi], eax
test r14, r14
je 0x140020679
test ebx, ebx
jne 0x140020679
lea rdx, [rbp + 0x9fdc]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [rbp + 0x9fd8]
mov r8d, dword [rbp + 0x12804]
test rdi, rdi
je 0x14002068c
test ebx, ebx
jne 0x14002068c
mov dword [rdi], r8d
mov rax, qword [rbp + 0x1a050]
test rax, rax
je 0x1400206a4
test ebx, ebx
jne 0x1400206a4
mov edx, dword [rbp + 0xa800]
mov dword [rax], edx
cmp qword [rbp + 0x1a058], 0
je 0x1400206c5
test ebx, ebx
jne 0x1400206c5
mov rcx, qword [rbp + 0x1a058]
lea rdx, [rbp + 0xa804]
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 0x140020970
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_RegEnumValueA]
add rsp, 0x40
pop rbx
ret
Function at 0x1400209d0
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