joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a09e0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140108a70]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400a0a00
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400a0a08
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400a0a00
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400a0a50
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400a0a47
test rcx, rcx
je 0x1400a0a00
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400a0a38
xor eax, eax
ret

Function at 0x1400a0a60
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140108a70]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400a0a7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400a0a88
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400a0aa0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140108a70]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400a0ac0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400a0ac8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400a0ac0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400a0ac0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400a0b14
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400a0b20
add rdx, 0x28
cmp rdx, r9
jne 0x1400a0b00
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400a0b30
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140108a70]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400a0b52
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400a0b60
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400a0b52
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400a0b52
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400a0b52
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400a0bb5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400a0bc8
add rdx, 0x28
cmp r10, rdx
jne 0x1400a0ba0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400a0bd7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400a0be7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400a0bbe
test ecx, ecx
jg 0x1400a0bd0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14001ea60
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
and qword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov r9d, 0x101
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftClickToRunOverRide
mov rcx, 0xffffffff80000002
xor bl, bl
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001eb5e
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x40], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AllowJitvInAppvVirtualizedProcess
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001eb2a
cmp dword [rsp + 0x48], 4
jne 0x14001eb2a
mov eax, dword [rsp + 0x50]
lea rcx, str.Registry_override
test eax, eax
setne bl
test eax, eax
je 0x14001eb0e
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.AllowJitvInAppvVirtualizedProcess
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str._is_enabled.__C2R_JitV_will_run_in_AppV_virtualized_processes._n
jmp 0x14001eb4b
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.AllowJitvInAppvVirtualizedProcess
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str._is_disabled.__C2R_JitV_will_NOT_run_in_AppV_virtualized_processes._n
jmp 0x14001eb4b
lea rcx, str.Registry_override
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.AllowJitvInAppvVirtualizedProcess
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str._not_found_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001eb85
lea rcx, str.Registry_override_key
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.SoftwareMicrosoftClickToRunOverRide
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str._does_not_exist_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov al, bl
add rsp, 0x30
pop rbx
ret

Function at 0x140f52294
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f5229e
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f522c7
pop rbp
sub rbp, 0x33
sub rbp, 0xf52294
sub rsp, 0x20
jmp 0x140f522e6
mov rax, 0xf52294
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x6be88ea3
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f52305
jmp 0x140f5231c
jmp 0x140f52348
movabs dword [0x831bebf3f34ba2eb], eax
push rcx
test dword [rbx - 0x5c5c5c5d], esp
jmp 0x140f52374
mov bpl, 0xa3
movabs dword [0x22ebb292a14b62a3], eax
invalid
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140013380
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011280
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400146d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400146f0
xor al, al
jmp 0x140014771
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014703
xor al, al
jmp 0x140014771
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001472d
xor al, al
jmp 0x140014771
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014741
xor al, al
jmp 0x140014771
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014753
xor al, al
jmp 0x140014771
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001476f
xor al, al
jmp 0x140014771
mov al, 1
add rsp, 0x38
ret
Function at 0x1400125c0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113a2
movzx eax, al
test eax, eax
jne 0x1400125e0
mov ecx, 7
call fcn.140011320
nop
mov byte [rsp + 0x20], 0
call fcn.140011334
mov byte [rsp + 0x21], al
cmp dword [0x14001d868], 1
jne 0x140012604
mov ecx, 7
call fcn.140011320
nop
jmp 0x14001265c
cmp dword [0x14001d868], 0
jne 0x140012657
mov dword [0x14001d868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.14001119f
test eax, eax
je 0x140012638
mov eax, 0xff
jmp 0x140012761
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001132a
mov dword [0x14001d868], 2
jmp 0x14001265c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001130c
call fcn.1400112a3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400126b9
mov rcx, qword [rsp + 0x30]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x1400126b9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140023020]
nop
call fcn.1400112d5
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400126ed
mov rcx, qword [rsp + 0x38]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x1400126ed
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011361
nop
call fcn.140012810
mov dword [rsp + 0x28], eax
call fcn.140011280
movzx eax, al
test eax, eax
jne 0x14001270c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001271b
call fcn.14001136b
nop
xor edx, edx
mov cl, 1
call fcn.140011145
mov eax, dword [rsp + 0x28]
jmp 0x140012761
add rsp, 0x68
ret
Function at 0x140002310
Capabilities:
Delete file
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rax, [0x14000ba98]
cmp qword [0x14000bab0], 7
cmova rax, qword [0x14000ba98]
mov qword [rsp + 0x70], rax
mov rax, qword [0x14000baa8]
mov qword [rsp + 0x78], rax
call fcn.140005380
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x90]
call fcn.140003440
nop
lea rdx, [rsp + 0x90]
call fcn.140003650
movzx ebx, al
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0xf
jbe 0x1400023dc
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400058e4
test bl, bl
jne 0x140002402
lea rcx, str.Your_SteelSeries_version_isnt_compatible._nUninstall_your_current_version_and_download_the_one_from_the_setup_guide_channel.
call fcn.140001300
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, str.Your_SteelSeries_version_is_compatible._n_n
call fcn.140001300
call fcn.140002550
mov rdi, rax
call fcn.140002540
mov rsi, rax
cmp rdi, rax
je 0x140002504
lea rbp, str.Removed_File:
nop
mov r8, rdi
lea rcx, [rsp + 0x70]
call fcn.140001fd0
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.140001f80
mov rcx, rax
call fcn.140002530
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov ebx, eax
lea rcx, [rsp + 0x28]
call fcn.140002580
lea rdx, str.Failed_To_Remove:
test ebx, ebx
cmove rdx, rbp
lea rcx, [rsp + 0x90]
call fcn.1400025e0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.140001f80
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400026c0
nop
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140002560
nop
lea rcx, [rsp + 0x28]
call fcn.140002580
nop
lea rcx, [rsp + 0x48]
call fcn.140002580
lea rcx, [rsp + 0x90]
call fcn.140002530
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rsp + 0x90]
call fcn.140002580
nop
lea rcx, [rsp + 0x70]
call fcn.140002170
add rdi, 0x20
cmp rdi, rsi
jne 0x140002430
lea rcx, str._nSuccess___SteelSeries_updates_are_now_disabled.
call fcn.140001300
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400040f0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140004118
add rsp, 0x20
pop r15
pop rdi
pop rbx
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 + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000413e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140004140
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140004199
test ecx, ecx
jle 0x140004179
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140004199
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140004199
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x1400041c0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400041e2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400041f8
add rsp, 0x30
pop r14
pop rsi
pop rbp
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 + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140004214
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004216
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004252
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400042ee
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000428d
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 rbx, 0xfff
jbe 0x1400042ce
nop word [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]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400042ee
cmp rbx, rax
ja 0x1400042a0
test rbx, rbx
je 0x1400042ee
mov r9, qword [rsi + 0x80]
mov r8, rbx
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 + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140004750
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000477d
xor eax, eax
jmp 0x1400048e9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400047b7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400047b7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400048e9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400048dc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400047fa
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140004825
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 0x1400048e1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
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 0x140004894
sub eax, 1
je 0x140004894
cmp eax, 2
jne 0x1400048dc
movsx ecx, byte [rsp + 0x50]
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 0x1400048e1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400048c2
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 0x1400048dc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400048e1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140005570
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140004a90
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140004b63
cmp byte [rcx + 0x71], 0
je 0x140004b63
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140004b5f
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 0x140004b24
sub eax, 1
je 0x140004b28
cmp eax, 2
jne 0x140004b5f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140005570
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140004b56
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 0x140004b5f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140004b0c
xor al, al
jmp 0x140004b0c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140005570
add rsp, 0x60
pop rbx
ret

Function at 0x1400052e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000531a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000531f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140005368
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400074a0]
cmp byte [rcx + rax], 0
je 0x140005368
dec r8
sub rdx, 1
jne 0x14000534e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140006204
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400150e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011262
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
jmp 0x140011c70
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14002716f]
call fcn.14001142e
nop
call fcn.1400113ca
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140011caa
lea rcx, str.SeDebugPrivilege
call fcn.140011479
test eax, eax
jne 0x140011cd2
lea rcx, str.AdjustProcessPrivilege___not_working_..._n
call fcn.1400111db
nop
lea rcx, str.Are_you_running_as_Admin___..._n
call fcn.1400111db
nop
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, str._n___AdjustProcessPrivilege___ok_._n_n
call fcn.1400111db
nop
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400112f8
Capabilities:
Parse pe header

Disassembly:
jmp 0x140016470
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140016490
xor al, al
jmp 0x140016511
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400164a3
xor al, al
jmp 0x140016511
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400164cd
xor al, al
jmp 0x140016511
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400164e1
xor al, al
jmp 0x140016511
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400164f3
xor al, al
jmp 0x140016511
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001650f
xor al, al
jmp 0x140016511
mov al, 1
add rsp, 0x38
ret
Function at 0x1400113ca
Capabilities:
Acquire debug privileges

Disassembly:
jmp 0x140011e70
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x128], rax
lea rcx, [0x14002716f]
call fcn.14001142e
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 8]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140011ee6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenProcessToken
call fcn.1400111db
nop
xor eax, eax
jmp 0x140011fd7
lea r8, [rbp + 0x58]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140011f24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LookupPrivilegeValue
call fcn.1400111db
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x140011fd7
mov dword [rbp + 0x28], 1
mov eax, 0xc
imul rax, rax, 0
mov rcx, qword [rbp + 0x58]
mov qword [rbp + rax + 0x2c], rcx
mov eax, 0xc
imul rax, rax, 0
mov dword [rbp + rax + 0x34], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, [rbp + 0x28]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140011f9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.AdjustTokenPrivileges
call fcn.1400111db
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x140011fd7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
jne 0x140011fc7
lea rcx, [0x14001d098]
call fcn.1400111db
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x140011fd7
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ce50]
call fcn.140011393
mov rax, rdi
mov rcx, qword [rbp + 0x128]
xor rcx, rbp
call fcn.1400111fe
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret