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

Disassembly:
mov eax, 0x4ab0
call fcn.00401918
nop
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x20], rax
lea rax, [0x00402012]
mov r9, rax
lea rax, [0x0040200c]
mov r8, rax
movabs rax, 0xff
mov r11, rax
lea rax, [rbp - 0x800]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_sprintf_s
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov eax, 0x20019
mov r9, rax
mov eax, 0
mov r8, rax
lea rax, [rbp - 0x800]
mov r11, rax
mov rax, qword [rbp + 0x10]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.advapi32.dll_RegOpenKeyExA
mov dword [rbp - 0x804], eax
mov eax, dword [rbp - 0x804]
cmp eax, 0
je 0x4010c5
lea rax, [rbp - 0x800]
mov r11, rax
lea rax, str.FAIL:_Could_not_get_info_on_the_key:__s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
mov eax, 0xffffffff
jmp 0x4011e6
mov eax, 0
mov dword [rbp - 0x808], eax
mov eax, 0
mov dword [rbp - 0x80c], eax
mov eax, 0
mov dword [rbp - 0x810], eax
mov eax, 0
mov byte [rbp - 0x4a3f], al
movabs rax, 0x3ffe
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x4a3e]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0x3fff
mov dword [rbp - 0x4a44], eax
lea rax, [rbp - 0xa40]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0xa38]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0xa34]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0xa30]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0xa2c]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0xa28]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0xa24]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0xa20]
mov qword [rsp + 0x20], rax
movabs rax, 0
mov r9, rax
lea rax, [rbp - 0xa1c]
mov r8, rax
lea rax, [rbp - 0xa18]
mov r11, rax
mov rax, qword [rbp - 8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.advapi32.dll_RegQueryInfoKeyA
mov dword [rbp - 0x810], eax
mov eax, dword [rbp - 0x810]
cmp eax, 0
je 0x4011d8
mov eax, 0xfffffffe
jmp 0x4011e6
mov eax, dword [rbp - 0xa20]
mov ecx, dword [rbp - 0xa2c]
add eax, ecx
leave
ret
Function at 0x40100b
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4ab0
call fcn.00401918
nop
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x20], rax
lea rax, [0x00402012]
mov r9, rax
lea rax, [0x0040200c]
mov r8, rax
movabs rax, 0xff
mov r11, rax
lea rax, [rbp - 0x800]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_sprintf_s
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov eax, 0x20019
mov r9, rax
mov eax, 0
mov r8, rax
lea rax, [rbp - 0x800]
mov r11, rax
mov rax, qword [rbp + 0x10]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.advapi32.dll_RegOpenKeyExA
mov dword [rbp - 0x804], eax
mov eax, dword [rbp - 0x804]
cmp eax, 0
je 0x4010c5
lea rax, [rbp - 0x800]
mov r11, rax
lea rax, str.FAIL:_Could_not_get_info_on_the_key:__s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
mov eax, 0xffffffff
jmp 0x4011e6
mov eax, 0
mov dword [rbp - 0x808], eax
mov eax, 0
mov dword [rbp - 0x80c], eax
mov eax, 0
mov dword [rbp - 0x810], eax
mov eax, 0
mov byte [rbp - 0x4a3f], al
movabs rax, 0x3ffe
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x4a3e]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0x3fff
mov dword [rbp - 0x4a44], eax
lea rax, [rbp - 0xa40]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0xa38]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0xa34]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0xa30]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0xa2c]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0xa28]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0xa24]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0xa20]
mov qword [rsp + 0x20], rax
movabs rax, 0
mov r9, rax
lea rax, [rbp - 0xa1c]
mov r8, rax
lea rax, [rbp - 0xa18]
mov r11, rax
mov rax, qword [rbp - 8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.advapi32.dll_RegQueryInfoKeyA
mov dword [rbp - 0x810], eax
mov eax, dword [rbp - 0x810]
cmp eax, 0
je 0x4011d8
mov eax, 0xfffffffe
jmp 0x4011e6
mov eax, dword [rbp - 0xa20]
mov ecx, dword [rbp - 0xa2c]
add eax, ecx
leave
ret
Function at 0x40154e
Capabilities:
Delete registry key
Get session integrity level

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
call sub.shell32.dll_IsUserAnAdmin
mov dword [rbp - 4], eax
lea rax, str.___INFO:_Acquiring_user_type_information_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, dword [rbp - 4]
cmp eax, 0
je 0x4017a7
lea rax, str.__PASS:_User_is_an_Administrator_n_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
movabs rax, 0
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov eax, 0x20019
mov r9, rax
mov eax, 0
mov r8, rax
lea rax, [0x004022b1]
mov r11, rax
movabs rax, 0xffffffff80000001
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.advapi32.dll_RegOpenKeyExA
mov dword [rbp - 0x14], eax
lea rax, [0x0040231b]
mov r11, rax
lea rax, str.___INFO:_Trying_to_open_handle_to_key:_HKCU_s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
mov eax, dword [rbp - 0x14]
cmp eax, 0
je 0x401632
mov eax, dword [rbp - 0x14]
mov r11, rax
lea rax, str.__FAIL:_Failed_to_open_handle__Code:__d__n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
mov eax, 1
jmp 0x4017be
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionExplorerCLSID
mov r11, rax
lea rax, str.__PASS:_Successfully_opened_handle_n_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
lea rax, str.___INFO:_Querying_subkeys_..._n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
call fcn.004011f0
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
call sub.advapi32.dll_RegCloseKey
mov eax, dword [0x00402004]
cmp eax, 0
jne 0x4016bb
lea rax, str.__FAIL:_No_subkey_was_matched._n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
call sub.advapi32.dll_RegCloseKey
mov eax, 1
jmp 0x4017be
mov eax, dword [0x00402008]
cmp eax, 1
jne 0x401700
lea rax, str.__WARN:_Found_multiple_matching_subkeys__n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
lea rax, [0x00402fc0]
mov r11, rax
lea rax, str.__WARN:____Only_this_subkey_will_be_affected:__s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
jmp 0x40171f
lea rax, [0x00402fc0]
mov r11, rax
lea rax, str.__PASS:_Found_a_matching_subkey:__s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
lea rax, [0x004027c8]
mov r11, rax
lea rax, str.__INFO:_Absolute_Path:__s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
lea rax, [0x004027c8]
mov r11, rax
movabs rax, 0xffffffff80000001
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.advapi32.dll_RegDeleteKeyA
mov dword [rbp - 0x18], eax
mov eax, dword [rbp - 0x18]
cmp eax, 0
je 0x40178b
lea rax, str.__FAIL:_Could_not_delete_the_subkey_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 1
jmp 0x4017be
lea rax, str.__PASS:_Successfully_deleted_the_subkey_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 0
jmp 0x4017be
lea rax, str.__FAIL:_Utility_demands_Administrator_privileges._n_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 1
leave
ret
Function at 0x401559
Capabilities:
Delete registry key
Get session integrity level

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
call sub.shell32.dll_IsUserAnAdmin
mov dword [rbp - 4], eax
lea rax, str.___INFO:_Acquiring_user_type_information_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, dword [rbp - 4]
cmp eax, 0
je 0x4017a7
lea rax, str.__PASS:_User_is_an_Administrator_n_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
movabs rax, 0
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov eax, 0x20019
mov r9, rax
mov eax, 0
mov r8, rax
lea rax, [0x004022b1]
mov r11, rax
movabs rax, 0xffffffff80000001
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.advapi32.dll_RegOpenKeyExA
mov dword [rbp - 0x14], eax
lea rax, [0x0040231b]
mov r11, rax
lea rax, str.___INFO:_Trying_to_open_handle_to_key:_HKCU_s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
mov eax, dword [rbp - 0x14]
cmp eax, 0
je 0x401632
mov eax, dword [rbp - 0x14]
mov r11, rax
lea rax, str.__FAIL:_Failed_to_open_handle__Code:__d__n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
mov eax, 1
jmp 0x4017be
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionExplorerCLSID
mov r11, rax
lea rax, str.__PASS:_Successfully_opened_handle_n_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
lea rax, str.___INFO:_Querying_subkeys_..._n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
call fcn.004011f0
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
call sub.advapi32.dll_RegCloseKey
mov eax, dword [0x00402004]
cmp eax, 0
jne 0x4016bb
lea rax, str.__FAIL:_No_subkey_was_matched._n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
call sub.advapi32.dll_RegCloseKey
mov eax, 1
jmp 0x4017be
mov eax, dword [0x00402008]
cmp eax, 1
jne 0x401700
lea rax, str.__WARN:_Found_multiple_matching_subkeys__n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
lea rax, [0x00402fc0]
mov r11, rax
lea rax, str.__WARN:____Only_this_subkey_will_be_affected:__s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
jmp 0x40171f
lea rax, [0x00402fc0]
mov r11, rax
lea rax, str.__PASS:_Found_a_matching_subkey:__s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
lea rax, [0x004027c8]
mov r11, rax
lea rax, str.__INFO:_Absolute_Path:__s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
lea rax, [0x004027c8]
mov r11, rax
movabs rax, 0xffffffff80000001
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.advapi32.dll_RegDeleteKeyA
mov dword [rbp - 0x18], eax
mov eax, dword [rbp - 0x18]
cmp eax, 0
je 0x40178b
lea rax, str.__FAIL:_Could_not_delete_the_subkey_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 1
jmp 0x4017be
lea rax, str.__PASS:_Successfully_deleted_the_subkey_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 0
jmp 0x4017be
lea rax, str.__FAIL:_Utility_demands_Administrator_privileges._n_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 1
leave
ret
Function at 0x140002040
Capabilities:
Hash data with md5

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
lea rbp, [rax - 0x47]
sub rsp, 0x100
mov qword [rbp - 0x51], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rsi, r9
mov rbx, r8
mov r12, rcx
mov qword [rsp + 0x48], 7
xor r13d, r13d
mov qword [rsp + 0x40], r13
mov word [rsp + 0x30], r13w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x30]
call fcn.140003940
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140003940
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140003940
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rbp + 0x6f]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x30]
call fcn.140003940
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rbp + 0x77]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x30]
call fcn.140003940
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rbp + 0x7f]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x30]
call fcn.140003940
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov byte [rbp + 0x1f], r13b
mov qword [rbp - 0x39], r13
mov dword [rbp - 0x49], 0x67452301
mov dword [rbp - 0x45], 0xefcdab89
mov dword [rbp - 0x41], 0x98badcfe
mov dword [rbp - 0x3d], 0x10325476
mov r8, qword [rsp + 0x40]
lea r8, [r8 + r8 + 2]
lea rcx, [rbp - 0x49]
call fcn.140005040
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x49]
call fcn.140005d40
lea r8, [rbp - 0x79]
cmp qword [rbp - 0x61], 0x10
cmovae r8, qword [rbp - 0x79]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [rbp - 0x79]
cmp qword [rbp - 0x61], 0x10
cmovae r8, qword [rbp - 0x79]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp qword [rbp - 0x61], 0x10
jb 0x1400021f7
mov rcx, qword [rbp - 0x79]
call fcn.140044950
mov qword [rbp - 0x61], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x69], r13
mov byte [rbp - 0x79], 0
cmp qword [rsp + 0x48], 8
jb 0x140002219
mov rcx, qword [rsp + 0x30]
call fcn.140044950
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
Function at 0x140002530
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rsi
sub rsp, 0x270
mov qword [rax + 0x20], r12
lea rsi, [0x14009e2d0]
xor edx, edx
mov r8d, 0x1fe
mov rcx, rsi
mov qword [rax - 0x18], r14
call fcn.140047310
mov rcx, qword [str.ZhuDongFangYu.exe]
lea rdx, [0x140087014]
xor r14d, r14d
mov r12d, r14d
call fcn.1400453f0
test rax, rax
jne 0x14000268e
mov qword [rsp + 0x280], rbx
mov qword [rsp + 0x288], rbp
mov qword [rsp + 0x290], rdi
mov qword [rsp + 0x268], r13
lea r13, str.ZhuDongFangYu.exe
mov ebp, r14d
mov rbx, r13
nop dword [rax]
mov rdi, qword [rbx]
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x234
mov dword [rsp + 0x20], r14d
call fcn.140047310
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002647
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000263e
nop dword [rax + rax]
lea rcx, [rsp + 0x4c]
mov r8, rdi
sub r8, rcx
nop dword [rax + rax]
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x140002624
add rcx, 2
test eax, eax
jne 0x140002610
mov rcx, rbx
test edx, edx
je 0x1400026ce
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002600
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r12
lea rdx, [0x140087014]
mov rbp, r12
shl rbp, 4
lea rbx, [r13 + rbp]
mov rcx, qword [rbx]
call fcn.1400453f0
test rax, rax
je 0x1400025b0
mov r13, qword [rsp + 0x268]
mov rdi, qword [rsp + 0x290]
mov rbp, qword [rsp + 0x288]
mov rbx, qword [rsp + 0x280]
lea rdx, [0x140087014]
mov rcx, rsi
call fcn.1400453f0
mov r14, qword [rsp + 0x260]
mov r12, qword [rsp + 0x298]
test rax, rax
jne 0x1400026c2
lea rdx, [0x140087128]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rax, rsi
add rsp, 0x270
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x28], r14d
je 0x140002647
mov rdx, qword [r13 + rbp + 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x1400871c0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x140002647
Function at 0x140002fb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
sub rsp, 0x250
mov rdi, r8
mov r12, rdx
mov rsi, rcx
mov dword [rsp + 0x30], 1
xor ebx, ebx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.140047310
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000301a
or ebx, 0xffffffff
jmp 0x140003091
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140003091
cmp eax, 2
ja 0x140003091
mov dword [rsp + 0x278], 0x208
lea rax, [rsp + 0x278]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r12
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140003091
lea rdx, [0x140087180]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14000307e
or ebx, 0xffffffff
jmp 0x140003091
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, 1
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r12
ret
Function at 0x140006820
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
cmp qword [rcx + 0x80], 0
je 0x140006a59
cmp byte [rcx + 0x89], 0
je 0x140006a59
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140006a2d
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x10], rdx
mov byte [rbp - 0x28], 0
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], 8
lea rax, [rbp - 0x28]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], cl
xor r12d, r12d
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
nop word [rax + rax]
lea rdx, [rbp - 0x28]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp - 0x28]
cmovae r8, r10
mov rcx, qword [rdi + 0x80]
mov r10, qword [rcx]
mov rax, qword [rbp - 0x18]
lea r9, [rdx + rax]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x8c]
call qword [r10 + 0x30]
test eax, eax
je 0x1400068f8
dec eax
jne 0x1400069f7
jmp 0x1400068ff
mov byte [rdi + 0x89], r12b
lea rax, [rbp - 0x28]
mov r10, qword [rbp - 0x28]
mov r9, qword [rbp - 0x10]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rbp + 0x20]
sub rbx, rax
je 0x14000694d
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x98]
mov r8, rbx
mov edx, 1
call fcn.140045d44
cmp rbx, rax
jne 0x140006a1d
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
cmp byte [rdi + 0x89], r12b
je 0x140006a4b
test rbx, rbx
jne 0x1400068b0
or rax, 0xffffffffffffffff
mov r8, qword [rbp - 0x18]
sub rax, r8
cmp rax, 8
jbe 0x140006a3e
lea rbx, [r8 + 8]
cmp rbx, 0xfffffffffffffffe
ja 0x140006a31
cmp r9, rbx
jae 0x1400069a1
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140006b90
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
jmp 0x1400069be
test rbx, rbx
jne 0x1400069c7
mov qword [rbp - 0x18], r12
lea rax, [rbp - 0x28]
cmp r9, 0x10
cmovae rax, r10
mov byte [rax], r12b
jmp 0x14000689b
test rbx, rbx
je 0x1400068b0
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov rax, qword [rbp - 0x18]
xor edx, edx
mov qword [rcx + rax], rdx
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rax + rbx], dl
jmp 0x14000689b
sub eax, 2
je 0x140006a10
cmp qword [rbp - 0x10], 0x10
jb 0x140006a2d
mov rcx, qword [rbp - 0x28]
call fcn.140044950
xor al, al
jmp 0x140006a5b
cmp qword [rbp - 0x10], 0x10
jb 0x140006a59
mov rcx, qword [rbp - 0x28]
jmp 0x140006a54
cmp qword [rbp - 0x10], 0x10
jb 0x140006a2d
mov rcx, qword [rbp - 0x28]
call fcn.140044950
xor al, al
jmp 0x140006a5b
lea rcx, str.string_too_long
call fcn.14006c5dc
int3
lea rcx, str.string_too_long
call fcn.14006c5dc
nop
cmp r9, 0x10
jb 0x140006a59
mov rcx, r10
call fcn.140044950
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x140007530
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov r12, rcx
mov rcx, qword [rcx + 0x148]
mov rbx, r9
mov esi, r8d
mov rbp, rdx
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rcx, [r12 + 0x138]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [r12 + 0x160]
mov r8, rbx
mov edx, 0xff
call fcn.140045454
lea rcx, [r12 + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [r12 + 0x160]
lea rcx, [r12 + 0x160]
lea eax, [rax + rax + 2]
movsxd r8, eax
mov dword [r12 + 0x360], eax
call fcn.140044970
mov r11d, dword [r12 + 0x360]
mov rcx, qword [r12 + 0x378]
xor edx, edx
add r11d, 8
add rcx, 8
mov word [rsp + 0x28], dx
mov dword [r12 + 0x364], r11d
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
movzx r8d, si
mov rdx, rbp
call qword [rax]
test eax, eax
je 0x140007644
lea rcx, [r12 + 0x140]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r12 + 0x140]
sub rax, qword [r12 + 0x138]
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsi2sd xmm0, qword [r12 + 0x130]
cvtsi2sd xmm1, rax
divsd xmm0, qword [0x140087ca8]
mov al, 1
divsd xmm1, xmm0
movsd qword [r12 + 0x128], xmm1
jmp 0x140007646
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x1400086f0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, dword [0x14009c5e4]
mov qword [rcx + 8], rdx
mov rsi, rdx
lea rax, vtable.CManager.0
mov rbp, rcx
mov edi, r8d
mov qword [rcx], rax
mov rax, qword [rdx]
mov rdx, rcx
mov rcx, rsi
call qword [rax + 0x18]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r8, [0x14009c830]
lea rcx, [0x14009d250]
mov qword [rbp + 0x10], rax
lea rax, vtable.CKernelManager.0
mov edx, 0x208
mov qword [rbp], rax
mov dword [rbp + 0x230], 0
call fcn.140045454
lea r8, [0x14009c5f0]
lea rcx, [0x14009d660]
mov edx, 0x208
call fcn.140045454
lea rcx, [0x1400876e0]
mov dword [0x14009a53c], edi
mov dword [0x14009a544], ebx
mov qword [rbp + 0x234], 0
mov qword [rbp + 0x228], rsi
mov qword [0x14009c5d8], rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.RegCreateKeyExW
mov rcx, rax
mov qword [rbp + 0x240], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, [0x140087710]
mov qword [rbp + 0x248], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, str.RegDeleteKeyW
mov qword [rbp + 0x288], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, [0x140087730]
mov qword [rbp + 0x258], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, [0x140087740]
mov qword [rbp + 0x260], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, [0x140087758]
mov qword [rbp + 0x250], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, str.RegEnumValueW
mov qword [rbp + 0x268], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, str.RegEnumKeyExW
mov qword [rbp + 0x270], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, [0x140087788]
mov qword [rbp + 0x278], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov qword [rbp + 0x280], rax
mov rax, rbp
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret