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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800087ff
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800087ff
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800087ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800087ff
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800087ff
cmp dword [rcx + 0x84], 0xe
jbe 0x1800087ff
cmp dword [rcx + 0xf8], 0
je 0x1800087ff
mov ecx, ebx
call fcn.1800088b0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18000868c
nop
cmp dword [rbp + 0x20], 0
je 0x18000884d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180008858
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180008790
Function at 0x18000ba28
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18000ba58
xor eax, eax
jmp 0x18000bb1b
mov rbp, rbx
cmp word [rax], si
je 0x18000ba7d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000ba64
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000ba60
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000b948
movsxd r14, eax
test eax, eax
jne 0x18000babb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000ba51
mov rcx, r14
call fcn.180009e64
mov rdi, rax
test rax, rax
jne 0x18000bad4
xor ecx, ecx
call fcn.180009e28
jmp 0x18000bab0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000b948
test eax, eax
jne 0x18000bb05
mov rcx, rdi
call fcn.180009e28
jmp 0x18000bb0f
xor ecx, ecx
call fcn.180009e28
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x180011150
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x18000003c]
lea rsi, [0x180000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1800111c9
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1800111c9
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
cmp r9w, r11w
jae 0x1800111c9
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1800111bd
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1800111db
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1800111ab
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1800111cb

Function at 0x180011750
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180011778
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180011778
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140011104
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001e9f0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14003a072]
call fcn.140011a2d
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001ea48
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001eb5a
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14001eaf3
cmp qword [rbp + 0x28], 0
jle 0x14001eaf3
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001ea91
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1400119a1
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x14001eb49
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001eb49
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140011145
Capabilities:
Execute command

Disassembly:
jmp 0x14001d150
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14003a100]
call fcn.140011a2d
nop
lea rdx, str.AimeEdit.exe
lea rcx, [rbp + 8]
call fcn.140011479
nop
lea rcx, [rbp + 8]
call fcn.1400110fa
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jne 0x14001d1d0
lea rdx, str.AimeEdit_executed_successfully._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011122
nop
jmp 0x14001d1e4
lea rdx, str.Error_executing_AimeEdit._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011122
nop
lea rcx, [rbp + 8]
call fcn.1400111d6
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x14002a8e0]
call fcn.14001188e
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400114ec
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x14001124e
Capabilities:
Execute command
Terminate process

Disassembly:
jmp 0x14001b730
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x14003a100]
call fcn.140011a2d
nop
xor eax, eax
cmp eax, 1
je 0x14001b87b
lea rdx, str.1____Exit_Loader_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011122
nop
lea rdx, str.2____Check_Serials_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011122
nop
call qword [sym.imp.ucrtbased.dll__getch]
mov byte [rbp + 4], al
movsx eax, byte [rbp + 4]
cmp eax, 0x31
jne 0x14001b85f
call fcn.1400110f0
nop
lea rdx, str.e_31m
lea rcx, [rbp + 0x28]
call fcn.140011479
nop
lea rdx, str.e_0m
lea rcx, [rbp + 0x68]
call fcn.140011479
nop
lea rdx, [rbp + 0x28]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011933
lea rdx, str.Artic_Spoofer_Exiting_Loader
mov rcx, rax
call fcn.140011122
lea rdx, [rbp + 0x68]
mov rcx, rax
call fcn.140011933
lea rdx, [0x14001105a]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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
mov dword [rbp + 0x184], 2
lea rdx, [rbp + 0x184]
lea rcx, [rbp + 0x168]
call fcn.140011262
mov rcx, rax
call fcn.1400111e5
nop
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rcx, [rbp + 0x68]
call fcn.1400111d6
lea rcx, [rbp + 0x28]
call fcn.1400111d6
nop
jmp 0x14001b876
movsx eax, byte [rbp + 4]
cmp eax, 0x32
jne 0x14001b876
lea rcx, str.notepad__Serials_AFTER_Spoofing.txt_
call qword [sym.imp.ucrtbased.dll_system]
nop
jmp 0x14001b76e
lea rcx, [rbp - 0x20]
lea rdx, [0x14002a9a0]
call fcn.14001188e
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.1400114ec
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret

Function at 0x1400115be
Capabilities:
Terminate process

Disassembly:
jmp 0x140021be0
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 0x1400116f4
Capabilities:
Terminate process

Disassembly:
jmp 0x14001b600
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x14003a100]
call fcn.140011a2d
nop
call fcn.1400110f0
nop
lea rdx, str._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011122
nop
lea rdx, str.____INFORMATION_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011122
nop
lea rdx, str.Are_you_sure_you_want_to_Spoof_System__n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011122
nop
lea rdx, str._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011122
nop
lea rdx, str.Press_Y_for_Yes_or_N_for_No._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011122
nop
call qword [sym.imp.ucrtbased.dll__getch]
mov byte [rbp + 4], al
movsx eax, byte [rbp + 4]
cmp eax, 0x59
je 0x14001b6e4
movsx eax, byte [rbp + 4]
cmp eax, 0x79
je 0x14001b6e4
lea rdx, str.Operation_canceled._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011122
nop
mov dword [rbp + 0x104], 2
lea rdx, [rbp + 0x104]
lea rcx, [rbp + 0xe8]
call fcn.140011262
mov rcx, rax
call fcn.1400111e5
nop
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140011712
Capabilities:
Create process on windows

Disassembly:
jmp 0x14001ebe0
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x428], rax
lea rcx, [0x14003a100]
call fcn.140011a2d
nop
call fcn.14001187a
movzx eax, al
test eax, eax
jne 0x14001ec6c
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0x10]
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
xor eax, eax
jmp 0x14001ed4e
call fcn.140011532
nop
lea rcx, [rbp + 0x238]
call fcn.140011a19
nop
call fcn.1400110f0
nop
lea rdx, str.License_key:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011122
nop
lea rdx, [rbp + 0x238]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.1400115b9
nop
lea rcx, [rbp + 0x238]
call fcn.1400119b5
movzx eax, al
test eax, eax
jne 0x14001ed02
lea rdx, str.Invalid_license_key__Exiting...
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011122
lea rdx, [0x14001105a]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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
mov dword [rbp + 0x3f4], 1
lea rcx, [rbp + 0x238]
call fcn.1400111d6
mov eax, dword [rbp + 0x3f4]
jmp 0x14001ed4e
call fcn.14001169a
nop
call fcn.1400111c2
nop
call fcn.1400116f4
nop
call fcn.1400113b6
nop
call fcn.14001146a
nop
call fcn.1400115c3
nop
call fcn.140011145
nop
call fcn.14001124e
nop
mov dword [rbp + 0x414], 0
lea rcx, [rbp + 0x238]
call fcn.1400111d6
mov eax, dword [rbp + 0x414]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002abb0]
call fcn.14001188e
mov rax, rdi
mov rcx, qword [rbp + 0x428]
xor rcx, rbp
call fcn.1400114ec
lea rsp, [rbp + 0x438]
pop rdi
pop rbp
ret
Function at 0x14001173a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140022710
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140022730
xor al, al
jmp 0x1400227b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140022743
xor al, al
jmp 0x1400227b1
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 0x14002276d
xor al, al
jmp 0x1400227b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140022781
xor al, al
jmp 0x1400227b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140022793
xor al, al
jmp 0x1400227b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400227af
xor al, al
jmp 0x1400227b1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001187a
Capabilities:
Get token membership

Disassembly:
jmp 0x14001bf30
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14003a100]
call fcn.140011a2d
nop
mov byte [rbp + 4], 0
mov byte [rbp + 5], 0
mov byte [rbp + 6], 0
mov byte [rbp + 7], 0
mov byte [rbp + 8], 0
mov byte [rbp + 9], 5
mov dword [rbp + 0x44], 0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp + 4]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14001bffe
lea r8, [rbp + 0x44]
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
nop
cmp dword [rbp + 0x44], 0
je 0x14001c00d
mov byte [rbp + 0x114], 1
jmp 0x14001c014
mov byte [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
mov edi, eax
lea rcx, [rbp - 0x60]
lea rdx, [0x14002aac0]
call fcn.14001188e
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400114ec
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140011a14
Capabilities:
Write file on windows

Disassembly:
jmp 0x140019b80
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x14003a072]
call fcn.140011a2d
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x140019be7
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140019bee
mov al, 1
jmp 0x140019d3e
call fcn.1400112e9
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.1400112e9
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.14001182a
movzx eax, al
test eax, eax
je 0x140019c3f
xor al, al
jmp 0x140019d3e
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x140019ca4
cmp dword [rbp + 0x154], 1
je 0x140019caf
cmp dword [rbp + 0x154], 3
je 0x140019d2d
jmp 0x140019d3c
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140019cff
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140019cff
xor al, al
jmp 0x140019d3e
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140019d1a
mov dword [rbp + 0x154], 1
jmp 0x140019d24
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x140019d3e
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140019d3e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002a860]
call fcn.14001188e
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1400114ec
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140020000
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011a7d
movzx eax, al
test eax, eax
jne 0x140020020
mov ecx, 7
call fcn.1400118a7
nop
mov byte [rsp + 0x20], 0
call fcn.1400118de
mov byte [rsp + 0x21], al
cmp dword [0x140032730], 1
jne 0x140020044
mov ecx, 7
call fcn.1400118a7
nop
jmp 0x14002009c
cmp dword [0x140032730], 0
jne 0x140020097
mov dword [0x140032730], 1
lea rdx, [0x140029770]
lea rcx, [0x140029440]
call fcn.1400114c9
test eax, eax
je 0x140020078
mov eax, 0xff
jmp 0x1400201a1
lea rdx, [0x140029330]
lea rcx, [section..rdata]
call fcn.1400118ca
mov dword [0x140032730], 2
jmp 0x14002009c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001187f
call fcn.140011776
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400200f9
mov rcx, qword [rsp + 0x30]
call fcn.1400113d9
movzx eax, al
test eax, eax
je 0x1400200f9
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 [0x14003b020]
nop
call fcn.1400117f8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14002012d
mov rcx, qword [rsp + 0x38]
call fcn.1400113d9
movzx eax, al
test eax, eax
je 0x14002012d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400119ec
nop
call fcn.140020250
mov dword [rsp + 0x28], eax
call fcn.14001173a
movzx eax, al
test eax, eax
jne 0x14002014c
mov ecx, dword [rsp + 0x28]
call fcn.1400110b4
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14002015b
call fcn.140011a00
nop
xor edx, edx
mov cl, 1
call fcn.14001139d
mov eax, dword [rsp + 0x28]
jmp 0x1400201a1
add rsp, 0x68
ret
Function at 0x1400024c0
Capabilities:
Parse pe header

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

Function at 0x140003320
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor ebx, ebx
lea rdi, [rcx + 0x33b84]
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx + 0x3422e]
lea rdi, [rdi + 4]
shr rax, 4
mov r9d, ebx
and r9d, 1
mov r11d, ebx
mov edx, r9d
shr r11d, 1
neg edx
or r9d, 2
sar rdx, 4
mov r8d, r11d
and edx, 0x7f
shr r11d, 1
xor rdx, rax
and r8d, 1
mov eax, r8d
inc ebx
neg eax
sar rax, 4
mov r10d, dword [rcx + rdx*4 + 0x324d4]
and eax, 0x7f
movzx edx, word [rcx + r9*2 + 0x3422c]
add r9d, r9d
shr rdx, 4
or r9d, r8d
xor rdx, rax
mov r8d, r11d
and r8d, 1
shr r11d, 1
mov eax, r8d
and r11d, 1
neg eax
add r10d, dword [rcx + rdx*4 + 0x324d4]
movzx edx, word [rcx + r9*2 + 0x3422c]
sar rax, 4
and eax, 0x7f
shr rdx, 4
xor rdx, rax
lea eax, [r9 + r9]
or eax, r8d
add r10d, dword [rcx + rdx*4 + 0x324d4]
movzx edx, word [rcx + rax*2 + 0x3422c]
mov eax, r11d
neg eax
shr rdx, 4
sar rax, 4
and eax, 0x7f
xor rdx, rax
add r10d, dword [rcx + rdx*4 + 0x324d4]
mov dword [rdi - 4], r10d
cmp ebx, 0x10
jb 0x140003340
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov dword [rcx + 0x33bc4], 0
ret