joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400036d0
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
sub rsp, 0x640
mov rax, r8
mov rbx, rcx
test dword [rcx + 0x110], edx
je 0x1400037c5
lea r8, [r11 + 0x20]
lea rcx, [r11 - 0x408]
mov rdx, rax
call fcn.140007ef0
mov eax, dword [rbx + 0x10c]
test al, 1
jne 0x14000371a
test al, 4
je 0x1400037c5
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rsp + 0x3c]
movzx eax, word [rsp + 0x3e]
movzx r9d, word [rsp + 0x3a]
movzx r8d, word [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str._02d:_02d:_02d:_03d
lea rcx, [rsp + 0x440]
call fcn.140006bbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rbx + 8]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x240]
lea r9, [rsp + 0x440]
lea rdx, str._s__t_s__s_GetLastError___x_r_n
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.140006bbc
test byte [rbx + 0x10c], 1
je 0x14000379f
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [rbx + 0x10c], 4
je 0x1400037c5
mov rcx, qword [rbx + 0x118]
lea rdx, [rsp + 0x40]
call fcn.140007bf0
mov rcx, qword [rbx + 0x118]
call fcn.140007908
add rsp, 0x640
pop rbx
ret

Function at 0x1400037d0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x450
mov eax, dword [rcx + 0x10c]
mov rsi, r9
mov ebp, r8d
mov edi, edx
mov rbx, rcx
test al, 1
jne 0x140003804
test al, 4
je 0x1400038cf
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rsp + 0x3c]
movzx eax, word [rsp + 0x3e]
movzx r9d, word [rsp + 0x3a]
movzx r8d, word [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str._02d:_02d:_02d:_03d
lea rcx, [rsp + 0x250]
call fcn.140006bbc
test ebp, ebp
je 0x140003873
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rbx + 8]
lea r9, [rsp + 0x250]
mov dword [rsp + 0x28], eax
lea rdx, str._s__t_s__s_GetLastError___x_r_n
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rsi
call fcn.140006bbc
jmp 0x140003895
lea r8, [rbx + 8]
lea r9, [rsp + 0x250]
lea rdx, str._s__t_s__s_r_n
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rsi
call fcn.140006bbc
test byte [rbx + 0x10c], 1
je 0x1400038a9
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [rbx + 0x10c], 4
je 0x1400038cf
mov rcx, qword [rbx + 0x118]
lea rdx, [rsp + 0x50]
call fcn.140007bf0
mov rcx, qword [rbx + 0x118]
call fcn.140007908
test byte [rbx + 0x10c], 2
je 0x1400038fd
test edi, edi
je 0x1400038fd
xor eax, eax
lea rdx, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
call fcn.140006500
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140003920
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
sub rsp, 0x640
mov rax, r8
mov rbx, rcx
test dword [rcx + 0x110], edx
je 0x140003a0b
lea r8, [r11 + 0x20]
lea rcx, [r11 - 0x408]
mov rdx, rax
call fcn.140007ef0
mov eax, dword [rbx + 0x10c]
test al, 1
jne 0x14000396a
test al, 4
je 0x140003a0b
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rsp + 0x3c]
movzx eax, word [rsp + 0x3e]
movzx r9d, word [rsp + 0x3a]
movzx r8d, word [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str._02d:_02d:_02d:_03d
lea rcx, [rsp + 0x440]
call fcn.140006bbc
lea rax, [rsp + 0x240]
lea r8, [rbx + 8]
lea r9, [rsp + 0x440]
lea rdx, str._s__t_s__s_r_n
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.140006bbc
test byte [rbx + 0x10c], 1
je 0x1400039e5
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [rbx + 0x10c], 4
je 0x140003a0b
mov rcx, qword [rbx + 0x118]
lea rdx, [rsp + 0x40]
call fcn.140007bf0
mov rcx, qword [rbx + 0x118]
call fcn.140007908
add rsp, 0x640
pop rbx
ret

Function at 0x140003c40
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x78]
mov rdi, r8
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov rsi, rdx
mov dword [rsp + 0x20], 0
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140003cc6
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x140003cb4
lea r8, str.WriteRegKey_RegCreateKeyEx_failed_for_pcPath___s.
lea edx, [rbx + 7]
mov r9, rsi
call fcn.1400036d0
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rsp + 0x78]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x140003cfa
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x140003cf8
lea r8, str.WriteRegKey_RegSetValueEx_failed_for_value___s.
mov r9, rdi
mov edx, 8
call fcn.1400036d0
xor ebx, ebx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140003d20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
lea rax, [rsp + 0x48]
mov rbp, r9
mov rdi, r8
mov r9d, 0xf003f
xor r8d, r8d
mov rsi, rdx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x140003de1
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov r9d, 0xffff
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x200
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov rdx, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x40]
mov ebx, eax
mov dword [rdx], ecx
test eax, eax
je 0x140003dd4
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x140003dd4
lea r8, str.GetMultiSzRegValue:_RegGetValue_failed_for_lpValueName___s.
mov r9, rdi
mov edx, 8
call fcn.1400036d0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140003e01
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x140003e01
lea r8, str.GetMultiSzRegValue:_RegOpenKeyEx_failed_for_lpKeyPath___s.
mov r9, rsi
mov edx, 8
call fcn.1400036d0
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x140003fe0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
lea rax, [rsp + 0x68]
mov rdi, rcx
lea rdx, str.SoftwareAMDEEU
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 4
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140004061
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x14000404f
lea r9, str.SoftwareAMDEEU
lea r8, str.ReadRegKey_RegOpenKeyEx_failed_for_pcPath___s.
lea edx, [rbx + 7]
call fcn.1400036d0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov r9d, 0x10
mov qword [rsp + 0x30], rax
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x1400040b5
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x1400040b3
lea r8, str.ReadRegKey_RegGetValue_failed_for_value___s.
mov r9, rdi
mov edx, 8
call fcn.1400036d0
xor ebx, ebx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400040e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rbp, r8
mov rsi, rdx
mov edi, 1
test r9d, r9d
je 0x140004120
dec r9d
je 0x140004119
dec r9d
je 0x140004112
mov ebx, edi
jmp 0x140004125
mov ebx, 2
jmp 0x140004125
mov ebx, 8
jmp 0x140004125
mov ebx, 0x10
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140004166
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x140004162
lea r8, str.ReadRegKey_RegOpenKeyEx_failed_for_pcPath___s.
mov r9, rsi
mov edx, 8
call fcn.1400036d0
xor eax, eax
jmp 0x1400041cf
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
mov r9d, ebx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
mov r8, rbp
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x1400041c2
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x1400041c0
lea r8, str.ReadRegKey_RegGetValue_failed_for_value___s.
mov r9, rbp
mov edx, 8
call fcn.1400036d0
xor edi, edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400042d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x30]
mov rbx, r9
mov rdi, r8
mov r9d, 0xf003f
xor r8d, r8d
mov rbp, rdx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test eax, eax
jne 0x1400043d2
test rdi, rdi
je 0x1400043be
test rbx, rbx
je 0x1400043be
mov rax, rbx
lea ecx, [rsi + 1]
cmp byte [rax], 0
jne 0x14000433c
cmp byte [rax + 1], 0
je 0x14000434b
cmp ecx, 0x200
jae 0x14000434b
inc rax
inc ecx
jmp 0x140004331
inc ecx
cmp ecx, 0x200
jae 0x1400043aa
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x30]
mov r9d, 7
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
test eax, eax
je 0x1400043c3
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x1400043c3
lea r8, str.SetMultiSzRegValue:_RegSetValueEx_failed_for_lpValueName___s.
mov r9, rdi
mov edx, 8
call fcn.1400036d0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400043f4
mov rcx, qword [rsp + 0x30]
mov ebx, 0x7a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400043f4
mov ebx, 0x57
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400043f4
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x1400043f2
lea r8, str.SetMultiSzRegValue:_RegOpenKeyEx_failed_for_lpKeyPath___s.
mov r9, rbp
mov edx, 8
call fcn.1400036d0
mov eax, esi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140004440
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rbp, r8
mov rsi, rdx
mov edi, 1
test r9d, r9d
je 0x14000447d
dec r9d
je 0x140004476
dec r9d
je 0x140004472
xor ebx, ebx
jmp 0x140004482
mov ebx, edi
jmp 0x140004482
mov ebx, 3
jmp 0x140004482
mov ebx, 4
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1400044e2
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x1400044de
lea r8, str.WriteRegKey_RegCreateKeyEx_failed_for_pcPath___s.
mov r9, rsi
mov edx, 8
call fcn.1400036d0
xor eax, eax
jmp 0x140004541
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x50]
mov r9d, ebx
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140004534
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x140004532
lea r8, str.WriteRegKey_RegSetValueEx_failed_for_value___s.
mov r9, rbp
mov edx, 8
call fcn.1400036d0
xor edi, edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x140005040
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
mov edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx], rax
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x140005080
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
test rcx, rcx
jne 0x1400050b2
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x1400050ab
lea r8, str.ConnectPipe_hPipe_.
mov edx, 1
call fcn.140003920
xor eax, eax
add rsp, 0x28
ret
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400050ec
lea rcx, [rsp + 0x30]
call fcn.140004650
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x1400050ab
lea r8, str.Client_failed_to_connect.
mov edx, 1
call fcn.140003920
xor eax, eax
add rsp, 0x28
ret
mov eax, 1
add rsp, 0x28
ret

Function at 0x140005100
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x80
mov rbx, rcx
test rcx, rcx
jne 0x140005126
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x140005190
lea r8, str.CreatePipe_Empty_Pipe_Name.
jmp 0x140005186
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140004680
mov edx, 3
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0xffffffff
lea r9d, [rdx + 0x1b]
lea r8d, [rdx + 3]
mov rcx, rbx
mov dword [rsp + 0x28], 0x2c
mov dword [rsp + 0x20], 0x620
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
cmp rax, 0xffffffffffffffff
jne 0x140005192
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x140005190
lea r8, str.Invalid_handle_to_pipe.
mov edx, 1
call fcn.140003920
xor eax, eax
add rsp, 0x80
pop rbx
ret
Function at 0x1400051a0
Capabilities:
Print debug messages

Disassembly:
test rcx, rcx
jne 0x1400051c2
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x1400051c9
lea r8, str.DisconnectPipe_hPipe_is_NULL.
mov edx, 1
jmp fcn.140003920
jmp qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
repz ret

Function at 0x1400051e0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
lea r9, [rsp + 0x50]
mov r8d, 0x620
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140005216
cmp dword [rsp + 0x50], 0x620
jne 0x140005216
mov eax, 1
add rsp, 0x38
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x140005239
lea r8, str.ReadPipe_ReadFile_failed.
mov edx, 1
call fcn.1400036d0
xor eax, eax
add rsp, 0x38
ret

Function at 0x140005290
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
lea r9, [rsp + 0x50]
mov r8d, 0x2c
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400052c3
cmp dword [rsp + 0x50], 0x2c
jne 0x1400052c3
mov eax, 1
add rsp, 0x38
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400397c0]
test rcx, rcx
je 0x1400052e9
lea r8, str.WritePipe_Failed._Error_Mesg:___d
mov r9d, eax
mov edx, 1
call fcn.140003920
xor eax, eax
add rsp, 0x38
ret

Function at 0x140006370
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov esi, edx
movzx ebp, cx
lea rdx, str.ATIeRecord
xor ecx, ecx
mov rbx, r9
movzx edi, r8w
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
test rax, rax
je 0x1400063ec
mov r9d, dword [rsp + 0x80]
xor ecx, ecx
movzx r8d, di
test r9d, r9d
mov r10d, ecx
movzx edx, bp
cmovne r10, rbx
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], r9d
mov word [rsp + 0x28], cx
mov qword [rsp + 0x20], rcx
mov r9d, esi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
je 0x1400063ec
xor eax, eax
jmp 0x1400063f1
mov eax, 0x1005
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400066b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x38]
mov rdi, rdx
mov rbx, r8
mov rdx, rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x68], 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000672b
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140022128
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14000c348
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000c174
Function at 0x140008e80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140008f49
cmp byte [rcx + 0x71], 0
je 0x140008f49
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140008f3c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140008ef8
sub eax, 1
je 0x140008efc
cmp eax, 2
jne 0x140008f3c
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x140008f2a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140008f3c
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret
Function at 0x14000dfb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000dfd4
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000e00b
mov rax, qword [rcx + 0x58]
movsxd rcx, dword [rax]
add rcx, rdx
cmp rdx, rcx
jae 0x14000e00b
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x14000e134
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000e04e
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000e079
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000e139
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000e0ee
sub eax, 1
je 0x14000e0ee
cmp eax, 2
jne 0x14000e134
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000e139
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x14000e11f
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000e134
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov eax, edi
jne 0x14000e139
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x14000ff40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000ff71
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x14000ff8f
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000ffb0
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000ffb2
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000ffe4
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
mov rbx, rdi
je 0x140010081
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140010022
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rdi, 0xfff
jbe 0x140010061
nop dword [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
add r14, rax
mov rbx, rdi
cmp rax, 0xfff
jne 0x1400100a2
cmp rdi, rax
ja 0x140010030
test rbx, rbx
je 0x140010081
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub rbp, rdi
jmp 0x140010084