joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f200
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44f377
movzx edx, byte [rax]
test edx, edx
jne 0x44f234
nop dword [rax]
test r8b, r8b
jne 0x44f234
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x44f247
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44f337
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x44f325
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x44f317
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x44f29d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x44f2e0
mov eax, 1
cmp rax, rbx
ja 0x44f2cb
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00461940
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x44f30f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x44f2d3
mov rcx, r11
mov eax, r12d
jmp 0x44f2a2
mov rcx, rbx
call fcn.00461880
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00461880
mov eax, r8d
mov rcx, rbx
call fcn.00461940
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44f36d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x44f330
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44f24d
mov eax, edx
mov rcx, rbx
call fcn.00461880
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00461880
nop
int3
Function at 0x4568a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45694f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
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 rsi, [0x004569a0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045f4c0
xorps xmm15, xmm15
mov r14, qword [0x00657090]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045f600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.004568a0
Function at 0x4613e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4031e3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00408e80
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4031c0
cmp byte [0x00656e4e], 0
je 0x4613f5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45e640
jmp 0x4031c0

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

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00657140]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x00656e4e], 0
je 0x461435
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00657420]
aesenc xmm0, xmmword [0x00657430]
aesenc xmm0, xmmword [0x00657440]
movq rax, xmm0
ret
jmp 0x4090a0

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

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00657140]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x00656e4e], 0
je 0x461476
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00657420]
aesenc xmm0, xmmword [0x00657430]
aesenc xmm0, xmmword [0x00657440]
movq rax, xmm0
ret
jmp 0x409100

Function at 0x463140
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
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 0x463174
mov rcx, 0x28
jmp 0x46317f
shl rcx, 3
add rcx, 0x1480
mov qword [0x00657090], rcx
pop rbp
ret
Function at 0x47cb40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47cc0a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.004030e0
xorps xmm15, xmm15
mov r14, qword [0x00657090]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47cbef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004c4920]
xor ebx, ebx
mov rcx, rdx
call fcn.00447cc0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0047d6a0
inc rbx
cmp rcx, rbx
jae 0x47cbde
mov edi, 1
lea rsi, [0x004c4920]
call fcn.00447da0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x0056bb48]
lea rsi, [0x0056b3d0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0047cb40
Function at 0x4a70a0
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x4a710b
mov rax, 0
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x4a70c4
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x4a70e1
cmp rdx, 0
je 0x4a712d
test rdx, 0xf
je 0x4a70bd
test rdx, 7
jne 0x4a70e1
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x4a70bd
ret
Function at 0x4a8ac0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x4a8aff
jb 0x4a8b14
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesdeclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x4a8b80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x4a8c54
jb 0x4a8cb3
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.004a8a60
aeskeygenassist xmm1, xmm0, 1
call fcn.004a8a80
aeskeygenassist xmm1, xmm2, 2
call fcn.004a8a60
aeskeygenassist xmm1, xmm0, 2
call fcn.004a8a80
aeskeygenassist xmm1, xmm2, 4
call fcn.004a8a60
aeskeygenassist xmm1, xmm0, 4
call fcn.004a8a80
aeskeygenassist xmm1, xmm2, 8
call fcn.004a8a60
aeskeygenassist xmm1, xmm0, 8
call fcn.004a8a80
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004a8a60
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004a8a80
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004a8a60
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004a8a80
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004a8a60
jmp 0x4a8d21
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.004a89c0
aeskeygenassist xmm1, xmm2, 2
call fcn.004a8a20
aeskeygenassist xmm1, xmm2, 4
call fcn.004a89c0
aeskeygenassist xmm1, xmm2, 8
call fcn.004a8a20
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004a89c0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004a8a20
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004a89c0
aeskeygenassist xmm1, xmm2, 0x80
call fcn.004a8a20
jmp 0x4a8d21
aeskeygenassist xmm1, xmm0, 1
call fcn.004a8980
aeskeygenassist xmm1, xmm0, 2
call fcn.004a8980
aeskeygenassist xmm1, xmm0, 4
call fcn.004a8980
aeskeygenassist xmm1, xmm0, 8
call fcn.004a8980
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004a8980
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004a8980
aeskeygenassist xmm1, xmm0, 0x40
call fcn.004a8980
aeskeygenassist xmm1, xmm0, 0x80
call fcn.004a8980
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.004a8980
aeskeygenassist xmm1, xmm0, 0x36
call fcn.004a8980
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x4a8d2e
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret

Function at 0x4ac7a0
Capabilities:
Execute syscall

Disassembly:
xor rax, rax
mov ax, word [rsp + 8]
push rcx
mov rcx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov rdi, qword gs:[0x30]
mov dword [rdi + 0x68], 0
sub rsp, 0x80
cmp ecx, 4
jle 0x4ac7e0
cmp ecx, 0x10
jle 0x4ac7d6
int 3
mov rdi, rsp
cld
rep movsq qword [rdi], qword [rsi]
mov rsi, rsp
sub rsp, 8
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
mov r9, qword [rsi + 0x18]
movq xmm0, rcx
movq xmm1, rdx
movq xmm2, r8
movq xmm3, r9
mov r10, rcx
syscall
add rsp, 0x88
pop rcx
mov dword [rsp + 0x28], eax
ret
Function at 0x4ae9c0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4ae9d7
inc rax
cmp rax, 4
jge 0x4ae9ef
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4ae9d4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4aea00
inc rax
cmp rax, 4
jge 0x4aea0e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4aea37
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4aea1b
jmp 0x4ae9fd
Function at 0x4b8d20
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x4b8fb9
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], rax
nop
lea rax, [0x004d4cc0]
call fcn.0040c8e0
mov qword [rsp + 0x70], rax
mov qword [rax + 8], 9
lea rcx, [0x004e0706]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004d4cc0]
call fcn.0040c8e0
mov qword [rsp + 0x68], rax
mov qword [rax + 8], 8
lea rcx, [0x004e049e]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004d4c00]
call fcn.0040c8e0
cmp dword [0x006570d0], 0
jne 0x4b8db7
mov rcx, qword [rsp + 0x70]
jmp 0x4b8dc4
call fcn.00461500
mov rcx, qword [rsp + 0x70]
mov qword [r11], rcx
mov qword [rsp + 0x60], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xd
lea rcx, [0x004e151d]
mov qword [rax], rcx
nop
lea rax, [0x004d4c00]
call fcn.0040c8e0
cmp dword [0x006570d0], 0
jne 0x4b8e00
mov rcx, qword [rsp + 0x68]
jmp 0x4b8e0d
call fcn.00461500
mov rcx, qword [rsp + 0x68]
mov qword [r11], rcx
mov qword [rsp + 0x58], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xc
lea rcx, [0x004e109d]
mov qword [rax], rcx
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x48], rcx
lea rax, [0x004c5680]
call fcn.0040c8e0
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], 0x3000
mov qword [rax + 0x18], 0x40
mov rbx, rax
mov edi, 4
mov rax, qword [rsp + 0x58]
mov rcx, rdi
call fcn.004b1e00
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
jbe 0x4b8fae
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rcx
lea rax, [0x004c5620]
call fcn.0040c8e0
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x10], rcx
mov rbx, rax
mov ecx, 3
mov rdi, rcx
mov rax, qword [rsp + 0x60]
nop dword [rax]
call fcn.004b1e00
movzx ecx, word [0x00656e64]
mov word [rsp + 0x3e], cx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x80], rdx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x78], rdx
lea rax, [0x004c56e0]
nop dword [rax]
call fcn.0040c8e0
mov qword [rax], 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0x20
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
movzx ecx, word [rsp + 0x3e]
mov word [rsp], cx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 5
mov qword [rsp + 0x18], 5
call fcn.004ac7a0
xorps xmm15, xmm15
mov r14, qword [0x00657090]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x40]
xor ebx, ebx
mov rcx, rbx
mov rdi, rcx
mov rsi, rcx
nop dword [rax]
call fcn.0045df40
add rsp, 0x98
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.00461880
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045f600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
jmp fcn.004b8d20
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020504]
cmp r15, 1
jne 0x140004953
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205e4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205e4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205e4]
call fcn.14000dd0c
mov rcx, qword [0x1400205e4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205ec]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f180]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021200]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020630]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020630]
call fcn.1400123b8
lea rcx, [0x140021200]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
jne 0x14003f5e1
test eax, 0x16dc8282
jg 0x14003f68a
invalid
sbb dword [rdi + 0x31866496], 0x6e4c85f8
sar dword [rsi], 4
xchg esp, eax
push rax
dec byte [rax + rdi]
sub ebx, esp
fisttp word [rdi]
retf
lahf
add eax, 0x47af7fb6
mov ecx, 0xd998c259
mov dh, 0xa2
fld qword [0x17c3d3d44]
xchg edx, eax
cmp al, 0x92
sar dword [rsi - 0x46], 0x90
mov edx, 0x856721c1
pop rax
sub ebp, ecx
lea ebx, [rsi]
lea r15d, [r11 - 0x29013617]
invalid
invalid
mov edx, 0x21c1ba90
test dword [eax + 0x2b], ebx
jmp 0xcd4b1543
invalid
invalid
jb 0x14003f6a4
invalid
and byte [rcx - 0xe2839ee], cl
sbb ah, byte [rcx*2 - 0x26705def]
movabs byte [0x104132329a3ad98f], al
fnstcw word [rdx]
invalid
pop rcx
invalid
Function at 0x180eba058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x180eba1df
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 0x180eba089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180eba06f
add dl, dl
jne 0x180eba096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180eba0f6
xor eax, eax
add dl, dl
jne 0x180eba0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180eba1ad
add dl, dl
jne 0x180eba0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180eba0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180eba0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180eba0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180eba0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180eba07e
mov eax, 1
add dl, dl
jne 0x180eba106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180eba113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180eba0fb
sub eax, ebx
mov ebx, 1
jne 0x180eba14c
mov ecx, 1
add dl, dl
jne 0x180eba12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180eba13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180eba123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180eba07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180eba168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180eba175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180eba15d
cmp eax, 0x7d00
jae 0x180eba19b
cmp eax, 0x500
jb 0x180eba196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180eba07e
cmp eax, 0x7f
ja 0x180eba19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180eba07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180eba1d2
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 0x180eba07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180451058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1804511df
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 0x180451089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18045106f
add dl, dl
jne 0x180451096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1804510f6
xor eax, eax
add dl, dl
jne 0x1804510a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1804511ad
add dl, dl
jne 0x1804510b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1804510c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1804510d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1804510dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1804510ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18045107e
mov eax, 1
add dl, dl
jne 0x180451106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180451113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1804510fb
sub eax, ebx
mov ebx, 1
jne 0x18045114c
mov ecx, 1
add dl, dl
jne 0x18045112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18045113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180451123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18045107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180451168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180451175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18045115d
cmp eax, 0x7d00
jae 0x18045119b
cmp eax, 0x500
jb 0x180451196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18045107e
cmp eax, 0x7f
ja 0x18045119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18045107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1804511d2
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 0x18045107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180001420
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x18005c020]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor eax, eax
lea rdi, [rsp + 0x50]
mov ecx, 0x20a
lea rdx, [rsp + 0x50]
rep stosb byte [rdi], al
mov rcx, qword [0x180063990]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x18000153f
xor ebx, ebx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000153f
mov rcx, rax
call fcn.180001340
test eax, eax
je 0x18000153f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x10000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18000153f
xor eax, eax
lea rdi, [rsp + 0x40]
mov ecx, 1
lea r8, [rsp + 0x40]
rep stosb byte [rdi], al
mov rcx, rbx
mov byte [rsp + 0x40], 1
lea r9d, [rax + 1]
lea edx, [rax + 4]
call qword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
test eax, eax
je 0x18000153f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000153f
mov eax, 1
jmp 0x180001541
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18001ae20
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret