joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001100
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov rbx, rcx
cmp edx, 1
jne 0x180001168
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call fcn.180002430
call fcn.180002590
mov r8, rbx
lea rdx, [0x18000e6d8]
lea rcx, str.__s__start_wow64shell:__p
call fcn.1800028c0
xor eax, eax
lea r8, [0x180001180]
mov qword [rsp + 0x28], rax
mov r9, rdi
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180001168
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180001910
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rax, qword [0x18002d008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
lea rdx, str.CWow64Shell::start_real_task
lea rcx, str.__s__entry.
call fcn.1800028c0
mov qword [rsp + 0x40], 0xf
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], bl
xor r8d, r8d
lea rdx, [0x180029cc0]
lea rcx, [rsp + 0x28]
call fcn.1800013c0
nop
test rdi, rdi
je 0x180001a44
mov ecx, dword [rdi]
lea eax, [rcx - 9]
cmp eax, 0xfa
ja 0x180001a44
mov edx, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180001a44
lea rdx, [rdi + 4]
cmp byte [rdx], al
je 0x1800019b9
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x1800019b0
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.1800013c0
cmp qword [rsp + 0x38], 0
je 0x180001a5d
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x180001a5d
call fcn.180003430
lea r8, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae r8, qword [rsp + 0x28]
lea rdx, str.CWow64Shell::start_real_task
lea rcx, str.__s__str_target___s
call fcn.1800028c0
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call fcn.180001af0
mov r8d, eax
lea rdx, str.CWow64Shell::start_real_task
lea rcx, str.__s__prebootex_err___d
call fcn.1800028c0
jmp 0x180001a5d
mov r9d, dword [rdi]
mov r8, rdi
lea rdx, str.CWow64Shell::start_real_task
lea rcx, str.__s__param_invalid:_param___p_ulsize_d
call fcn.1800028c0
lea rdx, str.CWow64Shell::start_real_task
lea rcx, str.__s__leave.
call fcn.1800028c0
nop
mov rax, qword [rsp + 0x40]
cmp rax, 0x10
jb 0x180001aca
inc rax
mov rcx, qword [rsp + 0x28]
cmp rax, 0x1000
jb 0x180001ac4
test cl, 0x1f
je 0x180001a97
call fcn.180005570
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180001aa6
call fcn.180005570
int3
sub rcx, rax
cmp rcx, 8
jae 0x180001ab5
call fcn.180005570
int3
cmp rcx, 0x27
jbe 0x180001ac1
call fcn.180005570
int3
mov rcx, rax
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180005c60
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1800027e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
mov eax, 0x1080
call fcn.18000b9b0
sub rsp, rax
mov rax, qword [0x18002d008]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x830]
mov r8d, 0x832
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x800
call sub.msvcrt.dll_memset
mov edx, 0x400
lea rax, [rsp + 0x1098]
mov r8d, edx
mov qword [rsp + 0x20], rax
mov r9, rbx
lea rcx, [rsp + 0x30]
call fcn.180005f6c
lea rax, [rsp + 0x30]
mov edx, 0x419
lea r9, [0x180029d28]
mov qword [rsp + 0x20], rax
lea r8, str._s____s_n
lea rcx, [rsp + 0x830]
call fcn.180002d40
lea rcx, [rsp + 0x830]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.180005c60
add rsp, 0x1080
pop rbx
ret

Function at 0x1800028c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x860
mov rax, qword [0x18002d008]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x430]
mov r8d, 0x419
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x400
call sub.msvcrt.dll_memset
mov edx, 0x400
lea rax, [rsp + 0x878]
mov r8d, edx
mov qword [rsp + 0x20], rax
mov r9, rbx
lea rcx, [rsp + 0x30]
call fcn.180005fd4
cmp qword [0x18002e2a8], 0x10
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
lea rax, [0x18002e290]
cmovae rax, qword [0x18002e290]
lea r9, str._xcpp_
lea r8, [0x180029d58]
mov qword [rsp + 0x20], rax
mov edx, 0x419
lea rcx, [rsp + 0x430]
call fcn.180002d70
lea rcx, [rsp + 0x430]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.180005c60
add rsp, 0x860
pop rbx
ret

Function at 0x1800029b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
mov eax, 0x1080
call fcn.18000b9b0
sub rsp, rax
mov rax, qword [0x18002d008]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x830]
mov r8d, 0x832
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x800
call sub.msvcrt.dll_memset
mov edx, 0x400
lea rax, [rsp + 0x1098]
mov r8d, edx
mov qword [rsp + 0x20], rax
mov r9, rbx
lea rcx, [rsp + 0x30]
call fcn.180005f6c
cmp qword [0x18002e2c8], 8
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
lea rax, [0x18002e2b0]
cmovae rax, qword [0x18002e2b0]
lea r9, [0x180029d28]
lea r8, str._s_s_s_n
mov qword [rsp + 0x20], rax
mov edx, 0x419
lea rcx, [rsp + 0x830]
call fcn.180002d40
lea rcx, [rsp + 0x830]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.180005c60
add rsp, 0x1080
pop rbx
ret
Function at 0x180003340
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18002d008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x28]
cmp ax, 9
je 0x180003380
cmp ax, 6
jne 0x180003416
mov ecx, dword [0x18002e110]
mov rax, qword gs:[0x58]
mov edx, 8
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x18002e2d4], ecx
jle 0x1800033e8
lea rcx, [0x18002e2d4]
call fcn.180004f50
cmp dword [0x18002e2d4], 0xffffffff
jne 0x1800033e8
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x18002e2d4]
mov qword [0x18002e2d8], rax
call fcn.180004ee0
mov rax, qword [0x18002e2d8]
test rax, rax
jne 0x18000340c
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180005c60
add rsp, 0x60
pop rbx
ret
lea rdx, [rsp + 0x20]
mov rcx, rbx
call rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180005c60
add rsp, 0x60
pop rbx
ret

Function at 0x180003430
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18002d008]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov ebx, eax
test eax, eax
je 0x1800034ee
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebx, eax
test eax, eax
je 0x1800034ee
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], 0
mov r9d, 0x10
xor edx, edx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ebx, eax
test eax, eax
je 0x1800034ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x514
setne bl
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800034fe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180005c60
add rsp, 0x60
pop rbx
ret
Function at 0x180003a20
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x18002d008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, qword [rsp + 0x90]
mov rdi, rcx
mov ecx, 0x10
mov dword [rsp + 0x40], 0
mov rbp, rdx
call qword [sym.imp.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov edx, dword [rsp + 0x98]
lea r8, [0x18000e8c0]
mov qword [rsp + 0x30], rax
mov r9d, 0x1b400
mov dword [rsp + 0x28], edx
mov rcx, rdi
mov rdx, rbp
mov qword [rsp + 0x20], rbx
mov rsi, rax
call fcn.180003b20
test eax, eax
je 0x180003af9
mov rbx, qword [rsi]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r9, rbx
mov rax, qword [rsi + 8]
xor r8d, r8d
mov dword [rsp + 0x28], 0
xor edx, edx
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r8d, dword [rsp + 0x40]
lea rdx, str.XH::CPlaylaod::Inject
mov r9, rbx
lea rcx, str.__s__CreateRemoteThread_tid_d__address:__p
mov rdi, rax
call fcn.1800028c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test rdi, rdi
je 0x180003af4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180005c60
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x180003b20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbx
push rbp
push r14
sub rsp, 0x50
mov ebp, r9d
mov r14, rdx
mov rbx, rcx
cmp r9d, 0x1000
jbe 0x180003d41
mov qword [rax + 0x10], rdi
mov rdi, qword [rsp + 0xa0]
test rdi, rdi
je 0x180003d31
mov qword [rax + 8], rsi
mov rcx, rdx
mov qword [rax + 0x20], r12
mov qword [rax - 0x20], r13
mov qword [rax - 0x28], r15
call fcn.180003340
lea rdx, str.XH::CPlaylaod::MakeShellCode
test eax, eax
je 0x180003b97
lea rcx, [0x180029e88]
call fcn.1800028c0
lea r13, [0x18002d5c0]
mov esi, 0x47f
jmp 0x180003baf
lea rcx, str.__s__
call fcn.1800028c0
lea r13, [0x18002d040]
mov esi, 0x575
mov r12d, dword [rsp + 0x98]
lea r8d, [rsi + rbp]
add r8d, r12d
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
jne 0x180003c02
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbx + 8]
mov dword [rbx], eax
lea r8d, [r15 + 0x17]
lea rdx, str.alloc_remote_mem_failed
call fcn.1800031f0
xor eax, eax
jmp 0x180003c99
mov eax, esi
mov r8, r13
mov r9d, esi
mov rdx, r15
mov rcx, r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov esi, eax
test eax, eax
jne 0x180003c4a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbx + 8]
mov dword [rbx], eax
lea r8d, [rsi + 0x1e]
lea rdx, str.write_remote_mem_loader_failed
call fcn.1800031f0
mov eax, esi
jmp 0x180003c99
mov rsi, qword [rsp + 0x30]
mov r9, rbp
mov r8, qword [rsp + 0x80]
add rsi, r15
mov rdx, rsi
mov qword [rsp + 0x20], 0
mov rcx, r14
mov r13, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebp, eax
test eax, eax
jne 0x180003cbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
lea rcx, [rbx + 8]
lea r8d, [rbp + 0x1b]
lea rdx, str.write_remote_mem_dll_failed
call fcn.1800031f0
mov eax, ebp
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
mov rbp, qword [rsp + 0x90]
test rbp, rbp
je 0x180003d20
test r12d, r12d
je 0x180003d20
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180003d20
add rsi, r13
mov qword [rsp + 0x20], 0
mov rdx, rsi
mov r9, r12
mov r8, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebp, eax
test eax, eax
jne 0x180003d20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
lea rcx, [rbx + 8]
lea r8d, [rbp + 0x1d]
lea rdx, str.write_remote_mem_param_failed
jmp 0x180003c92
mov qword [rdi], r15
mov eax, 1
mov qword [rdi + 8], rsi
jmp 0x180003c99
xor eax, eax
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
xor eax, eax
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
Function at 0x1800049b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x180004a37
movsxd rax, dword [0x18000003c]
lea rdx, [0x180000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x180004a37
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180004a37
sub r8, rdx
movzx eax, word [rcx + 0x14]
add rax, 0x18
add rax, rcx
movzx ecx, word [rcx + 6]
lea rdx, [rcx + rcx*4]
lea r9, [rax + rdx*8]
mov qword [rsp], rax
cmp rax, r9
je 0x180004a33
mov edx, dword [rax + 0xc]
cmp r8, rdx
jb 0x180004a2d
mov ecx, dword [rax + 8]
add ecx, edx
cmp r8, rcx
jae 0x180004a2d
cmp dword [rax + 0x24], 0
jge 0x180004a29
xor al, al
jmp 0x180004a3d
mov al, 1
jmp 0x180004a3d
add rax, 0x28
jmp 0x180004a04
xor al, al
jmp 0x180004a3d
xor al, al
jmp 0x180004a3d
add rsp, 0x18
ret

Function at 0x1800055b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x18002d008]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1800055ec
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.180005230
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1800056a8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x18000570e
test ebx, ebx
jne 0x18000570e
lea ecx, [rax + 2]
call fcn.180005230
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.180005c60
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x140014490
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]
add rsp, 0x28
ret

Function at 0x140011280
Capabilities:
Create thread

Disassembly:
jmp 0x140011a50
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x1400230af]
call fcn.14001138e
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14001119f]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 8], rax
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140013290
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400132b0
xor al, al
jmp 0x140013331
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400132c3
xor al, al
jmp 0x140013331
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 0x1400132ed
xor al, al
jmp 0x140013331
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140013301
xor al, al
jmp 0x140013331
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140013313
xor al, al
jmp 0x140013331
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001332f
xor al, al
jmp 0x140013331
mov al, 1
add rsp, 0x38
ret
Function at 0x2fc4c9bc0
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4ca5c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ef108]
test eax, eax
je 0x2fc4ca65a
lea rax, [0x2fc4ef0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ef110]
mov qword [rbp - 8], rax
jmp 0x2fc4ca63e
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 0x2fc4ca632
cmp qword [rbp - 0x10], 0
je 0x2fc4ca632
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 0x2fc4ca5f8
lea rax, [0x2fc4ef0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4ca65b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4ca760
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 0x2fc4ca788
mov eax, 0
jmp 0x2fc4ca7d6
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 0x2fc4ca7b1
mov eax, 0
jmp 0x2fc4ca7d6
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 0x2fc4ca7d1
mov eax, 0
jmp 0x2fc4ca7d6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4ca7dc
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 0x2fc4ca85a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4ca851
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 0x2fc4ca851
mov rax, qword [rbp - 8]
jmp 0x2fc4ca86f
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 0x2fc4ca824
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1807b5058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1807b51df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1807b5089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807b506f
add dl, dl
jne 0x1807b5096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807b50f6
xor eax, eax
add dl, dl
jne 0x1807b50a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807b51ad
add dl, dl
jne 0x1807b50b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807b50c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807b50d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807b50dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1807b50ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1807b507e
mov eax, 1
add dl, dl
jne 0x1807b5106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807b5113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807b50fb
sub eax, ebx
mov ebx, 1
jne 0x1807b514c
mov ecx, 1
add dl, dl
jne 0x1807b512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807b513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807b5123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807b507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1807b5168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807b5175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807b515d
cmp eax, 0x7d00
jae 0x1807b519b
cmp eax, 0x500
jb 0x1807b5196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807b507e
cmp eax, 0x7f
ja 0x1807b519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807b507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1807b51d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1807b507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20