joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f730
Capabilities:
Get token membership
Terminate process

Disassembly:
mov r11, rsp
sub rsp, 0xb8
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor ecx, ecx
mov word [r11 - 0x24], 0x500
lea rax, [r11 - 0x30]
mov dword [r11 - 0x20], ecx
mov qword [r11 - 0x68], rax
mov r9d, 0x220
mov dword [rsp + 0x48], ecx
mov dl, 2
mov dword [rsp + 0x40], ecx
lea r8d, [rcx + 0x20]
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov qword [r11 - 0x30], rcx
mov dword [r11 - 0x28], ecx
lea rcx, [r11 - 0x28]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x14000f7c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Could_not_allocate_SID
lea rcx, [rsp + 0x68]
call fcn.14000a7a0
mov rcx, rax
call fcn.140025410
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdx, qword [rsp + 0x88]
lea r8, [rsp + 0x98]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x14000f807
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._System_error_Wtf__Something_is_wrong_with_your_system___Fatal_error_
lea rcx, [rsp + 0x68]
call fcn.14000a7a0
mov rcx, rax
call fcn.140025410
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14000f81a
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x98], 0
setne al
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140025fb0
add rsp, 0xb8
ret
Function at 0x14000f850
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x18], 7
mov rdi, rdx
mov rdx, rcx
mov rbx, rcx
jbe 0x14000f87c
mov rdx, qword [rcx]
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14000f8f8
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, str.Failed_to_create_registry_key:
call fcn.140020b50
cmp qword [rbx + 0x18], 7
mov r8, qword [rbx + 0x10]
jbe 0x14000f8d6
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140021e90
lea rdx, [0x140020d30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x14000f986
mov eax, dword [rdi + 0x10]
add eax, eax
cmp qword [rdi + 0x18], 7
jbe 0x14000f907
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x50]
lea r8, str.LastPath
mov dword [rsp + 0x28], eax
mov r9d, 1
xor edx, edx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
je 0x14000f979
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, str.Failed_to_set_LastPath_value_for_registry_key:
call fcn.140020b50
cmp qword [rbx + 0x18], 7
mov r8, qword [rbx + 0x10]
jbe 0x14000f94f
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140021e90
lea rdx, [0x140020d30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x14000f986
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140025fb0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14001f8b0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movzx ebx, dl
mov rdi, rcx
mov eax, 1
lock xadd dword [0x140033568], eax
inc eax
cmp eax, 1
jne 0x14001f8ff
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x14003356c], eax
test bl, bl
je 0x14001f911
xor ebx, ebx
lock xadd dword [0x14003356c], ebx
test ebx, ebx
jne 0x14001f935
mov rax, rdi
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140025fb0
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
mov rax, qword gs:[0x58]
mov edx, 4
mov dword [rsp + 0x24], 0
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140033574], eax
jle 0x14001f986
lea rcx, [0x140033574]
call fcn.1400260b4
cmp dword [0x140033574], 0xffffffff
jne 0x14001f986
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
lea rax, [0x1400320c8]
mov dword [rsp + 0x20], ebx
lea rdx, str.winsock
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20]
call fcn.14000c0f0
int3
Function at 0x140021860
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
mov qword [rbp - 0x59], rdi
lea rax, [0x1400320d8]
mov qword [rbp - 0x51], rax
mov rbx, qword [rcx + 0x18]
mov eax, edi
lock xadd dword [rbx + 0x30], eax
test eax, eax
jne 0x1400218b2
mov rcx, rbx
call fcn.14000d1b0
jmp 0x140021992
mov dword [rbp + 0x27], edi
mov qword [rbp + 0x2f], rdi
mov qword [rbp + 0x37], rdi
lea rcx, [rbp + 0x2f]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
xor eax, eax
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rax
lea rax, [rbx + 0x28]
test rbx, rbx
cmove rax, rdi
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x29]
mov qword [rbp - 0x41], rax
mov ecx, dword [0x14003357c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 0x49]
mov ecx, dword [0x14003357c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x29]
mov rcx, rbx
call fcn.14000d3e0
test rax, rax
je 0x140021955
nop word [rax + rax]
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x29]
mov rcx, rbx
call fcn.14000d3e0
test rax, rax
jne 0x140021940
mov rdx, qword [rbp - 0x39]
mov ecx, dword [0x14003357c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rbx, [rbp - 0x29]
mov edi, 0xa
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002197e
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add rbx, 8
sub rdi, 1
jne 0x140021970
lea rcx, [rbp + 0x2f]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140025fb0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140023020
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14002304f
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140023047
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140023099
mov ecx, dword [0x14003357c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140023088
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140023088
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x1400230a4
inc ecx
inc rax
cmp rax, 2
jl 0x140023076
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x48]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400234c0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x28], rcx
mov ebx, edx
movsd xmm0, qword [str._unknown_]
mov rdi, rcx
movzx eax, word [0x14002a958]
lea rcx, [rsp + 0x4a]
xor edx, edx
movsd qword [rsp + 0x40], xmm0
mov r8d, 0xfa
mov word [rsp + 0x48], ax
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140023563
lea r9, [rsp + 0x30]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140023563
mov rdx, qword [rsp + 0x28]
lea r8, [rsp + 0x40]
mov r9d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], 0
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140023590
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14000aeb0
mov rax, rdi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140025fb0
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret
Function at 0x1400235d0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x190
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x50], 0x130
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
xor r12d, r12d
cmp eax, 1
jne 0x140023722
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x140023722
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x7c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r12b
jne 0x140023670
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x20]
call fcn.14000aeb0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140023695
mov rdx, qword [rbx]
lea rcx, [rsp + 0x20]
mov rbp, qword [rsp + 0x38]
cmp rbp, 0xf
seta r14b
mov rdi, qword [rsp + 0x20]
cmova rcx, rdi
mov r8, qword [rsp + 0x30]
cmp r8, qword [rbx + 0x10]
jne 0x1400236c9
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400236c9
mov sil, 1
jmp 0x1400236cc
xor sil, sil
test r14b, r14b
je 0x140023702
lea rdx, [rbp + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400236fa
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400237a3
mov rcx, rdi
call fcn.140026014
mov rcx, r15
test sil, sil
jne 0x1400237aa
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x140023650
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140023766
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140023761
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400237f1
mov rcx, r8
call fcn.140026014
xor eax, eax
mov byte [rbx], 0
mov qword [rbx + 0x18], select
mov qword [rbx + 0x10], r12
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140025fb0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0x58]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400237ea
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400237e5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400237f1
mov rcx, r8
call fcn.140026014
mov eax, edi
jmp 0x140023768
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140023800
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
mov rbx, r9
mov qword [rsp + 0x38], rax
mov rdi, r8
mov qword [rsp + 0x30], rcx
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400238a7
mov rax, 0xffffffffffffffff
nop
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140023860
mov rcx, qword [rsp + 0x50]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
jmp 0x1400238a9
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140025fb0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x1400238d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rdi
sub rsp, 0x858
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rdi, r9
lea rax, [rsp + 0x30]
mov rbx, r8
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400239d2
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov dword [rsp + 0x38], 0x800
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400239d2
lea rax, [rsp + 0x40]
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140023970
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x1400239c1
mov qword [rsp + 0x850], rsi
mov rsi, rdi
cmp rax, 7
jbe 0x140023997
mov rsi, qword [rdi]
lea rbx, [rdx + rdx]
mov qword [rdi + 0x10], rdx
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [rbx + rsi], ax
mov al, 1
mov rsi, qword [rsp + 0x850]
jmp 0x1400239d4
lea r9, [rsp + 0x40]
mov rcx, rdi
call fcn.1400239f0
mov al, 1
jmp 0x1400239d4
xor al, al
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140025fb0
add rsp, 0x858
pop rdi
pop rbx
ret
Function at 0x140025d70
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 0x140025daa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140025daf
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 0x140025df8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140029910]
cmp byte [rcx + rax], 0
je 0x140025df8
dec r8
sub rdx, 1
jne 0x140025dde
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140026be4
Capabilities:
Parse pe header

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

Function at 0x140001b14
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140f6ae22
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 0x140f6ae4b
pop rbp
sub rbp, 0x33
sub rbp, 0xf6ae18
sub rsp, 0x20
jmp 0x140f6ae6a
mov rax, 0xf6ae18
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffdee6b0f7
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f6ae89
jmp 0x140f6aea0
mov edi, 0x7e7c1e7e
retf
Function at 0x1400019a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
movdqa xmm0, xmmword [0x1400055a0]
lea r8, [rbp + 0x11]
xor r9d, r9d
mov dword [rbp + 0x10], 0x666d6c63
lea rdx, [rbp - 0x1f]
mov word [rbp + 0x14], 0x6f61
xor ecx, ecx
mov byte [rbp + 0x16], 0
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], 0x74726f66
mov dword [rbp - 0xc], 0x202d2073
mov dword [rbp - 8], 0x6963756c
mov word [rbp - 4], 0x64
call qword [sym.imp.USER32.dll_MessageBoxA]
mov word [rbp - 0x10], 0x6e
lea rcx, [rbp - 0x1f]
cmp eax, 1
jne 0x140001a1c
movdqa xmm0, xmmword [0x140005580]
movdqu xmmword [rbp - 0x20], xmm0
call fcn.1400010e0
add rsp, 0x40
pop rbp
ret
movdqa xmm0, xmmword [0x140005590]
movdqu xmmword [rbp - 0x20], xmm0
call fcn.1400010e0
add rsp, 0x40
pop rbp
ret
Function at 0x140001a40
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop dword [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x140001b08
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140001b08
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140001b03
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140001ae0
cmp edx, 0x4cfe97c1
je 0x140001bcb
test r8d, r8d
jne 0x140001ac0
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x140001b1d
cmp qword [rax + 0x30], r14
jne 0x140001a90
mov rbp, r14
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x140001bb4
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140001bb4
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140001baf
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140001b90
cmp edx, 0x6dd8a845
je 0x140001be7
test r8d, r8d
jne 0x140001b70
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x140001bff
cmp qword [rax + 0x30], r14
jne 0x140001b40
jmp 0x140001bff
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov ebp, dword [rcx + rdx*4]
add rbp, r9
jmp 0x140001b20
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov r14d, dword [rcx + rdx*4]
add r14, r9
call r14
lea rdx, [rsp + 0x20]
mov rcx, rax
call rbp
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x140001c1d
call fcn.1400019a0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140003930
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140002e10
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x17], xmm0
mov dword [rbp + 0x47], r9d
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r11, qword [rax]
mov rsi, r11
nop word [rax + rax]
mov r10, qword [r11 + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov ebx, dword [rax + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140002ee8
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140002ee8
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rcx, [rdi + r8*4]
mov eax, dword [rcx + r10]
add rax, r10
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140002ee3
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140002ec0
cmp edx, 0x53b2070f
je 0x140002fc9
test r8d, r8d
jne 0x140002ea0
mov r11, qword [r11]
cmp r11, rsi
je 0x140002efa
cmp qword [r11 + 0x30], r9
jne 0x140002e70
mov r8, r9
mov dword [rbp - 0x19], 0x91988f94
mov dword [rbp - 0x15], 0x6d64d192
mov word [rbp - 0x11], 0x6e
mov byte [rbp - 0xf], 1
nop word [rax + rax]
lea eax, [r9 - 6]
xor byte [rbp + r9 - 0x19], al
inc r9
cmp r9, 9
jb 0x140002f20
lea rcx, [rbp - 0x19]
mov byte [rbp - 0xf], 0
call r8
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140002fe6
movdqa xmm0, xmmword [0x1400055d0]
lea rdx, [rbp - 8]
mov rcx, rax
mov dword [rbp + 7], 0x506e6f69
movdqu xmmword [rbp - 9], xmm0
mov dword [rbp + 0xb], 0x65636f72
mov word [rbp + 0xf], 0x7373
mov byte [rbp + 0x11], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140002fe6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rbp + 0x47]
mov r9d, 0x30
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x17]
mov rcx, rax
xor edx, edx
call rbx
test eax, eax
js 0x140002fe6
mov rax, qword [rbp + 0x1f]
test rax, rax
je 0x140002fe6
cmp byte [rax + 2], 0
je 0x140002fe6
call fcn.1400019a0
mov ecx, 0x1004
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, dword [rbx + 0x24]
mov edx, dword [rbx + 0x1c]
add rcx, r10
add rdx, r10
movzx ecx, word [rcx + r8*2]
mov r8d, dword [rdx + rcx*4]
add r8, r10
jmp 0x140002efd
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140003930
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret