joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006f3a4
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov eax, dword [0x1400d3cc4]
test eax, eax
jne 0x14006f4a8
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_290
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersionExW]
nop dword [rax + rax]
test eax, eax
jne 0x14006f413
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], VarUI4FromDisp
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersionExW]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x30]
xor eax, eax
mov edx, dword [rsp + 0x24]
mov dword [0x1400d3cc4], eax
sub ecx, 1
je 0x14006f484
cmp ecx, 1
jne 0x14006f4a8
cmp edx, 5
jne 0x14006f472
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x14006f46b
sub eax, ecx
je 0x14006f451
cmp eax, ecx
je 0x14006f447
lea eax, [rdx + 0xf]
jmp 0x14006f4c6
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea ecx, [rdx - 0xf]
jmp 0x14006f459
mov edx, 8
lea ecx, [rdx - 6]
xor eax, eax
cmp word [rsp + 0x134], cx
cmovae eax, edx
or eax, 4
jmp 0x14006f4c6
mov eax, 4
jmp 0x14006f4c6
cmp edx, 4
ja 0x14006f4c1
mov ecx, 2
mov eax, ecx
mov dword [0x1400d3cc4], ecx
cmp edx, 4
jne 0x14006f4a8
mov ecx, dword [rsp + 0x28]
test ecx, ecx
je 0x14006f49b
cmp ecx, 0xa
je 0x14006f49b
cmp ecx, 0x5a
jne 0x14006f4a8
mov ecx, 1
mov eax, ecx
mov dword [0x1400d3cc4], ecx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140036e80
add rsp, 0x158
ret
mov eax, 0x20
mov dword [0x1400d3cc4], eax
jmp 0x14006f4a8

Function at 0x14006f548
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebp, ebp
mov rsi, r9
mov rdi, r8
mov rbx, rdx
test rdx, rdx
je 0x14006f5c4
test r8, r8
je 0x14006f5c4
movzx ecx, cx
lea r8d, [rbp + 0x55]
mov r9d, 0x8000000
call qword [sym.imp.api_ms_win_core_localization_l1_2_2.dll_LCIDToLocaleName]
nop dword [rax + rax]
test eax, eax
je 0x14006f5c4
lea r9d, [rbp + 0x55]
mov r8, rdi
lea edx, [rbp + 0x6d]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoEx]
nop dword [rax + rax]
test rsi, rsi
je 0x14006f5bd
mov r8, rsi
mov word [rsi], bp
mov rdx, rdi
mov rcx, rbx
call fcn.14006f5e4
mov eax, 1
jmp 0x14006f5c6
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14006f7f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x20
xor r9d, r9d
lea rdx, [0x1400ad2e0]
mov rbx, rcx
lea r8d, [r9 + 1]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
nop dword [rax + rax]
test rax, rax
jne 0x14006f827
add rsp, 0x20
pop rbx
ret
mov rdx, rax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
Function at 0x140070c2c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
mov r11, rcx
cmp rdx, r8
je 0x140070da9
mov r12, qword [rdx + 8]
lea rax, [rcx + 8]
mov rcx, qword [rax]
mov r14, qword [r11 + 0x18]
mov r10, qword [rdx + 0x20]
mov qword [rbp + 0x48], rcx
mov rcx, rdx
mov qword [rbp - 0x10], rdx
add rdx, 0x10
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], r12
cmp qword [rdx + 0x18], 8
jb 0x140070c8e
mov rdx, qword [rdx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
add r10, r10
je 0x140070cbe
movzx eax, byte [r8 + rdx]
inc r8
xor r9, rax
imul r9, rbx
cmp r8, r10
jb 0x140070caa
mov r15, qword [r11 + 0x30]
and r15, r9
add r15, r15
mov rax, qword [r14 + r15*8 + 8]
mov r13, qword [r14 + r15*8]
mov qword [rbp + 0x50], rax
cmp rcx, rax
lea rcx, [rbp - 0x20]
sete bl
call fcn.140070928
test bl, bl
jne 0x140070d07
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp + 0x50]
cmp rcx, rdi
jne 0x140070cd5
cmp r13, rsi
jne 0x140070d9e
mov qword [r14 + r15*8], rcx
jmp 0x140070d9e
cmp r13, rsi
mov r13, qword [rbp + 0x48]
jne 0x140070d17
mov qword [r14 + r15*8], r13
mov r12, r13
mov qword [r14 + r15*8 + 8], r12
mov rcx, qword [rbp - 0x10]
cmp rcx, rdi
je 0x140070d9e
mov r15, qword [rbp + 0x40]
lea rdx, [rcx + 0x10]
cmp qword [rdx + 0x18], 8
mov r10, qword [rdx + 0x10]
jb 0x140070d3b
mov rdx, qword [rdx]
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
add r10, r10
je 0x140070d6f
movabs r13, 0x100000001b3
movzx eax, byte [r9 + rdx]
inc r9
xor r8, rax
imul r8, r13
cmp r9, r10
jb 0x140070d57
mov r13, qword [rbp + 0x48]
mov rsi, qword [r15 + 0x30]
and rsi, r8
add rsi, rsi
mov r12, qword [r14 + rsi*8 + 8]
cmp rcx, r12
lea rcx, [rbp - 0x20]
sete bl
call fcn.140070928
mov rcx, qword [rbp - 0x10]
test bl, bl
jne 0x140070dc5
cmp rcx, rdi
jne 0x140070d7e
mov qword [r14 + rsi*8], rcx
mov rax, qword [rbp - 0x18]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rbx, qword [rsp + 0x98]
mov rax, rdi
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [r14 + rsi*8], r13
mov qword [r14 + rsi*8 + 8], r13
cmp rcx, rdi
jne 0x140070d29
jmp 0x140070d9e
Function at 0x14007e420
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x20
mov rdi, rdx
and qword [rbp + 0x30], 0
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoImpersonateClient]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14007e466
mov rcx, qword [rbp + 0x18]
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_searchindexer_apiwsstoreregistrationendpoint.cxx
mov edx, 0x1da
call fcn.140028864
jmp 0x14007e559
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.14000fd7c
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThread]
nop dword [rax + rax]
lea r9, [rbp + 0x30]
mov edx, SafeArrayGetDim
lea r8d, [rdx - 0xb]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenThreadToken]
nop dword [rax + rax]
test eax, eax
jne 0x14007e4c5
mov rcx, qword [rbp + 0x18]
lea r8, str.onecoreuap_base_appmodel_search_searchindexer_apiwsstoreregistrationendpoint.cxx
mov edx, 0x1dd
call fcn.1400528a4
mov ebx, eax
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevertToSelf]
nop dword [rax + rax]
jmp 0x14007e559
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevertToSelf]
nop dword [rax + rax]
and qword [rbp + 0x38], 0
lea rdx, [rbp + 0x38]
mov rcx, rdi
call qword [sym.imp.api_ms_win_security_sddl_l1_1_0.dll_ConvertStringSidToSidW]
nop dword [rax + rax]
test eax, eax
jne 0x14007e4f4
mov edx, 0x1e1
jmp 0x14007e515
lea r8, [rbp + 0x20]
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
nop dword [rax + rax]
test eax, eax
jne 0x14007e529
mov edx, 0x1e4
lea r8, str.onecoreuap_base_appmodel_search_searchindexer_apiwsstoreregistrationendpoint.cxx
mov rcx, qword [rbp + 0x18]
call fcn.1400528a4
mov ebx, eax
jmp 0x14007e550
cmp dword [rbp + 0x20], 0
jne 0x14007e54e
mov rcx, qword [rbp + 0x18]
mov ebx, 0x80070005
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_search_searchindexer_apiwsstoreregistrationendpoint.cxx
mov edx, 0x1e6
call fcn.140028864
jmp 0x14007e550
xor ebx, ebx
lea rcx, [rbp + 0x38]
call fcn.14006880c
lea rcx, [rbp + 0x30]
call fcn.14001d64c
mov eax, ebx
add rsp, 0x20
pop rdi
pop rbx
pop rbp
ret

Function at 0x14007e5dc
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r8
mov dword [rsp + 0x20], 0x44
mov ecx, edx
lea r8, [rsp + 0x30]
xor edx, edx
lea r9, [rsp + 0x20]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CreateWellKnownSid]
nop dword [rax + rax]
test eax, eax
jne 0x14007e629
call fcn.14001d618
test eax, eax
js 0x14007e65e
lea r8, [rsp + 0x24]
mov rcx, rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
nop dword [rax + rax]
test eax, eax
jne 0x14007e64f
call fcn.14001d618
test eax, eax
js 0x14007e65e
mov eax, dword [rsp + 0x24]
neg eax
sbb eax, eax
not eax
and eax, 0x80070005
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140036e80
add rsp, 0x90
pop rbx
ret
Function at 0x1400806d0
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, r8
mov rdi, rdx
mov edx, ecx
lea rcx, [rsp + 0xe0]
lea rax, str.GROUP_ON_System.ConnectedSearch.ApplicationSearchScope_AGGREGATE_CHILDCOUNT___OVER_SELECT_System.ConnectedSearch.ApplicationSearchScope_FROM_SystemIndex_WHERE__s_System.ConnectedSearch.ItemSource___d_
mov r9d, 3
lea r8d, [r9 + 0x7d]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, r8
sub r9, 1
jne 0x14008070e
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
mov eax, dword [rax + 0x10]
mov dword [rcx + 0x10], eax
movups xmm0, xmmword [str.SCOPE__winrt:___AND]
movups xmmword [rsp + 0xa8], xmm0
movups xmm1, xmmword [0x1400b4fc0]
movups xmmword [rsp + 0xb8], xmm1
movsd xmm0, qword [0x1400b4fd0]
movsd qword [rsp + 0xc8], xmm0
mov eax, dword [0x1400b4fd8]
mov dword [rsp + 0xd0], eax
movzx eax, word [0x1400b4fdc]
mov word [rsp + 0xd4], ax
and qword [rsp + 0x40], r9
and qword [rsp + 0x48], r9
and qword [rsp + 0x50], r9
lea rax, [0x1400aa5f0]
lea r8, [rsp + 0xa8]
cmp edx, 1
cmovne r8, rax
mov r9d, edx
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x40]
call fcn.14007fd78
mov ebx, eax
test eax, eax
js 0x1400808b5
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14007f494
nop
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], rax
lea rax, [0x1400a5c30]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rsp + 0x70], xmm0
lea rax, [rsp + 0x68]
mov qword [rsp + 0xa0], rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14007f828
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
lea rcx, [rdx + rax]
cmp rcx, rax
jb 0x140080873
xor r9d, r9d
jmp 0x14008087d
or rcx, 0xffffffffffffffff
mov r9d, 0x80070216
mov rax, qword [rsp + 0x2a8]
test r9d, r9d
jns 0x14008089e
lea r8, str.onecoreuap_base_appmodel_search_searchindexer_apiwsstorestatisticsendpoint.cxx
mov edx, 0xf3
mov rcx, rax
call fcn.140068d74
mov qword [rdi], rcx
mov qword [rsi], rdx
lea rcx, [rsp + 0x60]
call fcn.140002ba8
nop
jmp 0x1400808b5
lea rcx, [rsp + 0x40]
call fcn.140054f3c
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140036e80
add rsp, 0x290
pop rdi
pop rsi
pop rbx
ret
Function at 0x140080924
Capabilities:
Reference sql statements

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov r9d, ecx
lea rcx, [rsp + 0xd0]
lea rax, str.GROUP_ON_System.AppUserModel.PackageFamilyName_AGGREGATE_CHILDCOUNT___OVER_SELECT_System.AppUserModel.PackageFamilyName_FROM_SystemIndex_WHERE__s_System.ConnectedSearch.ItemSource___d_
mov edx, 0x80
lea r8d, [rdx - 0x7e]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, rdx
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, rdx
sub r8, 1
jne 0x14008095d
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
movups xmm0, xmmword [str.SCOPE__winrt:___AND]
movups xmmword [rsp + 0x98], xmm0
movups xmm1, xmmword [0x1400b4fc0]
movups xmmword [rsp + 0xa8], xmm1
movsd xmm0, qword [0x1400b4fd0]
movsd qword [rsp + 0xb8], xmm0
mov eax, dword [0x1400b4fd8]
mov dword [rsp + 0xc0], eax
movzx eax, word [0x1400b4fdc]
mov word [rsp + 0xc4], ax
and qword [rsp + 0x28], r8
and qword [rsp + 0x30], r8
and qword [rsp + 0x38], r8
lea rax, [0x1400aa5f0]
lea r8, [rsp + 0x98]
cmp r9d, 1
cmovne r8, rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x28]
call fcn.14007fd78
test eax, eax
js 0x140080ac0
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.14007f494
nop
and qword [rsp + 0x20], 0
lea rax, [0x1400a5c00]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x90], rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14007f828
nop
lea rcx, [rsp + 0x48]
call fcn.140002ba8
nop
jmp 0x140080ac0
lea rcx, [rsp + 0x28]
call fcn.140054f3c
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140036e80
add rsp, 0x260
pop rbx
ret
Function at 0x1400827d0
Capabilities:
Check mutex on windows

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x218
mov rsi, rcx
xor ebx, ebx
lea rdx, str.SystemIndex
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140082a32
lea r8d, [rbx + 7]
lea rdx, [0x1400aa4b0]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsnicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140082a32
lea r8, str.CSM_Policy_Key_Mutex
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140082a0d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x60]
call fcn.140008d24
nop
and qword [rsp + 0x38], rbx
and qword [rsp + 0x40], rbx
and qword [rsp + 0x48], rbx
and dword [rsp + 0x50], ebx
lea rdx, [0x1400d2518]
lea rcx, [rsp + 0x258]
call fcn.14001a960
nop
lea rdx, str.DefaultIndexedPaths
lea rcx, [rsp + 0x250]
call fcn.140016b70
nop
lea rdx, [0x1400aa5f0]
lea rcx, [rsp + 0x248]
call fcn.140016b70
nop
lea rdx, str.SoftwareMicrosoftWindows_SearchCurrentPolicies
lea rcx, [rsp + 0x240]
call fcn.140016b70
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x258]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x250]
lea r8, [rsp + 0x248]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x60]
call fcn.140008f80
nop
mov rcx, qword [rsp + 0x240]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rcx, qword [rsp + 0x248]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rcx, qword [rsp + 0x250]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rcx, qword [rsp + 0x258]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
lea rcx, [rsp + 0x38]
call fcn.14001185c
lea rcx, [rsp + 0x60]
call fcn.140008f10
mov r14d, dword [rax + 8]
xor edi, edi
test ebx, ebx
js 0x1400829f7
cmp edi, r14d
jae 0x1400829f7
and qword [rsp + 0x248], 0
lea rcx, [rsp + 0x60]
call fcn.140083780
mov edx, edi
mov rcx, rax
call fcn.140082030
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x240]
lea r8, [rsp + 0x248]
mov rdx, qword [rax]
mov rcx, rsi
call fcn.1400834e0
test eax, eax
js 0x1400829e3
cmp qword [rsp + 0x248], 0
jne 0x1400829e3
lea r8, [rsp + 0x248]
movzx edx, word [rsp + 0x240]
mov rcx, rsi
call fcn.140082ad4
mov ebx, eax
lea rcx, [rsp + 0x248]
call fcn.140003bbc
inc edi
jmp 0x14008296f
lea rcx, [rsp + 0x60]
call fcn.140008da4
nop
jmp 0x140082a28
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140082a28
movzx ebx, ax
or ebx, 0x80070000
lea rcx, [rsp + 0x30]
call fcn.14001d64c
mov eax, ebx
add rsp, 0x218
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14008d344
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x14008d4e8
cmp ecx, 0x7c
je 0x14008d4f1
cmp ecx, 0x29
jne 0x14008d383
cmp dword [rbx + 0x1c], 0
jne 0x14008d4f1
test dword [rbx + 0x80], 0x10000000
je 0x14008d456
cmp ecx, 0x2e
jne 0x14008d3a3
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14008fa8c
mov rcx, rbx
call fcn.14008fae0
jmp 0x14008d4db
cmp ecx, 0x5c
jne 0x14008d407
mov rcx, rbx
call fcn.14008fae0
test byte [rbx + 0x80], 0x80
je 0x14008d3fa
cmp word [rbx + 0x78], 0x62
jne 0x14008d3db
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14008fa8c
mov rcx, rbx
call fcn.14008fae0
jmp 0x14008d4e3
cmp word [rbx + 0x78], 0x42
jne 0x14008d3fa
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14008fa8c
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14008d3ce
mov rcx, rbx
call fcn.14008d528
jmp 0x14008d4db
cmp ecx, 0x5b
jne 0x14008d438
mov rcx, rbx
call fcn.14008fae0
mov rcx, rbx
call fcn.14008dc90
cmp dword [rbx + 0x7c], 0x5d
je 0x14008d396
mov ecx, 4
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
cmp ecx, 0x28
jne 0x14008d468
mov rcx, rbx
call fcn.14008fae0
mov rcx, rbx
call fcn.14008ffdc
cmp dword [rbx + 0x7c], 0x29
mov dil, al
je 0x14008d4ce
mov ecx, 5
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
cmp ecx, 0x5e
jne 0x14008d475
lea edx, [rcx - 0x5c]
jmp 0x14008d3c5
cmp ecx, 0x24
jne 0x14008d482
lea edx, [rcx - 0x21]
jmp 0x14008d3c5
cmp ecx, 0x3f
je 0x14008d50f
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14008d50f
cmp ecx, 0x7b
je 0x14008d50f
cmp ecx, 0x7d
jne 0x14008d4a9
test dword [rbx + 0x80], 0x10000000
je 0x14008d4fd
cmp ecx, 0x5d
jne 0x14008d4be
test dword [rbx + 0x80], 0x10000000
je 0x14008d426
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14008cb38
mov dil, 1
mov rcx, rbx
call fcn.14008fae0
test dil, dil
je 0x14008d4e3
mov rcx, rbx
call fcn.14008fb20
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x14008d35b
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 6
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
mov ecx, 0xa
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
Function at 0x14009c8a8
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rdx
mov rbx, rcx
mov dword [rax - 0x18], 0x104
cmp qword [rcx], 0
jne 0x14009c8fd
and dword [rcx + 8], 0
and qword [rcx], 0
mov qword [rax - 0x30], rcx
mov dword [rax - 0x38], 9
lea r8, str.SOFTWAREMicrosoftWindows_SearchCatalogListApplications
mov rdx, 0xffffffff80000002
call fcn.140025224
test eax, eax
jle 0x14009c8fb
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x14009c952
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8, rdi
mov edx, dword [rbx + 8]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0x103
jne 0x14009c93d
mov eax, 1
jmp 0x14009c952
test eax, eax
je 0x14009c94d
jle 0x14009c952
movzx eax, ax
or eax, 0x80070000
jmp 0x14009c952
xor eax, eax
inc dword [rbx + 8]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1400a07bc
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbp, r9
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
je 0x1400a0838
mov qword [rsp + 0x28], rbp
lea rdx, str._s__u___s_:__s
mov r9d, esi
mov qword [rsp + 0x20], rbx
mov r8, rdi
lea rcx, [rsp + 0x30]
call fcn.1400a0858
cmp qword [rsp + 0x48], 8
lea rcx, [rsp + 0x30]
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.14001d7e0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140036e80
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000b4c0
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140019060]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14000b500
mov eax, 0xff
jmp 0x14000b6ab
mov r8d, dword [rsp + 0x3c]
and r8d, 0x7fff
mov r9d, dword [rsp + 0x40]
cmp r9d, 2
je 0x14000b51c
bts r8d, 0xf
mov edx, dword [rsp + 0x34]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0x38]
add ecx, eax
mov dword [0x14001acc8], r9d
mov dword [0x14001acd0], ecx
mov dword [0x14001acd4], edx
mov dword [0x14001acd8], eax
mov dword [0x14001accc], r8d
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000b593
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x14000b593
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x14000b593
xor ebx, ebx
cmp dword [rax + 0x84], 0xe
jbe 0x14000b595
cmp dword [rax + 0xf8], ebx
setne bl
jmp 0x14000b595
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edi, 1
mov ecx, edi
call fcn.14000d244
test eax, eax
jne 0x14000b5cb
cmp dword [0x14001a71c], 2
je 0x14000b5b7
call fcn.14000d028
mov ecx, 0x1c
call fcn.14000d074
mov ecx, 0xff
call fcn.14000cc40
call fcn.14000cb0c
test eax, eax
jne 0x14000b5f7
cmp dword [0x14001a71c], 2
je 0x14000b5e2
call fcn.14000d028
mov ecx, 0x10
call fcn.14000d074
mov ecx, 0xff
call fcn.14000cc40
nop
call fcn.14000d2b8
test eax, eax
jns 0x14000b60a
mov ecx, 0x1b
call fcn.14000cc5c
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x14001c8d0], rax
call fcn.14000da58
mov qword [0x14001a720], rax
call fcn.14000d554
test eax, eax
jns 0x14000b635
mov ecx, 8
call fcn.14000cc5c
call fcn.14000d834
test eax, eax
jns 0x14000b648
mov ecx, 9
call fcn.14000cc5c
mov ecx, edi
call fcn.14000cccc
test eax, eax
je 0x14000b65a
mov ecx, eax
call fcn.14000cc5c
mov r8, qword [0x14001acb8]
mov qword [0x14001ace8], r8
mov rdx, qword [0x14001acb0]
mov ecx, dword [0x14001acac]
call fcn.1400070f4
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
jne 0x14000b68b
mov ecx, eax
call fcn.14000d018
call fcn.14000ccb8
jmp 0x14000b6a9
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000b710
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
sub rsp, 0x28
call fcn.140133000
add rsp, 0x28
jmp 0x14000b4c0

Function at 0x14000c1ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]