joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140069e20
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rdi, rdx
lea rdx, [rsp + 0x50]
call fcn.1400631a0
nop
mov rcx, rax
call fcn.140021850
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x140069e79
cmp eax, 0xffffffff
je 0x140069e87
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x140069e87
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
test bl, bl
jne 0x140069ea5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 2
mov rcx, qword [rsp + 0x50]
mov qword [rdi], rcx
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140069ec0
Capabilities:
Move file

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov r14, r8
mov rax, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1400631a0
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1400631a0
mov rdi, rax
mov rcx, rsi
call fcn.140021850
mov rbx, rax
mov rcx, rdi
call fcn.140021850
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
or ebx, 0xffffffff
test eax, eax
je 0x140069f4e
cmp eax, ebx
je 0x140069f5d
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140069f5d
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140069f7b
cmp eax, 0xffffffff
je 0x140069f89
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140069f89
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
test dil, dil
jne 0x140069fa8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], 2
mov rcx, qword [rsp + 0x58]
mov qword [r14], rcx
movzx eax, dil
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x140069fd0
Capabilities:
Move file

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov r14, r8
mov rax, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1400631a0
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1400631a0
mov rdi, rax
mov rcx, rsi
call fcn.140021850
mov rbx, rax
mov rcx, rdi
call fcn.140021850
mov rcx, rax
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
or ebx, 0xffffffff
test eax, eax
je 0x14006a064
cmp eax, ebx
je 0x14006a073
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14006a073
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14006a091
cmp eax, 0xffffffff
je 0x14006a09f
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14006a09f
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
test dil, dil
jne 0x14006a0be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], 2
mov rcx, qword [rsp + 0x58]
mov qword [r14], rcx
movzx eax, dil
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x14006a0e0
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140078ef0
nop
mov rcx, rax
call fcn.140021850
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x14006a134
cmp eax, 0xffffffff
je 0x14006a142
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x14006a142
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
movzx eax, bl
add rsp, 0x30
pop rbx
ret
Function at 0x14006a850
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rdi, rdx
mov r14, rcx
xor bpl, bpl
xor esi, esi
call fcn.140062f10
test al, al
je 0x14006a914
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140062b10
mov rdx, qword [rax]
mov rcx, qword [rdx + 0x10]
movzx ecx, word [rdx + rcx]
call fcn.140020cc0
mov word [rsp + 0x80], ax
movzx ecx, ax
sub ecx, 0x41
mov ebx, 1
shl ebx, cl
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14006a8f4
cmp eax, 0xffffffff
je 0x14006a902
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x14006a902
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
and ebx, esi
setne bpl
neg ebx
sbb esi, esi
and esi, 0x14
jmp 0x14006aa13
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.1400631a0
nop
mov dword [rsp + 0x20], 7
lea rax, str._UNC
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x40], xmm0
mov ebx, 1
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x88]
call fcn.140020380
test al, al
je 0x14006a9de
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x10]
mov r9d, ebx
lea r8d, [rbx + 6]
movzx edx, word [rax + rcx]
lea rcx, [rsp + 0x88]
call fcn.14001ac40
mov r8d, eax
test eax, eax
jle 0x14006a9c5
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x10]
inc r8d
mov r9d, ebx
movzx edx, word [rax + rcx]
lea rcx, [rsp + 0x88]
call fcn.14001ac40
test eax, eax
jle 0x14006a9c5
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 4]
dec edx
cmp eax, edx
jne 0x14006a9e6
lea rcx, [rsp + 0x88]
call fcn.14006acd0
test al, al
je 0x14006a9de
mov esi, 0x10
movzx ebp, bl
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x14006aa05
cmp eax, 0xffffffff
je 0x14006aa13
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x14006aa13
mov rcx, qword [rsp + 0x88]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
test bpl, bpl
je 0x14006aa3c
mov dword [rdi + 0x10], esi
test sil, 0x10
mov ecx, 0x20000
mov eax, 0x40000
cmovne ecx, eax
or dword [rdi + 4], ecx
or dword [rdi + 4], 0x400000
or dword [rdi], 0x560000
movzx eax, bpl
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x14006aba0
Capabilities:
Enumerate network shares

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rsi, rdx
mov r15, rcx
xor r14d, r14d
mov dword [rax + 0x18], r14d
mov dword [rax - 0x48], r14d
mov dword [rax + 0x20], r14d
nop
mov rcx, r15
call fcn.140021850
mov rcx, rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
lea r8, [rsp + 0x50]
mov edx, 1
call sub.NETAPI32.dll_NetShareEnum
mov ebp, eax
test eax, eax
je 0x14006ac1f
cmp eax, 0xea
jne 0x14006ac99
mov rbx, qword [rsp + 0x50]
mov edi, 1
cmp dword [rsp + 0xa0], edi
jb 0x14006ac99
test rsi, rsi
je 0x14006ac8a
cmp dword [rbx + 8], 0
jne 0x14006ac8a
or r8d, 0xffffffff
mov rdx, qword [rbx]
lea rcx, [rsp + 0x48]
call fcn.140005580
nop
mov rdx, rax
mov rcx, rsi
call fcn.14000c140
nop
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x14006ac7c
cmp eax, 0xffffffff
je 0x14006ac8a
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14006ac8a
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
add rbx, 0x18
inc edi
cmp edi, dword [rsp + 0xa0]
jbe 0x14006ac32
mov rcx, qword [rsp + 0x50]
call sub.NETAPI32.dll_NetApiBufferFree
cmp ebp, 0xea
je 0x14006abd0
test ebp, ebp
sete al
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140077900
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r9d, r9d
mov r10, rcx
mov ecx, r9d
cmp rdx, 0x20
jb 0x140077987
mov qword [rsp + 0x10], rbx
lea r11, [r8 + 0x10]
mov qword [rsp], rdi
mov rbx, r10
sub rbx, r8
mov edi, 0x10
sub rdi, r8
nop
movdqu xmm1, xmmword [rbx + r11 - 0x10]
add rcx, 0x20
movdqu xmm2, xmmword [rbx + r11]
lea r11, [r11 + 0x20]
movdqa xmm0, xmm1
lea rax, [rdi + r11]
psrlw xmm1, 8
psllw xmm0, 8
pxor xmm0, xmm1
movdqa xmm1, xmm2
psllw xmm1, 8
psrlw xmm2, 8
pxor xmm1, xmm2
movdqu xmmword [r11 - 0x30], xmm0
movdqu xmmword [r11 - 0x20], xmm1
cmp rax, rdx
jbe 0x140077930
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
lea rax, [rcx + 0x10]
cmp rax, rdx
ja 0x1400779b1
movdqu xmm1, xmmword [rcx + r10]
movdqa xmm0, xmm1
psrlw xmm1, 8
psllw xmm0, 8
pxor xmm0, xmm1
movdqu xmmword [rcx + r8], xmm0
mov rcx, rax
cmp rcx, rdx
jae 0x1400779e3
sub r10, r8
lea rax, [rcx + r8]
neg r8
cmp r9, 0x10
jae 0x1400779e3
movzx ecx, word [rax + r10]
add r9, 2
rol cx, 8
mov word [rax], cx
add rax, 2
lea rcx, [r8 + rax]
cmp rcx, rdx
jb 0x1400779c0
mov rax, rdx
add rsp, 8
ret
Function at 0x140079960
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rdi, r8
mov rsi, rdx
cmp dword [rbx + 0xa4], 1
je 0x1400644e2
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rbx + 0xa4], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140079960
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x18]
mov rax, qword [rcx + 0x78]
test rax, rax
jne 0x140079a94
cmp dword [rcx + 0xa0], 0xffffffff
jne 0x140079a8f
cmp qword [rcx + 0x80], 0xffffffffffffffff
je 0x140079af8
mov rdi, r8
mov qword [r11 + 0x20], r8
xor r12d, r12d
mov ebx, r12d
lea r13, [0x1401da6f8]
nop word [rax + rax]
lea rax, [rsp + 0xa8]
cmp rdi, 0x2000000
cmovge rax, r13
lea rdx, [rbx + r14]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x90]
mov r8d, dword [rax]
mov rcx, qword [rsi + 0x80]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140079a28
mov eax, dword [rsp + 0x90]
test eax, eax
je 0x140079a8a
add rbx, rax
sub rdi, rax
mov qword [rsp + 0xa8], rdi
cmp rbx, rbp
jge 0x140079a8a
jmp 0x1400799d0
test rbx, rbx
jne 0x140079a8a
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.14004b9a0
nop
mov r8, rax
lea edx, [rbx + 1]
mov rcx, r15
call fcn.140062800
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x140079a73
cmp eax, 0xffffffff
je 0x140079af8
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140079af8
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
or rax, 0xffffffffffffffff
jmp 0x140079b0c
mov rax, rbx
jmp 0x140079b0c
test rax, rax
je 0x140079afe
call fcn.1400796b0
test al, al
je 0x140079afe
mov rcx, qword [rsi + 0x78]
call fcn.1401173d8
test eax, eax
je 0x140079afe
or edx, 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.14004bb40
nop
mov r8, rax
mov edx, 1
mov rcx, r15
call fcn.140062800
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x140079aea
cmp eax, 0xffffffff
je 0x140079af8
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140079af8
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
or rax, 0xffffffffffffffff
jmp 0x140079b0c
mov r8, rbp
mov rdx, r14
mov rcx, rsi
call fcn.140064500
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140079d20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rdi, r8
mov rsi, rdx
and dword [rbx + 0x40], 0xfdffffff
cmp dword [rbx + 0xa4], 2
je 0x140064c59
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rbx + 0xa4], 2
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140079d20
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x18]
cmp qword [rcx + 0x78], 0
jne 0x140079e49
cmp dword [rcx + 0xa0], 0xffffffff
jne 0x140079e49
cmp qword [rcx + 0x80], 0xffffffffffffffff
je 0x140079e3e
mov rdi, r8
mov qword [rax + 0x20], r8
xor r12d, r12d
mov ebx, r12d
mov qword [rax - 0x40], 0x2000000
nop word [rax + rax]
lea rax, [rsp + 0x98]
lea rcx, [rsp + 0x38]
cmp rdi, 0x2000000
cmovge rax, rcx
lea rdx, [rbx + r14]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x80]
mov r8d, dword [rax]
mov rcx, qword [rsi + 0x80]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140079ded
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x140079e44
add rbx, rax
sub rdi, rax
mov qword [rsp + 0x98], rdi
cmp rbx, rbp
jge 0x140079e44
jmp 0x140079d90
test rbx, rbx
jne 0x140079e44
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.14004b9a0
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r15
call fcn.140062800
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x140079e30
cmp eax, 0xffffffff
je 0x140079e3e
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140079e3e
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
or rax, 0xffffffffffffffff
jmp 0x140079e4e
mov rax, rbx
jmp 0x140079e4e
call fcn.140064c80
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14007a4b0
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rdx
mov rdi, rcx
mov rax, qword [rcx + 8]
mov rsi, qword [rax + 0x80]
cmp rsi, 0xffffffffffffffff
jne 0x14007a63a
cmp dword [rax + 0xa0], esi
jne 0x14007a60e
cmp qword [rax + 0x78], 0
jne 0x14007a60e
lea rcx, [rax + 0x20]
mov rax, qword [rcx]
cmp dword [rax + 4], 0
jne 0x14007a513
mov rax, qword [rcx + 8]
cmp dword [rax + 4], 0
je 0x14007a687
lea rdx, [rsp + 0x80]
call fcn.140062b10
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140012b10
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
or esi, 0xffffffff
test eax, eax
je 0x14007a55c
cmp eax, esi
je 0x14007a56a
mov eax, esi
lock xadd dword [rcx], eax
mov rbx, qword [rsp + 0x78]
cmp eax, 1
jne 0x14007a56a
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
mov dword [rsp + 0x70], 3
mov edx, 3
lea rcx, [rsp + 0x28]
call fcn.140013580
test al, al
je 0x14007a602
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400142b0
movzx ebx, al
test al, al
jne 0x14007a5f0
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x28]
call fcn.140034a70
nop
mov r8, rax
mov edx, 0xc
mov rcx, rdi
call fcn.140062800
nop
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x14007a5e1
cmp eax, 0xffffffff
je 0x14007a5f0
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x14007a5f0
mov rcx, qword [rsp + 0x88]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
nop
lea rcx, [rsp + 0x28]
call fcn.140012be0
movzx eax, bl
jmp 0x14007a689
lea rcx, [rsp + 0x28]
call fcn.140012be0
jmp 0x14007a687
cmp rsi, 0xffffffffffffffff
jne 0x14007a63a
mov rcx, qword [rax + 0x78]
test rcx, rcx
je 0x14007a626
call fcn.14011a37c
mov ecx, eax
jmp 0x14007a62c
mov ecx, dword [rax + 0xa0]
call fcn.140119bec
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14007a687
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x30]
mov rbp, rax
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [r8 + 0x38]
test al, al
je 0x14007a67b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14007a67b
mov rax, qword [rdi]
cmp rbp, rbx
cmovl rbx, rbp
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x38]
mov al, 1
jmp 0x14007a689
mov rax, qword [rdi]
mov rdx, rbp
mov rcx, rdi
call qword [rax + 0x38]
xor al, al
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400851a0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x1f8], 0
mov rdi, rdx
mov rbx, rcx
je 0x1400851da
mov rcx, qword [rcx + 0x1f8]
mov qword [rsp + 0x60], rdx
test rcx, rcx
je 0x140085291
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x10]
mov rax, qword [rdi + 0x40]
movzx ecx, byte [rdi + 0x20]
mov r9, qword [rdi + 0x18]
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x40], rax
mov rax, qword [rdi + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x30], rax
mov eax, dword [rdi + 0x24]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rbx + 0x120]
test eax, eax
setne dil
cmp rcx, 0xffffffffffffffff
je 0x140085246
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x120], 0xffffffffffffffff
mov rcx, qword [rbx + 0x160]
cmp rcx, 0xffffffffffffffff
je 0x140085264
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x160], 0xffffffffffffffff
mov rcx, qword [rbx + 0x198]
cmp rcx, 0xffffffffffffffff
je 0x140085282
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x198], 0xffffffffffffffff
movzx eax, dil
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call fcn.1401084c4
int3
Function at 0x140086850
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x1402f1140]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor r13d, r13d
mov dword [rsp + 0x68], 0x18
test dl, dl
mov qword [rsp + 0x70], r13
mov rsi, rcx
mov dword [rsp + 0x78], r13d
mov ecx, 0x100000
mov r15d, r13d
cmove r15d, ecx
movzx eax, dl
neg al
mov r14d, r13d
movzx ebp, dl
mov edi, 0x3e8
sbb r12d, r12d
and r12d, ecx
test dl, dl
setne r14b
nop dword [rax + rax]
call fcn.1400b7500
lea r8, [rsp + 0x44]
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1400b7360
mov ebx, dword [rsp + 0x40]
call fcn.140047460
mov r9, rax
mov dword [rsp + 0x20], ebx
lea r8, str..pipeqt__lX__X
mov edx, 0x100
lea rcx, [rsp + 0x80]
call fcn.140088220
mov r9d, 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea edx, [r14 + 0x40000001]
mov dword [rsp + 0x30], r13d
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x28], r15d
lea r8d, [r9 + 7]
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14008696a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x140086957
add edi, 0xffffffff
jne 0x1400868c0
lea rdx, str.QProcess:_CreateNamedPipe_failed.
mov ecx, eax
call fcn.140010330
jmp 0x140086a7d
mov edx, 0x40000000
mov qword [rsp + 0x30], r13
mov eax, 0x80000100
mov dword [rsp + 0x28], 0x40000000
test bpl, bpl
mov dword [rsp + 0x78], 1
lea r9, [rsp + 0x68]
mov dword [rsp + 0x20], 3
cmovne edx, eax
lea rcx, [rsp + 0x80]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400869d0
lea rcx, str.QProcess:_CreateFile_failed.
call fcn.1400104e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140086a7d
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea edx, [rax + 1]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rdx, [rsp + 0x48]
mov rcx, rbx
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x140086a5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x140086a5d
cmp eax, 0x3e5
je 0x140086a4f
lea rdx, str.QProcess:_ConnectNamedPipe_failed.
mov ecx, eax
call fcn.140010330
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140086a7d
mov rcx, qword [rsp + 0x60]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bpl, bpl
je 0x140086a76
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
jmp 0x140086a7d
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14010a180
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140088840
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rdi, qword [rcx + 8]
movzx esi, dl
mov rbp, rcx
cmp byte [rdi + 0x84], dl
je 0x140088935
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x70], r14
mov byte [rdi + 0x84], dl
mov r14, qword [rax + 0x48]
test r14, r14
jne 0x14008889c
test dl, dl
jne 0x140088930
cmp qword [rdi + 0x78], r14
je 0x140088930
mov rcx, rdi
mov r14, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
jmp fcn.140088940
mov qword [rsp + 0x60], rbx
call fcn.140061b90
mov rbx, rax
call fcn.140056680
cmp rbx, rax
mov rbx, qword [rsp + 0x60]
je 0x1400888f4
xorps xmm0, xmm0
mov qword [rsp + 0x20], 2
lea rax, str.default
lea rdx, str.QWinEventNotifier:_Event_notifiers_cannot_be_enabled_or_disabled_from_another_thread
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x28], xmm0
call fcn.1400128c0
mov r14, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov rdx, rbp
mov rcx, r14
test sil, sil
je 0x140088927
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rdi + 0x80], eax
mov rax, qword [r14]
mov r14, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
jmp qword [rax + 0xa0]
mov rax, qword [r14]
call qword [rax + 0xa8]
mov r14, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140088940
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
or rdx, 0xffffffffffffffff
mov rcx, qword [rcx + 0x78]
call qword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
test eax, eax
je 0x140088969
mov qword [rbx + 0x78], 0
add rsp, 0x20
pop rbx
ret
lea rcx, str.QWinEventNotifier:_UnregisterWaitEx_failed.
add rsp, 0x20
pop rbx
jmp fcn.1400104e0

Function at 0x140089000
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
test r8, r8
je 0x140089036
nop dword [rax]
movzx eax, word [r9]
lea r9, [r9 + 2]
shl edx, 4
add edx, eax
mov eax, edx
shr edx, 0x17
and edx, 0x1e0
xor edx, eax
and edx, 0xfffffff
sub r8, 1
jne 0x140089010
mov eax, edx
ret