joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ba4c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140186144]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x1400ba650
mov rax, qword [0x140186148]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x1400ba50c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x1400ba595
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x1400ba4f0
mov rcx, rdi
call fcn.1400bb020
test rax, rax
mov r12, rax
je 0x1400ba6a2
mov rax, qword [0x140186148]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.1400bb160
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140186148]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400ba685
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400ba58e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400ba600
add dword [0x140186144], 1
cmp ebx, 8
jae 0x1400ba5c1
test bl, 4
jne 0x1400ba660
test ebx, ebx
je 0x1400ba5b6
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x1400ba674
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x1400ba5b6
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x1400ba5da
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x140186148]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400ba58e
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400ba450
xor esi, esi
jmp 0x1400ba517
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x1400ba5b6
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x1400ba5b6
mov rax, qword [0x140186148]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.1400ba450
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.1400ba450
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x1400bac70
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1401861a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140186180]
test rbx, rbx
je 0x1400bacc4
mov rbp, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rdi, qword [sym.imp.kernel32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400bacbb
test rsi, rsi
je 0x1400bacbb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400baca0
lea rcx, [0x1401861a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400bb020
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140173a80]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x1400bb08f
mov rcx, r9
call fcn.1400baef0
test eax, eax
je 0x1400bb08f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x1400bb08d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400bb084
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400bb08f
add rdx, 0x28
cmp rdx, r9
jne 0x1400bb070
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140007000
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [rcx - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [rbp - 1]
vmovups xmm15, xmmword [rcx - 0x70]
lea r12, [rcx - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x140007120
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x140007060
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x140007060
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rdi]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rdi + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rdi + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rdi + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rdi + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rdi + 0x50]
lea rdi, [rdi + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rsi], xmm9
vmovups xmmword [rsi + 0x10], xmm10
vmovups xmmword [rsi + 0x20], xmm11
vmovups xmmword [rsi + 0x30], xmm12
vmovups xmmword [rsi + 0x40], xmm13
vmovups xmmword [rsi + 0x50], xmm14
lea rsi, [rsi + 0x60]
repz ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x140007060
Function at 0x140023b54
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 [0x1400893e8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
mov ebx, 1
test dl, dl
jne 0x140023b95
cmp qword [rcx + 0x10], 0
jne 0x140023be5
xor eax, eax
jmp 0x140023d0a
and dword [rsp + 0x28], 0
lea rax, str.TargetNtMapViewOfSection64
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, str.NtMapViewOfSection
lea rdx, [0x1400730d8]
call fcn.1400232e8
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, [0x1400730d8]
call fcn.1400232e8
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.140023664
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 0x140023c5e
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.140023854
test eax, eax
jne 0x140023d0a
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 0x140023d05
cmp qword [rsp + 0x38], r14
jne 0x140023d05
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.140039d58
jmp 0x140023d0a
mov eax, 0x2a
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400707e0
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 0x140025028
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, qword [rsp + 0x98]
mov r11d, r9d
mov r10, r8
or qword [rbx], 0xffffffffffffffff
cmp ecx, 3
jne 0x1400250f1
cmp qword [r8 + 0x18], 8
jb 0x14002505c
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, 0xffffffffffffffff
je 0x1400250ed
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]
test eax, eax
je 0x1400250ed
mov rax, qword [rsp + 0x98]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x1400250f1
xor eax, eax
jmp 0x1400250f6
or qword [rbx], 0xffffffffffffffff
mov eax, 5
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140029b28
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 [0x1400893e8]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov qword [rbp - 0x39], rdx
mov rdi, r8
test r9d, r9d
je 0x140029b63
mov eax, 0xc000000d
jmp 0x140029cbb
call fcn.140031eb0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140039ea0
test al, al
je 0x140029cb6
call fcn.140032704
mov rbx, rax
test rax, rax
je 0x140029cb6
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.14001977c
mov rcx, qword [rbp - 0x51]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140029bf9
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 0x140029bfd
mov rcx, qword [rbp - 0x49]
mov rax, qword [rbp - 0x51]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140029c73
test rcx, rcx
je 0x140029c73
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.14003651c
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.140028b8c
mov rcx, qword [rbp - 0x49]
test eax, eax
je 0x140029c6e
mov ebx, 0xc0000022
jmp 0x140029c78
mov ebx, dword [rbp - 0x19]
jmp 0x140029c78
mov ebx, 0xc000000d
test rcx, rcx
je 0x140029c83
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp - 0x51]
dec rcx
cmp rcx, 0xfffffffffffffffd
ja 0x140029cb2
call fcn.14003e760
mov r8, qword [rbp + 0x57]
lea rdx, [rbp - 0x51]
mov rcx, qword [rbp - 0x51]
mov r9, rax
call fcn.14003e9b0
mov rcx, qword [rbp - 0x51]
call fcn.14003e930
mov eax, ebx
jmp 0x140029cbb
mov eax, 0xc0000022
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400707e0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14002a234
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 [0x1400893e8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, r9
mov qword [rbp - 0x51], rdx
mov r14, r8
call fcn.140031eb0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140039ea0
test al, al
je 0x14002a3d1
call fcn.140032704
mov rdi, rax
test rax, rax
je 0x14002a3d1
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.14001977c
mov rcx, qword [rbp - 0x69]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002a2f5
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 0x14002a2f9
mov rbx, qword [rbp - 0x61]
mov rax, qword [rbp - 0x69]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14002a38b
test rbx, rbx
je 0x14002a38b
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.14003651c
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.140028b8c
mov rbx, qword [rbp - 0x61]
test eax, eax
je 0x14002a371
mov edi, 0xc0000022
jmp 0x14002a390
mov edi, dword [rbp - 0x31]
test edi, edi
jne 0x14002a390
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14002a390
mov edi, 0xc000000d
test rbx, rbx
je 0x14002a39e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp - 0x69]
dec rcx
cmp rcx, 0xfffffffffffffffd
ja 0x14002a3cd
call fcn.14003e760
mov r8, qword [rbp + 0x5f]
lea rdx, [rbp - 0x69]
mov rcx, qword [rbp - 0x69]
mov r9, rax
call fcn.14003e9b0
mov rcx, qword [rbp - 0x69]
call fcn.14003e930
mov eax, edi
jmp 0x14002a3d6
mov eax, 0xc0000022
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400707e0
add rsp, 0xd0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14002c7e8
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 [0x1400893e8]
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.140031eb0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140039ea8
test al, al
je 0x14002c8c5
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 0x14002c9b5
jmp 0x14002c8c8
xor r14d, r14d
call fcn.140031eb0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140039ea0
test al, al
je 0x14002c9c4
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.140032c3c
test al, al
je 0x14002c9bc
call fcn.140032704
mov rbx, rax
test rax, rax
je 0x14002c9bc
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.14003651c
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.14002c364
test eax, eax
jne 0x14002c9bc
mov ecx, dword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [rbp - 0x68], r14d
jne 0x14002c9c4
mov eax, 1
jmp 0x14002c9c6
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400707e0
add rsp, 0x318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14002d0b4
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 0x14002d195
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 0x14002d1b2
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 0x14002d195
mov al, 1
jmp 0x14002d197

Function at 0x14002d304
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 0x14002d359
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14002d38c
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 0x140035fdc
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 0x140039478
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.1400403d0
test al, al
je 0x1400394aa
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 0x1400394c8
mov rcx, rdi
call fcn.14003693c
mov rcx, rdi
call fcn.140070804
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x14003950b
mov rdx, qword [rbx + 0x68]
movabs rax, 0x7878787878787879
sub rdx, rcx
imul rdx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x44
call fcn.140018744
and qword [rbx + 0x58], 0
and qword [rbx + 0x60], 0
and qword [rbx + 0x68], 0
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x14003951a
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [rbx + 0x38]
test rdi, rdi
je 0x140039533
mov rcx, rdi
call fcn.14003693c
mov rcx, rdi
call fcn.140070804
lea rdi, [rbx + 0x28]
mov rax, qword [rdi]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140039567
call fcn.14003e760
mov r8, qword [rsp + 0x28]
mov r9, rax
mov rcx, qword [rdi]
mov rdx, rdi
call fcn.14003e9b0
mov rcx, qword [rdi]
call fcn.14003e930
and qword [rdi], 0
lea rdi, [rbx + 0x20]
mov rax, qword [rdi]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14003959b
call fcn.14003e760
mov r8, qword [rsp + 0x28]
mov r9, rax
mov rcx, qword [rdi]
mov rdx, rdi
call fcn.14003e9b0
mov rcx, qword [rdi]
call fcn.14003e930
and qword [rdi], 0
lea rdi, [rbx + 0x18]
mov rax, qword [rdi]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400395cf
call fcn.14003e760
mov r8, qword [rsp + 0x28]
mov r9, rax
mov rcx, qword [rdi]
mov rdx, rdi
call fcn.14003e9b0
mov rcx, qword [rdi]
call fcn.14003e930
and qword [rdi], 0
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400401b0
Function at 0x140039d34
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1400403d0
test al, al
je 0x140039d51
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x20
pop rbx
ret
Function at 0x14003ce9c
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 0x14003cf2a
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 0x14003cf02
cmp rdi, qword [rsp + 0x38]
jne 0x14003cf02
mov bl, 1
jmp 0x14003cf04
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 0x14003cf2a
mov al, bl
jmp 0x14003cf2c
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 0x14003d71c
Capabilities:
Read file via mapping

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

Function at 0x140040eb0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov rax, qword gs:[0x58]
mov ecx, dword [0x14008c630]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x140089940], eax
jg 0x140040ee3
lea rax, [0x140089910]
add rsp, 0x58
ret
lea rcx, [0x140089940]
call fcn.140070964
cmp dword [0x140089940], 0xffffffff
jne 0x140040ed7
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movups xmm0, xmmword [rsp + 0x20]
lea rcx, [0x140089940]
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [0x140089910], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [0x140089920], xmm1
movups xmmword [0x140089930], xmm0
call fcn.140070904
jmp 0x140040ed7