joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140208a50
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x140208aae
mov rdi, rax
lea rdx, [0x1402bd0d6]
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140208aae
mov rsi, rax
lea rdx, [0x1402bd0e4]
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140208aae
mov rdi, rax
xor ebx, ebx
jmp 0x140208b30
lea rcx, [0x1402bd070]
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x140208ba3
mov rsi, rax
lea rdx, [0x1402bd07a]
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140208ba3
mov rdi, rax
lea rdx, [0x1402bd08d]
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140208ba3
mov rbx, rax
lea rdx, [0x1402bd0a1]
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140208ba3
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x140208ba3
mov rdi, qword [rbp - 0x18]
movzx eax, byte [0x1403361a1]
mov ecx, 0x18
mov edx, 8
call fcn.140028fe0
test rax, rax
je 0x140208ba8
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x140336218], rcx
je 0x140208b97
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x140208b80
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_CloseHandle
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.140028ff0
mov rcx, rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.140208a20
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.140209fc0
ud2
Function at 0x140209550
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1401d6e20
mov rdx, qword [rsp + 0x30]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x1402095e9
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x14020961b
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x140209639
jmp 0x14020964a
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
test rdx, rdx
je 0x14020964a
mov rcx, qword [rsp + 0x38]
mov r8d, 1
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140028ff0
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x14020964a
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140028ff0
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1400013b0
Capabilities:
Execute command
Set console window title

Disassembly:
sub rsp, 0x28
lea rcx, str.Checker
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call section..text
lea rcx, str.bcdedit___set_hypervisorlaunchtype_off__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001f48
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001f92
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001f92
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001f92
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001f92
cmp dword [rcx + 0x84], 0xe
jbe 0x140001f92
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001f94
xor al, al
add rsp, 0x28
ret
Function at 0x401921
Capabilities:
Get common file path
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov dword [rbp - 0x1c], 0
mov dword [rbp - 0x14], 0
lea rax, [0x00405020]
mov qword [rbp - 0x10], rax
lea rax, [0x00409980]
mov rdx, rax
mov ecx, 0x104
mov rax, qword [sym.imp.KERNEL32.dll_GetTempPathA]
call rax
test eax, eax
jne 0x401968
mov eax, 0
jmp 0x401a7d
lea rax, str.edge.png
mov qword [rsp + 0x20], rax
lea rax, [0x00409980]
mov r9, rax
lea r8, str._s_s
mov edx, 0x104
lea rax, [0x00409980]
mov rcx, rax
call fcn.00401560
test eax, eax
jns 0x4019a7
mov eax, 0
jmp 0x401a7d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
mov r9d, 0
mov r8d, 0
mov edx, 0x40000000
lea rax, [0x00409980]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0xffffffffffffffff
jne 0x4019f9
mov eax, 0
jmp 0x401a7d
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp - 0x18]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_IsWow64Process]
call rax
mov dword [rbp - 0x14], 0x882
lea r8, [rbp - 0x1c]
mov ecx, dword [rbp - 0x14]
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x20], 0
mov r9, r8
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteFile]
call rax
test eax, eax
jne 0x401a61
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
jmp 0x401a7d
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, dword [rbp - 0x1c]
cmp dword [rbp - 0x14], eax
sete al
movzx eax, al
add rsp, 0x60
pop rbp
ret
Function at 0x402ab0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x3193073d
call fcn.0040235b
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x402af0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x75dc6373
call fcn.0040235b
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x402b30
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xcdd6d95b
call fcn.0040235b
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x402b70
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x6cb0aeea
call fcn.0040235b
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x402bb0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x3aa4cac8
call fcn.0040235b
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x403230
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov ecx, dword [0x00409624]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x403350
mov rax, qword [0x00409628]
xor ebx, ebx
add rax, 0x18
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x40327c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x403336
add ebx, 1
add rax, 0x28
cmp ebx, ecx
jne 0x403260
mov rcx, rsi
call fcn.00403e70
test rax, rax
mov r12, rax
je 0x403388
movsxd rbx, ebx
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov r13, rbx
add r13, qword [0x00409628]
mov qword [r13 + 0x20], rax
mov dword [r13], 0
call fcn.00403fc0
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 0x18], rax
mov rax, qword [0x00409628]
mov rcx, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x40336b
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x40332f
sub eax, 0x40
and eax, 0xffffffbf
je 0x40332f
add rbx, qword [0x00409628]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x403357
add dword [0x00409624], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.msvcrt.dll_memcpy
xor ebx, ebx
jmp 0x403287
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.004031c0
mov rax, qword [0x00409628]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.004031c0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.004031c0
nop
nop dword [rax + rax]

Function at 0x403ae0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00409900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004098e0]
test rbx, rbx
je 0x403b34
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x403b2b
test rsi, rsi
je 0x403b2b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x403b10
lea rcx, [0x00409900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x403e70
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x004063f0]
xor edx, edx
mov r8, rcx
cmp word [r9], 0x5a4d
je 0x403e90
mov rax, rdx
add rsp, 0x28
ret
mov rcx, r9
call fcn.00403d50
test eax, eax
je 0x403e88
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add rax, r9
movzx edx, word [rax + 0x14]
lea rdx, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x403eed
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x403ee4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x403e88
add rdx, 0x28
cmp rdx, r9
jne 0x403ed0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x6ed330
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x6ed33d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x6ed34d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x6ed335
lea eax, [rcx + 1]
jmp 0x6ed35b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x6ed36e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x6ed354
sub eax, 3
jb 0x6ed38e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x6ed3dd
sar eax, 1
movsxd rbp, eax
jb 0x6ed3c4
jmp 0x6ed39c
add ebx, ebx
jne 0x6ed39a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x6ed3c4
inc ecx
add ebx, ebx
jne 0x6ed3aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x6ed3c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x6ed3bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x6ed3ac
add ecx, 2
jmp 0x6ed3c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.006ed2f2
jmp 0x6ed33d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x110a00
mov dl, 0x30
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x6ed429
cmp rsi, rcx
jae 0x6ed431
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x6ed410
cmp al, 0x8f
ja 0x6ed410
cmp byte [rsi - 2], 0xf
je 0x6ed416
sub al, 0xe8
cmp al, 1
ja 0x6ed3fa
cmp rsi, rcx
jae 0x6ed431
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x6ed400
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x6ed431
lodsb al, byte [rsi]
jmp 0x6ed410
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2e9000]
mov eax, dword [rdi]
or eax, eax
je 0x6ed48e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2ed000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x6ed43e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x6ed488
mov qword [rbx], rax
add rbx, 8
jmp 0x6ed45e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x6ed4d2
cmp al, 0xef
ja 0x6ed4ba
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x6ed49a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x6ed4a9
mov eax, dword [rdi]
add rdi, 4
jmp 0x6ed4a9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x6ed526
sub rsp, 0xffffffffffffff80
jmp 0x46c0e0
Function at 0x1401dff90
Capabilities:
Parse pe header

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

Function at 0x1401e45d4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401e43d0
Function at 0x1401e7030
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 0x1401e70b7
mov rsi, rbx
cmp word [rax], bp
je 0x1401e7076
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401e7060
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401e705c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1401e7a50
mov rdi, rax
test rax, rax
je 0x1401e70a4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1401ec9a0
mov rbp, rdi
xor ecx, ecx
call fcn.1401e5cf8
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 0x1401ec200
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401ec228
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401ec228
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140dd8108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140dd828f
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 0x140dd8139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140dd811f
add dl, dl
jne 0x140dd8146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140dd81a6
xor eax, eax
add dl, dl
jne 0x140dd8155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140dd825d
add dl, dl
jne 0x140dd8166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dd8173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dd8180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dd818d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140dd819a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140dd812e
mov eax, 1
add dl, dl
jne 0x140dd81b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dd81c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140dd81ab
sub eax, ebx
mov ebx, 1
jne 0x140dd81fc
mov ecx, 1
add dl, dl
jne 0x140dd81de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140dd81eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140dd81d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140dd812e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140dd8218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140dd8225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140dd820d
cmp eax, 0x7d00
jae 0x140dd824b
cmp eax, 0x500
jb 0x140dd8246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140dd812e
cmp eax, 0x7f
ja 0x140dd824e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140dd812e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140dd8282
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 0x140dd812e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1eabc1370
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
mov dword [rsp + 0x78], edx
mov rdi, rcx
mov rbx, r8
mov rsi, r9
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1eabc1468
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1eabc1468
xor r9d, r9d
mov rcx, qword [rsp + 0x40]
mov r8d, esi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1eabc1468
lea rax, [rsp + 0x48]
xor r9d, r9d
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 0x6610
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x1eabc1468
lea rax, [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x1eabc1468
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor eax, eax
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
mov eax, 0xffffffff
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret

Function at 0x1eabc1480
Capabilities:
Enumerate processes

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x158
xor edx, edx
mov rdi, rcx
mov ecx, 2
call sym.CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1eabc1529
lea rbp, [rsp + 0x20]
mov rcx, rax
lea r13, [rsp + 0x4c]
mov dword [rsp + 0x20], 0x130
mov rdx, rbp
call sym.Process32First
mov r12, qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1eabc14e5
jmp 0x1eabc1520
mov rdx, r13
mov rcx, rdi
call r12
test eax, eax
je 0x1eabc1518
mov rdx, rbp
mov rcx, rsi
call sym.Process32Next
mov ebx, eax
test eax, eax
jne 0x1eabc14d8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov ebx, dword [rsp + 0x28]
jmp 0x1eabc14f6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x1eabc14ff
Function at 0x1eabc1530
Capabilities:
Create thread

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r9d, 0x1000
mov edi, r8d
mov rbx, rcx
mov rbp, rdx
mov dword [rsp + 0x20], 0x20
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, rbx
mov r9, rdi
mov r8, rbp
mov qword [rsp + 0x20], 0
mov rsi, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rbx
mov r9, rsi
xor r8d, r8d
mov qword [rsp + 0x30], 0
xor edx, edx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
je 0x1eabc15d0
mov edx, 0x1f4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov eax, 0xffffffff
jmp 0x1eabc15c4