joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call rax
cmp eax, 0
jne 0x180003029
jmp 0x180003029
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x160]
add rax, rcx
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x6c]
mov rcx, qword [rsp + 0x48]
mov eax, eax
add rcx, rax
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x1c0], eax
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
add byte [rbx + 0x24848900], cl
mov esp, 0x48000001
mov eax, dword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov dword [rsp + 0xf8], 0
mov eax, dword [rsp + 0xf8]
cmp eax, dword [rsp + 0x1c0]
jae 0x180003103
mov eax, dword [rsp + 0x1bc]
mov rax, qword [rsp + 0x38]

Function at 0x1800030d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword [rsp + 0x80]
add eax, dword [rcx]
mov dword [rcx], eax
mov eax, dword [rsp + 0xf8]
add eax, 1
mov dword [rsp + 0xf8], eax
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
add bl, ch
invalid

Function at 0x180003100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add bl, ch
mov dh, 0x48
mov eax, dword [rsp + 0x38]
mov eax, dword [rax + 0x54]
mov rcx, qword [rsp + 0x48]
mov eax, eax
add rcx, rax
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x18]
mov rdx, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0x38]
mov esi, dword [rsi + 0x48]
mov dword [rsp + 0x1e0], eax
mov dword [rsp + 0x1dc], ecx
mov qword [rsp + 0xb8], rdx
mov dword [rsp + 0x1d8], esi
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x3f8], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x3f8]
mov edx, dword [rsp + 0x1d8]
mov ecx, dword [rcx + rdx*8 + 0x88]
add rax, rcx
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x178]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov qword [rsp + 0x3f0], rax
mov rax, qword [rsp + 0xb8]
and al, 0xb8
add byte [rax], al
add byte [rax - 0x75], cl
mov word [rax + rdi*2], fs
add dword [rax], eax
add byte [rbx + 0x1482049], cl
enter 0xffffffffffff8948, 0xffffffffffffff84
and al, 0xe8
add eax, dword [rax]
add byte [rax - 0x75], cl
test byte [rax + rdi*4], ah
add byte [rax], al
add byte [rax - 0x75], cl
mov word [rax + rdi*2], fs
add dword [rax], eax
add byte [rbx + 0x1481c49], cl
enter 0xffffffffffff8948, 0xffffffffffffff84
and al, 0xe0
add eax, dword [rax]
add bh, al
and al, 0x68
add byte [rax], al
add byte [rax], al
Function at 0x180003170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add bl, ch
mov dh, 0x48
mov eax, dword [rsp + 0x38]
mov eax, dword [rax + 0x54]
mov rcx, qword [rsp + 0x48]
mov eax, eax
add rcx, rax
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x18]
mov rdx, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0x38]
mov esi, dword [rsi + 0x48]
mov dword [rsp + 0x1e0], eax
mov dword [rsp + 0x1dc], ecx
mov qword [rsp + 0xb8], rdx
mov dword [rsp + 0x1d8], esi
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x3f8], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x3f8]
mov edx, dword [rsp + 0x1d8]
mov ecx, dword [rcx + rdx*8 + 0x88]
add rax, rcx
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x178]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov qword [rsp + 0x3f0], rax
mov rax, qword [rsp + 0xb8]
and al, 0xb8
add byte [rax], al
add byte [rax - 0x75], cl
mov word [rax + rdi*2], fs
add dword [rax], eax
add byte [rbx + 0x1482049], cl
enter 0xffffffffffff8948, 0xffffffffffffff84
and al, 0xe8
add eax, dword [rax]
add byte [rax - 0x75], cl
test byte [rax + rdi*4], ah
add byte [rax], al
add byte [rax - 0x75], cl
mov word [rax + rdi*2], fs
add dword [rax], eax
add byte [rbx + 0x1481c49], cl
enter 0xffffffffffff8948, 0xffffffffffffff84
and al, 0xe0
add eax, dword [rax]
add bh, al
and al, 0x68
add byte [rax], al
add byte [rax], al

Function at 0x1800031c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add bl, ch
mov dh, 0x48
mov eax, dword [rsp + 0x38]
mov eax, dword [rax + 0x54]
mov rcx, qword [rsp + 0x48]
mov eax, eax
add rcx, rax
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x18]
mov rdx, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0x38]
mov esi, dword [rsi + 0x48]
mov dword [rsp + 0x1e0], eax
mov dword [rsp + 0x1dc], ecx
mov qword [rsp + 0xb8], rdx
mov dword [rsp + 0x1d8], esi
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x3f8], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x3f8]
mov edx, dword [rsp + 0x1d8]
mov ecx, dword [rcx + rdx*8 + 0x88]
add rax, rcx
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x178]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov qword [rsp + 0x3f0], rax
mov rax, qword [rsp + 0xb8]
and al, 0xb8
add byte [rax], al
add byte [rax - 0x75], cl
mov word [rax + rdi*2], fs
add dword [rax], eax
add byte [rbx + 0x1482049], cl
enter 0xffffffffffff8948, 0xffffffffffffff84
and al, 0xe8
add eax, dword [rax]
add byte [rax - 0x75], cl
test byte [rax + rdi*4], ah
add byte [rax], al
add byte [rax - 0x75], cl
mov word [rax + rdi*2], fs
add dword [rax], eax
add byte [rbx + 0x1481c49], cl
enter 0xffffffffffff8948, 0xffffffffffffff84
and al, 0xe0
add eax, dword [rax]
add bh, al
and al, 0x68
add byte [rax], al
add byte [rax], al
Function at 0x180003220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x178]
cmp eax, dword [rcx + 0x18]
jae 0x180003390
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x3e8]
mov edx, dword [rsp + 0x68]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x3d8], rax
mov rax, qword [rsp + 0x3d8]
mov ecx, dword [rsp + 0x1e0]
mov qword [rsp + 0x330], rax
mov dword [rsp + 0x24c], ecx
mov dword [rsp + 0x110], 0
mov rcx, qword [rsp + 0x330]
call fcn.180002013
mov dword [rsp + 0x248], eax
mov dword [rsp + 0xa8], 0
mov eax, dword [rsp + 0xa8]
cmp eax, dword [rsp + 0x248]
jae 0x180003340
mov rax, qword [rsp + 0x330]
movsxd rcx, dword [rsp + 0xa8]
mov al, byte [rax + rcx]
mov byte [rsp + 0x5e], al
mov eax, dword [rsp + 0x24c]
mov ecx, dword [rsp + 0x110]
mov dword [rsp + 0x264], eax
mov dword [rsp + 0x260], ecx
mov dword [rsp + 0x124], 0
mov dword [rsp + 0x120], 0
mov eax, dword [rsp + 0x120]
cmp eax, dword [rsp + 0x264]
jae 0x180003315
mov eax, dword [rsp + 0x260]
add eax, dword [rsp + 0x124]
mov dword [rsp + 0x124], eax
mov eax, dword [rsp + 0x120]
add eax, 1
mov dword [rsp + 0x120], eax
jmp 0x1800032dd
mov eax, dword [rsp + 0x124]
movzx ecx, byte [rsp + 0x5e]
pop rsi
pop rsi
add eax, ecx
mov dword [rsp + 0x110], eax
mov eax, dword [rsp + 0xa8]
add eax, 1
mov dword [rsp + 0xa8], eax
jmp 0x180003280
mov eax, dword [rsp + 0x110]
cmp eax, dword [rsp + 0x1dc]
jne 0x180003380
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x3e0]
mov rdx, qword [rsp + 0x3f0]
mov esi, dword [rsp + 0x68]
movzx edx, word [rdx + rsi*2]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x2d8], rax
jmp 0x18000339c
mov eax, dword [rsp + 0x68]
add eax, 1
mov dword [rsp + 0x68], eax
jmp 0x180003201
mov qword [rsp + 0x2d8], 0
invalid
invalid
invalid
invalid
Function at 0x180003280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x178]
cmp eax, dword [rcx + 0x18]
jae 0x180003390
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x3e8]
mov edx, dword [rsp + 0x68]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x3d8], rax
mov rax, qword [rsp + 0x3d8]
mov ecx, dword [rsp + 0x1e0]
mov qword [rsp + 0x330], rax
mov dword [rsp + 0x24c], ecx
mov dword [rsp + 0x110], 0
mov rcx, qword [rsp + 0x330]
call fcn.180002013
mov dword [rsp + 0x248], eax
mov dword [rsp + 0xa8], 0
mov eax, dword [rsp + 0xa8]
cmp eax, dword [rsp + 0x248]
jae 0x180003340
mov rax, qword [rsp + 0x330]
movsxd rcx, dword [rsp + 0xa8]
mov al, byte [rax + rcx]
mov byte [rsp + 0x5e], al
mov eax, dword [rsp + 0x24c]
mov ecx, dword [rsp + 0x110]
mov dword [rsp + 0x264], eax
mov dword [rsp + 0x260], ecx
mov dword [rsp + 0x124], 0
mov dword [rsp + 0x120], 0
mov eax, dword [rsp + 0x120]
cmp eax, dword [rsp + 0x264]
jae 0x180003315
mov eax, dword [rsp + 0x260]
add eax, dword [rsp + 0x124]
mov dword [rsp + 0x124], eax
mov eax, dword [rsp + 0x120]
add eax, 1
mov dword [rsp + 0x120], eax
jmp 0x1800032dd
mov eax, dword [rsp + 0x124]
movzx ecx, byte [rsp + 0x5e]
pop rsi
pop rsi
add eax, ecx
mov dword [rsp + 0x110], eax
mov eax, dword [rsp + 0xa8]
add eax, 1
mov dword [rsp + 0xa8], eax
jmp 0x180003280
mov eax, dword [rsp + 0x110]
cmp eax, dword [rsp + 0x1dc]
jne 0x180003380
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x3e0]
mov rdx, qword [rsp + 0x3f0]
mov esi, dword [rsp + 0x68]
movzx edx, word [rdx + rsi*2]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x2d8], rax
jmp 0x18000339c
mov eax, dword [rsp + 0x68]
add eax, 1
mov dword [rsp + 0x68], eax
jmp 0x180003201
mov qword [rsp + 0x2d8], 0
invalid
invalid
invalid
invalid

Function at 0x180003400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x3d0], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x3d0]
mov edx, dword [rsp + 0x1cc]
mov ecx, dword [rcx + rdx*8 + 0x88]
add rax, rcx
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x170]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov qword [rsp + 0x3c8], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x170]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [rsp + 0x3c0], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x170]
mov ecx, dword [rcx + 0x1c]
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14004d3a0]
mov dword [rax], 1
mov rax, qword [0x14004d3b0]
mov dword [rax], 1
mov rax, qword [0x14004d3c0]
mov dword [rax], 1
mov rax, qword [0x14004d2f0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140009220
Capabilities:
Set environment variable

Disassembly:
sub rsp, 0x28
mov rdx, rcx
mov rcx, qword [0x1400544c8]
call qword [sym.imp.python310.dll_PyDict_GetItemString]
test rax, rax
je 0x140009242
add qword [rax], 1
add rsp, 0x28
ret
xor ecx, ecx
call qword [sym.imp.python310.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python310.dll_Py_Exit]
nop
nop word cs:[rax + rax]
Function at 0x140028520
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x10078
push rbx
call fcn.140030540
sub rsp, rax
xor eax, eax
xor edx, edx
lea rbx, [rsp + 0x20]
lea rsi, [rsp + 0x70]
mov word [rsp + 0x70], ax
mov rcx, rbx
mov word [rsp + 0x20], dx
call fcn.140028470
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x140028576
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop rbx
pop rsi
ret
Function at 0x14002f220
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1400407d0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1400407d0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14002fef2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140055528]
test eax, eax
je 0x14002ff8a
lea rax, [0x140055500]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140055530]
mov qword [rbp - 8], rax
jmp 0x14002ff6e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14002ff62
cmp qword [rbp - 0x10], 0
je 0x14002ff62
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14002ff28
lea rax, [0x140055500]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14002ff8b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140030090
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400300b8
mov eax, 0
jmp 0x140030106
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400300e1
mov eax, 0
jmp 0x140030106
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140030101
mov eax, 0
jmp 0x140030106
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14003010c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14003018a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140030181
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140030181
mov rax, qword [rbp - 8]
jmp 0x14003019f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140030154
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001102
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
cpuid
mov eax, 1
cpuid
movabs r9, 0xb2d05e00
cpuid
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
fldpi
frndint
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rax, r9
jb 0x140001125
push rbp
mov rbp, rsp
sub rsp, 8
mov r10, 0xa
mov rcx, 0x12345678
dec rcx
xor r9, r9
mov rax, rcx
jne 0x140001150
xor rax, rax
mov rax, rbx
add rax, rdx
nop
nop
nop
dec r10
xor r11, r11
jne 0x140001149
xor rax, rax
mov rax, 0xa
dec rax
nop
nop
add rsp, 8
pop rbp
ret

Function at 0x140003a8a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0xa0
mov rcx, 0
mov rdx, 0xaa85
mov r8, 0x1000
mov eax, 0x1000
lea r9, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140003adb
mov rbx, rax
call 0x140003abe
pop rsi
mov rcx, rax
add rsi, 0x23844
mov rcx, 0xaa85
mov dl, byte [rsi]
mov byte [rbx], dl
inc rsi
inc rbx
loop 0x140003ad0
hlt
mov rbx, rax
call rbx
mov ecx, 1
ret

Function at 0x140009ecb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400201b0]
jne 0x140008c4a
rol rcx, 0x10
test cx, 0xffff
jne 0x140008c46
repz ret
ror rcx, 0x10
jmp 0x140009e24
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140026800]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400268f8]
mov qword [rsp + 0x58], rax
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 0x140009ea9
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, [0x140026800]
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 0x140009ecb
mov rax, qword [rsp + 0x88]
mov qword [0x1400268f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140026898], rax
mov rax, qword [0x1400268f8]
mov qword [0x140026770], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140026880], rax
mov dword [0x140026760], 0xc0000409
mov dword [0x140026764], 1
mov rax, qword [0x1400201b0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400201b8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400267f8], eax
mov ecx, 1
call fcn.14000f09c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14001a2c0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400267f8], 0
jne 0x140009f52
mov ecx, 1
call fcn.14000f09c
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 0x14000a2d0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000a140
Function at 0x14000f658
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400201b0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000b328
xor ebx, ebx
cmp qword [0x140027748], rbx
mov rdi, rax
jne 0x14000f76b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000f842
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000f842
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140027748], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140027750], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140027758], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140027768], rax
test rax, rax
je 0x14000f762
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140027760], rax
jmp 0x14000f772
mov rax, qword [0x140027760]
jmp 0x14000f779
mov rax, qword [0x140027760]
mov r11, qword [0x140027768]
cmp rax, rdi
je 0x14000f7e0
cmp r11, rdi
je 0x14000f7e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140027768]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14000f7e0
test rax, rax
je 0x14000f7e0
call rsi
test rax, rax
je 0x14000f7da
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000f7da
test byte [rsp + 0x40], 1
jne 0x14000f7e0
bts ebp, 0x15
jmp 0x14000f820
mov rcx, qword [0x140027750]
cmp rcx, rdi
je 0x14000f820
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000f820
call rax
mov rbx, rax
test rax, rax
je 0x14000f820
mov rcx, qword [0x140027758]
cmp rcx, rdi
je 0x14000f820
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000f820
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140027748]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000f842
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14000f844
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140008c30
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000b520
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14000b54e
xor eax, eax
jmp 0x14000b634
cmp qword [rcx + 0x68], 0
je 0x14000b55f
call fcn.14000b650
jmp 0x14000b634
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000b576
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000b578
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000b5aa
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14002c580
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14000b62e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000b5e1
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000b60a
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140016bf0
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000b62e
cmp rsi, rbx
ja 0x14000b5e8
test rsi, rsi
je 0x14000b62e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140016bf0
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14000cc10
Capabilities:
Parse pe header

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