joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402bcf70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThread]
nop dword [rax + rax]
xor r8d, r8d
lea r9, [rsp + 0x68]
mov rcx, rax
lea esi, [r8 + 8]
mov edx, esi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenThreadToken]
nop dword [rax + rax]
xor r14d, r14d
test eax, eax
jne 0x1402bcffa
call fcn.14002154c
mov ebx, eax
cmp eax, 0x800703f0
jne 0x1402bcff2
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
lea r8, [rsp + 0x68]
mov edx, esi
mov rcx, rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
nop dword [rax + rax]
test eax, eax
jne 0x1402bcffa
call fcn.14002154c
mov ebx, eax
test ebx, ebx
js 0x1402bd10e
mov rcx, qword [rsp + 0x68]
mov rdx, rdi
call qword [0x14039e1c8]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
jne 0x1402bd025
call fcn.14002154c
mov ebx, eax
test eax, eax
js 0x1402bd0fd
lea r8, [rsp + 0x70]
mov dword [rsp + 0x70], r14d
xor edx, edx
mov rcx, rbp
call qword [0x14039e1d0]
nop dword [rax + rax]
test eax, eax
jne 0x1402bd0e9
call fcn.14002154c
cmp eax, 0x8007007a
jne 0x1402bd0e9
mov r9d, dword [rsp + 0x70]
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
call fcn.140032c30
mov ebx, eax
test eax, eax
js 0x1402bd0ee
mov rdi, qword [rsp + 0x78]
lea r8, [rsp + 0x70]
mov rdx, rdi
mov rcx, rbp
call qword [0x14039e1d0]
nop dword [rax + rax]
test eax, eax
jne 0x1402bd0a0
call fcn.14002154c
mov ebx, eax
test eax, eax
js 0x1402bd0d8
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
mov esi, eax
cmp eax, 0xffffffff
jne 0x1402bd0c1
call fcn.14002154c
mov ebx, eax
test eax, eax
js 0x1402bd0d2
and sil, 0x10
neg sil
sbb ebx, ebx
not ebx
and ebx, 0x8000ffff
test ebx, ebx
cmovns rdi, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x1402bd0ee
mov ebx, 0x8000ffff
mov rcx, rbp
call qword [0x14039e1e0]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1402beb6c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov edi, r8d
lea rax, [0x140302650]
mov qword [rsp + 0x20], rax
lea r9, str.SOFTWAREMicrosoftWindowsCurrentVersionPushNotificationsApplications
lea r8, [0x1403013e0]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14002e4b8
mov ebx, eax
test eax, eax
jns 0x1402bebf2
mov rcx, qword [rbp + 0x198]
mov r9d, eax
lea r8, str.shelllibpcsettingssearchpcsettings.cpp
mov edx, 0x18d
call fcn.14001eb0c
jmp 0x1402bed76
and qword [rsp + 0x50], 0
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x1402bec47
mov edx, Ordinal_413
jmp 0x1402bed3d
lea r9, str.windows.immersivecontrolpanel_cw5n1h2txyewy
lea r8, str.PackageMoniker
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1401baeb0
mov ebx, eax
test eax, eax
jns 0x1402bec87
mov rcx, qword [rbp + 0x198]
mov r9d, eax
lea r8, str.shelllibpcsettingssearchpcsettings.cpp
mov edx, 0x19e
call fcn.14001eb0c
jmp 0x1402bed59
mov dword [rsp + 0x58], edi
mov ebx, 4
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.Capabilities
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
je 0x1402becc6
mov edx, 0x1a7
jmp 0x1402bed3d
mov dword [rsp + 0x5c], 0x10000000
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.ApplicationType
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
je 0x1402bed04
mov edx, 0x1b0
jmp 0x1402bed3d
and dword [rsp + 0x60], 0
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.RegistrationType
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
je 0x1402bed57
mov edx, 0x1bc
lea r8, str.shelllibpcsettingssearchpcsettings.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x198]
call fcn.1401a6570
mov ebx, eax
jmp 0x1402bed59
xor ebx, ebx
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x50], 0
test rcx, rcx
je 0x1402bed76
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400a2260
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1402beda4
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rax, [0x140302650]
mov edx, 0x104
lea r9, str.SOFTWAREMicrosoftWindowsCurrentVersionPushNotificationsApplications
mov qword [rsp + 0x20], rax
lea r8, [0x1403013e0]
lea rcx, [rsp + 0x30]
call fcn.14002e4b8
mov ebx, eax
test eax, eax
jns 0x1402bee0e
mov edx, 0x179
mov rcx, qword [rsp + 0x258]
lea r8, str.shelllibpcsettingssearchpcsettings.cpp
mov r9d, ebx
call fcn.14001eb0c
mov eax, ebx
jmp 0x1402bee48
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1402bee3b
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x1402bee46
mov edx, 0x17a
jmp 0x1402bedf3
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0x250
pop rbx
ret

Function at 0x1402bee68
Capabilities:
Query or enumerate registry value

Disassembly:
mov byte [rsp + 8], cl
push rbp
mov rbp, rsp
sub rsp, 0x40
and qword [rbp + 0x28], 0
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.140033400
lea r8, [rbp + 0x28]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionOOBEOOBECompletedForOOBEHealth
lea rcx, str.OOBECompletedForOOBEHealth
call fcn.140272a44
mov rcx, qword [rbp + 8]
test eax, eax
jns 0x1402beebc
mov r9d, eax
lea r8, str.onecoreuapinternal_shellincOOBEHealthTracker.h
mov edx, 0x4d4
call fcn.14009d7ec
jmp 0x1402bef53
and dword [rbp + 0x18], 0
mov dword [rbp + 0x20], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, 0x20000010
lea r8, str.AnyoneReadOOBECompleted
mov rdx, qword [rbp + 0x28]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp dword [rbp + 0x18], 0
jne 0x1402bef53
mov byte [rbp + 0x10], 1
lea r8, [rbp + 0x10]
lea rdx, [0x14037c9b1]
lea rcx, [0x14037c9a0]
call fcn.14026aa78
mov eax, dword [0x14037ca18]
inc eax
mov dword [rbp + 0x10], eax
lea r8, [rbp + 0x10]
lea rdx, [0x14037ca18]
lea rcx, [0x14037c9a0]
call fcn.14026a9e8
lea rcx, [0x14037c9a0]
call fcn.140270e6c
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1402bef68
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
add rsp, 0x40
pop rbp
ret
Function at 0x1402bef84
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
and qword [rsp + 0x68], 0
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140033400
lea r8, [rsp + 0x68]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionOOBEOOBECompletedForOOBEHealth
lea rcx, str.OOBECompletedForOOBEHealth
call fcn.140272a44
mov rcx, qword [rsp + 0x48]
test eax, eax
jns 0x1402befd5
mov r9d, eax
lea r8, str.onecoreuapinternal_shellincOOBEHealthTracker.h
mov edx, 0x4d4
call fcn.14009d7ec
jmp 0x1402bf030
and dword [rsp + 0x58], 0
mov dword [rsp + 0x60], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, 0x20000010
lea r8, str.AnyoneReadOOBECompleted
mov rdx, qword [rsp + 0x68]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp dword [rsp + 0x58], 0
jne 0x1402bf030
mov edx, ebx
call fcn.1402bf34c
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1402bf046
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
add rsp, 0x40
pop rbx
ret

Function at 0x1402bf060
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
and qword [rbp - 8], 0
xor edx, edx
lea rcx, [rbp - 8]
call fcn.140033400
lea r8, [rbp - 8]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionOOBEOOBECompletedForOOBEHealth
lea rcx, str.OOBECompletedForOOBEHealth
call fcn.140272a44
mov rcx, qword [rbp + 8]
test eax, eax
jns 0x1402bf0b7
mov r9d, eax
lea r8, str.onecoreuapinternal_shellincOOBEHealthTracker.h
mov edx, 0x4d4
call fcn.14009d7ec
jmp 0x1402bf169
and dword [rbp + 0x20], 0
mov dword [rbp + 0x28], 4
lea rax, [rbp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, 0x20000010
lea r8, str.AnyoneReadOOBECompleted
mov rdx, qword [rbp - 8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp dword [rbp + 0x20], 0
jne 0x1402bf169
mov dword [rbp - 0x10], ebx
mov eax, ebx
shr eax, 0x1f
mov byte [rbp + 0x18], al
lea r8, [rbp + 0x18]
lea rdx, [0x14037c9b0]
lea rcx, [0x14037c9a0]
call fcn.14026aa78
test ebx, ebx
jns 0x1402bf15c
mov eax, dword [0x14037ca0c]
inc eax
mov dword [rbp + 0x18], eax
lea r8, [rbp + 0x18]
lea rdx, [0x14037ca0c]
lea rcx, [0x14037c9a0]
call fcn.14026a9e8
lea r8, [rbp - 0x10]
lea rdx, [0x14037ca08]
call fcn.1402bf414
lea rcx, [0x14037c9a0]
call fcn.140270e6c
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1402bf17e
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x1402c019c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
mov rbp, rsp
sub rsp, 0x30
xor ebx, ebx
lea rcx, [rbp + 0x38]
and qword [rbp + 0x38], rbx
xor edx, edx
call fcn.14006ee3c
lea rax, [rbp + 0x38]
xor r8d, r8d
lea esi, [rbx + 1]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSetupOOBE
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1402c0236
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x30]
and dword [rbp + 0x20], ebx
lea r9, [rbp + 0x20]
and dword [rbp + 0x28], ebx
lea rdx, str.InstallType
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp + 0x28]
mov dword [rbp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1402c0236
cmp dword [rbp + 0x20], 4
jne 0x1402c0236
cmp dword [rbp + 0x28], 0x11
cmove ebx, esi
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1402c024b
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x30
pop rsi
pop rbx
pop rbp
ret
Function at 0x1402c0394
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x48
and qword [rbp + 0x28], 0
lea rbx, str.ms_cxh:__FRX_INCLUSIVE
mov qword [rbp + 0x30], rbx
mov dword [rbp + 0x18], 4
lea rax, [rbp + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, 0x20010010
lea r8, [0x140301ee0]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRetailDemoOobeWrite
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp dword [rbp + 0x20], 0
je 0x1402c0411
mov dl, 1
lea rcx, [0x14037db08]
call fcn.1402c0894
lea rax, str.ms_cxh:__FRXRDXINCLUSIVE
jmp 0x1402c0484
call fcn.14006f920
test al, al
je 0x1402c0423
lea rax, str.ms_cxh:__FRX_TEAMEDITION
jmp 0x1402c0484
call fcn.1402c019c
test eax, eax
je 0x1402c043c
mov dl, 1
lea rcx, [0x14037daf8]
call fcn.1402c0800
jmp 0x1402c0488
call fcn.1402bff10
test eax, eax
je 0x1402c044e
lea rax, str.ms_cxh:__FRX_INCLUSIVE_startOobeProvisioningStatus
jmp 0x1402c0484
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
lea r8, str.TestBlockMsaWebApp
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionOOBETestHooks
mov rcx, 0xffffffff80000002
call fcn.14007bd70
test eax, eax
js 0x1402c0488
lea rax, str.ms_cxh:__FRX_AAD
cmp dword [rbp + 0x18], 0
cmove rax, rbx
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1402c04a3
and qword [rbp + 0x28], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006c37f.0]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x28]
call fcn.1402bf19c
mov ebx, eax
test eax, eax
jns 0x1402c04bd
mov edx, 0x148
jmp 0x1402c04d1
mov rcx, qword [rbp + 0x28]
call fcn.1402c0d48
mov ebx, eax
test eax, eax
jns 0x1402c04e6
mov edx, 0x149
lea r8, str.shelllibcloudexperiencehostappmanager_appmanager.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x10]
call fcn.14001eb0c
jmp 0x1402c04e8
xor ebx, ebx
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1402c0503
and qword [rbp + 0x28], 0
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x14006c37f.0]
mov eax, ebx
add rsp, 0x48
pop rbx
pop rbp
ret
Function at 0x1402c2dd0
Capabilities:
Hash data with md5

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x2f]
sub rsp, 0xc0
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, qword [rbp + 0x7f]
mov rdi, rdx
xor edx, edx
mov esi, r8d
mov rbx, rcx
lea rcx, [rbp - 0x39]
lea r8d, [rdx + 0x50]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
and dword [rbp - 0x4d], 0
lea rcx, [rbp - 0x51]
and dword [rbp - 0x51], 0
mov r8d, esi
mov rdx, rdi
mov dword [rbp - 0x49], 0x67452301
mov dword [rbp - 0x45], 0xefcdab89
mov dword [rbp - 0x41], 0x98badcfe
mov dword [rbp - 0x3d], 0x10325476
call fcn.1402c3150
lea rcx, [rbp - 0x51]
call fcn.1402c303c
mov rax, qword [rbx]
lea rcx, [rbp - 0x59]
and qword [rbp - 0x59], 0
lea r9, [rbp + 7]
mov qword [rsp + 0x20], rcx
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14006c37f.0]
test eax, eax
js 0x1402c2e97
lea rax, [rbp - 0x61]
mov r9, r14
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x59]
mov r8d, 8
mov dword [rsp + 0x20], 0x20
call fcn.1402c2eb8
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0xc0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x1402c2eb8
Capabilities:
Encode data using base64

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 r13
push r14
mov rdi, rdx
lea ecx, [r8 + 2]
mov eax, 0xaaaaaaab
xor r14d, r14d
mul ecx
mov rax, qword [rsp + 0x40]
mov rbx, r9
shr edx, 1
mov r10d, r8d
lea edx, [rdx*4 + 1]
mov dword [rax], edx
mov eax, dword [rsp + 0x38]
test eax, eax
jne 0x1402c2f07
test rbx, rbx
je 0x1402c3017
cmp eax, edx
jae 0x1402c2f15
mov eax, 0x8007007a
jmp 0x1402c3019
mov r9d, r14d
mov r11d, r14d
test r10d, r10d
je 0x1402c2fdc
lea r13, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov eax, r9d
inc r9d
movzx ebp, byte [rax + rdi]
cmp r9d, r10d
jae 0x1402c2f46
lfence
mov dl, byte [r9 + rdi]
inc r9d
jmp 0x1402c2f49
mov dl, r14b
cmp r9d, r10d
jae 0x1402c2f5a
lfence
mov sil, byte [r9 + rdi]
inc r9d
jmp 0x1402c2f5d
mov sil, r14b
mov ecx, r11d
mov rax, rbp
shr rax, 2
inc r11d
movzx r8d, dl
mov rdx, rbp
and edx, 3
shl rdx, 4
movzx eax, word [r13 + rax*2]
mov word [rbx + rcx*2], ax
mov eax, r8d
shr rax, 4
and r8d, 0xf
or rdx, rax
shl r8d, 2
mov ecx, r8d
movzx eax, word [r13 + rdx*2]
mov word [rbx + r11*2], ax
inc r11d
movzx eax, sil
shr rax, 6
or rcx, rax
movzx ecx, word [r13 + rcx*2]
mov word [rbx + r11*2], cx
inc r11d
movzx ecx, sil
and ecx, 0x3f
movzx ecx, word [r13 + rcx*2]
mov word [rbx + r11*2], cx
inc r11d
cmp r9d, r10d
jb 0x1402c2f2b
mov eax, 0xaaaaaaab
mul r10d
shr edx, 1
lea eax, [rdx + rdx*2]
mov edx, reloc.SHELL32.dll_Ordinal_61
sub r10d, eax
sub r10d, 1
je 0x1402c2fff
cmp r10d, 1
je 0x1402c3007
jmp 0x1402c300f
lea eax, [r11 - 2]
mov word [rbx + rax*2], dx
lea eax, [r11 - 1]
mov word [rbx + rax*2], dx
mov eax, r11d
mov word [rbx + rax*2], r14w
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r14
pop r13
ret
Function at 0x1404fd000
Capabilities:
Encode data using xor

Disassembly:
xor rcx, rcx
sub rcx, 0xffffffffffffffa1
lea rax, [entry0]
movabs rbx, 0xc589d0398fe2392c
xor qword [rax + 0x27], rbx
sub rax, 0xfffffffffffffff8
loop 0x1404fd01b
sal byte [rcx + 0x61], 1
imul ecx, ecx, 0x38
invalid
Function at 0x100401100
Capabilities:
Terminate process
Write file on windows

Disassembly:
sub rsp, 0x28
call sub.msys_2.0.dll___getreent
mov rcx, qword [rax + 0x10]
call sub.msys_2.0.dll_fflush
call sub.msys_2.0.dll___getreent
mov r8d, 0x29f
mov edx, 1
lea rcx, str.Usage:_tabs__options___tabstop_list__n_nOptions:_n___0_______reset_tabs_n___8_______set_tabs_to_standard_interval_n___a_______Assembler__IBM_S_370__first_format_n___a2______Assembler__IBM_S_370__second_format_n___c_______COBOL__normal_format_n___c2______COBOL_compact_format_n___c3______COBOL_compact_format_extended_n___d_______debug__show_ruler_with_expected_actual_tab_positions__n___f_______FORTRAN_n___n_______no_op__do_not_modify_terminal_settings__n___p_______PL_I_n___s_______SNOBOL_n___u_______UNIVAC_1100_Assembler_n___T_name__use_terminal_type_name_n___V_______print_version_n_nA_tabstop_list_is_an_ordered_list_of_column_numbers__e.g.__1_11_21_nor_1_10_10_which_is_the_same._n
mov r9, qword [rax + 0x18]
call sub.msys_2.0.dll_fwrite
mov ecx, 1
call sub.msys_2.0.dll_exit
nop
nop dword [rax]
Function at 0x1004012e0
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov r14, rcx
mov rcx, rdx
mov r13, qword [r14]
call sub.msys_2.0.dll_strdup
mov r12, rax
test rax, rax
je 0x100401444
movzx ebx, byte [rax]
test bl, bl
je 0x1004014a0
lea rsi, [rax + 1]
xor ebp, ebp
xor edi, edi
jmp 0x100401350
test edi, edi
je 0x100401345
call sub.msys_2.0.dll___locale_ctype_ptr
mov r8, rax
lea eax, [rdi + 1]
cdqe
test byte [r8 + rax], 4
jne 0x100401340
cmp edi, 0x2c
mov edi, r15d
jne 0x100401345
mov edi, 0x2c
movzx ebx, byte [rsi]
add rsi, 1
test bl, bl
je 0x100401391
call sub.msys_2.0.dll___locale_ctype_ptr
movzx edx, bl
movzx r15d, bl
test byte [rdx + rax + 1], 8
jne 0x100401320
cmp bl, 0x2c
je 0x100401340
cmp edi, 0x2c
jne 0x100401378
movsxd rax, ebp
add ebp, 1
mov byte [r12 + rax], 0x2c
movsxd rax, ebp
add rsi, 1
mov edi, r15d
add ebp, 1
mov byte [r12 + rax], bl
movzx ebx, byte [rsi - 1]
test bl, bl
jne 0x100401350
movsxd rbp, ebp
add rbp, r12
mov byte [rbp], 0
movzx ebx, byte [r12]
test bl, bl
je 0x100401444
mov rcx, r12
call sub.msys_2.0.dll_strlen
cmp bl, 0x2c
mov rbx, qword [r14]
lea rsi, [rax + 1]
mov rbp, rax
mov rdi, rsi
je 0x100401460
test rbx, rbx
je 0x100401465
mov rcx, rbx
call sub.msys_2.0.dll_strlen
test rax, rax
je 0x100401488
cmp byte [rbx + rax - 1], 0x2c
je 0x100401488
lea rdi, [rbp + 2]
lea r15, [0x100404004]
lea rcx, [rdi + rax]
call sub.msys_2.0.dll_malloc
mov r13, rax
test rax, rax
je 0x1004014a8
mov rcx, rax
mov rdx, rbx
call sub.msys_2.0.dll_strcpy
mov rcx, rbx
call sub.msys_2.0.dll_free
mov rcx, r13
call sub.msys_2.0.dll_strlen
mov rdx, r15
lea rcx, [r13 + rax]
call sub.msys_2.0.dll_stpcpy
mov r8, rsi
mov rdx, r12
mov rcx, rax
call sub.msys_2.0.dll_memcpy
mov qword [r14], r13
mov rcx, r12
call sub.msys_2.0.dll_free
mov rax, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test rbx, rbx
jne 0x100401488
mov rcx, rsi
call sub.msys_2.0.dll_malloc
mov r13, rax
test rax, rax
je 0x1004014a8
mov byte [r13], 0
lea r15, [0x100404003]
jmp 0x10040141e
mov rcx, rbx
lea r15, [0x100404003]
call sub.msys_2.0.dll_strlen
jmp 0x1004013f6
mov rbp, rax
jmp 0x100401397
lea rcx, str.add_to_tab_list
call sub.msys_2.0.dll_perror
mov ecx, 1
call sub.msys_2.0.dll_exit
nop
nop
Function at 0x1004014c0
Capabilities:
Terminate process

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
mov dword [0x10040806c], 2
mov r12, rcx
mov ebx, edx
mov rdx, rcx
mov ecx, 2
call sub.msys_2.0.dll_tcgetattr
test eax, eax
js 0x100401530
movdqu xmm0, xmmword [r12]
mov byte [0x100408020], 1
movaps xmmword [0x100408040], xmm0
movdqu xmm1, xmmword [r12 + 0x10]
movaps xmmword [0x100408050], xmm1
mov rax, qword [r12 + 0x20]
mov qword [0x100408060], rax
mov eax, dword [r12 + 0x28]
mov dword [0x100408068], eax
mov eax, dword [0x10040806c]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov rdx, r12
mov ecx, 1
mov dword [0x10040806c], 1
call sub.msys_2.0.dll_tcgetattr
test eax, eax
jns 0x1004014e8
mov dword [0x10040806c], 0
xor ecx, ecx
mov rdx, r12
call sub.msys_2.0.dll_tcgetattr
test eax, eax
jns 0x1004014e8
test bl, bl
je 0x1004015f0
lea rcx, str._dev_tty
mov edx, 2
call sub.msys_2.0.dll_open
mov dword [0x10040806c], eax
mov ecx, eax
test eax, eax
jns 0x100401610
call sub.msys_2.0.dll___errno
mov ebx, dword [rax]
mov ecx, ebx
call sub.msys_2.0.dll_strerror
mov r12, rax
mov rax, qword [0x100404570]
mov rsi, qword [rax]
call sub.msys_2.0.dll___getreent
lea r9, str.terminal_attributes
lea rdx, str._s:__s:__s_n
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x20], r12
mov r8, rsi
call sub.msys_2.0.dll_fprintf
cmp byte [0x100408020], 0
jne 0x100401625
call sub.msys_2.0.dll___getreent
mov ecx, 0xa
mov rdx, qword [rax + 0x18]
call sub.msys_2.0.dll_fputc
lea ecx, [rbx + 4]
call sub.msys_2.0.dll_exit
nop
call sub.msys_2.0.dll___getreent
mov rcx, qword [rax + 0x10]
call sub.msys_2.0.dll_fileno
mov dword [0x10040806c], eax
jmp 0x100401527
mov rdx, r12
call sub.msys_2.0.dll_tcgetattr
test eax, eax
jns 0x100401521
jmp 0x10040158c
mov ecx, dword [0x10040806c]
lea r8, [0x100408040]
mov edx, 3
call sub.msys_2.0.dll_tcsetattr
jmp 0x1004015d4
Function at 0x14000b9fc
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b77c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba52
mov ecx, 1
call fcn.14000b77c
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
or dword [rax + rdx*4], 0x6a64abdd
invalid