joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6dac0b50
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6dac0b60
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6dac0b70
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6dac0bb1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6dac0ba8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6dac0bb3
add rax, 0x28
cmp rax, r9
jne 0x6dac0b94
xor eax, eax
ret

Function at 0x6dac0c50
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6dade1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6dac0cbd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6dac0cbd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6dac0cbd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6dac0cb4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6dac0cbf
add rax, 0x28
cmp rax, r9
jne 0x6dac0ca0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6dac0dc0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6dade1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6dac0de0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6dac0dd8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6dac0e3d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6dac0e34
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6dac0e44
add rax, 0x28
cmp rax, r9
jne 0x6dac0e20
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6dac0e60
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6dade1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6dac0ece
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6dac0ece
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6dac0ece
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6dac0ece
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6dac0ec5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6dac0ed5
add rcx, 0x28
cmp rcx, rax
jne 0x6dac0eb0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6dac0ee8
jmp 0x6dac0ece
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6dac0ef6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6dac0ece
test r9d, r9d
jg 0x6dac0ee0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6dac1230
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1400246a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x14008e3a8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
mov ebx, 1
test dl, dl
jne 0x1400246e1
cmp qword [rcx + 0x10], 0
jne 0x140024731
xor eax, eax
jmp 0x140024856
and dword [rsp + 0x28], 0
lea rax, str.TargetNtMapViewOfSection64
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, str.NtMapViewOfSection
lea rdx, [0x1400780d0]
call fcn.140023ebc
lea rax, str.TargetNtUnmapViewOfSection64
mov dword [rsp + 0x28], ebx
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, str.NtUnmapViewOfSection
mov rcx, rdi
lea rdx, [0x1400780d0]
call fcn.140023ebc
mov rax, qword [rdi]
xor edx, edx
mov r9d, 0x2000
mov dword [rsp + 0x20], ebx
mov r8d, 0x10000
mov rbp, qword [rax]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, qword [rdi + 0x10]
mov rbx, rax
shl rsi, 6
add rsi, 0x60
mov rcx, rsi
call fcn.1400241b0
mov r14, rax
mov dword [rsp + 0x20], 0x40
mov rdx, rax
lea r8, [rsi + 0xfff]
mov rax, 0xfffffffffffff000
mov r9d, 0x1000
and rdx, rax
and r8, rax
add rdx, rbx
mov rcx, rbp
and r14d, 0xfff
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
jne 0x1400247aa
int3
and dword [rsp + 0x58], 0
lea rbx, [r14 + rax]
mov r14d, 0x20
mov qword [rsp + 0x40], rsi
xor edx, edx
mov qword [rsp + 0x48], r14
mov r8d, 0x150
lea rcx, [sym.QtWebEngineProcess.exe_g_originals]
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x40]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.1400243b8
test eax, eax
jne 0x140024856
lea rax, [rsp + 0x38]
mov r9d, r14d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140024851
cmp qword [rsp + 0x38], r14
jne 0x140024851
lea rax, [rsp + 0x30]
mov r9d, r14d
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rdi]
lea r8, [sym.QtWebEngineProcess.exe_g_originals]
mov r9d, 0x150
lea rdx, str.g_originals
call fcn.14003be84
jmp 0x140024856
mov eax, 0x2a
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140075580
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140025b68
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, qword [rsp + 0x98]
or rbp, 0xffffffffffffffff
mov r11d, r9d
mov r10, r8
mov qword [rbx], rbp
cmp ecx, 3
jne 0x140025c3a
cmp qword [r8 + 0x18], 8
jb 0x140025ba4
mov r10, qword [r8]
and qword [rsp + 0x38], 0
mov rcx, r10
mov eax, dword [rsp + 0x90]
mov rsi, qword [rdx]
mov edx, r11d
mov r9d, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rdi, rax
cmp rax, rbp
jne 0x140025bf1
mov rcx, rbp
jmp 0x140025c2e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 3
lea r9, [rsp + 0x98]
and dword [rsp + 0x28], 0
mov rcx, rax
and dword [rsp + 0x20], 0
mov r8, rsi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x98]
test eax, eax
cmove rcx, rbp
mov qword [rbx], rcx
cmp rcx, rbp
je 0x140025c3a
xor eax, eax
jmp 0x140025c3f
mov eax, 5
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14002afac
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x4f]
sub rsp, 0xd0
mov rax, qword [0x14008e3a8]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov qword [rbp - 0x39], rdx
mov rdi, r8
test r9d, r9d
je 0x14002afe7
mov eax, 0xc000000d
jmp 0x14002b13f
call fcn.140032e88
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14003bfcc
test al, al
je 0x14002b13a
call fcn.1400336dc
mov rbx, rax
test rax, rax
je 0x14002b13a
and qword [rsp + 0x28], 0
xorps xmm0, xmm0
xor r9d, r9d
mov dword [rsp + 0x20], 0x1000
xor edx, edx
mov r8d, 0x8000004
or rcx, 0xffffffffffffffff
movdqu xmmword [rbp - 0x51], xmm0
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140019778
mov rcx, qword [rbp - 0x51]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002b07d
xor r9d, r9d
mov qword [rsp + 0x20], 0x1000
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rax
mov qword [rbp - 0x49], rax
jmp 0x14002b081
mov rcx, qword [rbp - 0x49]
mov rax, qword [rbp - 0x51]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14002b0f7
test rcx, rcx
je 0x14002b0f7
mov r8d, 0x1000
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
xor edx, edx
lea rcx, [rbp - 0x21]
lea r8d, [rdx + 0x58]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
lea rcx, [rbp - 0x31]
call fcn.1400388c0
mov rax, qword [rbp - 0x51]
lea r9, [rbp - 0x41]
mov qword [rbp - 0x41], rax
lea r8, [rbp - 0x39]
lea rax, [rbp - 0x21]
mov edx, 0x1d
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x20], rax
call fcn.14002a0f4
mov rcx, qword [rbp - 0x49]
test eax, eax
je 0x14002b0f2
mov ebx, 0xc0000022
jmp 0x14002b0fc
mov ebx, dword [rbp - 0x19]
jmp 0x14002b0fc
mov ebx, 0xc000000d
test rcx, rcx
je 0x14002b107
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp - 0x51]
dec rcx
cmp rcx, 0xfffffffffffffffd
ja 0x14002b136
call fcn.14003fad0
mov r8, qword [rbp + 0x57]
lea rdx, [rbp - 0x51]
mov rcx, qword [rbp - 0x51]
mov r9, rax
call fcn.14003fcb0
mov rcx, qword [rbp - 0x51]
call fcn.14003fc30
mov eax, ebx
jmp 0x14002b13f
mov eax, 0xc0000022
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140075580
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14002b684
Capabilities:
Read file via mapping

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x14008e3a8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, r9
mov qword [rbp - 0x51], rdx
mov r14, r8
call fcn.140032e88
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14003bfcc
test al, al
je 0x14002b821
call fcn.1400336dc
mov rdi, rax
test rax, rax
je 0x14002b821
and qword [rsp + 0x28], 0
xorps xmm0, xmm0
xor r9d, r9d
mov dword [rsp + 0x20], 0x1010
xor edx, edx
mov r8d, 0x8000004
or rcx, 0xffffffffffffffff
movdqu xmmword [rbp - 0x69], xmm0
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.140019778
mov rcx, qword [rbp - 0x69]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002b745
xor r9d, r9d
mov qword [rsp + 0x20], 0x1010
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
mov qword [rbp - 0x61], rax
jmp 0x14002b749
mov rbx, qword [rbp - 0x61]
mov rax, qword [rbp - 0x69]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14002b7db
test rbx, rbx
je 0x14002b7db
mov r8d, 0x1010
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
xor edx, edx
lea rcx, [rbp - 0x39]
lea r8d, [rdx + 0x58]
call sub.VCRUNTIME140.dll_memset
mov rdx, rdi
lea rcx, [rbp - 0x49]
call fcn.1400388c0
mov rax, qword [rbp - 0x69]
lea r9, [rbp - 0x59]
mov qword [rbp - 0x59], rax
lea r8, [rbp - 0x51]
lea rax, [rbp - 0x39]
mov edx, 0x1e
lea rcx, [rbp - 0x49]
mov qword [rsp + 0x20], rax
call fcn.14002a0f4
mov rbx, qword [rbp - 0x61]
test eax, eax
je 0x14002b7c1
mov edi, 0xc0000022
jmp 0x14002b7e0
mov edi, dword [rbp - 0x31]
test edi, edi
jne 0x14002b7e0
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14002b7e0
mov edi, 0xc000000d
test rbx, rbx
je 0x14002b7ee
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp - 0x69]
dec rcx
cmp rcx, 0xfffffffffffffffd
ja 0x14002b81d
call fcn.14003fad0
mov r8, qword [rbp + 0x5f]
lea rdx, [rbp - 0x69]
mov rcx, qword [rbp - 0x69]
mov r9, rax
call fcn.14003fcb0
mov rcx, qword [rbp - 0x69]
call fcn.14003fc30
mov eax, edi
jmp 0x14002b826
mov eax, 0xc0000022
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140075580
add rsp, 0xd0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14002db14
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x218]
sub rsp, 0x318
mov rax, qword [0x14008e3a8]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rax, qword [rbp + 0x298]
mov r12, r9
mov r14, qword [rbp + 0x2a0]
mov rdi, r8
mov r13, qword [rbp + 0x280]
mov rbx, rdx
mov rsi, qword [rbp + 0x2b0]
mov r15, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x2a8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x68], r14
call fcn.140032e88
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14003bfd4
test al, al
je 0x14002dbf1
mov rax, qword [rsp + 0x58]
mov r9, r13
mov qword [rsp + 0x48], rsi
mov r8, r12
mov qword [rsp + 0x40], rax
mov rdx, rdi
mov rax, qword [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x290]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x288]
mov dword [rsp + 0x20], eax
call r15
xor r14d, r14d
test eax, eax
jne 0x14002dce1
jmp 0x14002dbf4
xor r14d, r14d
call fcn.140032e88
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14003bfcc
test al, al
je 0x14002dcf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 1
mov rcx, rsi
mov edi, eax
lea r15d, [r8 + 0x17]
mov edx, r15d
call fcn.140033c14
test al, al
je 0x14002dce8
call fcn.1400336dc
mov rbx, rax
test rax, rax
je 0x14002dce8
lea rdx, [rbp - 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rbp - 0x10]
mov rdx, rbx
dec eax
cmp eax, 0x102
cmova rcx, r14
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x80]
call fcn.1400388c0
xor edx, edx
lea r8d, [r15 + 0x40]
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 0x70]
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x78]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea edx, [r15 - 0xb]
lea rax, [rsp + 0x50]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call fcn.14002d694
test eax, eax
jne 0x14002dce8
mov ecx, dword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [rbp - 0x68], r14d
jne 0x14002dcf0
mov eax, 1
jmp 0x14002dcf2
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140075580
add rsp, 0x318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14002e3d8
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
movzx r10d, byte [rsp + 0x90]
mov r11, r9
mov rdi, qword [rsp + 0xb8]
mov rbx, r8
mov r9, qword [rsp + 0x88]
mov sil, dl
mov r8, qword [rsp + 0x80]
mov rbp, rcx
mov qword [rax - 0x10], rdi
mov rdx, r11
mov rax, qword [rsp + 0xb0]
mov rcx, rbx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14002e4b9
mov al, sil
neg al
sbb ebx, ebx
and ebx, 0xfe3fe
add ebx, 0x101c01
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rdi]
mov r9, rdi
mov dword [rsp + 0x30], 1
mov rcx, rax
and dword [rsp + 0x28], 0
mov r8, rbp
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
lea r14, [rdi + 8]
mov rdi, qword [r14]
test eax, eax
jne 0x14002e4d6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
neg sil
sbb ebx, ebx
and ebx, 0xff3bc
add ebx, 0x100c43
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 1
mov r9, r14
and dword [rsp + 0x28], 0
mov rcx, rax
mov r8, rbp
mov dword [rsp + 0x20], ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14002e4b9
mov al, 1
jmp 0x14002e4bb

Function at 0x14002e628
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x78]
mov rbx, rcx
mov rdi, qword [rsp + 0x80]
mov qword [r11 - 0x18], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x28], eax
and qword [rdi], 0
mov rcx, qword [rcx]
mov qword [r11 - 0x28], r9
mov r9, r8
mov r8, rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rsi, rax
test rax, rax
jne 0x14002e67d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14002e6b0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rbx]
mov r9, rdi
mov dword [rsp + 0x30], 3
mov rcx, rax
and dword [rsp + 0x28], 0
mov rdx, rsi
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
neg eax
sbb eax, eax
not eax
and eax, 5
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14003836c
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x28
mov edx, 4
call sub.ADVAPI32.dll_SystemFunction036
test al, al
setne al
add rsp, 0x28
ret
Function at 0x14003b590
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.140041570
test al, al
je 0x14003b5c2
mov rcx, qword [rbx]
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdi, qword [rbx + 0x38]
and qword [rbx + 0x38], 0
test rdi, rdi
je 0x14003b5e0
mov rcx, rdi
call fcn.140038cfc
mov rcx, rdi
call fcn.1400755a4
lea rcx, [rbx + 0x58]
call fcn.1400198b8
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x14003b5f8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [rbx + 0x38]
test rdi, rdi
je 0x14003b611
mov rcx, rdi
call fcn.140038cfc
mov rcx, rdi
call fcn.1400755a4
lea rdi, [rbx + 0x28]
mov rax, qword [rdi]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14003b645
call fcn.14003fad0
mov r8, qword [rsp + 0x28]
mov r9, rax
mov rcx, qword [rdi]
mov rdx, rdi
call fcn.14003fcb0
mov rcx, qword [rdi]
call fcn.14003fc30
and qword [rdi], 0
lea rdi, [rbx + 0x20]
mov rax, qword [rdi]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14003b679
call fcn.14003fad0
mov r8, qword [rsp + 0x28]
mov r9, rax
mov rcx, qword [rdi]
mov rdx, rdi
call fcn.14003fcb0
mov rcx, qword [rdi]
call fcn.14003fc30
and qword [rdi], 0
lea rdi, [rbx + 0x18]
mov rax, qword [rdi]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14003b6ad
call fcn.14003fad0
mov r8, qword [rsp + 0x28]
mov r9, rax
mov rcx, qword [rdi]
mov rdx, rdi
call fcn.14003fcb0
mov rcx, qword [rdi]
call fcn.14003fc30
and qword [rdi], 0
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140041350
Function at 0x14003be60
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140041570
test al, al
je 0x14003be7d
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x20
pop rbx
ret
Function at 0x14003e294
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, r9
lea rax, [r11 - 0x18]
mov rbx, r8
mov qword [r11 - 0x28], rax
mov r8, rdi
mov r9d, 8
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14003e322
lea rax, [rsp + 0x38]
mov r9, rdi
mov r8, rbx
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14003e2fa
cmp rdi, qword [rsp + 0x38]
jne 0x14003e2fa
mov bl, 1
jmp 0x14003e2fc
xor bl, bl
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14003e322
mov al, bl
jmp 0x14003e324
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14003eb00
Capabilities:
Read file via mapping

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, qword [0x14008e678]
jmp sym.QtWebEngineProcess.exe_TargetGetOPMInformation

Function at 0x140041fb0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov rax, qword gs:[0x58]
mov ecx, dword [0x140091658]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x14008e920], eax
jg 0x140041fe3
lea rax, [0x14008e8f0]
add rsp, 0x58
ret
lea rcx, [0x14008e920]
call fcn.1400753bc
cmp dword [0x14008e920], 0xffffffff
jne 0x140041fd7
xor eax, eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movups xmm0, xmmword [rsp + 0x20]
lea rcx, [0x14008e920]
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [0x14008e8f0], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [0x14008e900], xmm1
movups xmmword [0x14008e910], xmm0
call fcn.14007535c
jmp 0x140041fd7
Function at 0x1400433a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14008e3a8]
xor rax, rsp
mov qword [rsp + 0x250], rax
cmp qword [0x14008e960], 0
jne 0x14004360a
mov rbx, qword [0x14008e958]
xor esi, esi
lea rdi, [rsi - 1]
test rbx, rbx
jne 0x1400434cc
lea ecx, [rsi + 0x20]
call fcn.140075198
mov rbx, rax
test rax, rax
je 0x1400434c2
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rbx + 0x10], rsi
lea rax, [rsp + 0x40]
mov qword [rbx + 0x18], 7
mov r8, rdi
mov word [rbx], si
inc r8
cmp word [rax + r8*2], si
jne 0x140043426
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001d5a8
cmp qword [rbx + 0x18], 8
mov rdx, rbx
mov r8, qword [rbx + 0x10]
jb 0x14004344e
mov rdx, qword [rbx]
test r8, r8
je 0x1400434ab
lea rcx, [r8 - 1]
mov rax, r8
cmp rcx, r8
cmovb rax, rcx
cmp word [rdx + rax*2], 0x5c
lea rcx, [rdx + rax*2]
je 0x14004347f
nop dword [rax]
cmp rcx, rdx
je 0x1400434ab
sub rcx, 2
cmp word [rcx], 0x5c
jne 0x140043470
sub rcx, rdx
sar rcx, 1
cmp rcx, rdi
je 0x1400434ab
inc rcx
cmp r8, rcx
jb 0x140043631
mov qword [rbx + 0x10], rcx
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400434a7
mov rax, qword [rbx]
mov word [rax + rcx*2], si
mov r8d, 9
lea rdx, str.debug.log
mov rcx, rbx
call fcn.14002f198
jmp 0x1400434c5
mov rbx, rsi
mov qword [0x14008e958], rbx
test byte [0x14008d004], 1
je 0x14004360a
cmp qword [rbx + 0x18], 8
jb 0x1400434e3
mov rbx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov rcx, rbx
mov dword [rsp + 0x20], 4
lea edx, [r9 + 4]
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14008e960], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x14004360a
lea rdx, [rsp + 0x40]
mov word [rsp + 0x40], si
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x103
ja 0x140043606
lea rax, [rsp + 0x40]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], si
jne 0x140043550
mov rcx, qword [0x14008e958]
lea rdx, [rsp + 0x40]
mov r8, rdi
call fcn.14001d5a8
mov rcx, qword [0x14008e958]
mov rdx, rcx
cmp qword [rcx + 0x18], 8
jb 0x140043581
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1400435a6
mov r8d, 1
lea rdx, [0x1400782d0]
call fcn.14002f198
mov rcx, qword [0x14008e958]
mov r8d, 9
lea rdx, str.debug.log
call fcn.14002f198
mov rcx, qword [0x14008e958]
cmp qword [rcx + 0x18], 8
jb 0x1400435c9
mov rcx, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
lea edx, [r9 + 4]
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14008e960], rax
dec rax
cmp rax, 0xfffffffffffffffd
jbe 0x14004360a
mov qword [0x14008e960], rsi
xor al, al
jmp 0x14004360c
mov al, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140075580
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140020a50
int3