joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801d64e0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x1801d6520
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1802a19f0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1801d655e
cmp rsi, r14
jb 0x1801d6556
cmp rsi, r15
jae 0x1801d6556
cmp qword [rsi + 8], 0
jne 0x1801d6727
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1801d6541
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1801d65f2
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1801d65e9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1801d65e9
cmp dword [rsp + 0x70], 0x10000
je 0x1801d666b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1801d65e9
sub rbx, rbp
cmp rbx, r14
jae 0x1801d65b0
test rsi, rsi
jne 0x1801d66d0
cmp rdi, r15
ja 0x1801d670f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1801d670f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1801d670f
cmp dword [rsp + 0x70], 0x10000
je 0x1801d66a1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1801d6622
jmp 0x1801d670f
test rbx, rbx
je 0x1801d65e9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1801d66d0
cmp rbx, r14
jae 0x1801d6590
jmp 0x1801d65f2
test rdi, rdi
je 0x1801d670f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1801d66d0
cmp rdi, r15
jbe 0x1801d6600
jmp 0x1801d670f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1801d66e0
mov rax, qword [0x1802a19f0]
mov qword [rsi], rax
mov qword [0x1802a19f0], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x1801d8808
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1801d8842
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1801d8847
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1801d8890
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1801d8890
dec r8
sub rdx, 1
jne 0x1801d8876
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140d4e8b6
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub ebx, 0x3a982914
neg ebx
jmp 0x140cfb1ca
push r8
rcl r8b, 0x8b
xor dword [rsp], ebx
adc r8w, 0x4b3e
sub r8b, 0x4f
add r8w, 0x1c02
pop r8
test dx, di
jmp 0x140d916a6
ror ebx, 1
sub ebx, 0x2065378f
jmp 0x140c94107
push r10
ret
push r10
not r10b
push rdx
push r8
not dl
movsxd rdx, eax
push r12
movsx r8w, bpl
push rsi
push rbp
cwd
movzx r10w, r11b
push r9
mov dx, 0x1a0b
sete bpl
push rcx
movsx edx, si
push rax
push rdi
push r14
rdtsc
cmovae di, r11w
cwd
push r11
not dil
rdtsc
push r13
setbe r8b
cdqe
cwde
pushfq
push r15
push rbx
btr ebx, 0x5f
movabs rax, 0
push rax
mov r9, qword [rsp + 0x90]
xor r9d, 0x8321fb0
movsx rbx, si
cdq
not r9d
dec bpl
movzx r8d, r11w
inc r9d
cmove r10d, ecx
rcr r10b, cl
neg r9d
and rbp, 0x59ea75a4
movsx r10, dx
sal bl, 0x4e
add r9, rax
movsx ebx, sp
ror bpl, 0x21
btr rbx, rdx
movabs rdx, 0x100000000
lea r9, [r9 + rdx]
mov rbp, rsp
movzx r10d, si
mov r8w, 0xde2
sub rsp, 0x180
sbb bl, r8b
stc
and rsp, 0xfffffffffffffff0
mov r8, r9
movsx r10w, spl
movabs rdi, 0
test r8, rsp
sub r8, rdi
movzx bx, r8b
movzx rbx, r13w
cmc
lea r10, [0x140d4e9a6]
sub r9, 4
cmp r12b, r12b
mov ebx, dword [r9]
xor ebx, r8d
cmp bl, bh
sub ebx, 0x5f140ce8
stc
xor ebx, 0x73140f09
jmp 0x140c57d0d
movsxd rbx, ebx
clc
cmp sil, bpl
test cx, 0x7811
add r10, rbx
jmp 0x140d1ed1d
Function at 0x140025e10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140025e1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140025e2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140025e15
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140025e45
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140025e32
sub eax, 3
jb 0x140025e5f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140025e96
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140025e86
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140025e84
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140025e73
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140025dd2
jmp 0x140025e1d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x16a00
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140025ee2
cmp rsi, rcx
jae 0x140025eea
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140025ec9
cmp al, 0x8f
ja 0x140025ec9
cmp byte [rsi - 2], 0xf
je 0x140025ecf
sub al, 0xe8
cmp al, 1
ja 0x140025eb3
cmp rsi, rcx
jae 0x140025eea
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140025eb9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140025eea
lodsb al, byte [rsi]
jmp 0x140025ec9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x23000]
mov eax, dword [rdi]
or eax, eax
je 0x140025f47
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x267e0]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140025ef7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140025f41
mov qword [rbx], rax
add rbx, 8
jmp 0x140025f17
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140025f9f
sub rsp, 0xffffffffffffff80
jmp section.UPX0
Function at 0x140001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x90]
sub eax, 0xc02
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x80]
xor eax, 0xc05
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x68]
xor eax, 0xecb
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x80]
sub eax, 0x648
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x90]
add eax, 0x3e
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x68]
add eax, 0x540
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x90]
xor eax, 0x25c
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x24]
xor eax, 0xe5e
cmp dword [rsp + 0x28], eax
jg 0x1400010f4
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax]
or eax, 0x199dd
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0x3c]
sub eax, 0xffffe104
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x138], eax
mov eax, dword [rsp + 0x24]
xor eax, 0xe45
mov dword [rsp + 0x24], eax
jmp 0x140001189
mov eax, dword [rsp + 0x2c]
add eax, 0xe27
cmp dword [rsp + 0x24], eax
jl 0x140001189
mov eax, 4
imul rax, rax, 2
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x88]
mov ecx, dword [rdx + rcx + 0x48]
mov edx, dword [rsp + 0x28]
add edx, ecx
mov ecx, edx
mov edx, 4
imul rdx, rdx, 3
mov r8, qword [rsp + 0x88]
and ecx, dword [r8 + rdx + 0x110]
mov rdx, qword [rsp + 0x88]
cmp dword [rdx + rax + 0xd8], ecx
jb 0x140001189
mov byte [rsp + 0x20], 0x28
mov qword [rsp + 0x48], 0x1654
mov qword [rsp + 0x40], 0x1f8e
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
movzx ecx, byte [rsp + 0x20]
call fcn.14000fd50
mov word [0x1403084ac], ax
mov eax, dword [rsp + 0x28]
sub eax, 0x1f3
add rsp, 0x58
ret
Function at 0x140001780
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x80]
sub eax, 0x648
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
add eax, 0x196
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x60]
sub eax, 0x3f8
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x60]
sub eax, 0x4b3
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x78]
add eax, 0x1bd
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x80]
xor eax, 0x648
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
add eax, 3
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x88]
add eax, 0x406
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jge 0x14000189b
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xf0]
xor eax, 0xfec7e38a
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 0x7c], eax
mov eax, dword [rsp + 0x20]
xor eax, 0x5d2
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0xb8], 0xaf35
jae 0x140001896
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x90]
mov edx, dword [rdx + 0x74]
mov eax, dword [rcx + rax + 0x64]
xor eax, edx
add eax, 0xabc61
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 0x7c]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 0x7c], eax
jmp 0x14000193d
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xfc]
sub eax, 0xc02
cmp dword [rsp + 0x28], eax
ja 0x14000193d
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax + 0x2c]
and eax, 0xe5e
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xb8]
add eax, 0xa4d
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x90]
or eax, dword [rdx + rcx + 0xc4]
mov eax, eax
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x90]
mov edx, dword [rsp + 0x24]
mov eax, dword [rcx + rax + 0x124]
xor eax, edx
or eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x24]
xor eax, 0x198
cmp dword [rsp + 0x28], eax
jg 0x14000196a
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0xe8]
mov qword [rax + 0xb0], rcx
mov eax, dword [rsp + 0x38]
add eax, 0xbd5
add rsp, 0x58
ret
Function at 0x140005778
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 [0x14450f000]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400014c4
xor ebx, ebx
cmp qword [0x144511928], rbx
mov rdi, rax
jne 0x14000588b
lea rcx, str.USER32.DLL
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140005962
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140005962
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x144511928], 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 [0x144511930], 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 [0x144511938], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
mov r11, rax
mov qword [0x144511948], rax
test rax, rax
je 0x140005882
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
mov qword [0x144511940], rax
jmp 0x140005892
mov rax, qword [0x144511940]
jmp 0x140005899
mov rax, qword [0x144511940]
mov r11, qword [0x144511948]
cmp rax, rdi
je 0x140005900
cmp r11, rdi
je 0x140005900
mov rcx, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov rcx, qword [0x144511948]
mov rsi, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140005900
test rax, rax
je 0x140005900
call rsi
test rax, rax
je 0x1400058fa
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 0x1400058fa
test byte [rsp + 0x40], 1
jne 0x140005900
bts ebp, 0x15
jmp 0x140005940
mov rcx, qword [0x144511930]
cmp rcx, rdi
je 0x140005940
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x140005940
call rax
mov rbx, rax
test rax, rax
je 0x140005940
mov rcx, qword [0x144511938]
cmp rcx, rdi
je 0x140005940
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x140005940
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x144511928]
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x140005962
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140005964
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140005384
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140005cab
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14450f000]
jne 0x14000539e
rol rcx, 0x10
test cx, 0xffff
jne 0x14000539a
repz ret
ror rcx, 0x10
jmp 0x140005c04
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1445119f0]
call qword [sym.imp.kernel32.dll_RtlCaptureContext]
mov rax, qword [0x144511ae8]
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 0x140005c89
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, [0x1445119f0]
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 0x140005cab
mov rax, qword [rsp + 0x88]
mov qword [0x144511ae8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x144511a88], rax
mov rax, qword [0x144511ae8]
mov qword [0x144511960], rax
mov rax, qword [rsp + 0x90]
mov qword [0x144511a70], rax
mov dword [0x144511950], 0xc0000409
mov dword [0x144511954], 1
mov rax, qword [0x14450f000]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14450f008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1445119e8], eax
mov ecx, 1
call fcn.140005764
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x144510948]
call qword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1445119e8], 0
jne 0x140005d32
mov ecx, 1
call fcn.140005764
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 0x141654108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14165428f
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 0x141654139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14165411f
add dl, dl
jne 0x141654146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416541a6
xor eax, eax
add dl, dl
jne 0x141654155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14165425d
add dl, dl
jne 0x141654166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141654173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141654180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14165418d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14165419a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14165412e
mov eax, 1
add dl, dl
jne 0x1416541b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416541c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1416541ab
sub eax, ebx
mov ebx, 1
jne 0x1416541fc
mov ecx, 1
add dl, dl
jne 0x1416541de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1416541eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1416541d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14165412e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141654218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141654225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14165420d
cmp eax, 0x7d00
jae 0x14165424b
cmp eax, 0x500
jb 0x141654246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14165412e
cmp eax, 0x7f
ja 0x14165424e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14165412e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141654282
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 0x14165412e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1808b8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1808b81df
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 0x1808b8089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808b806f
add dl, dl
jne 0x1808b8096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808b80f6
xor eax, eax
add dl, dl
jne 0x1808b80a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808b81ad
add dl, dl
jne 0x1808b80b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808b80c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808b80d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808b80dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1808b80ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1808b807e
mov eax, 1
add dl, dl
jne 0x1808b8106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808b8113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808b80fb
sub eax, ebx
mov ebx, 1
jne 0x1808b814c
mov ecx, 1
add dl, dl
jne 0x1808b812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1808b813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808b8123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1808b807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1808b8168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1808b8175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808b815d
cmp eax, 0x7d00
jae 0x1808b819b
cmp eax, 0x500
jb 0x1808b8196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1808b807e
cmp eax, 0x7f
ja 0x1808b819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1808b807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1808b81d2
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 0x1808b807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140079af0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r12
push r15
push rbp
mov r10, qword [rcx]
mov ecx, 1
mov rax, qword [r10 + 0x258]
movsxd rdi, dword [rax]
test rdi, rdi
jle 0x140079c07
mov r12, qword [r10 + 0xcb28]
mov r15, qword [r10 + 0xcb30]
mov rsi, qword [r10 + 0x2a0]
mov rbp, qword [r12 + 0x2e0]
mov r8, qword [r12 + 0xe8]
mov r11, qword [r10 + 0xcd00]
mov rdx, qword [r10 + 0x2e8]
mov rax, qword [r15 + 0x2e0]
mov rbx, qword [r15 + 0xe8]
shl r11, 3
shl r8, 2
shl rsi, 2
neg r8
shl rbp, 3
neg rsi
shl rbx, 2
neg rbp
shl rdx, 2
neg rbx
shl rax, 3
neg rdx
mov r9, qword [r10 + 0xccc0]
neg rax
sub r9, r11
add r8, qword [r12 + 0xa8]
add r9, 8
add rsi, qword [r10 + 0x260]
add rbp, qword [r12 + 0x2a0]
add rbx, qword [r15 + 0xa8]
add rdx, qword [r10 + 0x2a8]
add rax, qword [r15 + 0x2a0]
nop dword [rax]
movsxd r10, dword [rsi + rcx*4]
movsxd r12, dword [rdx + rcx*4]
inc rcx
movsxd r11, dword [r8 + r10*4]
movsd xmm0, qword [rbp + r11*8]
addsd xmm0, qword [r9]
movsd qword [rbp + r11*8], xmm0
movsxd r15, dword [rbx + r12*4]
movsd xmm1, qword [r9]
add r9, 8
xorps xmm1, xmmword [0x1404cee10]
addsd xmm1, qword [rax + r15*8]
movsd qword [rax + r15*8], xmm1
cmp rcx, rdi
jle 0x140079bc0
pop rbp
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret