joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003b60c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140048cc8], rbx
je 0x14003b673
cmp rax, rbx
jne 0x14003b666
mov ebx, 1
mov esi, ebx
jmp 0x14003b678
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14003b64b
mov ebx, 1
mov eax, dword [0x140048cd0]
cmp eax, ebx
jne 0x14003b690
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14003b6fc
mov eax, dword [0x140048cd0]
test eax, eax
jne 0x14003b6f1
mov dword [0x140048cd0], ebx
lea r15, [0x14003e288]
lea rdi, [0x14003e270]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14003b6e3
test eax, eax
jne 0x14003b6e7
cmp qword [rdi], r14
je 0x14003b6d8
mov rax, qword [rdi]
mov rcx, qword [0x14003e230]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14003b6ba
test eax, eax
je 0x14003b6f7
mov eax, 0xff
jmp 0x14003b852
mov dword [0x140048284], ebx
mov edi, 0x1f
mov eax, dword [0x140048cd0]
cmp eax, ebx
jne 0x14003b723
lea rdx, [0x14003e268]
lea rcx, [0x14003e238]
call sub.msvcrt.dll__initterm
mov dword [0x140048cd0], 2
test esi, esi
jne 0x14003b731
mov rax, r14
xchg qword [0x140048cc8], rax
cmp qword [0x140048ce8], r14
je 0x14003b764
lea rcx, [0x140048ce8]
call fcn.14003bbf0
test eax, eax
je 0x14003b764
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140048ce8]
mov r9, qword [0x14003e230]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14003b77d
mov eax, 0xff
jmp 0x14003b852
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14003b803
test ax, ax
je 0x14003b798
test edx, edx
jne 0x14003b803
sub ax, bx
cmp ax, di
ja 0x14003b7ae
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14003b798
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001fc0
mov dword [0x140048280], eax
cmp dword [0x1400482a0], r14d
jne 0x14003b7ec
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140048284], r14d
jne 0x14003b801
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140048280]
jmp 0x14003b852
cmp ax, 0x22
jne 0x14003b817
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14003b786
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140167000
add rsp, 0x28
jmp 0x14003b60c
Function at 0x10000798c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov esi, ecx
mov edx, ecx
mov ecx, 0x400
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
test eax, eax
je 0x1000079e4
lea ecx, [rax + rax + 2]
call fcn.10000ce78
mov qword [rdi], rax
test rax, rax
je 0x1000079e4
mov r9d, ebx
mov r8, rax
mov edx, esi
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, 1
jmp 0x1000079e6
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x10000bcb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov rax, qword [0x100017110]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, dword [0x100001bbc]
mov rdi, rcx
lea rcx, [rsp + 0x20]
mov dword [rcx], eax
movzx eax, word [0x100001bc0]
xor r13d, r13d
mov rbp, rdx
mov rsi, r13
mov word [rcx + 4], ax
cmp rdi, r13
je 0x10000bdac
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, r13d
je 0x10000bdac
cmp rbp, r13
je 0x10000bd21
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, r13d
jne 0x10000bd26
lea rbp, [rsp + 0x20]
mov rbx, rdi
cmp word [rdi], r13w
je 0x10000bd4a
movzx edx, word [rbx]
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_StrChrW]
cmp rax, r13
je 0x10000bd4a
add rbx, 2
cmp word [rbx], r13w
jne 0x10000bd2f
movzx eax, word [rbx]
mov r12, rbx
cmp ax, r13w
je 0x10000bd8a
movzx edx, ax
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_StrChrW]
cmp rax, r13
je 0x10000bd71
cmp rsi, r13
jne 0x10000bd74
mov rsi, rbx
jmp 0x10000bd74
mov rsi, r13
add rbx, 2
mov ax, word [rbx]
cmp ax, r13w
jne 0x10000bd56
cmp rsi, r13
je 0x10000bd8a
mov word [rsi], r13w
cmp r12, rdi
jbe 0x10000bda7
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rdx, r12
mov rcx, rdi
lea r8d, [rax + 1]
call fcn.10000c184
mov rax, rdi
jmp 0x10000bdb3
lea rax, [0x100001b9c]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.100011d00
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x10000d0dc
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x20
mov rsi, rcx
xor ebx, ebx
xor ecx, ecx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rsi, rbx
je 0x10000d295
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
je 0x10000d295
lea ebp, [rbx + 4]
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x10000d13f
xor eax, eax
jmp 0x10000d29a
mov r8d, dword [rsp + 0x40]
mov edi, 1
xor edx, edx
lea ecx, [rdi + 0xd]
mov r9d, edi
call fcn.10000a744
mov r12, rax
cmp rax, rbx
jne 0x10000d173
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x10000d138
lea ecx, [rdi + 7]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10000d138
lea r8, [rsp + 0x40]
mov rdx, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
cmp eax, ebx
je 0x10000d138
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov rcx, r12
call fcn.10000c348
cmp eax, ebx
jne 0x10000d1a3
mov eax, edi
jmp 0x10000d29a
mov rcx, rsi
call fcn.10000d3b0
xor edx, edx
mov dword [rsp + 0x40], ebx
lea r8, [rsp + 0x40]
cmp eax, edi
jne 0x10000d239
xor r9d, r9d
mov rcx, rsi
call fcn.10000d64c
cmp eax, ebx
je 0x10000d138
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov r9d, edi
lea ecx, [rdx + 0xf]
call fcn.10000a744
mov rbp, rax
cmp rax, rbx
je 0x10000d138
lea r8, [rsp + 0x40]
xor r9d, r9d
mov rdx, rax
mov rcx, rsi
call fcn.10000d64c
cmp eax, ebx
je 0x10000d138
xor r9d, r9d
mov r8d, edi
mov rdx, rbp
mov rcx, r12
call fcn.10000c348
cmp eax, ebx
je 0x10000d19c
lea rdx, [0x100001be0]
mov r8d, edi
xor r9d, r9d
mov rcx, rbp
call fcn.10000c348
cmp eax, ebx
sete bl
mov eax, ebx
jmp 0x10000d29a
mov r12d, 7
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x10000d138
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov r9d, edi
lea ecx, [rdx + 0xe]
call fcn.10000a744
mov rbp, rax
cmp rax, rbx
je 0x10000d138
lea r8, [rsp + 0x40]
mov rdx, rax
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
cmp eax, ebx
je 0x10000d138
mov rdx, rsi
jmp 0x10000d222
mov eax, 1
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
Function at 0x10000d64c
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xa80
mov rax, qword [0x100017110]
xor rax, rsp
mov qword [rsp + 0xa70], rax
xor ebx, ebx
mov rsi, r8
mov rdi, rcx
mov rbp, rdx
lea rcx, [rsp + 0x4c]
lea r8d, [rbx + 0x2c]
xor edx, edx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
call sub.msvcrt.dll_memset
mov word [rsp + 0xa62], bx
cmp rdi, rbx
je 0x10000d7d2
cmp rsi, rbx
je 0x10000d7d2
cmp dword [rsi], ebx
je 0x10000d6c1
cmp dword [rsi], 2
jb 0x10000d7d2
cmp rbp, rbx
je 0x10000d7d2
cmp dword [0x100017738], ebx
jne 0x10000d6f7
lea rdx, [rsp + 0x80]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
je 0x10000d6ed
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
jmp 0x10000d7e1
mov dword [0x100017738], 1
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
cmp eax, ebx
jne 0x10000d7e7
mov rdi, qword [rsp + 0x40]
jmp 0x10000d774
mov word [rsp + 0x260], bx
mov edx, dword [rdi + 0x10]
mov rcx, qword [rdi + 0x20]
lea rax, [rsp + 0x220]
mov dword [rsp + 0x30], 4
lea r8, [rsp + 0x260]
mov r9d, 0x401
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_GetNameInfoW]
cmp eax, ebx
je 0x10000d77b
cmp eax, 0x2afc
jne 0x10000d770
cmp word [rsp + 0x260], bx
jne 0x10000d77b
mov rdi, qword [rdi + 0x28]
cmp rdi, rbx
jne 0x10000d71b
jmp 0x10000d7c3
lea rdx, [0x100001b0c]
lea rcx, [rsp + 0x260]
call qword [sym.imp.msvcrt.dll_wcstok]
mov rdi, rax
cmp rax, rbx
je 0x10000d7a3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea eax, [rbx + 1]
cmp dword [rsi], eax
jae 0x10000d7b3
mov dword [rsi], eax
mov ebx, 1
jmp 0x10000d7c3
mov r8d, dword [rsi]
mov rdx, rdi
mov rcx, rbp
call fcn.10000c184
mov ebx, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov eax, ebx
jmp 0x10000d7e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x10000d7e7
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0xa70]
xor rcx, rsp
call fcn.100011d00
mov rbx, qword [rsp + 0xab8]
add rsp, 0xa80
pop rdi
pop rsi
pop rbp
ret
Function at 0x100011f08
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100011f55
cmp rcx, 0xffffffffffffffff
je 0x100011f55
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x100011f4d
cmp dword [rcx + 0x3c], edx
jl 0x100011f4d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x100011f4d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100011f55
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140002050
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140005330]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
mov rdx, qword [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rdx + r8*2], di
jne 0x140002095
lea rcx, [rsp + 0x40]
call fcn.140002c80
nop
lea rdx, [0x1400072e0]
lea rcx, [rsp + 0x40]
call fcn.1400028b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [0x1400070e0]
cmp rdx, 8
jb 0x140002127
mov rcx, qword [0x1400070c8]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140002118
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002175
mov rcx, r8
call fcn.1400037f0
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [0x1400070c8], xmm0
movups xmmword [0x1400070d8], xmm1
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140002181
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000217c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000217c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400037f0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
mov rdx, qword [rsp + 0x70]
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400021a0
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.140002c80
nop
lea rdx, [0x140007248]
lea rcx, [rsp + 0x40]
call fcn.1400028b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x20], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [0x1400070a0]
cmp rdx, 8
jb 0x140002235
mov rcx, qword [0x140007088]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140002226
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002283
mov rcx, r8
call fcn.1400037f0
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x20]
movups xmmword [0x140007088], xmm0
movups xmmword [0x140007098], xmm1
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000228f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000228a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000228a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400037f0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140001000
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 0x104
lea rcx, str.d3d13.dll
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea rdx, str.Minecraft_1.8.8
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.LoadLibraryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x1fffff
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, 0xffffffffffffffff
mov rdi, rax
lea rax, [rsp + 0x50]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400010a4
inc r8
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
lea rax, [rsp + 0x50]
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x1400010d2
lea r9, [rbx + 1]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x50]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov r9, rbp
mov dword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140001170
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140001a38
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a82
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a82
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a82
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a82
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a82
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a84
xor al, al
add rsp, 0x28
ret
Function at 0x142822058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1428221df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x142822089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14282206f
add dl, dl
jne 0x142822096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1428220f6
xor eax, eax
add dl, dl
jne 0x1428220a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1428221ad
add dl, dl
jne 0x1428220b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1428220c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1428220d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1428220dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1428220ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14282207e
mov eax, 1
add dl, dl
jne 0x142822106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142822113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1428220fb
sub eax, ebx
mov ebx, 1
jne 0x14282214c
mov ecx, 1
add dl, dl
jne 0x14282212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14282213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142822123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14282207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x142822168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142822175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14282215d
cmp eax, 0x7d00
jae 0x14282219b
cmp eax, 0x500
jb 0x142822196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14282207e
cmp eax, 0x7f
ja 0x14282219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14282207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1428221d2
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 0x14282207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x141398058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1413981df
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 0x141398089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14139806f
add dl, dl
jne 0x141398096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413980f6
xor eax, eax
add dl, dl
jne 0x1413980a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413981ad
add dl, dl
jne 0x1413980b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413980c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413980d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413980dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1413980ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14139807e
mov eax, 1
add dl, dl
jne 0x141398106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141398113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413980fb
sub eax, ebx
mov ebx, 1
jne 0x14139814c
mov ecx, 1
add dl, dl
jne 0x14139812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14139813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141398123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14139807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141398168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141398175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14139815d
cmp eax, 0x7d00
jae 0x14139819b
cmp eax, 0x500
jb 0x141398196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14139807e
cmp eax, 0x7f
ja 0x14139819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14139807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1413981d2
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 0x14139807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Execute command
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x170
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rdx, [rsp + 0x40]
mov ecx, 2
lea rax, [0x140002260]
nop word [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x140001040
mov ecx, dword [rax + 0x10]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
mov dword [rdx + 0x10], ecx
movzx ecx, byte [rax + 0x14]
mov byte [rdx + 0x14], cl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov rcx, rax
mov r9d, SetUnhandledExceptionFilter
mov r8d, 0x115
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor esi, esi
lea r8, [rsp + 0x40]
mov rdx, rax
mov qword [rsp + 0x20], rsi
mov r9d, 0x115
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], rsi
mov r9, rbx
mov dword [rsp + 0x28], esi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140001170
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140001a4c
Capabilities:
Parse pe header

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