joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466d00
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x78
mov qword [rsp + 0x30], r14
mov rax, qword [r14 + 0x30]
inc dword [rax + 0xd8]
mov byte [r14 + 0xbf], 1
mov qword [r14 + 0x10], 0xfffffffffffffade
mov rax, qword [r14 + 0x30]
mov rcx, qword [rax + 0xa0]
mov ecx, dword [rcx + 0x14]
mov dword [rax + 0x2b4], ecx
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
inc dword [rax + 0x14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x18], rax
call fcn.00447a40
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.0043fc80
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
mov qword [rax + 0x70], rcx
mov rdx, qword [rax + 0x40]
mov qword [rax + 0x78], rdx
mov rdx, qword [rax + 0x68]
mov qword [rax + 0x80], rdx
cmp qword [rax], rcx
ja 0x466da6
nop word [rax + rax]
cmp qword [rax + 8], rcx
jae 0x466df4
mov rdx, qword [rax + 0x38]
lea rbx, [0x00440600]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x18]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x50]
mov qword [rsp], rcx
call fcn.0046bd60
xorps xmm15, xmm15
mov r14, qword [0x005bd6d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x30]
mov ebx, 2
mov ecx, 3
nop
call fcn.00439780
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rdx + 0x70]
cmp qword [rdx], rsi
ja 0x466e19
cmp qword [rdx + 8], rsi
jae 0x466e5c
lea rax, [0x00440500]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
nop dword [rax]
call fcn.0046bd60
xorps xmm15, xmm15
mov r14, qword [0x005bd6d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rdx + 0x80]
test rax, rax
je 0x466e6d
cmp qword [rdx], rax
ja 0x466e73
cmp qword [rdx + 8], rax
jae 0x466eae
lea rax, [0x00440400]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
call fcn.0046bd60
xorps xmm15, xmm15
mov r14, qword [0x005bd6d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x004cfd00]
mov qword [rsp], rax
call fcn.0046bd60
xorps xmm15, xmm15
mov r14, qword [0x005bd6d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
nop dword [rax]
call fcn.00447a40
mov rbx, qword [rsp + 0x28]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.0043fc80
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x78
pop rbp
ret
Function at 0x468ec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x469037
movzx edx, byte [rax]
test edx, edx
jne 0x468ef4
nop dword [rax]
test r8b, r8b
jne 0x468ef4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x468f07
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x468ff7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x468fe5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x468fd7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x468f5d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x468fa0
mov eax, 1
cmp rax, rbx
ja 0x468f8b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.0046e220
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x468fcf
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x468f93
mov rcx, r11
mov eax, r12d
jmp 0x468f62
mov rcx, rbx
call fcn.0046e160
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0046e160
mov eax, r8d
mov rcx, rbx
call fcn.0046e220
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x46902d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x468ff0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x468f0d
mov eax, edx
mov rcx, rbx
call fcn.0046e160
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0046e160
nop
int3

Function at 0x46a760
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46a80f
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, [0x00457ae0]
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 + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0046bd60
xorps xmm15, xmm15
mov r14, qword [0x005bd6d0]
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.0046be80
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.0046a760
Function at 0x46dc80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403d23
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.004097c0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046be80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403d00
cmp byte [0x005bd4ac], 0
je 0x46dc95
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x46aec0
jmp 0x403d00

Function at 0x46dca0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [0x005bd7a8]
mov eax, dword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005bd7a0]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005bd4ac], 0
je 0x46dcd5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005bdae0]
aesenc xmm0, xmmword [0x005bdaf0]
aesenc xmm0, xmmword [0x005bdb00]
movq rax, xmm0
ret
jmp 0x4099a0

Function at 0x46dce0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [0x005bd7a8]
mov rax, qword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005bd7a0]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005bd4ac], 0
je 0x46dd16
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005bdae0]
aesenc xmm0, xmmword [0x005bdaf0]
aesenc xmm0, xmmword [0x005bdb00]
movq rax, xmm0
ret
jmp 0x4099e0

Function at 0x46fac0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46faf4
mov rcx, 0x28
jmp 0x46faff
shl rcx, 3
add rcx, 0x1480
mov qword [0x005bd6d0], rcx
pop rbp
ret

Function at 0x478060
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47879f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x47808d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x478311
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x47833d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004ed580]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004ac6e0]
lea rbx, [0x004ec700]
call fcn.00466600
inc rax
cmp rax, r8
jge 0x478362
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x478397
lea rdi, [0x004ac760]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x478083
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x47837b
jmp 0x478350
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0046be80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00478060
Function at 0x478940
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x478957
inc rax
cmp rax, 4
jge 0x47896f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x478954
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x478980
inc rax
cmp rax, 4
jge 0x47898e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4789b7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x47899b
jmp 0x47897d
Function at 0x47ec80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47ed4a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00402da0
xorps xmm15, xmm15
mov r14, qword [0x005bd6d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47ed2f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004ac7e0]
xor ebx, ebx
mov rcx, rdx
call fcn.00467780
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0047fb40
inc rbx
cmp rcx, rbx
jae 0x47ed1e
mov edi, 1
lea rsi, [0x004ac7e0]
call fcn.00467860
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004ec7c8]
lea rsi, [0x004ec290]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046be80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0047ec80

Function at 0x48e5e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48e68c
push rbp
mov rbp, rsp
sub rsp, 0x40
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x61], dil
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], cl
call fcn.00402da0
xorps xmm15, xmm15
mov r14, qword [0x005bd6d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x48e653
lea rax, [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.0044f120
movzx edx, byte [rsp + 0x61]
movzx esi, byte [rsp + 0x60]
xor ecx, ecx
jmp 0x48e666
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
inc rcx
cmp rbx, rcx
jle 0x48e679
movzx edi, byte [rax + rcx]
cmp dil, sil
jne 0x48e663
mov byte [rax + rcx], dl
jmp 0x48e663
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.004681c0
add rsp, 0x40
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
mov byte [rsp + 0x19], dil
nop
call fcn.0046be80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
movzx edi, byte [rsp + 0x19]
jmp fcn.0048e5e0
Function at 0x1400010e0
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx], 0x9af2b37
mov rdi, rcx
jne 0x140001142
movsxd rax, dword [rcx + 4]
xor ebx, ebx
test eax, eax
je 0x140001142
mov rcx, rax
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140001142
mov rcx, qword [rsp + 0x30]
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
test rax, rax
jne 0x14000112c
mov ebx, 0xc0000001
jmp 0x140001133
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
jmp 0x140001147
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140001154
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx], 0x9af2b37
mov rsi, rcx
je 0x140001178
mov eax, 0xc0000001
jmp 0x140001230
xor edi, edi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], edi
lea rdx, [rsp + 0x30]
mov ebx, edi
lea ecx, [rdi + 0x42]
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14000122e
test rbx, rbx
je 0x1400011b0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, dword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, 0x42
mov rbx, rax
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
je 0x1400011a0
test rbx, rbx
je 0x14000122e
mov r8d, dword [rbx]
test r8d, r8d
je 0x140001223
mov edx, edi
shl rdx, 5
test byte [rdx + rbx + 0x10], 1
je 0x14000121c
cmp qword [rdx + rbx + 0x18], 0x200000
jne 0x14000121c
mov ecx, dword [0x140002060]
mov r9b, byte [0x140002064]
cmp dword [rdx + rbx + 0x20], ecx
jne 0x14000121c
cmp byte [rdx + rbx + 0x24], r9b
je 0x140001240
inc edi
cmp edi, r8d
jb 0x1400011ea
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rsi + 8]
mov rax, qword [rdx + rbx + 8]
mov qword [rcx], rax
jmp 0x14000122e
Function at 0x140001250
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx], 0x9af2b37
mov rbx, rcx
jne 0x1400012f3
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x1400012f3
and qword [r11 + 8], 0
lea rdx, [r11 + 8]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400012f3
mov rdi, qword [0x140004060]
test rdi, rdi
je 0x1400012f3
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rbx + 8]
mov rcx, rdi
mov rsi, qword [rbx + 0x18]
call fcn.140001a28
test rax, rax
je 0x1400012f3
mov ecx, eax
lea r9, [rsp + 0x38]
and ecx, 0xfff
mov edx, 0x1000
sub edx, ecx
mov rcx, rax
cmp edx, esi
cmovl esi, edx
cmp byte [rbx + 0x20], 0
mov rdx, qword [rbx + 0x10]
movsxd r8, esi
je 0x1400012ea
call fcn.140001bac
jmp 0x1400012ef
call fcn.140001840
xor eax, eax
jmp 0x1400012f8
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400013a4
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp qword [0x140004068], 0
mov r13, rcx
jne 0x1400013d2
call fcn.140001504
cmp qword [0x140004090], 0
jne 0x140001407
call fcn.140001308
mov rcx, rax
lea r8, [0x140002020]
lea rdx, [0x140002050]
call fcn.1400018c0
movsxd rcx, dword [rax + 8]
mov rax, qword [rcx + rax + 0xc]
mov qword [0x140004090], rax
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalMemoryRanges]
mov rdx, qword [0x140004088]
xor r15d, r15d
mov rcx, qword [0x140004080]
lea rsi, [rax + 8]
lea r12, [rcx + rdx*8]
mov rbx, qword [rsi - 8]
test rbx, rbx
jne 0x140001438
cmp qword [rsi], rbx
je 0x1400014e6
mov rbp, qword [rsi]
sar rbp, 0xc
sar rbx, 0xc
add rbp, rbx
cmp rbx, rbp
jge 0x1400014c7
lea rdi, [rbx + rbx*2]
shl rdi, 4
mov rax, qword [0x140004090]
mov r14, qword [rdi + rax]
cmp r14, 2
jb 0x1400014ad
cmp qword [rdi + rax + 8], r12
jne 0x1400014ad
movabs rax, 0xffff800000000000
shr r14, 0xd
or r14, rax
lea rdx, [rsp + 0x58]
mov rax, rbx
shl rax, 0xc
mov qword [0x140004060], rax
mov ecx, dword [r13]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x1400014ad
cmp r14, qword [rsp + 0x58]
je 0x1400014bb
inc rbx
add rdi, 0x30
cmp rbx, rbp
jl 0x140001453
jmp 0x1400014c7
mov rcx, qword [0x140004060]
test rcx, rcx
jne 0x1400014dd
inc r15d
add rsi, 0x10
cmp r15d, 0xc8
jl 0x140001426
jmp 0x1400014e6
mov rax, qword [r13 + 8]
mov qword [rax], rcx
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140bdd058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140bdd1df
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 0x140bdd089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bdd06f
add dl, dl
jne 0x140bdd096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bdd0f6
xor eax, eax
add dl, dl
jne 0x140bdd0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bdd1ad
add dl, dl
jne 0x140bdd0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bdd0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bdd0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bdd0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140bdd0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140bdd07e
mov eax, 1
add dl, dl
jne 0x140bdd106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bdd113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bdd0fb
sub eax, ebx
mov ebx, 1
jne 0x140bdd14c
mov ecx, 1
add dl, dl
jne 0x140bdd12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140bdd13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bdd123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bdd07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140bdd168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140bdd175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bdd15d
cmp eax, 0x7d00
jae 0x140bdd19b
cmp eax, 0x500
jb 0x140bdd196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bdd07e
cmp eax, 0x7f
ja 0x140bdd19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bdd07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140bdd1d2
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 0x140bdd07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140011168
Capabilities:
Create thread

Disassembly:
jmp 0x140014240
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140027040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14002d06e]
call fcn.14001178f
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140011230
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.1400113c5
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.14001118b
nop
lea rcx, [rbp + 0x108]
call fcn.140011302
nop
lea rax, [0x14001150f]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.140011537
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x140014343
lea rcx, [rbp + 8]
call fcn.140011325
nop
jmp 0x14001435c
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1400111a4
nop
lea rcx, [rbp + 8]
call fcn.140011302
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x1400223f0]
call fcn.14001166d
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.1400113a7
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x140011424
Capabilities:
Terminate process

Disassembly:
jmp 0x14001a490
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]
nop
add rsp, 0x28
ret

Function at 0x140011555
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001b7e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001b800
xor al, al
jmp 0x14001b881
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001b813
xor al, al
jmp 0x14001b881
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 0x14001b83d
xor al, al
jmp 0x14001b881
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001b851
xor al, al
jmp 0x14001b881
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001b863
xor al, al
jmp 0x14001b881
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001b87f
xor al, al
jmp 0x14001b881
mov al, 1
add rsp, 0x38
ret
Function at 0x1400195e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400117cb
movzx eax, al
test eax, eax
jne 0x140019600
mov ecx, 7
call fcn.14001167c
nop
mov byte [rsp + 0x20], 0
call fcn.1400116b3
mov byte [rsp + 0x21], al
cmp dword [0x140027b88], 1
jne 0x140019624
mov ecx, 7
call fcn.14001167c
nop
jmp 0x14001967c
cmp dword [0x140027b88], 0
jne 0x140019677
mov dword [0x140027b88], 1
lea rdx, [0x140021660]
lea rcx, [0x140021330]
call fcn.140011384
test eax, eax
je 0x140019658
mov eax, 0xff
jmp 0x140019781
lea rdx, [0x140021220]
lea rcx, [section..rdata]
call fcn.14001169a
mov dword [0x140027b88], 2
jmp 0x14001967c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011663
call fcn.14001158c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400196d9
mov rcx, qword [rsp + 0x30]
call fcn.1400112cb
movzx eax, al
test eax, eax
je 0x1400196d9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002e020]
nop
call fcn.1400115fa
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001970d
mov rcx, qword [rsp + 0x38]
call fcn.1400112cb
movzx eax, al
test eax, eax
je 0x14001970d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011753
nop
call fcn.140019830
mov dword [rsp + 0x28], eax
call fcn.140011555
movzx eax, al
test eax, eax
jne 0x14001972c
mov ecx, dword [rsp + 0x28]
call fcn.140011082
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001973b
call fcn.140011767
nop
xor edx, edx
mov cl, 1
call fcn.14001129e
mov eax, dword [rsp + 0x28]
jmp 0x140019781
add rsp, 0x68
ret