joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007b030
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
xor ebx, ebx
mov rsi, r8
mov qword [rbp + 0x40], rbx
mov rdi, rdx
mov qword [rbp + 0x48], rbx
mov r14, rcx
mov qword [r8], rbx
test rdx, rdx
jne 0x14007b06f
lea ecx, [rdx + 6]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14007b234
lea rcx, [rbp - 0x10]
call fcn.140082874
lea r9, [rbp + 0x48]
mov rdx, rdi
lea r8, [rbp + 0x40]
mov rcx, r14
call fcn.14007add0
test eax, eax
jne 0x14007b0a2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x14007b1da
mov rcx, qword [rbp + 0x40]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x14007b1ca
mov ecx, dword [rbp + 0x38]
cmp ecx, 0x48
jb 0x14007b1ca
call sym.spoolsv.exe_PrvDllAllocSplMem
mov qword [rsi], rax
test rax, rax
jne 0x14007b11c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x14007b1ca
mov rdx, qword [rbp + 0x48]
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov rcx, qword [rbp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov edi, eax
mov r14d, 2
test eax, eax
jne 0x14007b1a9
mov rcx, qword [rsi]
mov r10d, 0x8007000d
mov r9d, dword [rbp + 0x38]
test rcx, rcx
je 0x14007b181
cmp r9, 0x4c
jb 0x14007b181
movzx r8d, word [rcx + 0x46]
movzx eax, word [rcx + 0x44]
add r8, rax
cmp r9, r8
jb 0x14007b181
call fcn.14004cb84
mov r10d, eax
mov ecx, r10d
call fcn.140026128
mov edi, eax
test eax, eax
je 0x14007b1c4
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, eax
cmove edi, r14d
mov r8, qword [rsi]
xor edx, edx
mov rcx, qword [0x1400ca110]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov qword [rsi], rbx
cmp edi, r14d
cmove edi, ebx
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test edi, edi
je 0x14007b224
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
cmp edi, 5
je 0x14007b229
mov rcx, qword [0x1400c82a8]
lea rax, [0x1400c82a8]
cmp rcx, rax
je 0x14007b229
test byte [rcx + 0x44], 0x20
je 0x14007b229
mov rcx, qword [rcx + 0x38]
lea r8, [0x1400abb08]
mov edx, 0xf
mov r9d, edi
call fcn.140016c88
jmp 0x14007b229
mov ebx, 1
lea rcx, [rbp - 0x10]
call fcn.1400828b4
mov eax, ebx
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14007b250
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x48], 0
mov rbx, r8
and qword [rsp + 0x58], 0
mov rdi, rdx
test rdx, rdx
jne 0x14007b28e
lea ecx, [rdx + 6]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x48]
call fcn.14007add0
test eax, eax
je 0x14007b280
mov rdx, qword [rsp + 0x58]
test rbx, rbx
jne 0x14007b2c7
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 2
jne 0x14007b310
xor ebx, ebx
jmp 0x14007b310
movzx ecx, word [rbx + 0x46]
mov r9d, 3
movzx eax, word [rbx + 0x44]
xor r8d, r8d
add ecx, eax
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14007b310
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor edx, edx
lea ecx, [rax + 2]
lea r8d, [rax + 0x1b]
call sym.spoolsv.exe_PrvRouterBroadcastMessage
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
je 0x14007b384
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov rax, qword [0x1400c82a8]
lea rcx, [0x1400c82a8]
cmp rax, rcx
je 0x14007b280
test byte [rax + 0x44], 0x20
je 0x14007b280
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x1400c82a8]
lea r8, [0x1400abb08]
mov edx, 0xe
mov r9d, eax
mov rcx, qword [rcx + 0x38]
call fcn.140016c88
jmp 0x14007b280
mov eax, 1
jmp 0x14007b282
Function at 0x14007d578
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r15, qword [0x1400ca120]
xor esi, esi
and qword [rax + 8], rsi
mov r13, r9
mov r12, r8
mov ebp, edx
mov rbx, qword [r15 + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
inc dword [rbx + 0x2c]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov dword [rbx + 0x28], eax
mov rax, r12
neg rax
mov eax, 0x80070057
sbb edi, edi
not edi
and edi, eax
test r12, r12
je 0x14007d628
and dword [r12], esi
lea rcx, [r15 + 0x38]
test rcx, rcx
je 0x14007d626
xor eax, eax
lea edi, [rsi + 1]
add rcx, 8
je 0x14007d604
mov rax, qword [rcx + 0x10]
test rcx, rcx
je 0x14007d628
cmp rax, rcx
je 0x14007d628
mov edx, ebp
sub edx, dword [rax + 0x24]
js 0x14007d628
test edx, edx
je 0x14007d61f
mov rax, qword [rax + 0x10]
jmp 0x14007d609
mov rsi, rax
xor edi, edi
jmp 0x14007d628
mov edi, eax
test edi, edi
jne 0x14007d70a
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.14007dbac
mov edi, eax
test eax, eax
js 0x14007d714
mov r14, qword [rsp + 0x70]
mov rcx, r13
mov rbp, qword [r14 + 0x28]
mov rdx, rbp
call fcn.14000acd0
xor r13d, r13d
mov edi, eax
test eax, eax
js 0x14007d6dc
mov qword [rsp + 0x70], r13
lea r8, [0x1400aba0c]
mov rax, qword [rsi + 0x30]
lea r9, [0x1400aba10]
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov qword [rsp + 0x20], r8
call fcn.140003440
mov ecx, eax
call fcn.140006a40
mov edi, eax
test eax, eax
js 0x14007d6dc
mov rdx, qword [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000003
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
nop dword [rax + rax]
mov r8, qword [rsp + 0x70]
xor edx, edx
mov rcx, qword [0x1400ca110]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
cmp dword [r14 + 0x24], r13d
jne 0x14007d714
dec dword [r15 + 0x30]
mov edx, 1
mov rax, qword [r14]
mov dword [r12], edx
movabs r10, 0xda74867c1459e070
mov rax, qword [rax]
mov rcx, r14
call qword [0x1400a9400]
jmp 0x14007d714
test edi, edi
mov eax, 0x80004005
cmovns edi, eax
test rsi, rsi
je 0x14007d737
mov rax, qword [rsi]
movabs r10, 0xda74867c1459e070
mov rax, qword [rax]
mov edx, 1
mov rcx, rsi
call qword [0x1400a9400]
test edi, edi
jns 0x14007d76c
mov rcx, qword [0x1400c82a8]
lea rax, [0x1400c82a8]
cmp rcx, rax
je 0x14007d76c
test byte [rcx + 0x44], 0x20
je 0x14007d76c
mov rcx, qword [rcx + 0x38]
lea r8, [0x1400abb38]
mov edx, 0xd
mov r9d, edi
call fcn.140016ccc
add dword [rbx + 0x2c], 0xffffffff
mov eax, dword [rbx + 0x2c]
jne 0x14007d779
and dword [rbx + 0x28], 0
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
lea r11, [rsp + 0x40]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14007f7a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1400c87d8]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, qword [0x1400ca188]
mov rdi, rdx
mov rcx, rsi
call fcn.1400808a8
mov ebx, eax
cmp eax, 1
jne 0x14007f97e
call sym.spoolsv.exe_PrvRevertToPrinterSelf
and qword [rbp - 0x19], 0
lea rdx, [rbp - 0x19]
mov rcx, rdi
mov r14, rax
call fcn.140081a34
test eax, eax
jne 0x14007f88f
mov rsi, qword [rbp - 0x19]
test rsi, rsi
je 0x14007f885
and qword [rbp - 0x19], 0
lea r8, [rbp - 0x19]
mov rdx, rsi
call fcn.140081180
mov rcx, rsi
mov ebx, eax
call fcn.14000df6c
test ebx, ebx
jne 0x14007f885
lea ecx, [rbx + 0x38]
call fcn.14000df2c
test rax, rax
je 0x14007f885
mov rdx, rdi
mov rcx, rax
call fcn.14007f608
test rax, rax
je 0x14007f885
mov r11, rax
cmp dword [rax + 0x34], ebx
jl 0x14007f867
mov rcx, qword [rbp - 0x19]
mov rdx, rax
mov rcx, qword [rcx + 0x40]
call fcn.1400605d0
test eax, eax
jns 0x14007f885
mov rax, qword [r11]
movabs r10, 0xda74867c1459e070
mov rax, qword [rax]
mov edx, 1
mov rcx, r11
call qword [0x1400a9400]
mov ebx, 0x80004005
jmp 0x14007f957
mov r8d, 0x74736c74
mov byte [rsp + 0x20], 0
lea rdx, [0x14008d020]
mov dword [rbp - 0x11], r8d
mov ecx, 0x6b6e6c74
mov qword [rbp - 9], rdx
lea rax, [rbp - 9]
mov dword [rbp - 1], ecx
mov qword [rbp + 7], rax
lea r9, [rbp + 0x17]
lea rax, [rbp - 9]
mov dword [rbp + 0x17], r8d
mov qword [rbp + 0xf], rax
lea r8, [rbp - 0x11]
lea rax, [rbp + 0x1f]
mov qword [rbp + 0x1f], rdx
mov qword [rbp + 0x2f], rax
mov rdx, rdi
lea rax, [rbp + 0x1f]
mov dword [rbp + 0x27], ecx
mov rcx, rsi
mov qword [rbp + 0x37], rax
call fcn.1400817b0
mov ebx, eax
test eax, eax
jne 0x14007f908
lea r8, [rbp - 0x11]
mov rdx, rdi
mov rcx, rsi
call fcn.14007f9ac
mov ebx, eax
jmp 0x14007f945
cmp ax, 0x2af9
jne 0x14007f945
lea rax, [0x1400c9f10]
mov rcx, rdi
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x19], rax
call fcn.140080af4
mov ebx, eax
test eax, eax
jne 0x14007f93c
mov rdx, qword [rbp - 0x19]
mov r8, rdi
mov rcx, rsi
call fcn.14007fb78
mov ebx, eax
mov rdx, qword [rbp - 0x19]
call fcn.14004443c
lea rcx, [rbp + 0x17]
call fcn.140042f44
lea rcx, [rbp - 0x11]
call fcn.140042f44
mov rcx, r14
call sym.spoolsv.exe_PrvImpersonatePrinterClient
test eax, eax
jne 0x14007f97e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
mov eax, ebx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14000e2c0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140085b7c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [0x1400c8cc4], 0xffffffff
jne 0x140085c2d
xor ebx, ebx
lea rax, [rsp + 0x50]
mov r9d, 0x20019
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov dword [0x1400c8cc4], ebx
lea rdx, [0x1400bdd40]
mov qword [rsp + 0x20], rax
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 0x140085c2d
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.PrintIsolationDefault
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x40], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140085c1c
cmp dword [rsp + 0x40], ebx
setne bl
mov dword [0x1400c8cc4], ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, dword [0x1400c8cc4]
add rsp, 0x30
pop rbx
ret

Function at 0x1400862bc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, str.SoftwarePoliciesMicrosoftWindows_NTPrinters
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
jne 0x140086363
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x58], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.PrintDriverIsolationOverrideCompat
mov dword [rsp + 0x60], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140086352
cmp dword [rsp + 0x58], 4
jne 0x140086352
cmp dword [rsp + 0x68], 1
sete bl
mov dword [rdi + 0x50], ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [0x1400c82a8]
lea rax, [0x1400c82a8]
cmp rcx, rax
je 0x1400863a7
test byte [rcx + 0x1c], 2
je 0x1400863a7
cmp dword [rdi + 0x50], 1
lea rax, str.kOverrideCompatOFF
mov rcx, qword [rcx + 0x10]
lea r9, str.kOverrideCompatON
cmovne r9, rax
lea r8, [0x1400bddc0]
mov edx, 0xe
call fcn.14003304c
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400864c4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, str.SoftwarePoliciesMicrosoftWindows_NTPrinters
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
jne 0x140086565
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x58], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.PrintDriverIsolationExecutionPolicy
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14008654a
cmp dword [rsp + 0x60], ebx
je 0x14008654f
mov ebx, 1
mov dword [rdi + 0x4c], ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x14008656c
mov dword [rdi + 0x4c], 1
mov rcx, qword [0x1400c82a8]
lea rax, [0x1400c82a8]
cmp rcx, rax
je 0x1400865b0
test byte [rcx + 0x1c], 2
je 0x1400865b0
cmp dword [rdi + 0x4c], 1
lea rax, str.kExecuteInProc
mov rcx, qword [rcx + 0x10]
lea r9, str.kExecuteInSandbox
cmovne r9, rax
lea r8, [0x1400bddc0]
mov edx, 0xd
call fcn.14003304c
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14008a5f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
and dword [rsp + 0x68], 0
lea rax, [r11 + 0x20]
and dword [rsp + 0x30], 0
lea r9, [r11 - 0x18]
mov rdi, r8
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
xor r8d, r8d
mov rbx, rdx
mov rsi, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14008a708
cmp dword [rsp + 0x30], 3
jne 0x14008a708
cmp dword [rsp + 0x68], 0x48
jbe 0x14008a708
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov qword [rdi], rax
test rax, rax
je 0x14008a701
lea rcx, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14008a6ec
mov rcx, qword [rdi]
mov eax, dword [rsp + 0x68]
movzx edx, word [rcx + 0x44]
cmp edx, eax
ja 0x14008a6bb
movzx r8d, word [rcx + 0x46]
cmp r8d, eax
jae 0x14008a6bb
lea ecx, [r8 + rdx]
cmp eax, ecx
je 0x14008a739
mov ebx, 0xd
mov rcx, qword [0x1400c82a8]
lea rax, [0x1400c82a8]
cmp rcx, rax
je 0x14008a6ec
test byte [rcx + 0x1c], 4
je 0x14008a6ec
mov rcx, qword [rcx + 0x10]
lea edx, [rbx - 3]
lea r8, [0x1400abbb0]
call fcn.140016c5c
mov rcx, qword [rdi]
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
and qword [rdi], 0
jmp 0x14008a739
mov ebx, 8
jmp 0x14008a739
mov ebx, 0xd
mov rcx, qword [0x1400c82a8]
lea rax, [0x1400c82a8]
cmp rcx, rax
je 0x14008a739
test byte [rcx + 0x1c], 4
je 0x14008a739
mov rcx, qword [rcx + 0x10]
lea edx, [rbx - 2]
lea r8, [0x1400abbb0]
call fcn.140016c5c
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140001070
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
cmp ecx, 3
je 0x14000108c
lea rcx, str.ShellExecute__editexplorefindopenprintrunas__pathFile_n
call fcn.140001010
xor eax, eax
add rsp, 0x38
ret
mov r8, qword [rdx + 0x10]
xor r9d, r9d
mov rdx, qword [rdx + 8]
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov dword [0x14001fc00], eax
lea rcx, str.Error:__d_n
call fcn.140001010
mov eax, dword [0x14001fc00]
add rsp, 0x38
ret

Function at 0x140001ae4
Capabilities:
Parse pe header

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

Function at 0x140005680
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400054ac

Function at 0x1400120b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400120d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400120d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x779630
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x77963d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x77964d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x779635
lea eax, [rcx + 1]
jmp 0x77965b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x77966e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x779654
sub eax, 3
jb 0x77968e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x7796dd
sar eax, 1
movsxd rbp, eax
jb 0x7796c4
jmp 0x77969c
add ebx, ebx
jne 0x77969a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x7796c4
inc ecx
add ebx, ebx
jne 0x7796aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x7796c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x7796bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x7796ac
add ecx, 2
jmp 0x7796c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.007795f2
jmp 0x77963d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xe3000
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x779729
cmp rsi, rcx
jae 0x779731
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x779710
cmp al, 0x8f
ja 0x779710
cmp byte [rsi - 2], 0xf
je 0x779716
sub al, 0xe8
cmp al, 1
ja 0x7796fa
cmp rsi, rcx
jae 0x779731
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x779700
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x779731
lodsb al, byte [rsi]
jmp 0x779710
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x375000]
mov eax, dword [rdi]
or eax, eax
je 0x77978e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x379000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x77973e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x779788
mov qword [rbx], rax
add rbx, 8
jmp 0x77975e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x7797c8
cmp al, 0xef
ja 0x7797ba
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x77979a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x7797a9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x77981c
sub rsp, 0xffffffffffffff80
jmp 0x4666c0
Function at 0x140001e34
Capabilities:
Parse pe header

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

Function at 0x1400037b4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140003647
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003647
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003647
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003647
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003647
cmp dword [rcx + 0x84], 0xe
jbe 0x140003647
cmp dword [rcx + 0xf8], 0
je 0x140003647
mov ecx, ebx
call fcn.1400036e8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400034d8
cmp dword [rbp + 0x20], 0
je 0x140003694
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000369c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400035e0

Function at 0x140012930
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140012958
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140012958
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret