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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rdx
mov rsi, rcx
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1400d05b3
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400d05b3
mov ebx, r14d
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x70], 0x100
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x50]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400d05a7
lea rdx, str.CurrentControlSet
lea rcx, [rbp - 0x50]
call fcn.1402bcf6c
test eax, eax
jne 0x1400d04e4
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
lea r8, [rbp - 0x70]
mov rdx, rdi
call fcn.1400d0680
test al, al
je 0x1400d04d4
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
lea rdx, str.HKLMSYSTEM_
call fcn.1402bcf6c
test eax, eax
jne 0x1400d04d4
cmp qword [rbp - 0x58], 8
jb 0x1400d05a7
mov rcx, qword [rbp - 0x70]
call fcn.14021ae20
jmp 0x1400d05a7
cmp qword [rbp - 0x58], 8
jb 0x1400d04e4
mov rcx, qword [rbp - 0x70]
call fcn.14021ae20
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400d05a7
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1400d059c
mov eax, dword [rsp + 0x78]
mov dword [rbp - 0x80], eax
mov eax, dword [rsp + 0x7c]
mov dword [rbp - 0x7c], eax
mov r11, qword [rbp - 0x80]
mov rcx, r11
call fcn.1400cb480
test rax, rax
je 0x1400d0584
mov r9, rax
mov r8, r11
mov rdx, qword [rsp + 0x68]
call fcn.1400d07a0
cmp dword [rsp + 0x74], 0
jbe 0x1400d059c
mov rdx, qword [rsp + 0x68]
mov rcx, rsi
call fcn.1400d05f0
test al, al
jne 0x1400d05a7
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1400d0430
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400d0aa0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r9, rdx
mov rdi, rcx
call fcn.14020b3e0
nop
lea rax, vtable.HitmanPro35::UI::CookieBrowserDialog.0
mov qword [rcx], rax
mov qword [rcx + 0xc0], r9
mov qword [rcx + 0xc8], r8
xor ebx, ebx
mov dword [rcx + 0xd4], ebx
mov byte [rcx + 0xd0], 1
lea edx, [rbx + 1]
xor ecx, ecx
mov r8d, 0xcccccc
call qword [sym.imp.GDI32.dll_CreatePen]
mov qword [rdi + 0x100], rax
xor ecx, ecx
call fcn.1400f4570
mov rsi, rax
test rax, rax
je 0x1400d0b70
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
lea rdx, str.CookieDialog
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1400d0b63
cmp dword [rsp + 0x68], ebx
sete al
mov byte [rdi + 0xd0], al
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
mov rcx, rdi
call fcn.1400d0bf0
nop
mov rax, rdi
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400d3340
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne dil
test dil, dil
jne 0x1400d337d
mov rbx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__d_while_deleting:__ls_r_n
mov edx, eax
mov r8, rbx
call fcn.1402bd818
movzx eax, dil
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400d4c20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, 0x3e7
mov r8d, 0xa
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400d4cba
mov rdx, rax
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x1400d4caa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov edx, esi
mov rcx, rax
call fcn.1400d4cd0
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rsi, qword [rsp + 0x30]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400d6330
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov eax, dword [rcx + 8]
mov r10, qword [rcx + 0x10]
sub eax, 0x500
mov edi, eax
je 0x1400d63c6
mov rax, qword [str.WJIM]
mov rbx, r10
sub rbx, r10
cmp qword [r10], rax
jne 0x1400d63bb
mov r9d, 0xdeadbbef
mov rcx, r10
mov r11d, 0x140
nop dword [rax + rax]
imul edx, dword [rcx], 0x5bd1e995
lea rcx, [rcx + 4]
mov r8d, edx
shr r8d, 0x18
xor r8d, edx
imul edx, r9d, 0x5bd1e995
imul r8d, r8d, 0x5bd1e995
xor r8d, edx
mov r9d, r8d
dec r11
jne 0x1400d6370
mov ecx, r8d
shr ecx, 0xd
xor ecx, r8d
imul edx, ecx, 0x5bd1e995
mov ecx, edx
shr ecx, 0xf
xor ecx, edx
cmp ecx, 0xe22a4630
je 0x1400d63d3
inc rbx
inc r10
cmp rbx, rdi
jb 0x1400d6357
xor al, al
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov al, 1
ret

Function at 0x1400d6650
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x48]
lea rax, vtable.EventStoreClient.0
mov rdi, rcx
mov qword [rcx], rax
test rdx, rdx
je 0x1400d66a7
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x1400d66a7
xor r9d, r9d
mov r8d, 0x1388
call qword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
test eax, eax
je 0x1400d669d
mov rcx, qword [rdi + 0x48]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x1400d66b6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400d66c5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rdi + 0x80]
call fcn.140009660
mov rcx, qword [rdi + 0x80]
call fcn.14021ae20
xor esi, esi
mov qword [rdi + 0x80], rsi
cmp qword [rdi + 0x20], 8
jb 0x1400d66f6
mov rcx, qword [rdi + 8]
call fcn.14021ae20
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x20], 7
mov word [rdi + 8], si
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400d6720
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov ecx, 0xa8
call fcn.1402bcb4c
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400d6750
mov rcx, rax
call fcn.1400d6540
mov rbx, rax
jmp 0x1400d6752
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x50], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x38], rax
cmp qword [rbx + 0x50], 0
je 0x1400d67b3
test rax, rax
je 0x1400d67b3
lea rax, [rbx + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x1400d68f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x48], rax
cmp qword [rbx + 0x48], 0
jne 0x1400d67cb
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
xor eax, eax
jmp 0x1400d67ce
mov rax, rbx
add rsp, 0x40
pop rbx
ret

Function at 0x1400d6ad0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r8d, dword [rdx + 0x48]
mov rdi, rdx
mov r14, rcx
lea rdx, str._08lu
lea rcx, [rsp + 0x38]
call fcn.1400d7080
mov esi, dword [rdi + 0x48]
add esi, 9
movsxd rbx, esi
mov rcx, rbx
call fcn.1402bd120
mov rbp, rax
test rax, rax
jne 0x1400d6b45
lea rdx, str.out_of_memory__needed__u_bytes_
lea ecx, [rax + 2]
mov r8d, esi
call fcn.140172980
mov dword [rdi + 0x34], 3
xor al, al
jmp 0x1400d6bf1
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, rax
call fcn.1402bf44c
cmp qword [rdi + 0x50], 0x10
lea r8, [rdi + 0x38]
jb 0x1400d6b63
mov r8, qword [r8]
mov rdx, rbx
mov rcx, rbp
call fcn.1402bf4b0
mov rcx, qword [r14 + 0x28]
dec esi
lea r9, [rsp + 0x30]
mov r8d, esi
mov rdx, rbp
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
mov ebx, eax
call fcn.1402bd0e0
test ebx, ebx
jne 0x1400d6bc6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [0x14034d2b8]
lea rdx, str._s___error__d
lea ecx, [rbx + 2]
mov r9d, eax
call fcn.140172980
mov dword [rdi + 0x34], 4
xor al, al
jmp 0x1400d6bf1
mov r8d, dword [rsp + 0x30]
cmp esi, r8d
je 0x1400d6bef
lea rdx, str.not_enough_written___d_bytes__expected__d_bytes_
mov r9d, esi
mov ecx, 2
call fcn.140172980
mov dword [rdi + 0x34], 4
xor al, al
jmp 0x1400d6bf1
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400d6f10
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov rdi, rcx
mov rcx, qword [rcx + 0x28]
mov esi, ebp
cmp rcx, 0xffffffffffffffff
je 0x1400d6f54
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x1400d6f74
mov qword [rdi + 0x28], 0xffffffffffffffff
mov qword [rsp + 0x50], rbx
cmp dword [rdi + 0x30], esi
jle 0x1400d702d
lea rbx, [rdi + 8]
inc esi
cmp qword [rbx + 0x18], 8
jb 0x1400d6f86
mov rcx, qword [rbx]
jmp 0x1400d6f89
mov al, 1
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rcx, rbx
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x1400d6fd8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400d6fcd
cmp eax, 0x79
je 0x1400d7024
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.WaitNamedPipe
lea rdx, str._s___error__d
mov r9d, eax
mov ecx, 2
call fcn.140172980
xor al, al
jmp 0x1400d7035
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rbx + 0x18], 8
jb 0x1400d6fe4
mov rcx, qword [rbx]
jmp 0x1400d6fe7
mov rcx, rbx
mov qword [rsp + 0x30], rbp
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 0x28], rax
cmp rax, 0xffffffffffffffff
jne 0x1400d702d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1400d704a
cmp esi, dword [rdi + 0x30]
jl 0x1400d6f66
cmp qword [rdi + 0x28], 0xffffffffffffffff
setne al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
cmp qword [rbx + 0x18], 8
jb 0x1400d7054
mov rbx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.CreateFile
lea rdx, str._s___error__d:__s
mov ecx, 2
mov r9d, eax
mov qword [rsp + 0x20], rbx
call fcn.140172980
xor al, al
jmp 0x1400d7035
Function at 0x1400d9fd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x60
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rsi, r8
mov r15, rdx
mov r13, rcx
xor edi, edi
mov dword [r11 + 8], edi
lea rax, [r11 + 8]
mov qword [r11 - 0x60], rax
mov qword [r11 - 0x68], rdi
lea r9, [r11 + 0x20]
xor r8d, r8d
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1400da204
cmp dword [rsp + 0x90], edi
jne 0x1400da04c
mov rdx, qword [0x14041eee8]
mov rcx, rsi
call fcn.140200d00
mov al, 1
jmp 0x1400da206
mov eax, dword [rsp + 0xa8]
cmp eax, 7
jne 0x1400da10d
lea rax, vtable.Core::Array_class_Core::String_.0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rdi
lea r8, [rsp + 0x48]
mov rdx, r15
mov rcx, r13
call fcn.1400da220
mov r14, qword [rsp + 0x58]
test al, al
jne 0x1400da08f
xor dil, dil
jmp 0x1400da0de
mov rdx, qword [0x14041eee8]
mov rcx, rsi
call fcn.140200d00
mov eax, dword [rsp + 0x50]
test eax, eax
jle 0x1400da0db
mov rbx, r14
mov ebp, eax
nop dword [rax + rax]
test rdi, rdi
jle 0x1400da0c4
lea rdx, [0x14034d704]
mov rcx, rsi
call fcn.140200ef0
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.140200ef0
inc rdi
add rbx, 0x10
dec rbp
jne 0x1400da0b0
mov dil, 1
test r14, r14
je 0x1400da104
lea r9, [fcn.140005eb0]
mov r8d, dword [r14 - 8]
mov edx, 0x10
mov rcx, r14
call fcn.1402bda84
lea rcx, [r14 - 8]
call fcn.1402bcebc
movzx eax, dil
jmp 0x1400da206
cmp eax, 0xb
ja 0x1400da204
mov ecx, 0x816
bt ecx, eax
jae 0x1400da204
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r14, rax
mov r8d, dword [rsp + 0x90]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400da204
xor bpl, bpl
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xa8]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r13 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1400da1f0
mov eax, dword [rsp + 0xa8]
dec eax
je 0x1400da1e2
dec eax
je 0x1400da1e2
sub eax, 2
je 0x1400da1c2
sub eax, 7
jne 0x1400da1f0
movzx edx, byte [rdi]
lea rcx, [rsp + 0x38]
call fcn.1400d82c0
cmp dword [rsp + 0x40], ebx
jle 0x1400da1ed
mov rcx, qword [rsp + 0x38]
call fcn.1402bd0e0
jmp 0x1400da1ed
movzx edx, byte [rdi]
lea rcx, [rsp + 0x48]
call fcn.1400039c0
cmp dword [rsp + 0x50], 0
jle 0x1400da1ed
mov rcx, qword [rsp + 0x48]
call fcn.1402bd0e0
jmp 0x1400da1ed
mov rdx, rdi
mov rcx, rsi
call fcn.140200d00
mov bpl, 1
mov r8, rdi
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, bpl
jmp 0x1400da206
xor al, al
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x1400da220
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov r15, r8
mov rbx, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [r11 + 8], r12d
lea rax, [r11 + 8]
mov qword [r11 - 0x70], rax
mov qword [r11 - 0x78], r12
lea r9, [r11 + 0x20]
xor r8d, r8d
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400da412
cmp dword [rsp + 0xb8], 7
jne 0x1400da412
lea rax, [0x14034d1a0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r12
mov edx, dword [rsp + 0xa0]
shr edx, 1
lea rcx, [rsp + 0x38]
call fcn.1402028a0
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb8]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400da3fd
mov edx, dword [rsp + 0xa0]
cmp edx, 2
ja 0x1400da320
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x1400da3fd
lea rbx, [rcx - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
lea edx, [rax + 0x10]
call fcn.1402bda84
mov rcx, rbx
call fcn.1402bcebc
mov qword [r15 + 0x10], r12
mov dword [r15 + 8], r12d
jmp 0x1400da3fd
shr edx, 1
lea rcx, [rsp + 0x38]
call fcn.140203bb0
mov ebp, r12d
or r13d, 0xffffffff
nop dword [rax]
nop word [rax + rax]
mov esi, r12d
mov ebx, r12d
movsxd r14, ebp
nop dword [rax]
xor edx, edx
mov r8d, ebx
lea rcx, [rsp + 0x38]
call fcn.140202eb0
movsxd rdi, eax
test eax, eax
jle 0x1400da3dc
cmp r14, 1
jne 0x1400da391
mov r9d, edi
sub r9d, ebx
mov r8d, ebx
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.140204ad0
mov r8, rax
mov edx, esi
mov rcx, r15
call fcn.1400e3de0
inc esi
mov r8d, 2
lea rdx, [0x14034d70c]
mov rax, qword [rsp + 0x38]
lea rax, [rax + rdi*2]
nop dword [rax]
movzx ecx, word [rdx]
cmp word [rax], cx
jne 0x1400da3c7
add rax, 2
add rdx, 2
dec r8
je 0x1400da3e4
jmp 0x1400da3b0
mov r8d, 1
cmp word [rax], cx
cmovb r8d, r13d
test r8d, r8d
je 0x1400da3e4
lea ebx, [rdi + 1]
test ebx, ebx
jns 0x1400da350
test ebp, ebp
jne 0x1400da3f2
mov edx, esi
mov rcx, r15
call fcn.1400c7e30
inc ebp
cmp ebp, 2
jl 0x1400da340
cmp dword [rsp + 0x40], 0
jle 0x1400da40e
mov rcx, qword [rsp + 0x38]
call fcn.1402bd0e0
mov al, 1
jmp 0x1400da414
xor al, al
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e1d90
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x190], rax
lea rdi, [rcx + 8]
mov r8d, 1
lea rdx, [0x14034be44]
mov rcx, rdi
call fcn.140205020
test al, al
je 0x1400e1dec
xor al, al
jmp 0x1400e1f2e
mov edx, 0x104
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor esi, esi
mov qword [rsp + 0x48], rsi
lea edx, [rsi + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1402028a0
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
lea r9d, [rsi + 0xc]
lea r8, [0x140351f90]
mov rcx, qword [rsp + 0x40]
call fcn.1402c06dc
lea edx, [rsi + 0xc]
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
lea rax, [rbp - 0x80]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400e1e43
mov qword [rsp + 0x38], rsi
test ebx, ebx
jne 0x1400e1e64
lea rax, [0x14034d1a0]
mov qword [rsp + 0x30], rax
jmp 0x1400e1e8a
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x80]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400d4050
nop
cmp dword [rsp + 0x38], 0
jle 0x1400e1ebe
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x48], 0
jle 0x1400e1ecf
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
mov r8, qword [rdi]
lea rdx, str._select___s_
lea rcx, [rsp + 0x50]
call fcn.140202d40
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rsi
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rdx, str.OPEN
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [rsp + 0x58], 0
jle 0x1400e1f1b
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x68], 0
jle 0x1400e1f2c
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
mov al, 1
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400e3b80
Capabilities:
Get file size

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbx, rcx
mov edx, 9
call fcn.1400d93d0
movzx esi, al
test al, al
jne 0x1400e3bcc
mov edx, 0xc
mov rcx, rbx
call fcn.1400d9a80
test al, al
je 0x1400e3dba
mov rdi, qword [0x140430c10]
test rdi, rdi
je 0x1400e3dba
mov qword [rbp + 0x17], 0
mov edx, 0x1c
lea rcx, [rbp + 0xf]
call fcn.1402028a0
mov eax, dword [rbp + 0x17]
inc eax
movsxd rdx, eax
mov r9d, 0x1c
lea r8, str.Captions_SearchingRepairFile
mov rcx, qword [rbp + 0xf]
call fcn.1402c06dc
mov edx, 0x1c
lea rcx, [rbp + 0xf]
call fcn.140203bb0
nop
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x2f]
call fcn.1400f6d90
nop
cmp dword [rbp + 0x17], 0
jle 0x1400e3c3c
mov rcx, qword [rbp + 0xf]
call fcn.1402bd0e0
mov r8, qword [rbx + 8]
mov rdx, qword [rbp + 0x2f]
lea rcx, [rbp + 0x3f]
call fcn.140202d40
nop
xor r9d, r9d
xorps xmm2, xmm2
mov rdx, rax
mov rcx, rdi
call fcn.1400f6790
nop
cmp dword [rbp + 0x47], 0
jle 0x1400e3c6f
mov rcx, qword [rbp + 0x3f]
call fcn.1402bd0e0
movzx r9d, sil
mov r8, rbx
lea rdx, [rbp + 0x1f]
mov rcx, rdi
call fcn.140104e70
nop
mov rdx, qword [rbx + 8]
cmp dword [rbp + 0x2b], 0
jne 0x1400e3cff
lea rcx, str.WARNING:_Did_not_find_a_white_listed_repair_file_for:__s_r_n
call fcn.1402bf424
xor edx, edx
mov rcx, rbx
call fcn.1400d8ef0
movzx eax, byte [rbx + 0x40]
shr al, 4
test al, 1
je 0x1400e3d9b
mov rcx, rbx
call fcn.1400d9f70
cmp dword [rax + 0x28], 8
je 0x1400e3d9b
mov dword [rax + 0x28], 8
cmp byte [rax + 8], 0
je 0x1400e3d9b
mov rax, qword [rax]
mov rdx, qword [0x140430c10]
mov qword [rbp + 0x3f], rax
mov dword [rbp + 0x47], 7
lea rcx, [rdx + 0x390]
lea r8, [rbp + 0x3f]
call fcn.14011b550
jmp 0x1400e3d9b
mov r8, qword [rbp + 0x1f]
lea rcx, str._tRepair_file_found__r_nBad:_t_ws_r_nReplace_t_s_r_n
call fcn.1402bf424
mov rax, qword [rbx + 0x40]
shr rax, 0x23
test al, 1
je 0x1400e3d22
mov edx, 0xb
jmp 0x1400e3d8e
xor sil, sil
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 7]
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400e3d89
lea rdx, [rbp + 0x6f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400e3d76
mov ecx, dword [rbx + 0x38]
cmp rcx, qword [rbp + 0x6f]
setge sil
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test sil, sil
mov edx, 0xb
jne 0x1400e3d8e
mov edx, 0xa
lea r8, [rbp + 0x1f]
mov rcx, rbx
call fcn.14000b8f0
nop
cmp dword [rbp + 0x27], 0
jle 0x1400e3dab
mov rcx, qword [rbp + 0x1f]
call fcn.1402bd0e0
nop
cmp dword [rbp + 0x37], 0
jle 0x1400e3dba
mov rcx, qword [rbp + 0x2f]
call fcn.1402bd0e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret