joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b870
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x80], 0
je 0x14000b8ad
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x89]
test eax, eax
jne 0x14000b8b9
mov al, 1
jmp 0x14000bb25
mov dword [rsp + 0x30], 8
call fcn.140002b80
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx]
mov qword [rsp + 0xa8], rcx
mov edx, eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xa8]
call qword [rax + 0x18]
mov dword [rsp + 0x70], eax
call fcn.140002b80
mov dword [rsp + 0x74], eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x74]
call fcn.140002af0
movzx eax, al
test eax, eax
je 0x14000b918
xor al, al
jmp 0x14000bb25
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140009ba0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.140006950
mov rcx, rax
call fcn.140008500
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x40]
call fcn.140001940
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.140006950
mov rcx, rax
call fcn.140008500
mov rcx, qword [rsp + 0xe0]
add rcx, 0x8c
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0xb8]
mov r9, rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x80]
call fcn.14000d510
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14000b9f0
cmp dword [rsp + 0xc0], 1
je 0x14000b9ff
cmp dword [rsp + 0xc0], 3
je 0x14000badd
jmp 0x14000baf9
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x89], 0
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x40]
call fcn.140006950
mov rcx, rax
call fcn.140008500
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jbe 0x14000ba92
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.140006950
mov rcx, rax
call fcn.140008500
mov rcx, qword [rsp + 0xe0]
mov r9, qword [rcx + 0x98]
mov r8, qword [rsp + 0x68]
mov edx, 1
mov rcx, rax
call fcn.14003ebf0
cmp qword [rsp + 0x68], rax
je 0x14000ba92
mov byte [rsp + 0x98], 0
lea rcx, [rsp + 0x40]
call fcn.1400018b0
movzx eax, byte [rsp + 0x98]
jmp 0x14000bb25
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x89]
test eax, eax
jne 0x14000bac1
mov byte [rsp + 0x99], 1
lea rcx, [rsp + 0x40]
call fcn.1400018b0
movzx eax, byte [rsp + 0x99]
jmp 0x14000bb25
cmp qword [rsp + 0x68], 0
jne 0x14000badb
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140001ab0
jmp 0x14000bb15
mov byte [rsp + 0x9a], 1
lea rcx, [rsp + 0x40]
call fcn.1400018b0
movzx eax, byte [rsp + 0x9a]
jmp 0x14000bb25
mov byte [rsp + 0x9b], 0
lea rcx, [rsp + 0x40]
call fcn.1400018b0
movzx eax, byte [rsp + 0x9b]
jmp 0x14000bb25
jmp 0x14000b92b
add rsp, 0xd8
ret

Function at 0x140010531
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [section..data]
syscall
ret

Function at 0x140047acc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14004793c
Function at 0x14004e7db
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140082580]
jne 0x14004114a
rol rcx, 0x10
test cx, 0xffff
jne 0x140041146
repz ret
ror rcx, 0x10
jmp 0x14004e734
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14151acd0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14151adc8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14004e7b9
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14151acd0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14004e7db
mov rax, qword [rsp + 0x88]
mov qword [0x14151adc8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14151ad68], rax
mov rax, qword [0x14151adc8]
mov qword [0x14151ac40], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14151ad50], rax
mov dword [0x14151ac30], 0xc0000409
mov dword [0x14151ac34], 1
mov rax, qword [0x140082580]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140082588]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14151acc8], eax
mov ecx, 1
call fcn.14005a4a8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14006f308]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14151acc8], 0
jne 0x14004e862
mov ecx, 1
call fcn.14005a4a8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14005a510
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140082580]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400471fc
xor ebx, ebx
cmp qword [0x14151b358], rbx
mov rdi, rax
jne 0x14005a623
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14005a6fa
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005a6fa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14151b358], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14151b360], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14151b368], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14151b378], rax
test rax, rax
je 0x14005a61a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14151b370], rax
jmp 0x14005a62a
mov rax, qword [0x14151b370]
jmp 0x14005a631
mov rax, qword [0x14151b370]
mov r11, qword [0x14151b378]
cmp rax, rdi
je 0x14005a698
cmp r11, rdi
je 0x14005a698
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14151b378]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14005a698
test rax, rax
je 0x14005a698
call rsi
test rax, rax
je 0x14005a692
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14005a692
test byte [rsp + 0x40], 1
jne 0x14005a698
bts ebp, 0x15
jmp 0x14005a6d8
mov rcx, qword [0x14151b360]
cmp rcx, rdi
je 0x14005a6d8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14005a6d8
call rax
mov rbx, rax
test rax, rax
je 0x14005a6d8
mov rcx, qword [0x14151b368]
cmp rcx, rdi
je 0x14005a6d8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14005a6d8
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14151b358]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14005a6fa
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14005a6fc
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140041130
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001280
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x168
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400012d1
xor eax, eax
jmp 0x14000142f
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4550
je 0x140001304
mov rax, qword [rsp + 0x30]
jmp 0x14000142f
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, pe_nt_image_headers64
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
cmp dword [rsp + rax + 0xd0], 0
jne 0x140001339
mov rax, qword [rsp + 0x30]
jmp 0x14000142f
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0xd0]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x1400013c1
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x14000142a
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x188]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140001428
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x14000142a
jmp 0x1400013b7
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140002480
add rsp, 0x168
pop rdi
pop rsi
ret

Function at 0x140002d48
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x2a0
mov rax, qword [0x140020040]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbx, rcx
mov r8, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x140008c14
mov r8, qword [rcx]
xor esi, esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, dword [rcx + 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x270], xmm0
mov qword [rsp + 0x280], rsi
mov qword [rsp + 0x288], rsi
mov r8, rdi
lea rcx, [rsp + 0x270]
call fcn.140008e40
nop
lea rax, [rsp + 0x270]
cmp qword [rsp + 0x288], 7
cmova rax, qword [rsp + 0x270]
mov r9d, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140008c87
mov rbx, qword [rbx]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140008cd9
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140008d30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
mov rdx, qword [rsp + 0x288]
cmp rdx, 7
jbe 0x140008e0a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x270]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008e05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008e05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x5c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008d40
lea r8, [rsp + 0x270]
cmp qword [rsp + 0x288], 7
cmova r8, qword [rsp + 0x270]
mov rdx, qword [rsp + 0x280]
cmp rdx, rax
jne 0x140008de1
lea rax, [rsp + 0x5c]
test rdx, rdx
je 0x140008d97
lea rcx, [rsp + 0x5c]
sub r8, rcx
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x140008de1
add rax, 2
sub rdx, 1
jne 0x140008d83
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140008de1
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtSuspendProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
test rax, rax
je 0x140008ddb
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140008d30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008cde
call fcn.140012b14
mov eax, esi
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140012870
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140009610
Capabilities:
Create process on windows
Terminate process

Disassembly:
push rbx
sub rsp, 0x2b0
mov rax, qword [0x140020040]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rbx, rcx
lea rdx, [rsp + 0x90]
xor ecx, ecx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400096da
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x70
xor eax, eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x84], rax
mov dword [rsp + 0x8c], eax
lea rax, str.runas
movups xmmword [rsp + 0x24], xmm0
mov qword [rsp + 0x28], 0
movups xmmword [rsp + 0x34], xmm0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
movups xmmword [rsp + 0x44], xmm0
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x50], 1
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400096da
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140012870
add rsp, 0x2b0
pop rbx
ret
Function at 0x140011f70
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rdi, rdx
mov rsi, rcx
lea rcx, [rdx + 0x38]
lea rdx, [rsp + 0x28]
call qword [sym.imp.dpp.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_dpp::interaction::get_command_name_void____ptr64]
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140011fa5
mov rax, qword [rax]
cmp r8, 4
jne 0x140011fdb
lea rdx, str.kill
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140011fdb
mov rax, qword [0x1400224b8]
test rax, rax
js 0x14001209f
cmp qword [rdi + 0xb8], rax
jne 0x140011fdb
mov bl, 1
jmp 0x140011fdd
xor bl, bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14001201d
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012018
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012018
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
test bl, bl
je 0x14001208a
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.dpp.dll_class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64_____cdecl_dpp::utility::log_error_void_]
mov rbx, rax
lea rdx, str.___Exiting___
lea rcx, [rsp + 0x28]
call fcn.140005200
nop
mov r8, rbx
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::interaction_create_t::reply_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64___const___ptr64]
nop
lea rcx, [rsp + 0x28]
call fcn.1400054b0
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rcx, [rsp + 0x50]
call fcn.140009b30
lea rdx, [0x14001d268]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1400122b8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400122f2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400122f7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140012340
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400189e0]
cmp byte [rcx + rax], 0
je 0x140012340
dec r8
sub rdx, 1
jne 0x140012326
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400125c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140012358
mov ebx, eax
test eax, eax
jne 0x1400125f0
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140012653
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001264a
test al, 0x10
je 0x14001264a
bt eax, 0xa
jae 0x140012643
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140012664
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x14001263f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14001263f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x14001264a
and dword [rsp + 0x3c], 0
jmp 0x14001264f
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400134c8
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
mov edx, 0x58
xor ecx, ecx
mov rbx, r8
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
xor edx, edx
mov rcx, rax
mov rbp, rax
lea r8d, [rdx + 0x58]
call fcn.140002e00
or byte [rsi + 0xc2], 2
lea r9, [0x1400010b0]
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov byte [rsp + 0x30], 1
mov rdx, rsi
mov qword [rsp + 0x28], rdi
mov rcx, rbp
and qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_KeInitializeApc]
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_KeInsertQueueApc]
test al, al
jne 0x140001091
lea rcx, [0x140003270]
call sub.ntoskrnl.exe_DbgPrint
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140001178
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call fcn.140002e00
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
test eax, eax
js 0x14000120a
cmp dword [rsp + 0x24], 0xa
jne 0x1400011c8
call fcn.140001224
jmp 0x14000120c
cmp dword [rsp + 0x24], 6
jne 0x14000120a
mov eax, dword [rsp + 0x28]
cmp eax, 3
jne 0x1400011df
call fcn.14000147c
jmp 0x14000120c
cmp eax, 2
jne 0x1400011f5
cmp byte [rsp + 0x13a], 1
jne 0x14000120a
call fcn.1400013d0
jmp 0x14000120c
cmp eax, 1
jne 0x14000120a
cmp byte [rsp + 0x13a], al
jne 0x14000120a
call fcn.14000131c
jmp 0x14000120c
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140002b70
add rsp, 0x158
ret
Function at 0x14000167c
Capabilities:
Allocate or change rwx memory
Attach user process memory
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r8
mov qword [r11 - 0x50], rdx
and qword [r11 - 0x68], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
and qword [r11 - 0x58], 0
mov ecx, ecx
lea rdx, [r11 - 0x68]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x1400016e9
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x1400016e9
mov eax, 0xc0000001
jmp 0x14000176d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [rsp + 0x40]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov ebx, eax
mov dword [rsp + 0x38], eax
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140002e00
mov rcx, qword [rsp + 0x40]
mov qword [rdi], rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x140001760
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140002b70
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret