joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002310
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
mov rax, qword gs:[0x30]
xor r9d, r9d
mov ebx, ecx
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rdx, qword [rax + 0x10]
mov rax, qword [rdx]
mov rdi, qword [rax + 0x30]
movsxd rax, dword [rdi + 0x3c]
mov edx, dword [rax + rdi + 0x88]
add rdx, rdi
mov r13d, dword [rdx + 0x1c]
mov esi, dword [rdx + 0x20]
mov r11d, dword [rdx + 0x24]
mov r12d, dword [rdx + 0x14]
mov r14d, dword [rdx + 0x18]
add r13, rdi
add rsi, rdi
add r11, rdi
test r12, r12
je 0x1800023e2
mov qword [rsp + 0x20], rbp
nop word [rax + rax]
mov eax, dword [r13 + r9*4]
test eax, eax
je 0x1800023ce
xor r8d, r8d
mov ebp, eax
test r14d, r14d
je 0x1800023ce
movzx eax, word [r11 + r8*2]
cmp rax, r9
jne 0x1800023c6
mov edx, dword [rsi + r8*4]
xor ecx, ecx
add rdx, rdi
movzx eax, byte [rdx]
test al, al
je 0x1800023c2
nop dword [rax]
ror ecx, 7
movsx eax, al
inc rdx
add ecx, eax
movzx eax, byte [rdx]
test al, al
jne 0x1800023b0
cmp ebx, ecx
je 0x1800023d8
inc r8
cmp r8, r14
jb 0x180002393
inc r9
cmp r9, r12
jb 0x180002380
jmp 0x1800023dd
movzx eax, byte [rdi + rbp + 4]
mov rbp, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r14
pop r13
pop r12
ret
Function at 0x1800024a0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp + 0x4f], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov qword [rbp + 0x3f], 0xf
xor edi, edi
mov qword [rbp + 0x37], rdi
mov byte [rbp + 0x27], dil
lea r8d, [rdi + 0x22]
lea rdx, [0x18001ac90]
lea rcx, [rbp + 0x27]
call fcn.180001530
nop
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 1]
call fcn.180002180
nop
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x29]
call fcn.180001050
nop
mov r8, qword [rbp - 0x19]
lea rcx, [rbp - 0x29]
mov rax, qword [rbp - 0x29]
mov r9, qword [rbp - 0x11]
cmp r9, 0x10
cmovae rcx, rax
mov edx, edi
mov r10d, r8d
test r8d, r8d
jle 0x18000255f
lea r9, str.0x63
nop dword [rax + rax]
mov eax, edx
and eax, 0x80000003
jge 0x180002540
dec eax
or eax, 0xfffffffc
inc eax
cdqe
movzx eax, byte [rax + r9]
xor byte [rcx], al
inc edx
inc rcx
cmp edx, r8d
jl 0x180002530
mov r9, qword [rbp - 0x11]
mov r10d, dword [rbp - 0x19]
mov rax, qword [rbp - 0x29]
lea rcx, [rbp - 0x29]
cmp r9, 0x10
cmovae rcx, rax
mov edx, r10d
call fcn.180002400
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
mov ecx, 0x14044ae
call fcn.180002310
mov ecx, eax
call fcn.180005920
mov qword [rbp + 0x67], rdi
mov rcx, qword [rbp - 0x19]
mov qword [rbp + 0x6f], rcx
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rbp + 0x6f]
xor r8d, r8d
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.180005931
mov ecx, 0x1130814d
call fcn.180002310
mov ecx, eax
call fcn.180005920
lea r8, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae r8, qword [rbp - 0x29]
mov qword [rsp + 0x20], rdi
mov r9, qword [rbp - 0x19]
mov rdx, qword [rbp + 0x67]
mov rcx, rbx
call fcn.180005931
mov ecx, 0x93ec9d3d
call fcn.180002310
mov ecx, eax
call fcn.180005920
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, qword [rbp + 0x67]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
cmp qword [rbp - 0x11], 0x10
jb 0x180002638
mov rcx, qword [rbp - 0x29]
call fcn.180006f60
mov qword [rbp - 0x11], 0xf
mov qword [rbp - 0x19], rdi
mov byte [rbp - 0x29], 0
cmp qword [rbp + 0x17], 0x10
jb 0x180002658
mov rcx, qword [rbp - 1]
call fcn.180006f60
mov qword [rbp + 0x17], 0xf
mov qword [rbp + 0xf], rdi
mov byte [rbp - 1], 0
cmp qword [rbp + 0x3f], 0x10
jb 0x180002678
mov rcx, qword [rbp + 0x27]
call fcn.180006f60
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x180004900
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
cmp qword [rcx + 0x80], 0
je 0x180004b39
cmp byte [rcx + 0x89], 0
je 0x180004b39
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180004b0d
mov edx, 0xf
mov qword [rbp - 0x10], rdx
mov byte [rbp - 0x28], 0
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], 8
lea rax, [rbp - 0x28]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], cl
xor r12d, r12d
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
nop word [rax + rax]
lea rdx, [rbp - 0x28]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp - 0x28]
cmovae r8, r10
mov rcx, qword [rdi + 0x80]
mov r10, qword [rcx]
mov rax, qword [rbp - 0x18]
lea r9, [rdx + rax]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x8c]
call qword [r10 + 0x30]
test eax, eax
je 0x1800049d8
dec eax
jne 0x180004ad7
jmp 0x1800049df
mov byte [rdi + 0x89], r12b
lea rax, [rbp - 0x28]
mov r10, qword [rbp - 0x28]
mov r9, qword [rbp - 0x10]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rbp + 0x20]
sub rbx, rax
je 0x180004a2d
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x98]
mov r8, rbx
mov edx, 1
call fcn.180007d40
cmp rbx, rax
jne 0x180004afd
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
cmp byte [rdi + 0x89], r12b
je 0x180004b2b
test rbx, rbx
jne 0x180004990
or rax, 0xffffffffffffffff
mov r8, qword [rbp - 0x18]
sub rax, r8
cmp rax, 8
jbe 0x180004b1e
lea rbx, [r8 + 8]
cmp rbx, 0xfffffffffffffffe
ja 0x180004b11
cmp r9, rbx
jae 0x180004a81
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.180001840
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
jmp 0x180004a9e
test rbx, rbx
jne 0x180004aa7
mov qword [rbp - 0x18], r12
lea rax, [rbp - 0x28]
cmp r9, 0x10
cmovae rax, r10
mov byte [rax], r12b
jmp 0x18000497b
test rbx, rbx
je 0x180004990
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov rax, qword [rbp - 0x18]
xor edx, edx
mov qword [rcx + rax], rdx
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rax + rbx], dl
jmp 0x18000497b
sub eax, 2
je 0x180004af0
cmp qword [rbp - 0x10], 0x10
jb 0x180004b0d
mov rcx, qword [rbp - 0x28]
call fcn.180006f60
xor al, al
jmp 0x180004b3b
cmp qword [rbp - 0x10], 0x10
jb 0x180004b39
mov rcx, qword [rbp - 0x28]
jmp 0x180004b34
cmp qword [rbp - 0x10], 0x10
jb 0x180004b0d
mov rcx, qword [rbp - 0x28]
call fcn.180006f60
xor al, al
jmp 0x180004b3b
lea rcx, str.string_too_long
call fcn.18000596c
int3
lea rcx, str.string_too_long
call fcn.18000596c
nop
cmp r9, 0x10
jb 0x180004b39
mov rcx, r10
call fcn.180006f60
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret

Function at 0x180005931
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [section..data]
syscall
ret
Function at 0x180014330
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 [0x180020410]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.18000c43c
xor ebx, ebx
cmp qword [0x180021a08], rbx
mov rdi, rax
jne 0x180014443
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18001451a
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001451a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180021a08], 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 [0x180021a10], 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 [0x180021a18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180021a28], rax
test rax, rax
je 0x18001443a
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 [0x180021a20], rax
jmp 0x18001444a
mov rax, qword [0x180021a20]
jmp 0x180014451
mov rax, qword [0x180021a20]
mov r11, qword [0x180021a28]
cmp rax, rdi
je 0x1800144b8
cmp r11, rdi
je 0x1800144b8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180021a28]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1800144b8
test rax, rax
je 0x1800144b8
call rsi
test rax, rax
je 0x1800144b2
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 0x1800144b2
test byte [rsp + 0x40], 1
jne 0x1800144b8
bts ebp, 0x15
jmp 0x1800144f8
mov rcx, qword [0x180021a10]
cmp rcx, rdi
je 0x1800144f8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800144f8
call rax
mov rbx, rax
test rax, rax
je 0x1800144f8
mov rcx, qword [0x180021a18]
cmp rcx, rdi
je 0x1800144f8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800144f8
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180021a08]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001451a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x18001451c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18000fc80
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800149bf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180020410]
jne 0x18000fc9a
rol rcx, 0x10
test cx, 0xffff
jne 0x18000fc96
repz ret
ror rcx, 0x10
jmp 0x180014918
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180021ad0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180021bc8]
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 0x18001499d
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, [0x180021ad0]
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 0x1800149bf
mov rax, qword [rsp + 0x88]
mov qword [0x180021bc8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180021b68], rax
mov rax, qword [0x180021bc8]
mov qword [0x180021a40], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180021b50], rax
mov dword [0x180021a30], 0xc0000409
mov dword [0x180021a34], 1
mov rax, qword [0x180020410]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180020418]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180021ac8], eax
mov ecx, 1
call fcn.1800133d4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18001ab88]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180021ac8], 0
jne 0x180014a46
mov ecx, 1
call fcn.1800133d4
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 0x140007fb4
Capabilities:
Parse pe header

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

Function at 0x14034fb80
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14034fb8d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14034fb9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14034fb85
lea eax, [rcx + 1]
jmp 0x14034fbab
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14034fbbe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14034fba4
sub eax, 3
jb 0x14034fbde
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14034fc2d
sar eax, 1
movsxd rbp, eax
jb 0x14034fc14
jmp 0x14034fbec
add ebx, ebx
jne 0x14034fbea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14034fc14
inc ecx
add ebx, ebx
jne 0x14034fbfa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14034fc14
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14034fc0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14034fbfc
add ecx, 2
jmp 0x14034fc19
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14034fb42
jmp 0x14034fb8d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x9ae00
mov dl, 0x1d
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14034fc79
cmp rsi, rcx
jae 0x14034fc81
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14034fc60
cmp al, 0x8f
ja 0x14034fc60
cmp byte [rsi - 2], 0xf
je 0x14034fc66
sub al, 0xe8
cmp al, 1
ja 0x14034fc4a
cmp rsi, rcx
jae 0x14034fc81
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14034fc50
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14034fc81
lodsb al, byte [rsi]
jmp 0x14034fc60
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x34c000]
mov eax, dword [rdi]
or eax, eax
je 0x14034fcea
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x34f1dc]
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 0x14034fc8e
jns 0x14034fcc3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14034fccd
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 0x14034fce4
mov qword [rbx], rax
add rbx, 8
jmp 0x14034fcae
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 0x14034fd24
cmp al, 0xef
ja 0x14034fd16
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14034fcf6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14034fd05
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 + 0x24f]
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 0x14034fd78
sub rsp, 0xffffffffffffff80
jmp 0x14009a338
Function at 0x14000265c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400024cc

Function at 0x1400029a7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000d078]
jne 0x140001b9a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001b96
repz ret
ror rcx, 0x10
jmp 0x140002900
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000e110]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000e208]
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 0x140002985
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, [0x14000e110]
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 0x1400029a7
mov rax, qword [rsp + 0x88]
mov qword [0x14000e208], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000e1a8], rax
mov rax, qword [0x14000e208]
mov qword [0x14000e080], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000e190], rax
mov dword [0x14000e070], 0xc0000409
mov dword [0x14000e074], 1
mov rax, qword [0x14000d078]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000d080]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000e108], eax
mov ecx, 1
call fcn.140004c58
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140009410]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000e108], 0
jne 0x140002a2e
mov ecx, 1
call fcn.140004c58
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 0x140005c7c
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 [0x14000d078]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400038ec
xor ebx, ebx
cmp qword [0x14000f058], rbx
mov rdi, rax
jne 0x140005d8f
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140005e66
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140005e66
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000f058], 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 [0x14000f060], 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 [0x14000f068], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14000f078], rax
test rax, rax
je 0x140005d86
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 [0x14000f070], rax
jmp 0x140005d96
mov rax, qword [0x14000f070]
jmp 0x140005d9d
mov rax, qword [0x14000f070]
mov r11, qword [0x14000f078]
cmp rax, rdi
je 0x140005e04
cmp r11, rdi
je 0x140005e04
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14000f078]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140005e04
test rax, rax
je 0x140005e04
call rsi
test rax, rax
je 0x140005dfe
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 0x140005dfe
test byte [rsp + 0x40], 1
jne 0x140005e04
bts ebp, 0x15
jmp 0x140005e44
mov rcx, qword [0x14000f060]
cmp rcx, rdi
je 0x140005e44
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005e44
call rax
mov rbx, rax
test rax, rax
je 0x140005e44
mov rcx, qword [0x14000f068]
cmp rcx, rdi
je 0x140005e44
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005e44
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000f058]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005e66
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140005e68
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001b80
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001b3c0
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
mov qword [rsp + 0x30], rbx
nop
movzx eax, byte [rdi + 0x10]
test al, al
jne 0x14001b443
mov edx, 0x3e8
lea rcx, str..pipeMBLG
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x14001b3f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14001b423
lea rcx, [rdi + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMutex::lock_void____ptr64]
lea rcx, [rdi + 0x30]
mov r8d, 0x7d0
lea rdx, [rdi + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QWaitCondition::wait_class_QMutex____ptr64__unsigned_long_int____ptr64]
lea rcx, [rdi + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMutex::unlock_void____ptr64]
jmp 0x14001b3d0
lea rcx, [rdi + 0x18]
call fcn.140011f00
xor r9d, r9d
lea rdx, [0x1401cd0a8]
mov rcx, rax
lea r8d, [r9 + 4]
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject____ptr64__struct_QMetaObject_const____ptr64__int__void____ptr64____ptr64_]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140073120
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1401cd010]
xor rax, rsp
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14007317c
lea r8, [rsp + 0x38]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x1400731b8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.shutdown__r__f__t_00
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_static_bool___cdecl_QProcess::startDetached_class_QString_const____ptr64_]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400e88c0
add rsp, 0x68
ret
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 2
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
lea r9d, [rax + 0x10]
lea r8, [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140073176
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400e88c0
add rsp, 0x68
ret