joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007820c
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1400e7708]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, r8
mov r14b, dl
mov qword [rsp + 0x50], r8
movdqa xmm0, xmmword [0x1400c09d0]
movdqu xmmword [rsp + 0x70], xmm0
xor r15d, r15d
mov word [rsp + 0x60], r15w
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.140004b78
nop
xor r8d, r8d
lea rdx, [0x1400bad58]
lea rcx, [rsp + 0x60]
call fcn.140078118
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileExW]
mov rsi, rax
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x1400782d5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400782d8
mov ebx, r15d
test ebx, ebx
js 0x1400783b8
mov byte [rsp + 0x30], 1
mov eax, dword [rbp - 0x80]
shr eax, 4
and al, 1
test r14b, r14b
je 0x140078331
test al, al
je 0x14007836a
movzx ecx, word [rbp - 0x54]
movzx eax, word [rbp - 0x52]
cmp cx, word [0x1400bad60]
jne 0x140078310
cmp ax, word [0x1400bad62]
je 0x14007836a
cmp cx, word [0x1400bad50]
jne 0x140078335
cmp ax, word [0x1400bad52]
jne 0x140078335
movzx eax, word [rbp - 0x50]
cmp ax, word [0x1400bad54]
jne 0x140078335
jmp 0x14007836a
test al, al
jne 0x14007836a
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x54]
mov qword [rsp + 0x40], rax
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400783a1
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a0b76.0]
mov ebx, eax
test ebx, ebx
js 0x1400783c2
cmp byte [rsp + 0x30], r15b
je 0x1400783c2
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x1400782e5
cmp byte [rsp + 0x30], r15b
je 0x1400783c2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x12
jne 0x1400783a8
mov ebx, r15d
jmp 0x1400783c2
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400783c2
cmp ebx, 0x80070003
cmove ebx, r15d
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400783d6
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop
lea rcx, [rsp + 0x60]
call fcn.140004948
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140078401
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x1400a0b76.0]
mov qword [rdi + 0x38], r15
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400a01e0
mov rbx, qword [rsp + 0x318]
add rsp, 0x2e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007f638
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
lea r9, [r8 + 8]
mov rbx, rcx
cmp r9, r8
movabs rax, 0xcbf29ce484222325
mov r11, r8
sbb r10, r10
not r10
and r10d, 8
cmp r8, r9
ja 0x14007f686
movzx ecx, byte [r11]
movabs r9, 0x100000001b3
xor rax, rcx
inc r11
mov rcx, r11
sub rcx, r8
imul rax, r9
cmp rcx, r10
jne 0x14007f663
mov r9, qword [rbx + 0x30]
mov r11, qword [rbx + 0x18]
and r9, rax
add r9, r9
mov r10, qword [r11 + r9*8]
mov rcx, r10
cmp r10, qword [rbx + 8]
jne 0x14007f6a7
mov rax, qword [rbx + 8]
jmp 0x14007f6af
mov rax, qword [r11 + r9*8 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x14007f6c2
mov rax, qword [r8]
cmp qword [rcx + 0x10], rax
je 0x14007f6c6
mov rcx, qword [rcx]
jmp 0x14007f69b
mov rcx, qword [rbx + 8]
mov qword [rdx], rcx
mov rax, rdx
mov rbx, qword [rsp + 8]
ret

Function at 0x14007f6d8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r10, rdx
mov rsi, rcx
movabs rax, 0xcbf29ce484222325
lea r8, [rdx + 8]
cmp r8, rdx
sbb r9, r9
not r9
and r9d, 8
cmp rdx, r8
ja 0x14007f73c
movzx ecx, byte [rdx]
xor rax, rcx
movabs r8, 0x100000001b3
imul rax, r8
inc rdx
mov rcx, rdx
sub rcx, r10
cmp rcx, r9
jne 0x14007f71a
mov r8, qword [rsi + 0x30]
and r8, rax
add r8, r8
mov r11, qword [rsi + 0x18]
mov rbx, qword [r11 + r8*8]
mov rdx, qword [rsi + 8]
cmp qword [r11 + r8*8], rdx
jne 0x14007f75d
mov rax, rdx
jmp 0x14007f765
mov rax, qword [r11 + r8*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14007f7a6
mov r9, qword [r10]
cmp qword [rbx + 0x10], r9
je 0x14007f778
mov rbx, qword [rbx]
jmp 0x14007f752
mov rcx, rbx
mov rdi, rbx
cmp qword [r11 + r8*8], rdx
jne 0x14007f789
mov rax, rdx
jmp 0x14007f791
mov rax, qword [r11 + r8*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14007f7a1
cmp r9, qword [rbx + 0x10]
jne 0x14007f7a1
mov rbx, qword [rbx]
jmp 0x14007f77e
cmp rcx, rbx
jne 0x14007f7ac
mov rdi, rdx
mov rbx, rdx
mov rax, rdi
xor ebp, ebp
cmp rdi, rbx
je 0x14007f7c1
inc rbp
mov rax, qword [rax]
cmp rax, rbx
jne 0x14007f7b6
mov rcx, qword [rdx]
cmp rdi, rcx
jne 0x14007f81d
cmp rbx, rdx
jne 0x14007f81d
mov qword [rdx], rdx
mov rax, qword [rsi + 8]
mov qword [rax + 8], rax
and qword [rsi + 0x10], 0
cmp rcx, qword [rsi + 8]
je 0x14007f7fa
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.1400a07d8
mov rcx, rbx
cmp rbx, qword [rsi + 8]
jne 0x14007f7e4
mov edx, 8
mov rcx, rsi
call fcn.1400802f8
nop
jmp 0x14007f822
mov r8, rdi
mov rdi, qword [rdi]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140080a4c
cmp rdi, rbx
jne 0x14007f80a
mov rax, rbp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140080a4c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea r11, [r8 + 0x10]
mov rsi, rdx
lea r9, [r11 + 8]
mov r10, rcx
cmp r9, r11
movabs rax, 0xcbf29ce484222325
mov rdi, r11
sbb rbx, rbx
not rbx
and ebx, 8
cmp r11, r9
ja 0x140080aa9
movzx ecx, byte [rdi]
movabs rdx, 0x100000001b3
xor rax, rcx
inc rdi
mov rcx, rdi
sub rcx, r11
imul rax, rdx
cmp rcx, rbx
jne 0x140080a87
mov rdx, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and rdx, rax
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140080ae1
cmp qword [rcx + rdx*8], r8
jne 0x140080ad6
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
jmp 0x140080ada
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140080aee
cmp qword [rcx + rdx*8], r8
jne 0x140080aee
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov edx, 0x20
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r10 + 0x10]
call fcn.1400a07d8
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140081078
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, r9
mov r10, r8
mov r14, rdx
mov rsi, rcx
movabs rax, 0xcbf29ce484222325
mov rdx, r8
lea r9, [r8 + 8]
cmp r9, r8
sbb r8, r8
not r8
and r8d, 8
cmp rdx, r9
ja 0x1400810e7
movzx ecx, byte [rdx]
xor rax, rcx
movabs r9, 0x100000001b3
imul rax, r9
inc rdx
mov rcx, rdx
sub rcx, r10
cmp rcx, r8
jne 0x1400810c5
mov r8, qword [rsi + 0x30]
and r8, rax
add r8, r8
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
cmp qword [rcx + r8*8], rdi
je 0x140081107
mov rdi, qword [rcx + r8*8 + 8]
mov rdi, qword [rdi]
mov r9, rdi
cmp r9, qword [rcx + r8*8]
je 0x140081156
mov rdi, qword [rdi + 8]
mov r9, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r10], rax
jne 0x14008110a
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
mov edx, 0x20
mov rcx, rbx
call fcn.1400a07d8
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x14008127b
mov qword [rsp + 0x80], rbx
mov rax, qword [rbx]
cmp r9, rax
je 0x140081193
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], r9
mov rcx, qword [r9 + 8]
mov qword [rcx], rbx
mov rdx, qword [r9 + 8]
mov rcx, qword [rax + 8]
mov qword [r9 + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x1400811b0
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x1400811df
cmp rax, r9
jne 0x1400811bb
mov qword [rdx + r8*8], rbx
jmp 0x1400811df
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x1400811df
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x1400c097c]
test rax, rax
jns 0x140081200
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140081211
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140081270
cmp rdx, 0x200
jae 0x140081229
shl rdx, 3
jmp 0x14008123b
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x14008123b
add rdx, rdx
mov rcx, rsi
call fcn.1400802f8
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140081270
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140081078
cmp rdi, r15
jne 0x140081250
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14008341c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400e7708]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov edi, edx
mov rbx, rcx
call qword [sym.imp.ext_ms_win_resourcemanager_gamemode_l1_2_0.dll_RmGameModeInitializeResourceRequest]
mov eax, dword [rbx + 0x20]
lea rcx, [rsp + 0x38]
and eax, 0xfffffffb
or eax, 3
mov dword [rbx + 0x20], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
mov eax, dword [rsp + 0x58]
cmp eax, 4
jb 0x140083481
mov eax, dword [rbx + 0x1c]
and dword [rbx + 4], 0
and eax, 0xffffffef
and qword [rbx + 8], 0
or eax, 0x8f
mov dword [rbx + 0x1c], eax
mov eax, edi
jmp 0x1400834de
cmp dword [0x1400e5150], 5
jbe 0x1400834d9
and dword [rsp + 0x94], 0
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 4
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1400ce4a7]
xor r8d, r8d
mov dword [rsp + 0x20], 3
lea rcx, [0x1400e5150]
call fcn.14000117c
mov eax, 0xc000009a
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a01e0
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
Function at 0x14008431c
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400e7708]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdx, qword [rcx + 0x148]
mov r8, rcx
xor r10d, r10d
lea rcx, [rsp + 0x28]
mov r9d, r10d
call fcn.140001008
shr r8, 4
mov ecx, r10d
mov qword [rsp + 0x20], r8
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x28], xmm0
movzx eax, byte [rsp + rcx + 0x28]
inc rcx
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
cmp rcx, 0x10
jb 0x14008435e
movzx eax, byte [rsp + r10 + 0x20]
inc r10
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
cmp r10, 8
jb 0x14008437f
lea eax, [r9 + r9*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
mov eax, 0x45e7b273
imul r8d, ecx, 0x8001
mul r8d
shr edx, 0xe
imul ecx, edx, 0xea60
sub r8d, ecx
lea eax, [r8 + 0xea60]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a01e0
add rsp, 0x48
ret
Function at 0x1400853a8
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movsxd r8, dword [0x14000003c]
lea rdi, [0x140000000]
add r8, rdi
mov rsi, rdx
mov ebp, ecx
cmp dword [r8 + 0x84], 0xd
jbe 0x140085490
mov r9d, dword [r8 + 0xf0]
test r9d, r9d
je 0x140085490
movzx eax, word [r8 + 0x14]
lea rcx, [r8 + 0x18]
mov r10d, dword [r9 + rdi + 0xc]
add rcx, rax
movzx r11d, word [r8 + 6]
xor r9d, r9d
test r11d, r11d
je 0x14008542f
mov r8d, dword [rcx + 0xc]
cmp r10d, r8d
jb 0x140085423
mov edx, dword [rcx + 8]
lea eax, [rdx + r8]
cmp r10d, eax
jb 0x140085468
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14008540e
mov eax, dword [rsp + 0x40]
xor ebx, ebx
mov edx, dword [rsp + 0x40]
test rbx, rbx
je 0x140085490
cmp dword [0x1400e9290], 0
jne 0x140085471
mov dword [0x1400e9290], 1
test eax, eax
js 0x14008545c
mov ecx, 0x19
int 0x29
mov rcx, rbx
mov edi, edx
call fcn.140085308
jmp 0x140085473
mov eax, dword [rcx + 0x24]
lea rbx, [rdi + r8]
jmp 0x140085439
mov edi, edx
mov r9, rsi
mov r8d, ebp
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualProtect]
test eax, eax
jne 0x140085496
lea ecx, [rax + 0x19]
int 0x29
jmp 0x140085496
mov dword [rsi], 4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400a0214
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400e81d0], eax
call fcn.1400a0cd0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x1400e81d0], 0
jne 0x1400a0257
mov ecx, 1
call fcn.1400a0cd0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
Function at 0x1000030e0
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x10000a380]
jne 0x1000030fb
rol rcx, 0x10
test cx, 0xffff
jne 0x1000030f7
ret 0
ror rcx, 0x10
jmp 0x100004b54
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x10000b8b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x10000b9a8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x100004bd9
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x10000b8b0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x100004bfb
mov rax, qword [rsp + 0x88]
mov qword [0x10000b9a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x10000b948], rax
mov rax, qword [0x10000b9a8]
mov qword [0x10000b820], rax
mov rax, qword [rsp + 0x90]
mov qword [0x10000b930], rax
mov dword [0x10000b810], 0xc0000409
mov dword [0x10000b814], 1
mov rax, qword [0x10000a380]
mov qword [rsp + 0x68], rax
mov rax, qword [0x10000a388]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001920]
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]
add rsp, 0x88
ret

Function at 0x100003790
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x100003678
Function at 0x100003830
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r13
sub rsp, 0x30
lea r13, [0x10000a120]
mov ebx, ecx
xor edi, edi
mov rax, r13
cmp ecx, dword [rax]
je 0x100003862
inc edi
add rax, 0x10
cmp edi, 0x17
jb 0x100003853
cmp edi, 0x17
jae 0x100003a10
mov ebp, 3
mov ecx, ebp
call fcn.100005c7c
cmp eax, 1
je 0x1000039c8
mov ecx, ebp
call fcn.100005c7c
test eax, eax
jne 0x100003898
cmp dword [0x10000a100], 1
je 0x1000039c8
cmp ebx, 0xfc
je 0x100003a10
lea rbx, [0x10000b3e0]
mov ebp, 0x314
lea r8, [0x100001900]
mov rcx, rbx
mov rdx, rbp
call fcn.100005c04
test eax, eax
je 0x1000038db
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1000050f8
lea rdx, [0x10000b3f9]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x10000b4fd], 0
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10000392c
lea r8, [0x1000018e8]
lea rcx, [0x10000b3f9]
mov edx, 0x2fb
call fcn.100005c04
test eax, eax
je 0x10000392c
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1000050f8
lea r8, [0x10000b3f9]
mov rdx, rbp
mov rcx, rbx
call fcn.100005b74
test eax, eax
je 0x100003957
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1000050f8
lea r8, [0x1000018e0]
mov rdx, rbp
mov rcx, rbx
call fcn.100005b74
test eax, eax
je 0x100003982
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1000050f8
movsxd r8, edi
mov rdx, rbp
mov rcx, rbx
add r8, r8
mov r8, qword [r13 + r8*8 + 8]
call fcn.100005b74
test eax, eax
je 0x1000039b1
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1000050f8
lea rdx, [0x1000018b8]
mov r8d, 0x12010
mov rcx, rbx
call fcn.10000593c
jmp 0x100003a10
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r11, rax
test rax, rax
je 0x100003a10
or rcx, 0xffffffffffffffff
cmp rax, rcx
je 0x100003a10
movsxd rdx, edi
xor eax, eax
lea r9, [rsp + 0x48]
and qword [rsp + 0x20], rax
add rdx, rdx
mov rdx, qword [r13 + rdx*8 + 8]
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r13
ret
Function at 0x1000050f8
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x100005163
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x100005183
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, [0x100001930]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret
Function at 0x10000593c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov ebx, r8d
mov r12, rdx
mov r13, rcx
call fcn.1000045a4
xor ebp, ebp
and dword [rsp + 0x88], ebp
and dword [rsp + 0x30], ebp
mov rdi, rax
cmp qword [0x10000bff8], rbp
jne 0x100005a74
lea rcx, [0x1000019d8]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
jne 0x1000059a0
xor eax, eax
jmp 0x100005b54
lea rdx, [0x1000019c8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x100005999
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1000019b8]
mov rcx, rsi
mov qword [0x10000bff8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1000019a0]
mov rcx, rsi
mov qword [0x10000c000], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rcx, [rsp + 0x88]
mov qword [0x10000c008], rax
call fcn.100003504
test eax, eax
je 0x100005a27
and qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1000050f8
cmp dword [rsp + 0x88], 2
jne 0x100005a74
lea rdx, [0x100001980]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x10000c018], rax
test rax, rax
je 0x100005a74
lea rdx, [0x100001968]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x10000c010], rax
mov rcx, qword [0x10000c010]
cmp rcx, rdi
je 0x100005b06
cmp qword [0x10000c018], rdi
je 0x100005b06
call sub.KERNEL32.dll_DecodePointer
call rax
mov rsi, rax
test rax, rax
je 0x100005ad1
mov rcx, qword [0x10000c018]
call sub.KERNEL32.dll_DecodePointer
lea rcx, [rsp + 0x34]
mov r9d, 0xc
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x38]
mov rcx, rsi
call rax
test eax, eax
je 0x100005ad1
test byte [rsp + 0x40], 1
jne 0x100005b06
lea rcx, [rsp + 0x30]
call fcn.100003550
test eax, eax
je 0x100005af3
and qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1000050f8
cmp dword [rsp + 0x30], 4
jb 0x100005b00
bts ebx, 0x15
jmp 0x100005b3a
bts ebx, 0x12
jmp 0x100005b3a
mov rcx, qword [0x10000c000]
cmp rcx, rdi
je 0x100005b3a
call sub.KERNEL32.dll_DecodePointer
call rax
mov rbp, rax
test rax, rax
je 0x100005b3a
mov rcx, qword [0x10000c008]
cmp rcx, rdi
je 0x100005b3a
call sub.KERNEL32.dll_DecodePointer
mov rcx, rbp
call rax
mov rbp, rax
mov rcx, qword [0x10000bff8]
call sub.KERNEL32.dll_DecodePointer
mov r9d, ebx
mov r8, r12
mov rdx, r13
mov rcx, rbp
call rax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x180b92000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x180b9200a
jmp 0x180b9400f
jmp fcn.1808910b0
Function at 0x140001000
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x50
and qword [rax + 8], 0
lea rdx, [rax + 8]
mov rdi, rcx
mov ecx, dword [rcx]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
js 0x140001090
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x20]
xor esi, esi
xor ebp, ebp
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rsp + 0x60]
lea rdx, [rdi + 4]
call fcn.140001960
test rax, rax
je 0x14000105e
mov rsi, qword [rax + 0x30]
mov ebp, dword [rax + 0x40]
jmp 0x140001063
mov ebx, 0xc0000225
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
test ebx, ebx
js 0x140001085
mov rax, qword [rdi + 0x208]
mov qword [rax], rsi
mov rax, qword [rdi + 0x210]
mov dword [rax], ebp
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rbp, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret