joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1415a9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1415a91df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1415a9089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415a906f
add dl, dl
jne 0x1415a9096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415a90f6
xor eax, eax
add dl, dl
jne 0x1415a90a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415a91ad
add dl, dl
jne 0x1415a90b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415a90c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415a90d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415a90dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1415a90ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1415a907e
mov eax, 1
add dl, dl
jne 0x1415a9106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415a9113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415a90fb
sub eax, ebx
mov ebx, 1
jne 0x1415a914c
mov ecx, 1
add dl, dl
jne 0x1415a912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415a913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415a9123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415a907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1415a9168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415a9175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415a915d
cmp eax, 0x7d00
jae 0x1415a919b
cmp eax, 0x500
jb 0x1415a9196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415a907e
cmp eax, 0x7f
ja 0x1415a919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415a907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1415a91d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1415a907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002010
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000907a]
call fcn.140001000
cmp qword [rsp + 0x90], 0
je 0x140002043
call fcn.140002580
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x50], rax
jmp 0x140002051
call fcn.140002580
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ntdll.dll_RtlNormalizeProcessParams]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x78], 0
je 0x1400020ab
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x78]
movzx eax, word [rcx + rax]
test eax, eax
je 0x1400020ab
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x78]
mov qword [rsp + 0x58], rax
jmp 0x1400020b9
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400021b0
mov eax, dword [rsp + 0x30]
inc eax
mov eax, eax
shl rax, 3
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x34]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x68], rax
call fcn.140002580
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x68]
mov edx, 8
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000214a
mov edx, 0xc0000017
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
jmp 0x14000219f
mov eax, dword [rsp + 0x30]
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax*8]
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
mov r8, rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.1400021b0
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
call fcn.140002650
mov dword [rsp + 0x4c], eax
mov edx, dword [rsp + 0x4c]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
add rsp, 0x88
ret
Function at 0x140003090
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x258
lea rcx, [0x140009186]
call fcn.140001000
mov rdx, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x260]
call fcn.1400031c0
mov rdx, qword [rsp + 0x260]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlCreateRegistryKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1400030e6
mov eax, dword [rsp + 0x30]
jmp 0x140003173
mov dword [rsp + 0x34], 1
mov rdx, qword [rsp + 0x268]
lea rcx, [rsp + 0x40]
call fcn.140003010
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, str.ImagePath
mov rdx, qword [rsp + 0x260]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14000313c
mov eax, dword [rsp + 0x30]
jmp 0x140003173
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, str.Type
mov rdx, qword [rsp + 0x260]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add rsp, 0x258
ret

Function at 0x140003180
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rcx, [0x140009186]
call fcn.140001000
mov rax, qword [rsp + 0x30]
add rax, 0x24
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add rsp, 0x28
ret
Function at 0x1400032b0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x188
lea rcx, [0x140009186]
call fcn.140001000
mov rax, qword [rsp + 0x1a8]
mov qword [rax], 0
mov dword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
je 0x140003312
mov eax, dword [rsp + 0x20]
jmp 0x140003419
mov eax, dword [rsp + 0x28]
shl rax, 1
mov qword [rsp + 0x38], rax
call fcn.140002580
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x38]
mov edx, 8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x28]
shl eax, 1
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x14000337b
jmp 0x1400033fb
mov dword [rsp + 0x24], 0
jmp 0x14000338f
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
cmp dword [rsp + 0x24], eax
jae 0x1400033fb
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x128
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x30]
mov rdi, rcx
lea rsi, [rdx + rax + 8]
mov ecx, 0x128
rep movsb byte [rdi], byte [rsi]
movzx eax, word [rsp + 0x76]
lea rax, [rsp + rax + 0x78]
mov rdx, rax
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.ntdll.dll__stricmp]
test eax, eax
jne 0x1400033f9
mov rax, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov dword [rsp + 0x20], 0
jmp 0x1400033fb
jmp 0x140003385
call fcn.140002580
mov rax, qword [rax + 0x60]
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [rsp + 0x20]
add rsp, 0x188
pop rdi
pop rsi
ret

Function at 0x140003430
Capabilities:
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x30
lea rcx, [0x140009186]
call fcn.140001000
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, 8
lea rdx, [rsp + 0x28]
mov ecx, 0x67
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x14000348f
mov edx, dword [rsp + 0x24]
lea rcx, str.Failed_to_query_code_integrity_status:__08X_n
call fcn.1400025a0
mov eax, dword [rsp + 0x2c]
and eax, 3
cmp eax, 1
jne 0x1400034a2
mov byte [rsp + 0x20], 1
jmp 0x1400034a7
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x1400034c0
Capabilities:
Install driver

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rcx, [0x140009186]
call fcn.140001000
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
add rsp, 0x38
ret
Function at 0x140003bd0
Capabilities:
Unload driver

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rcx, [0x140009186]
call fcn.140001000
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
add rsp, 0x38
ret
Function at 0x14000107c
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400010c3
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400010c3
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
mov rbx, rax
test rax, rax
je 0x1400010c3
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, rbx
jmp 0x1400010c5
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140001168
Capabilities:
Attach user process memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
test rcx, rcx
jne 0x14000118d
xor eax, eax
jmp 0x140001200
mov rbx, qword [rcx + 0x28]
test rbx, rbx
jne 0x1400011a1
call fcn.1400012b0
mov ecx, eax
mov rbx, qword [rcx + rdi]
mov rax, rbx
shr rax, 0x38
cmp al, 0x40
jne 0x1400011fd
cmp byte [0x140003058], 0
jne 0x1400011f1
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov rcx, rdi
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rax, cr3
lea rcx, [rsp + 0x20]
mov qword [0x140003050], rax
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov byte [0x140003058], 1
mov rax, qword [0x140003050]
test rax, rax
jne 0x140001200
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001860
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x140001218
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r8d, 0x20
lea r9, [r11 - 0x38]
lea rdx, [r11 - 0x30]
mov dword [r11 - 0x38], r8d
mov edi, ecx
call fcn.140001887
mov edx, dword [rsp + 0x20]
mov ecx, 0x400
mov r8d, 0xb1127cfc
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x14000126d
xor eax, eax
jmp 0x140001295
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbx
mov ecx, edi
call fcn.140001887
test eax, eax
je 0x140001292
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140001269
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001860
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140001490
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140001532
and qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140001532
call fcn.140001168
mov rdi, rax
test rax, rax
je 0x140001532
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call fcn.14000158c
test rax, rax
je 0x140001532
and qword [rsp + 0x48], 0
mov rcx, rax
and ecx, 0xfff
mov r8d, 0x1000
sub r8, rcx
mov r9d, 1
mov rcx, qword [rbx + 0x20]
mov rdx, rax
cmp r8, rcx
cmovae r8, rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ntoskrnl.exe_MmCopyMemory]
xor eax, eax
jmp 0x140001537
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400017b8
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14000183f
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000183f
call fcn.140001168
mov rcx, qword [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call fcn.14000158c
test rax, rax
je 0x14000183f
mov rdx, qword [rdi + 0x18]
lea r9, [rsp + 0x38]
mov rcx, rax
mov r8d, 0x1000
and ecx, 0xfff
sub r8, rcx
mov rcx, qword [rdi + 0x20]
cmp r8, rcx
cmovae r8, rcx
mov rcx, rax
call fcn.140001744
xor eax, eax
jmp 0x140001844
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140ba6108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140ba628f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140ba6139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ba611f
add dl, dl
jne 0x140ba6146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ba61a6
xor eax, eax
add dl, dl
jne 0x140ba6155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ba625d
add dl, dl
jne 0x140ba6166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba6173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba6180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba618d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ba619a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ba612e
mov eax, 1
add dl, dl
jne 0x140ba61b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba61c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ba61ab
sub eax, ebx
mov ebx, 1
jne 0x140ba61fc
mov ecx, 1
add dl, dl
jne 0x140ba61de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ba61eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ba61d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ba612e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ba6218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ba6225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ba620d
cmp eax, 0x7d00
jae 0x140ba624b
cmp eax, 0x500
jb 0x140ba6246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ba612e
cmp eax, 0x7f
ja 0x140ba624e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ba612e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ba6282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140ba612e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140015ec0
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.140014b60
mov rax, qword gs:[0x58]
mov edx, dword [0x1400faac0]
mov ecx, 8
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x1400fa98c], eax
jg 0x140015f74
mov eax, dword [0x1400fa988]
test eax, eax
je 0x140015f31
lea edx, [rax - 1]
mov dword [0x1400fa988], edx
cmp eax, 1
je 0x140015f61
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x140015f4d
cmp eax, 0xffffffff
je 0x140015f5b
sub eax, 1
mov dword [rcx], eax
jne 0x140015f5b
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140016170
add rsp, 0x40
pop rbx
ret
lea r8, [rsp + 0x30]
mov rdx, rbx
mov ecx, 1
call fcn.140014bb0
int3
lea rcx, [0x1400fa98c]
call fcn.140065930
cmp dword [0x1400fa98c], 0xffffffff
jne 0x140015f19
lea rcx, str.QT_FATAL_WARNINGS
call fcn.140013dd0
lea rcx, [0x1400fa98c]
mov dword [0x1400fa988], eax
call fcn.1400658d0
jmp 0x140015f19
Function at 0x140024140
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
test r8, r8
je 0x140024176
nop dword [rax]
movzx eax, word [r9]
lea r9, [r9 + 2]
shl edx, 4
add edx, eax
mov eax, edx
shr edx, 0x17
and edx, 0x1e0
xor edx, eax
and edx, 0xfffffff
sub r8, 1
jne 0x140024150
mov eax, edx
ret
Function at 0x14004d100
Capabilities:
Accept command line arguments

Disassembly:
push rdi
push r12
push r14
sub rsp, 0x50
lea rax, [0x14009ebe0]
mov r14, rcx
xor edi, edi
mov dword [rsp + 0x70], edi
mov qword [rcx], rax
mov rcx, rdx
call fcn.140022520
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r12, rax
test rax, rax
je 0x14004d2ac
mov edx, dword [rsp + 0x70]
mov rcx, r14
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rsi
call fcn.14004d3f0
movsxd rcx, dword [rsp + 0x70]
mov rsi, r12
lea rbp, [r12 + rcx*8]
cmp r12, rbp
jae 0x14004d299
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x38], r13
lea r13, [0x140068e58]
mov qword [rsp + 0x30], r15
mov r15, qword [rsp + 0x88]
nop dword [rax + rax]
mov rdx, qword [rsi]
lea rcx, [rsp + 0x80]
mov r8d, 0xffffffff
or edi, 1
call fcn.14001d070
mov rbx, qword [rax]
mov qword [rax], r13
test dil, 2
je 0x14004d1db
mov eax, dword [r15]
and edi, 0xfffffffd
test eax, eax
je 0x14004d1ca
cmp eax, 0xffffffff
je 0x14004d1db
sub dword [r15], 1
jne 0x14004d1db
mov edx, 2
mov rcx, r15
lea r8d, [rdx + 6]
call fcn.140016170
mov rcx, qword [rsp + 0x80]
and edi, 0xfffffffe
mov eax, dword [rcx]
test eax, eax
je 0x14004d200
cmp eax, 0xffffffff
je 0x14004d20e
sub eax, 1
mov dword [rcx], eax
jne 0x14004d20e
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140016170
mov rax, qword [r14]
cmp dword [rax], 1
jbe 0x14004d240
mov edx, 0x7fffffff
mov r8d, 1
mov rcx, r14
call fcn.1400047e0
mov qword [rax], rbx
mov ecx, dword [rbx]
mov eax, ecx
test ecx, ecx
je 0x14004d25c
cmp ecx, 0xffffffff
je 0x14004d25c
lea eax, [rcx + 1]
mov dword [rbx], eax
jmp 0x14004d25c
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, 1
jbe 0x14004d24f
lea eax, [rcx + 1]
mov dword [rbx], eax
mov rcx, r14
call fcn.1400243f0
mov qword [rax], rbx
mov eax, dword [rbx]
test eax, eax
je 0x14004d26c
cmp eax, 0xffffffff
je 0x14004d27d
sub eax, 1
mov dword [rbx], eax
jne 0x14004d27d
mov edx, 2
mov rcx, rbx
lea r8d, [rdx + 6]
call fcn.140016170
add rsi, 8
cmp rsi, rbp
jb 0x14004d190
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x78]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rax, r14
add rsp, 0x50
pop r14
pop r12
pop rdi
ret
Function at 0x140051740
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rdi, rcx
xor ebx, ebx
mov dword [rbp + 0x20], ebx
mov rcx, qword [rcx]
call fcn.140050800
test al, al
jne 0x140051812
mov dl, 0xa
lea rcx, [rbp + 0x20]
call fcn.14004e2b0
lea rdx, [rbp - 0x50]
mov rcx, rdi
mov rsi, rax
call fcn.14004f730
lea rdx, [0x140068a70]
mov rdi, rax
lea rcx, [rbp - 0x48]
call fcn.14004e2c0
lea rcx, [rbp + 0x38]
mov rbx, rax
call fcn.14004c5a0
mov r8, rbx
lea rcx, [rbp - 0x38]
mov rdx, rax
call fcn.140001000
mov r8, rdi
lea rcx, [rbp - 0x28]
mov rdx, rax
call fcn.140001000
mov r8, rsi
lea rcx, [rbp - 0x18]
mov rdx, rax
call fcn.140001000
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.14004e860
mov ebx, 1
lea rcx, [rbp + 0x30]
mov edx, ebx
call fcn.140051ca0
lea rcx, [rbp + 0x30]
call fcn.140002eb0
lea rcx, [rbp + 0x38]
call fcn.140002eb0
lea rcx, [rbp - 0x50]
call fcn.140002eb0
call fcn.14004d2c0
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [rdi]
cmp byte [rax + 0x50], bl
je 0x14005183f
lea rax, [0x1400fa360]
mov rcx, rdi
lea rdx, [rbp + 0x20]
mov qword [rbp + 0x20], rax
call fcn.1400505c0
mov ebx, 1
test al, al
je 0x14005183f
movzx esi, bl
jmp 0x140051842
xor sil, sil
test bl, 1
je 0x140051872
mov rcx, qword [rbp + 0x20]
and ebx, 0xfffffffe
mov eax, dword [rcx]
test eax, eax
je 0x140051864
cmp eax, 0xffffffff
je 0x140051872
sub eax, 1
mov dword [rcx], eax
jne 0x140051872
mov rcx, qword [rbp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140016170
test sil, sil
jne 0x140051962
mov rax, qword [rdi]
cmp byte [rax + 0x51], sil
je 0x1400518a7
lea rax, [0x1400fa388]
mov rcx, rdi
lea rdx, [rbp + 0x20]
mov qword [rbp + 0x20], rax
or ebx, 2
call fcn.1400505c0
test al, al
je 0x1400518a7
mov sil, 1
jmp 0x1400518aa
xor sil, sil
test bl, 2
je 0x1400518da
mov rcx, qword [rbp + 0x20]
and ebx, 0xfffffffd
mov eax, dword [rcx]
test eax, eax
je 0x1400518cc
cmp eax, 0xffffffff
je 0x1400518da
sub eax, 1
mov dword [rcx], eax
jne 0x1400518da
mov rcx, qword [rbp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140016170
mov rax, qword [rdi]
test sil, sil
jne 0x14005196b
cmp byte [rax + 0x51], sil
je 0x14005190f
lea rax, [0x1400fa3b0]
mov rcx, rdi
lea rdx, [rbp + 0x20]
mov qword [rbp + 0x20], rax
or ebx, 4
call fcn.1400505c0
test al, al
je 0x14005190f
mov sil, 1
jmp 0x140051912
xor sil, sil
test bl, 4
je 0x14005193f
mov rcx, qword [rbp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140051931
cmp eax, 0xffffffff
je 0x14005193f
sub eax, 1
mov dword [rcx], eax
jne 0x14005193f
mov rcx, qword [rbp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140016170
test sil, sil
jne 0x140051954
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rdi]
mov r8b, 1
xor edx, edx
call fcn.140051c60
int3
mov rcx, rdi
call fcn.140051d40
int3
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.140051c60
int3
Function at 0x140057200
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r9d, r9d
mov r10, rcx
mov ecx, r9d
cmp rdx, 0x20
jb 0x140057287
mov qword [rsp + 0x10], rbx
lea r11, [r8 + 0x10]
mov qword [rsp], rdi
mov rbx, r10
sub rbx, r8
mov edi, 0x10
sub rdi, r8
nop
movdqu xmm0, xmmword [rbx + r11 - 0x10]
add rcx, 0x20
movdqu xmm2, xmmword [rbx + r11]
lea r11, [r11 + 0x20]
movdqa xmm1, xmm0
lea rax, [rdi + r11]
psrlw xmm0, 8
psllw xmm1, 8
pxor xmm1, xmm0
movdqa xmm0, xmm2
psllw xmm0, 8
psrlw xmm2, 8
pxor xmm0, xmm2
movdqu xmmword [r11 - 0x20], xmm0
movdqu xmmword [r11 - 0x30], xmm1
cmp rax, rdx
jbe 0x140057230
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
lea rax, [rcx + 0x10]
cmp rax, rdx
ja 0x1400572b1
movdqu xmm0, xmmword [rcx + r10]
movdqa xmm1, xmm0
psrlw xmm0, 8
psllw xmm1, 8
pxor xmm1, xmm0
movdqu xmmword [rcx + r8], xmm1
mov rcx, rax
cmp rcx, rdx
jae 0x1400572e5
lea rax, [rcx + r8]
sub r10, r8
nop dword [rax]
cmp r9, 0x10
jae 0x1400572e5
movzx ecx, word [rax + r10]
add r9, 2
rol cx, 8
mov word [rax], cx
add rax, 2
mov rcx, rax
sub rcx, r8
cmp rcx, rdx
jb 0x1400572c0
mov rax, rdx
add rsp, 8
ret