joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006d1d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x1401677b8]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov r15, r8
mov r13, rdx
mov qword [rsp + 0x20], rcx
movabs rbx, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
xor edi, edi
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x130], 0xf
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r15 + r8], 0
jne 0x14006d240
mov rdx, r15
lea rcx, [rsp + 0x118]
call fcn.140005d20
lea r8, [rsp + 0x118]
mov rsi, qword [rsp + 0x118]
mov r14, qword [rsp + 0x130]
cmp r14, 0x10
cmovae r8, rsi
mov rdx, rbp
mov rcx, rdi
mov rdi, qword [rsp + 0x128]
test rdi, rdi
je 0x14006d2a4
nop dword [rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, rbx
inc rcx
cmp rcx, rdi
jb 0x14006d290
mov rcx, qword [r13 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov r12, qword [r13 + 8]
cmp rbx, r12
je 0x14006d313
mov rbp, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14006d2e2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x118]
cmp r14, 0x10
cmovae rcx, rsi
cmp rdi, rax
jne 0x14006d303
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14006d30e
cmp rbx, rbp
je 0x14006d313
mov rbx, qword [rbx + 8]
jmp 0x14006d2d0
test rbx, rbx
jne 0x14006d316
mov rbx, r12
cmp r14, 0x10
jb 0x14006d34d
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14006d345
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d3d0
mov rcx, rsi
call fcn.14007a1d8
cmp rbx, qword [r13 + 8]
je 0x14006d35d
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
jne 0x14006d3d7
mov rdx, qword [0x140167768]
test rdx, rdx
je 0x14006d3b1
lea rcx, [rsp + 0x28]
call fcn.140072930
nop
mov rcx, rax
call fcn.140072c00
mov rcx, rax
lea rdx, str.Couldnt_translate:
call fcn.140033d90
mov rcx, rax
mov rdx, r15
call fcn.140033d90
lea rdx, [0x140033f60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x28]
call fcn.1400729f0
mov rax, qword [rsp + 0x20]
cmp byte [rax + 0xb0], 0
je 0x14006d3e3
mov r13, qword [rax + 0xb8]
mov qword [rsp + 0x20], r13
jmp 0x14006d204
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp qword [rax + 0x18], 0x10
jb 0x14006d3e6
mov rax, qword [rax]
jmp 0x14006d3e6
mov rax, r15
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14007a540
mov rbx, qword [rsp + 0x188]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, rdx
mov rdx, rcx
jmp 0x14006d1d0
Function at 0x14006d420
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x1401677b8]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov r15, r8
mov r13, rdx
mov qword [rsp + 0x20], rcx
movabs rbx, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
xor edi, edi
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x130], 0xf
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r15 + r8], 0
jne 0x14006d240
mov rdx, r15
lea rcx, [rsp + 0x118]
call fcn.140005d20
lea r8, [rsp + 0x118]
mov rsi, qword [rsp + 0x118]
mov r14, qword [rsp + 0x130]
cmp r14, 0x10
cmovae r8, rsi
mov rdx, rbp
mov rcx, rdi
mov rdi, qword [rsp + 0x128]
test rdi, rdi
je 0x14006d2a4
nop dword [rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, rbx
inc rcx
cmp rcx, rdi
jb 0x14006d290
mov rcx, qword [r13 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov r12, qword [r13 + 8]
cmp rbx, r12
je 0x14006d313
mov rbp, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14006d2e2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x118]
cmp r14, 0x10
cmovae rcx, rsi
cmp rdi, rax
jne 0x14006d303
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14006d30e
cmp rbx, rbp
je 0x14006d313
mov rbx, qword [rbx + 8]
jmp 0x14006d2d0
test rbx, rbx
jne 0x14006d316
mov rbx, r12
cmp r14, 0x10
jb 0x14006d34d
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14006d345
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d3d0
mov rcx, rsi
call fcn.14007a1d8
cmp rbx, qword [r13 + 8]
je 0x14006d35d
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
jne 0x14006d3d7
mov rdx, qword [0x140167768]
test rdx, rdx
je 0x14006d3b1
lea rcx, [rsp + 0x28]
call fcn.140072930
nop
mov rcx, rax
call fcn.140072c00
mov rcx, rax
lea rdx, str.Couldnt_translate:
call fcn.140033d90
mov rcx, rax
mov rdx, r15
call fcn.140033d90
lea rdx, [0x140033f60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x28]
call fcn.1400729f0
mov rax, qword [rsp + 0x20]
cmp byte [rax + 0xb0], 0
je 0x14006d3e3
mov r13, qword [rax + 0xb8]
mov qword [rsp + 0x20], r13
jmp 0x14006d204
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp qword [rax + 0x18], 0x10
jb 0x14006d3e6
mov rax, qword [rax]
jmp 0x14006d3e6
mov rax, r15
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14007a540
mov rbx, qword [rsp + 0x188]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, rdx
mov rdx, rcx
jmp 0x14006d1d0
Function at 0x140074270
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1401677b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140074343
cmp byte [rcx + 0x71], 0
je 0x140074343
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14007433f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
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 0x140074304
sub eax, 1
je 0x140074308
cmp eax, 2
jne 0x14007433f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14007a540
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140074336
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14007433f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400742ec
xor al, al
jmp 0x1400742ec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14007a540
add rsp, 0x60
pop rbx
ret
Function at 0x140075770
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1401677b8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14007579d
xor eax, eax
jmp 0x1400758f2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1400757c8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1400757c8
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
jmp 0x1400758f2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400758e5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14007580b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x140075836
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 0x1400758ea
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x1400758a5
sub eax, 1
je 0x1400758a5
cmp eax, 2
jne 0x1400758e5
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 0x1400758ea
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400758d3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400758e5
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov eax, edi
jne 0x1400758ea
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14007a540
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140076250
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 0x140076281
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 0x14007629f
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 0x1400762c0
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400762c2
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400762f4
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 0x140076391
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140076332
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 0x140076371
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 0x1400763b2
cmp rdi, rax
ja 0x140076340
test rbx, rbx
je 0x140076391
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 0x140076394
Function at 0x1400763c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x1400763f7
mov rbx, qword [rsp + 0x40]
mov rdi, 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__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140076418
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14007641a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140076473
test ecx, ecx
jle 0x140076453
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140076473
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140076473
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140001530
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x140001543
xor eax, eax
test eax, eax
jne 0x140001543
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140001597
mov eax, dword [rsp + 0x38]
jmp 0x1400015a7
cmp dword [rsp + 0x30], 4
je 0x1400015a5
mov eax, 0xd
jmp 0x1400015a7
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400015b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x1400015c8
xor eax, eax
test eax, eax
jne 0x1400015c8
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
shl rax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140001630
mov eax, dword [rsp + 0x38]
jmp 0x1400016b3
cmp dword [rsp + 0x30], 1
je 0x140001645
cmp dword [rsp + 0x30], 2
je 0x140001645
mov eax, 0xd
jmp 0x1400016b3
cmp qword [rsp + 0x60], 0
je 0x140001699
cmp dword [rsp + 0x34], 0
je 0x14000168f
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
test rdx, rdx
jne 0x140001686
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + rcx*2 - 2]
test eax, eax
je 0x14000168d
mov eax, 0xd
jmp 0x1400016b3
jmp 0x140001699
xor ecx, ecx
mov rax, qword [rsp + 0x60]
mov word [rax], cx
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400030a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x1400030b8
xor eax, eax
test eax, eax
jne 0x1400030b8
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140003104
mov eax, dword [rsp + 0x34]
jmp 0x140003114
cmp dword [rsp + 0x30], 3
je 0x140003112
mov eax, 0xd
jmp 0x140003114
xor eax, eax
add rsp, 0x48
ret
Function at 0x1400093db
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400450e0]
jne 0x140006e7a
rol rcx, 0x10
test cx, 0xffff
jne 0x140006e76
repz ret
ror rcx, 0x10
jmp 0x140009334
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140046f90]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140047088]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400093b9
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140046f90]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400093db
mov rax, qword [rsp + 0x88]
mov qword [0x140047088], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140047028], rax
mov rax, qword [0x140047088]
mov qword [0x140046f00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140047010], rax
mov dword [0x140046ef0], 0xc0000409
mov dword [0x140046ef4], 1
mov rax, qword [0x1400450e0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400450e8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140046f88], eax
mov ecx, 1
call fcn.14000f624
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14002dfe8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140046f88], 0
jne 0x140009462
mov ecx, 1
call fcn.14000f624
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14000cc34
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14000f30c
nop
cmp dword [0x140047528], 1
je 0x14000cbe0
mov dword [0x140047524], 1
mov byte [0x140047520], r12b
test ebx, ebx
jne 0x14000cbcc
mov rcx, qword [0x140049910]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000cbb9
mov rcx, qword [0x140049908]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14000cb58
call fcn.14000a438
cmp qword [rdi], rax
jne 0x14000cb58
jmp 0x14000cb3e
cmp rdi, rsi
jb 0x14000cbb9
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14000a438
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140049910]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140049908]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14000cb97
cmp r13, rax
je 0x14000cbb7
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14000cb3e
lea rdx, [0x14002d5a0]
lea rcx, [0x14002d588]
call fcn.14000c988
lea rdx, [0x14002d5b0]
lea rcx, [0x14002d5a8]
call fcn.14000c988
nop
test r12d, r12d
je 0x14000cbef
mov ecx, 8
call fcn.14000f20c
test r12d, r12d
jne 0x14000cc1a
mov dword [0x140047528], 1
lea ecx, [r12 + 8]
call fcn.14000f20c
mov ecx, r15d
call fcn.14000c91c
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000caa8

Function at 0x14000cc40
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14000caa8
Function at 0x140010fb8
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14000a438
xor ebx, ebx
mov rdi, rax
cmp qword [0x140047d70], rbx
jne 0x1400110be
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140011193
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140011193
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140047d70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140047d78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140047d80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140047d90], rax
test rax, rax
je 0x1400110b5
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140047d88], rax
jmp 0x1400110c5
mov rax, qword [0x140047d88]
jmp 0x1400110cc
mov rax, qword [0x140047d88]
mov r11, qword [0x140047d90]
cmp rax, rdi
je 0x140011134
cmp r11, rdi
je 0x140011134
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140047d90]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140011134
test rax, rax
je 0x140011134
call rsi
test rax, rax
je 0x14001112e
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14001112e
test byte [rsp + 0x38], 1
jne 0x140011134
bts ebp, 0x15
jmp 0x140011172
mov rcx, qword [0x140047d78]
cmp rcx, rdi
je 0x140011172
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140011172
call rax
mov rbx, rax
test rax, rax
je 0x140011172
mov rcx, qword [0x140047d80]
cmp rcx, rdi
je 0x140011172
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140011172
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140047d70]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140011193
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140011195
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret