joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400130b8
Capabilities:
Capture screenshot

Disassembly:
jmp 0x140022060
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
mov rax, qword [0x140045048]
xor rax, rbp
mov qword [rbp + 0x1f8], rax
lea rcx, [0x140050129]
call fcn.140012fd2
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rbp + 0x28], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rbp + 0x44], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rbp + 0x64], eax
mov r8d, dword [rbp + 0x64]
mov edx, dword [rbp + 0x44]
mov rcx, qword [rbp + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rbp + 0x88], rax
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbp + 0xa8], rax
mov eax, dword [rbp + 0x64]
add eax, 0xc8
mov ecx, dword [rbp + 0x44]
add ecx, 0xc8
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rdx, qword [rbp + 8]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
mov r9d, ecx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_BitBlt]
lea rcx, [rbp + 0xc8]
call fcn.140012451
mov edx, 0x18
lea rcx, [rbp + 0xe8]
call fcn.1400130f4
xor r8d, r8d
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0xe8]
call fcn.140012302
nop
lea rdx, [rbp + 0x118]
lea rcx, str.image_png
call fcn.1400128ed
xor r9d, r9d
lea r8, [rbp + 0x118]
mov rdx, qword [rbp + 0x220]
lea rcx, [rbp + 0xe8]
call fcn.140012e1a
nop
lea rcx, [rbp + 0xe8]
call fcn.1400124c4
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rbp + 8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rbp + 0xc8]
call fcn.140012816
lea rcx, [rbp - 0x50]
lea rdx, [0x14003b770]
call fcn.140012ce9
mov rcx, qword [rbp + 0x1f8]
xor rcx, rbp
call fcn.140012776
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret
Function at 0x140013144
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400222b0
push rbp
push rdi
sub rsp, 0x458
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140045048]
xor rax, rbp
mov qword [rbp + 0x420], rax
lea rcx, [0x140050129]
call fcn.140012fd2
xor edx, edx
mov ecx, 2
call fcn.140012753
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140022339
lea rdx, str.CreateToolhelp32Snapshot__of_processes__failed
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400121d6
mov qword [rbp + 0x418], rax
lea rdx, [0x1400120af]
mov rcx, qword [rbp + 0x418]
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]
xor al, al
jmp 0x1400223eb
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140012974
test eax, eax
jne 0x14002238d
lea rdx, str.Process32First_failed
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400121d6
mov qword [rbp + 0x418], rax
lea rdx, [0x1400120af]
mov rcx, qword [rbp + 0x418]
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]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400223eb
mov byte [rbp + 0x284], 0
lea rdx, str.Chrome.exe
lea rcx, [rbp + 0x5c]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x1400223b7
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400223eb
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140012d98
test eax, eax
jne 0x140022394
movzx eax, byte [rbp + 0x284]
test eax, eax
jne 0x1400223e1
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400223eb
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14003b800]
call fcn.140012ce9
mov rax, rdi
mov rcx, qword [rbp + 0x420]
xor rcx, rbp
call fcn.140012776
lea rsp, [rbp + 0x438]
pop rdi
pop rbp
ret
Function at 0x1401843b8
Capabilities:
Parse pe header

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

Function at 0x140187d68
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 0x140187bc7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140187bc7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140187bc7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140187bc7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140187bc7
cmp dword [rcx + 0x84], 0xe
jbe 0x140187bc7
cmp dword [rcx + 0xf8], 0
je 0x140187bc7
mov ecx, ebx
call fcn.140187c84
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.140187a54
nop
cmp dword [rbp + 0x20], 0
je 0x140187c15
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140187c20
int3
xor r8d, r8d
xor edx, edx
jmp 0x140187b58
Function at 0x14018fb90
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 0x14018fbc0
xor eax, eax
jmp 0x14018fc83
mov rbp, rbx
cmp word [rax], si
je 0x14018fbe5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14018fbcc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14018fbc8
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.14018fae0
movsxd r14, eax
test eax, eax
jne 0x14018fc23
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14018fbb9
mov rcx, r14
call fcn.14018b0cc
mov rdi, rax
test rax, rax
jne 0x14018fc3c
xor ecx, ecx
call fcn.14018b12c
jmp 0x14018fc18
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.14018fae0
test eax, eax
jne 0x14018fc6d
mov rcx, rdi
call fcn.14018b12c
jmp 0x14018fc77
xor ecx, ecx
call fcn.14018b12c
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 0x140194e8c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14018ebe4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140194f16
cmp byte [rbp - 0x21], r15b
je 0x140194f11
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140194f4c
call fcn.14018b8dc
test eax, eax
jne 0x140194f38
cmp byte [rbp - 0x21], r15b
je 0x140194f30
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140194f4c
cmp byte [rbp - 0x21], r15b
je 0x140194f49
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14018e1c0
test eax, eax
jne 0x140194fec
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14018ebe4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140194f8b
cmp byte [rbp - 0x21], r15b
je 0x140194fc0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140194fc0
call fcn.14018b8dc
test eax, eax
jne 0x140194fac
cmp byte [rbp - 0x21], r15b
je 0x140194fa5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140194fc0
cmp byte [rbp - 0x21], r15b
je 0x140194fbd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14018e1c0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140194fec
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140194fef
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140194ffd
mov rcx, rdi
call fcn.14018b12c
cmp byte [rbp + 0x3f], r15b
je 0x14019500c
mov rcx, qword [rbp + 0x27]
call fcn.14018b12c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140001aa0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea rcx, str.kernel32
mov r12d, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
xor edi, edi
movsxd rcx, dword [rax + 0x3c]
mov r14d, dword [rcx + rax + 0x88]
add r14, rax
mov r13d, dword [r14 + 0x1c]
mov r15d, dword [r14 + 0x20]
add r13, rax
add r15, rax
mov eax, dword [r14 + 0x24]
add rax, rbp
mov qword [rsp + 0x50], rax
cmp dword [r14 + 0x14], edi
jbe 0x140001b6d
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov ebx, dword [r15 + rdi*4]
add rbx, rbp
jne 0x140001b13
lea eax, [rbx + 0x35]
jmp 0x140001b43
mov edx, 0x32
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov r9, rax
xor ecx, ecx
mov eax, 0x35
test r9, r9
je 0x140001b43
movsx r8d, byte [rcx + rbx]
inc rcx
imul eax, eax, 0x21
xor eax, r8d
cmp rcx, r9
jb 0x140001b30
cmp eax, r12d
je 0x140001b52
inc edi
cmp edi, dword [r14 + 0x14]
jb 0x140001b05
jmp 0x140001b63
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + rdi*2]
mov eax, dword [r13 + rax*4]
add rax, rbp
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400021f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400097b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002210
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002218
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002210
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000226d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002264
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002210
add rax, 0x28
cmp rax, r9
jne 0x140002250
xor eax, eax
ret

Function at 0x140002270
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400097b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000228f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002298
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000228f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002330
Capabilities:
Parse pe header

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

Function at 0x140007c40
Capabilities:
Persist via com hijack
Set registry value

Disassembly:
push rbx
sub rsp, 0x60
call fcn.140001500
lea rax, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x58], 0
lea rdx, str.SoftwareClassesCLSIDA6FF50C0_56C0_71CA_5732_BED303A59628InprocServer32
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20007
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, eax
test eax, eax
jne 0x140007cdc
mov rcx, qword [rsp + 0x58]
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rax, str.C:Usersloilt8Desktopevil.dll
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x60
pop rbx
ret
lea rcx, str.cannot_create_subkey_for_COM_hijacking_:__n
or ebx, 0xffffffff
call fcn.140007bf0
jmp 0x140007cd4
Function at 0x140066280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x14008d040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov rcx, qword [0x1403ae650]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400662c8
nop dword [rax]
cmp dword [rax + 0x20], 4
jge 0x1400662bc
mov rax, qword [rax + 0x10]
jmp 0x1400662c2
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400662b0
cmp byte [rcx + 0x19], 0
jne 0x1400663a4
cmp dword [rcx + 0x20], 4
jg 0x1400663a4
lea r8, [rcx + 0x28]
mov r10, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x1400662f1
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x140066323
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, r10
jb 0x140066310
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140065c50
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14006635e
cmp rcx, qword [rbx + 8]
je 0x14006635e
cmp qword [rbx + 0x10], 1
jne 0x140066362
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14006a8c0
add rsp, 0x80
pop rbx
ret
xor al, al
jmp 0x140066348
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400663d0
nop
mov r8, rax
lea rdx, str.AcceptEncoding_does_not_accept_any_other_values_if_disabled_is_present._You_set_the_following_encodings:
lea rcx, [rsp + 0x58]
call fcn.14004f4d0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140066220
lea rdx, [0x140089e30]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, str.invalid_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3

Function at 0x14006ac74
Capabilities:
Parse pe header

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

Function at 0x140001040
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov edx, 0x47
lea rcx, [entry0]
mov al, byte [rcx + rdx]
xor al, 0xc4
add al, 0xa
xor al, 0xde
mov byte [rcx + rdx], al
inc rdx
cmp rdx, 0x2d9
jl 0x140001068
cdqe
or dword [rsi + 0x260beda8], esp
mov ebx, eax
pushfq
push rbp
cmp eax, 0xbf4f89c9
out dx, eax
popfq
mov qword [rbp - 0x35], rdx
popfq
sbb bl, bh
pushfq
fsub dword [rdx]
invalid
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
or byte [rcx - 0x65ed0d7f], al
push rbp
iretq
Function at 0x1401df480
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14044e770]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x70], rcx
lea rdx, [0x14030cae0]
call fcn.14004a9e4
nop
lea rdx, [0x14030cae0]
lea rcx, [rdi + 0x20]
call fcn.14004a9e4
nop
xor r15d, r15d
mov byte [rdi + 0x40], r15b
lea r14, [rdi + 0x44]
mov dword [r14], r15d
cmp qword [rbx + 0x10], r15
je 0x1401df727
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.14004a36c
nop
lea rax, [rbp - 0x80]
mov r8, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
cmovae rax, r8
mov rcx, qword [rbp - 0x70]
lea r13d, [r15 + 0x5c]

Function at 0x1401e0e30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
lea rax, vtable.sense::Common::MSAClient.0
mov qword [rcx], rax
xor esi, esi
mov dword [rcx + 8], esi
mov qword [rcx + 0x30], rsi
lea eax, [rsi + 7]
mov qword [rcx + 0x38], rax
mov word [rcx + 0x20], si
mov qword [rcx + 0x50], rsi
mov qword [rcx + 0x58], rax
mov word [rcx + 0x40], si
mov qword [rcx + 0xa0], rsi
mov qword [rcx + 0xa8], rax
mov word [rcx + 0x90], si
or rax, 0xffffffffffffffff
mov dword [rcx + 0xb0], eax
mov qword [rcx + 0xb8], rax
mov dword [rsp + 0x70], esi
mov byte [rcx + 0x60], sil
add rcx, 0x68
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [rbx + 0x60], 1
lea rdi, [rbx + 0x18]
mov dword [rdi], esi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x1401e0fc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x1401e0f05
jmp 0x1401e0ef4
or r9d, 0xffffffff
mov r8d, 4
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WaitOnAddress]
mov eax, dword [rdi]
test eax, eax
je 0x1401e0edc
mov rax, rbx
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rsp + 0x68], ecx
lea rdx, [0x14042fbd8]
lea rcx, [rsp + 0x68]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3