joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800029d0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002a02
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002a02
nop word cs:[rax + rax]
jmp 0x180002a00
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002ad8
mov rsi, r10
test r8b, r8b
je 0x180002af0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002a70
test r9b, r9b
je 0x180002b00
sub rsi, rcx
je 0x180002ad4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002ad0
test ebp, ebp
jne 0x180002ad0
add rbx, 1
cmp rsi, rbx
jne 0x180002a90
jmp 0x180002ad4
test ebp, ebp
jne 0x180002a5c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002af0
jmp 0x180002b00
Function at 0x180002b00
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002b32
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002b32
nop word cs:[rax + rax]
jmp 0x180002b30
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002c08
mov rsi, r10
test r8b, r8b
je 0x180002c20
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002ba0
test r9b, r9b
je 0x180002c30
sub rsi, rcx
je 0x180002c04
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002c00
test ebp, ebp
jne 0x180002c00
add rbx, 1
cmp rsi, rbx
jne 0x180002bc0
jmp 0x180002c04
test ebp, ebp
jne 0x180002b8c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002c20
jmp 0x180002c30
Function at 0x180002b10
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a8c], 0xa
jl 0x180002b42
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002b42
nop word cs:[rax + rax]
jmp 0x180002b40
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a74], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a94]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a98], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002c18
mov rsi, r10
test r8b, r8b
je 0x180002c30
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002bb0
test r9b, r9b
je 0x180002c40
sub rsi, rcx
je 0x180002c14
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002c10
test ebp, ebp
jne 0x180002c10
add rbx, 1
cmp rsi, rbx
jne 0x180002bd0
jmp 0x180002c14
test ebp, ebp
jne 0x180002b9c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002c30
jmp 0x180002c40
Function at 0x180001fc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
movsxd rax, dword [rcx + 0x3c]
mov ebp, dword [0x180020a84]
lea r11d, [rbp - 1]
imul r11d, ebp
cmp dword [rcx + rax + 0x8c], 0
mov r8d, dword [0x180020a88]
je 0x180002042
mov eax, dword [rcx + rax + 0x88]
cmp r8d, 0xa
jl 0x180002002
mov ebp, r11d
and ebp, 1
je 0x180002002
jmp 0x180002000
cmp dword [rcx + rax + 0x14], 0
je 0x180002042
mov r9d, dword [rcx + rax + 0x18]
test r9d, r9d
je 0x180002042
mov r10d, dword [rcx + rax + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180002062
mov esi, dword [0x180020a90]
lea edi, [rsi - 1]
imul edi, esi
and edi, 1
je 0x180002062
nop word cs:[rax + rax]
nop dword [rax]
jmp 0x180002040
xor ecx, ecx
cmp r8d, 0xa
jl 0x1800020cf
mov eax, r11d
and eax, 1
je 0x1800020cf
nop word cs:[rax + rax]
jmp 0x180002060
add r10, rcx
mov r15d, dword [rcx + rax + 0x20]
mov r14d, dword [rcx + rax + 0x24]
add r15, rcx
add r14, rcx
xor edi, edi
nop word [rax + rax]
mov esi, dword [r15]
add rsi, rcx
xor eax, eax
nop dword [rax + rax]
movzx ebx, byte [rdx + rax]
movzx ebp, byte [rsi + rax]
test bl, bl
je 0x1800020a5
add rax, 1
cmp bl, bpl
je 0x180002090
cmp bl, bpl
je 0x1800020c4
add edi, 1
add r15, 4
add r14, 2
cmp edi, r9d
jne 0x180002080
xor ecx, ecx
cmp r8d, 0xa
jge 0x1800020d5
jmp 0x1800020e2
movzx eax, word [r14]
mov eax, dword [r10 + rax*4]
add rcx, rax
cmp r8d, 0xa
jl 0x1800020e2
and r11d, 1
je 0x1800020e2
nop dword [rax + rax]
jmp 0x1800020e0
mov rax, rcx
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1800020f0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002122
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002122
nop word cs:[rax + rax]
jmp 0x180002120
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x1800021f8
mov rsi, r10
test r8b, r8b
je 0x180002210
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002190
test r9b, r9b
je 0x180002220
sub rsi, rcx
je 0x1800021f4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x1800021f0
test ebp, ebp
jne 0x1800021f0
add rbx, 1
cmp rsi, rbx
jne 0x1800021b0
jmp 0x1800021f4
test ebp, ebp
jne 0x18000217c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002210
jmp 0x180002220
Function at 0x140001290
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
mov edi, 0xf
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x40], al
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x20], al
lea rdx, str.Podaj_haslo:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001710
lea rdx, [rsp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.1400018f0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140001310
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140001396
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400014a0
lea rcx, [rsp + 0x40]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
cmp rdi, 0xf
cmova rcx, rbx
mov r8, qword [rsp + 0x50]
cmp r8, 0xd
jne 0x140001381
lea rdx, str.bujajsiestivi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001381
lea rdx, str.Zglos_sie_na_dc__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001710
jmp 0x14000139b
lea rdx, str.Bledne_haslo_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001710
jmp 0x14000139b
mov rbx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400013dc
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400013d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400013d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001dac
nop
cmp rdi, 0xf
jbe 0x140001416
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000140e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000140e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140001dac
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140001d50
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x1400026d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000271a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000271a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000271a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000271a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000271a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000271c
xor al, al
add rsp, 0x28
ret
Function at 0x18000cf18
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
xor r13d, r13d
mov dword [rsp + 0x20], 0x47215848
mov dword [rsp + 0x24], 0x684b6455
mov dword [rsp + 0x28], 0x7a713c4e
mov dword [rsp + 0x2c], 0x3e743e55
mov dword [rsp + 0x30], 0x396f7824
Function at 0x18000d488
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd rax, dword [rcx + 0x3c]
mov esi, edx
xor edx, edx
mov r8d, dword [rax + rcx + 0x88]
mov r9, rcx
add r8, rcx
mov r10d, dword [r8 + 0x20]
mov r11d, dword [r8 + 0x1c]
mov ebx, dword [r8 + 0x24]
mov edi, dword [r8 + 0x18]
add r10, rcx
add r11, rcx
add rbx, rcx
test edi, edi
je 0x18000d4f9
mov ecx, dword [r10]
add rcx, r9
xor r8d, r8d
jmp 0x18000d4e4
movzx eax, al
inc rcx
or eax, 0x60
add r8d, eax
add r8d, r8d
mov al, byte [rcx]
test al, al
jne 0x18000d4d5
cmp r8d, esi
je 0x18000d50b
inc edx
add r10, 4
cmp edx, edi
jb 0x18000d4ca
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
movzx ecx, word [rbx + rdx*2]
mov eax, dword [r11 + rcx*4]
add rax, r9
jmp 0x18000d4fb
Function at 0x180060128
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
call fcn.1800604b4
mov ecx, dword [0x1800cbf6c]
test ecx, ecx
jne 0x18006015a
lea rcx, [0x1800cbf68]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [0x1800cbf6c]
mov r8d, ecx
xor edx, edx
mov rax, rdi
mov r9d, 4
div r8
xor eax, eax
mov dword [rbx + 8], r9d
test rdx, rdx
cmovne eax, ecx
xor edx, edx
mov ecx, eax
mov rax, rdi
div r8
mov r8d, 0x1000
sub rcx, rdx
lea rdx, [rcx + rdi]
xor ecx, ecx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbx + 0x18], rax
mov rdx, rax
test rax, rax
jne 0x1800601e5
mov rcx, qword [0x1800c9a10]
lea rax, [0x1800c9a10]
cmp rcx, rax
je 0x1800601da
test byte [rcx + 0x1c], 1
je 0x1800601da
cmp byte [rcx + 0x19], 2
jb 0x1800601da
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800a1e50]
mov edx, SafeArrayDestroy
call fcn.180001ae4
and qword [rbx + 0x10], 0
and dword [rbx + 8], 0
jmp 0x1800601f2
mov rax, qword [rbx]
mov rcx, rbx
mov r8, qword [rbx + 0x10]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx + 0x18]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180061504
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x1800cc308], 0
jne 0x18006160a
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x18006156b
mov rcx, qword [0x1800c9a10]
lea rax, [0x1800c9a10]
cmp rcx, rax
je 0x1800615e0
test byte [rcx + 0x1c], 1
je 0x1800615e0
cmp byte [rcx + 0x19], 2
jb 0x1800615e0
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800a1e80]
mov edx, 0x1c
call fcn.180001ae4
jmp 0x1800615e0
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
lea rcx, [0x1800cbfd0]
mov r8d, 0x11c
mov rbx, rax
call fcn.1800485d0
lea rcx, [0x1800cbfd0]
mov dword [0x1800cbfd0], 0x11c
call rbx
mov r9d, eax
test eax, eax
je 0x1800615e4
mov rcx, qword [0x1800c9a10]
lea rax, [0x1800c9a10]
cmp rcx, rax
je 0x1800615e0
test byte [rcx + 0x1c], 1
je 0x1800615e0
cmp byte [rcx + 0x19], 2
jb 0x1800615e0
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800a1e80]
mov edx, 0x1d
call fcn.180001560
xor al, al
jmp 0x18006160c
xor edx, edx
lea rcx, [0x1800cbf98]
lea r8d, [rdx + 0x30]
call fcn.1800485d0
lea rcx, [0x1800cbf98]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov byte [0x1800cc308], 1
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x180062cd4
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x150
mov qword [r11 - 0xd8], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1800c9088]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rdx
mov r14d, ecx
mov qword [rsp + 0x30], rdx
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [r11 - 0x98]
call fcn.1800485d0
nop
call fcn.180001d84
mov rcx, rax
xor ebx, ebx
test rax, rax
je 0x180062ed6
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
lea rcx, str._APPDATAEXTENSION_
call fcn.180063054
or r9, 0xffffffffffffffff
lea edx, [r9 + 0x33]
lea rcx, [rsp + 0xd0]
cmp eax, 1
mov r8, qword [rsp + 0x28]
je 0x180062d75
lea r8, str.Symantec
call fcn.180050bb0
lea rcx, [rsp + 0x40]
call fcn.18005cfa8
nop
mov dword [rsp + 0x20], ebx
mov rax, qword [rdi]
mov r9d, 1
sub r9d, dword [rax - 8]
mov ecx, dword [rax - 0xc]
mov edx, 0x105
sub ecx, edx
or ecx, r9d
jge 0x180062dad
mov rcx, rdi
call fcn.180001a7c
mov rsi, qword [rdi]
xor r9d, r9d
mov r8d, r14d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x180062df7
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x180062df7
call fcn.18005d5c4
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
mov dword [rsp + 0x20], 1
jne 0x180062dfb
mov dword [rsp + 0x20], ebx
mov rcx, qword [rdi]
test rcx, rcx
jne 0x180062e07
mov eax, ebx
jmp 0x180062e18
movsxd rdx, dword [rcx - 0xc]
call fcn.18004d32c
test eax, eax
js 0x180062ee1
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x180062ee1
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], bx
jmp 0x180062e3a
mov esi, dword [rsp + 0x20]
cmp dword [rsp + 0x48], ebx
cmovne esi, ebx
test esi, esi
jne 0x180062e84
lea rax, [0x1800c9a10]
mov rcx, qword [0x1800c9a10]
cmp rcx, rax
je 0x180062e7b
test byte [rcx + 0x1c], 1
je 0x180062e7b
cmp byte [rcx + 0x19], 2
jb 0x180062e7b
lea edx, [rsi + 0x13]
lea r8, [0x1800a2280]
mov rcx, qword [rcx + 0x10]
call fcn.180001ae4
mov rcx, rdi
call fcn.180002b40
nop
lea rcx, [rsp + 0x40]
call fcn.18005d030
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x180062eb0
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov eax, esi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180045d30
mov rbx, qword [rsp + 0x180]
add rsp, 0x150
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.180001b3c
nop
mov ecx, 0x80070057
call fcn.180001b3c
int3
Function at 0x180063644
Capabilities:
Acquire debug privileges

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x130
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x1800c9088]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rsi, rcx
mov bl, 1
mov byte [rsp + 0x20], bl
lea rcx, [r11 - 0xa8]
call fcn.18005cfa8
nop
lea r14, [0x1800ab0b0]
mov qword [rsp + 0x30], r14
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], SafeArrayUnaccessData
mov eax, 0xffffffff
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x6c], 0xa
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
movss xmm1, dword [0x1800adb6c]
movss dword [rsp + 0x4c], xmm1
movss xmm0, dword [0x1800adb68]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x1800adb78]
movss dword [rsp + 0x54], xmm1
lea rcx, [rsp + 0x38]
call fcn.180037920
mov qword [rsp + 0x80], rdi
mov byte [rsp + 0x88], bl
lea r8, [rsp + 0xf0]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x180063756
mov dword [rsp + 0xf8], 2
lea r8d, [rdi + 2]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x38]
call fcn.18003739c
mov byte [rsp + 0x88], bl
cmp dword [rsp + 0x40], edi
jne 0x180063761
mov sil, bl
jmp 0x180063776
lea r8, [rsi + 0x30]
lea rcx, [rsi + 0x10]
lea rdx, [rsp + 0x30]
call fcn.18003711c
mov sil, al
mov qword [rsp + 0x30], r14
mov rcx, qword [rsp + 0x80]
call fcn.18004d770
lea rcx, [rsp + 0x38]
call fcn.1800374d8
test sil, sil
jne 0x1800637dc
lea rdx, [0x1800c9a10]
mov rax, qword [0x1800c9a10]
cmp rax, rdx
je 0x180063823
test byte [rax + 0x1c], bl
je 0x180063823
cmp byte [rax + 0x19], 2
jb 0x180063823
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov edx, reloc.OLEAUT32.dll_SafeArrayAccessData
lea r8, [0x1800a2290]
mov rcx, qword [0x1800c9a10]
mov rcx, qword [rcx + 0x10]
call fcn.180001560
jmp 0x180063823
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
jne 0x18006382a
lea rdx, [0x1800c9a10]
mov rcx, qword [0x1800c9a10]
cmp rcx, rdx
je 0x180063823
test byte [rcx + 0x1c], bl
je 0x180063823
cmp byte [rcx + 0x19], 2
jb 0x180063823
mov edx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
lea r9, str.SeDebugPrivilege
lea r8, [0x1800a2290]
mov rcx, qword [rcx + 0x10]
call fcn.180002540
mov bl, dil
mov byte [rsp + 0x20], bl
jmp 0x180063832
cmp dword [rsp + 0x98], edi
cmovne ebx, edi
lea rcx, [rsp + 0x90]
call fcn.18005d030
mov al, bl
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.180045d30
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x180063d54
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1800c9088]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov r9d, dword [rcx + 0x10]
lea r12, [0x1800ab140]
xor r14d, r14d
mov qword [rsp + 0x48], r12
mov rdi, rdx
mov dword [rsp + 0x28], r14d
mov r8, rdx
mov dword [rsp + 0x20], r14d
mov rdx, qword [rcx + 8]
mov rsi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x58], r14
call fcn.180064050
test eax, eax
jne 0x180063e21
mov ebx, dword [rsp + 0x5c]
lea eax, [rbx - 2]
cmp eax, 1
jbe 0x180063e9b
mov rcx, qword [0x1800c9a10]
lea rax, [0x1800c9a10]
cmp rcx, rax
je 0x180063e9b
test byte [rcx + 0x1c], 1
je 0x180063e9b
cmp byte [rcx + 0x19], 2
jb 0x180063e9b
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x29]
mov r9, rdi
mov dword [rsp + 0x20], ebx
lea r8, [0x1800a22a8]
call fcn.180001594
jmp 0x180063e9b
xor edx, edx
mov dword [rsp + 0x40], 0x100
mov r8d, 0x200
lea rcx, [rsp + 0x60]
call fcn.1800485d0
jmp 0x180063e55
lea rdx, [rsp + 0x60]
call fcn.180063d54
mov ebx, eax
test eax, eax
jne 0x180063e9b
mov dword [rsp + 0x40], 0x100
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r14
xor edx, edx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea rcx, [rsp + 0x48]
test eax, eax
je 0x180063e3d
call fcn.1800646d0
mov rdx, rdi
mov rcx, rsi
call fcn.180063ed8
mov ebx, eax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], r12
call fcn.1800646d0
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.180045d30
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x270
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x180063fe0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
call fcn.1800616b4
xor ebx, ebx
test al, al
lea rax, [0x1800a4c08]
je 0x18006401d
mov rcx, qword [rsi + 8]
test rdi, rdi
cmove rdi, rax
mov rdx, rdi
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
jmp 0x18006402f
test rdi, rdi
mov rcx, rsi
cmove rdi, rax
mov rdx, rdi
call fcn.180063d54
test eax, eax
mov dword [rsi + 0x14], eax
mov rsi, qword [rsp + 0x38]
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret