joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402484
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [0x00401018]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, section..text
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x00407070], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x00401028]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x00407068], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x00401040]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x00407060], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x00401060]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x00407058], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x00401078]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x00407050], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x00401090]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x00407048], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x004010b0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x00407040], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x004010d4]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x00407038], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x004010dc]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x00407030], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x004010e4]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x00407028], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x004010ec]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x00407020], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x004010f4]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x00407018], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x004010fc]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x00401104]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x00407010], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x0040110c]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x00407008], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x00401114]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [section..data], rax
add rsp, 0x20
pop rbx
ret
Function at 0x402a58
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor r13d, r13d
mov rbx, rcx
mov edi, r13d
cmp dword [rax + rcx + 0x8c], r13d
je 0x402ae2
mov esi, dword [rax + rcx + 0x88]
mov ebp, r13d
add rsi, rcx
mov r14d, dword [rsi + 0x1c]
mov r15d, dword [rsi + 0x20]
add r14, rcx
add r15, rcx
cmp dword [rsi + 0x14], r13d
jbe 0x402ae2
mov r12d, ebp
lea rdx, [0x004015b4]
mov ecx, dword [r15 + r12*4]
add rcx, rbx
call qword [0x00407020]
test eax, eax
je 0x402ad0
inc ebp
cmp ebp, dword [rsi + 0x14]
jb 0x402aac
jmp 0x402ae2
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx eax, word [rcx + r12*2]
mov edi, dword [r14 + rax*4]
add rdi, rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x00407080]
mov rbx, qword [rsp + 0x50]
cmp eax, 0x7fff
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
cmova rdi, r13
mov rax, rdi
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x403998
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rdi, rcx
mov dword [rbp - 0x80], 0x11c
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rbp - 0x7c], 6
jae 0x403abc
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor ebx, ebx
xor ecx, ecx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x403a69
mov ecx, dword [rsp + 0x78]
xor edx, edx
mov rax, qword [rsp + 0x20]
div rcx
test rdx, rdx
jne 0x403a3d
cmp qword [rsp + 0x38], 0x1000
jne 0x403a3d
cmp dword [rsp + 0x40], 0x1000
jne 0x403a3d
cmp dword [rsp + 0x48], 0x20000
jne 0x403a3d
cmp dword [rsp + 0x44], 4
jne 0x403a3d
movabs rax, 0x74636a6e696d7678
cmp qword [rbx], rax
je 0x403a50
add rbx, qword [rsp + 0x38]
cmp rbx, 0x7fff0000
jae 0x403abc
mov rcx, rbx
jmp 0x4039df
mov r8d, 0x20
mov rdx, rbx
mov rcx, rdi
call qword [0x00407038]
mov eax, 1
jmp 0x403ac1
or edi, 0xffffffff
lea rdx, [0x00401268]
mov r8d, edi
lea rcx, [0x00407090]
call fcn.0040289c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r8d, 0xa
call fcn.004027cc
mov r8d, edi
lea rdx, [0x0040127c]
lea rcx, [0x00407090]
call fcn.0040289c
mov r8d, 0x10
mov edx, ebx
call fcn.004027cc
xor eax, eax
jmp 0x403ac1
mov eax, 2
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x180005d00
Capabilities:
Connect socket
Create thread
Initialize winsock library
Resolve dns

Disassembly:
push rdi
sub rsp, 0x1e0
mov rax, qword [0x180051020]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rdi, rcx
mov byte [rcx + 0x38], 0
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x198
call fcn.18001bb90
mov ecx, 0x101
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180005e01
cmp qword [rdi + 0x18], 0x10
mov rcx, rdi
mov qword [rsp + 0x1f8], rbx
jb 0x180005d61
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rdi + 0x50], rax
mov r8, rax
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx]
test rdx, rdx
je 0x180005d96
xor ecx, ecx
nop dword [rax]
mov eax, dword [rdx]
lea rcx, [rcx + 1]
mov dword [rdi + 0x28], eax
mov rax, qword [r8 + 0x18]
mov rdx, qword [rax + rcx*8]
test rdx, rdx
jne 0x180005d80
movzx ecx, word [rdi + 0x20]
call qword [sym.imp.WS2_32.dll_htons]
mov ecx, 2
mov word [rdi + 0x26], ax
mov word [rdi + 0x24], cx
lea edx, [rcx - 1]
lea r8d, [rcx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov r8d, dword [rdi + 0x34]
lea rdx, [rdi + 0x24]
mov rcx, rax
mov qword [rdi + 0x48], rax
call qword [sym.imp.WS2_32.dll_connect]
mov rbx, qword [rsp + 0x1f8]
test eax, eax
jne 0x180005e01
mov r9, qword [rdi + 0x48]
lea r8, [0x180005ad0]
mov qword [rsp + 0x28], 0
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
jmp 0x180005e03
xor al, al
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.180019340
add rsp, 0x1e0
pop rdi
ret
Function at 0x180011060
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x30
mov rax, qword [0x180051020]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm0, qword [0x180051c18]
xor r15d, r15d
mov esi, dword [rdx + 0x10]
mov edi, r15d
movsd qword [rsp + 0x20], xmm0
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x70], r14
nop dword [rax]
mov r8d, 8
movsxd rax, edi
lea rdx, [rsp + 0x20]
sub r8d, edi
add rdx, rax
xor r9d, r9d
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x180011190
add edi, eax
cmp edi, 8
jl 0x1800110a0
mov ecx, esi
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rsp + 0x20], eax
mov edi, r15d
mov r8d, 4
movsxd rax, edi
lea rdx, [rsp + 0x20]
sub r8d, edi
add rdx, rax
xor r9d, r9d
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x180011190
add edi, eax
cmp edi, 4
jl 0x1800110e2
mov rdx, qword [rbx + 0x18]
mov r14, rbx
cmp rdx, 0x10
jb 0x180011125
mov r14, qword [rbx]
mov edi, r15d
test esi, esi
jle 0x18001115a
nop dword [rax]
mov r8d, esi
movsxd rdx, edi
sub r8d, edi
add rdx, r14
xor r9d, r9d
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x180011190
add edi, eax
cmp edi, esi
jl 0x180011130
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18001118c
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180011187
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800111f4
mov rcx, r8
call fcn.18001939c
mov al, 1
jmp 0x1800111c8
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1800111c6
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800111c1
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800111f4
mov rcx, r8
call fcn.18001939c
xor al, al
mov r14, qword [rsp + 0x70]
mov byte [rbx], r15b
mov qword [rbx + 0x18], recv
mov qword [rbx + 0x10], r15
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180019340
add rsp, 0x30
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18001fadc
int3
Function at 0x1800122b0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180051020]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800123db
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1800123d2
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1800123b4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800123b4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800123b4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180012372
mov rcx, qword [0x180053e60]
mov r8d, 0x200
mov dword [rbx + 8], pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1800123d2
jmp 0x1800123a7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800123a7
mov rcx, qword [0x180053e60]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1800123d2
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180012320
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180012433
cmp dword [rbx + 0xc], esi
jbe 0x180012433
nop word [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18001242c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180012100
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x1800123f0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180019340
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180012460
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180051020]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x180054300]
mov rdx, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [rdx - 5]
cmove rdi, rdx
lea rsi, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800124c9
mov eax, 0xa
jmp 0x180012516
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 0x1800124e5
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180019340
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180012540
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [0x18005430c]
xor edi, edi
mov ebx, edi
test eax, eax
je 0x180012650
mov rcx, qword [0x180054300]
add rcx, 0x20
test byte [rcx], 2
je 0x180012583
inc ebx
add rcx, 0x38
cmp ebx, eax
jb 0x180012567
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180012650
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.1800122b0
mov edx, dword [0x18005430c]
cmp ebx, edx
jae 0x1800125dd
nop dword [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180054300]
test byte [rcx + rax + 0x20], 2
jne 0x1800125d7
mov ecx, ebx
call fcn.180012460
mov edi, eax
test eax, eax
jne 0x1800125dd
mov edx, dword [0x18005430c]
inc ebx
cmp ebx, edx
jb 0x1800125b0
cmp qword [rsp + 0x20], 0
je 0x180012650
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18001263c
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
mov qword [rsp + 0x48], rsi
nop
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 0x180012628
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 0x180012600
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180053e60]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x30
pop rdi
ret

Function at 0x180019c20
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
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]
Function at 0x18001fdec
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x18001fc5c

Function at 0x180103932
Capabilities:
Encode data using base64
Execute anti-debugging instructions

Disassembly:
not r10b
jbe 0x18021ed63
mov r10, qword [rsp + 0x90]
or qword [rsp + 0x58], rbp
call fcn.18020134d

Function at 0x180140c13
Capabilities:
Encode data using xor

Disassembly:
sub r14, 0x34875fb
xor r14d, dword [rsp + 0x84]
mov r14, qword [rsp + 0xa0]
add qword [rsp + 0x80], 0x41af5389
add word [rsp + 0x80], 0x3e01
jge 0x180166fd0
neg qword [rsp + 0x80]
push qword [rsp + 0x88]
popfq
lea rsp, [rsp + 0xa8]
ret
and byte [rcx + 0xf], al
iretd
jae 0x18012507b
sbb byte [rax], cl
movsb byte [rdi], byte [rsi]
int1
mov al, 0x54
sal byte [rdx], 1
xor dl, 8
outsb dx, byte [rsi]
cmp byte [rax + 0x349a2771], al
or byte [rbp + 0x2c], 6
or byte [rsi + 0x38], ch
xor byte [rcx + 0x27], 0x9a
xor al, 0x80
sub al, 6
lodsd eax, dword [rsi]
jg 0x180140c23
imul dword [rbp - 0x15]
jg 0x180140bdc
cmpsd dword [rsi], dword [rdi]
lodsd eax, dword [rsi]
fnstcw word [rdi - 0x68]
stc
xor al, 0x29
cmp byte [rbx - 0x7fdfc76c], 0xe6
and ebx, eax
fdivr dword [rdi - 0x3d]
cmpsb byte [rsi], byte [rdi]
mov ebx, 0x36a48017
nop
adc al, 0x80
invalid
xchg qword [rsp + rbx + 0x48], rbp
lea rbx, [rsi*8 + 0xf3f43cd]
lea rbx, [rbx + 0x58f71685]
setne sil
not byte [rsp]
push r9
mov rbx, qword [rsp + 0x48]
not word [rsp + 8]
mov r9, rsi
cmp esi, 0x236d2801
call fcn.180179451

Function at 0x180191ccd
Capabilities:
Encode data using xor

Disassembly:
sub cl, cl
xor cx, 0x4eb9
mov rcx, qword [rsp + 0x18]
je 0x180191ccf
push qword [rsp + 8]
popfq
lea rsp, [rsp + 0x20]
call fcn.180384444

Function at 0x1801c1b1c
Capabilities:
Encode data using xor

Disassembly:
push qword [rsp + 0x20]
popfq
lea rsp, [rsp + 0x28]
call fcn.180384444
sbb dword [rcx], ebp
sbb al, 0
sub bl, byte [rcx]
sub esp, dword [rbx - 0x3444c86b]
jg 0x1801c1bad
push rcx
and bh, byte [rbx]
xor byte [rbx + 0xc], 0x2e
xor al, byte [rax - 0x3531ac51]
jg 0x1801c1b27
invalid
invalid

Function at 0x1801eba66
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], 0xffffffffec84f79e
pushfq
movabs r14, 0x7d6066a641d3493f
test r14w, r14w
push r10
push rdx
movabs r14, 0x6de24c885316115e
mov r10, r14
not r10d
mov r14, qword [rsp + 0x20]
lea r10, [r10 + 0x46113b8]
sete r10b
xor r10w, 0x1475
add qword [rsp + 0x10], 0x7fdc40e6
neg r10
mov r10, qword [rsp]
jge 0x1801eba7e
push qword [rsp + 8]
popfq
lea rsp, [rsp + 0x28]
call fcn.1802a75fe
or eax, 0x748f6b75
in al, 0x17
xchg ecx, eax
jo 0x1801ebac0
or byte [rbp + 0x24648d48], bl
sub al, ch
xor bh, byte [rbx + 0x750d000b]
imul ecx, dword [rdi - 0x6ee81b8c], 0x70
invalid
pop rsi
pop rsp
sahf
jo 0x1801eba7f
xor cl, byte [rdi]
pop qword [eip - 0x708d7067]
or dword [rcx - 0x688f6c9e], 0x709c2f8b
invalid
Function at 0x18020cd99
Capabilities:
Packed with generic packer

Disassembly:
movzx si, word [rsp + 5]
mov qword [rsp + 0x28], rsi
sub cl, ch
setbe r9b
mov rcx, qword [rsp + 8]
sub esi, 0x3e147559
mov r12b, byte [rsp + 0x2a]
not rsi
mov rsi, qword [rsp + 0x20]
sub dword [rsp + 0x28], r12d
or byte [rsp + 0x28], 0xf0
jno 0x1801e2282
mov rsi, rcx
cmp ecx, dword [rsp]
setne byte [rsp]
movzx r12w, word [rsp + 2]
lea r12, [rcx*2 + 0x2d6f20d7]
add qword [rsp + 0x18], 0x7fe69f81
not dword [rsp]
xchg qword [rsp + 0x48], rbp
and r12d, dword [rsp + 4]
xor rcx, r12
cmp cl, byte [rsp]
jle 0x1800074fe
not byte [rsp + 0x28]
jle 0x180216d32
not word [rsp + 0x58]
sub bp, bp
mov rbp, qword [rsp + 0x90]
xor r10w, word [rsp + 0x58]
jbe 0x1801b6895
and r10, r10
and qword [rsp + 0x50], 0x46a3540d
sub word [rsp + 0x58], bx
add word [rsp + 0x58], r10w
mov rbx, qword [rsp + 0x68]
mov word [rsp + 0x58], 0x7f08
not r10w
neg word [rsp + 0x58]
not qword [rsp + 0x50]
or qword [rsp + 0x50], r10
add qword [rsp + 0x20], 0x7fdf27fb
mov r10, qword [rsp + 0x38]
call fcn.180153908
mov r12, qword [rsp + 0x10]
sub r9w, 0x2635
and qword [rsp + 0x28], 0x420539bd
xor byte [rsp], 0xef
and qword [rsp], 0xf2153b6
lea r9, [r9 + r9*4 + 0x59cb5173]
or qword [rsp + 0x28], r9
mov r9, qword [rsp + 0x30]
call fcn.1800151dd

Function at 0x18021000e
Capabilities:
Check for software breakpoints

Disassembly:
seta r9b
mov r9, qword [rsp + 0x20]
jne 0x1801aadb6
Function at 0x180238c80
Capabilities:
Contain obfuscated stackstrings
Encode data using base64
Execute anti-debugging instructions
Parse pe header

Disassembly:
call 0x1802298e9
test r8d, r8d
jmp 0x1802323c6
jg 0x1800e7ec0
Function at 0x140b2c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140b2c1df
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 0x140b2c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b2c06f
add dl, dl
jne 0x140b2c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b2c0f6
xor eax, eax
add dl, dl
jne 0x140b2c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b2c1ad
add dl, dl
jne 0x140b2c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b2c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b2c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b2c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b2c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b2c07e
mov eax, 1
add dl, dl
jne 0x140b2c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b2c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b2c0fb
sub eax, ebx
mov ebx, 1
jne 0x140b2c14c
mov ecx, 1
add dl, dl
jne 0x140b2c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b2c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b2c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b2c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b2c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b2c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b2c15d
cmp eax, 0x7d00
jae 0x140b2c19b
cmp eax, 0x500
jb 0x140b2c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b2c07e
cmp eax, 0x7f
ja 0x140b2c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b2c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b2c1d2
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 0x140b2c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20