joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140082268
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 0x1400822a2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400822a7
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 0x1400822f0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140088940]
cmp byte [rcx + rax], 0
je 0x1400822f0
dec r8
sub rdx, 1
jne 0x1400822d6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400834f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140083542
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140083542
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140083542
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140083542
cmp dword [rcx + 0x84], 0xe
jbe 0x140083542
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140083544
xor al, al
add rsp, 0x28
ret
Function at 0x14000b800
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fdd8]
test rcx, rcx
je 0x14000b83b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b82e
mov rcx, qword [0x14002fdd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fdd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fde8], 0
je 0x14000b92e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x1400298f0]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140030610]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b90f
test al, 0x10
je 0x14000b90f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b8b5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14087c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14087c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14087c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14087c06f
add dl, dl
jne 0x14087c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14087c0f6
xor eax, eax
add dl, dl
jne 0x14087c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14087c1ad
add dl, dl
jne 0x14087c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14087c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14087c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14087c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14087c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14087c07e
mov eax, 1
add dl, dl
jne 0x14087c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14087c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14087c0fb
sub eax, ebx
mov ebx, 1
jne 0x14087c14c
mov ecx, 1
add dl, dl
jne 0x14087c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14087c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14087c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14087c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14087c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14087c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14087c15d
cmp eax, 0x7d00
jae 0x14087c19b
cmp eax, 0x500
jb 0x14087c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14087c07e
cmp eax, 0x7f
ja 0x14087c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14087c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14087c1d2
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 0x14087c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140013310
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]
nop
add rsp, 0x28
ret
Function at 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014660
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014680
xor al, al
jmp 0x140014701
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014693
xor al, al
jmp 0x140014701
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 0x1400146bd
xor al, al
jmp 0x140014701
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400146d1
xor al, al
jmp 0x140014701
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400146e3
xor al, al
jmp 0x140014701
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400146ff
xor al, al
jmp 0x140014701
mov al, 1
add rsp, 0x38
ret
Function at 0x140012550
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113b6
movzx eax, al
test eax, eax
jne 0x140012570
mov ecx, 7
call fcn.140011334
nop
mov byte [rsp + 0x20], 0
call fcn.140011348
mov byte [rsp + 0x21], al
cmp dword [0x14001eb38], 1
jne 0x140012594
mov ecx, 7
call fcn.140011334
nop
jmp 0x1400125ec
cmp dword [0x14001eb38], 0
jne 0x1400125e7
mov dword [0x14001eb38], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111ae
test eax, eax
je 0x1400125c8
mov eax, 0xff
jmp 0x1400126f1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001133e
mov dword [0x14001eb38], 2
jmp 0x1400125ec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011320
call fcn.1400112b7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012649
mov rcx, qword [rsp + 0x30]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x140012649
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112e9
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001267d
mov rcx, qword [rsp + 0x38]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x14001267d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011375
nop
call fcn.1400127a0
mov dword [rsp + 0x28], eax
call fcn.140011294
movzx eax, al
test eax, eax
jne 0x14001269c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400126ab
call fcn.14001137f
nop
xor edx, edx
mov cl, 1
call fcn.14001114f
mov eax, dword [rsp + 0x28]
jmp 0x1400126f1
add rsp, 0x68
ret
Function at 0x140001390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
movzx eax, word [rsp + 0x60]
mov r8d, 0xa
mov edx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140001430
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x140001590
Capabilities:
Resolve function by djb2 hash

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rcx + rax + 0x88]
add rax, qword [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0xb8]
cmp dword [rcx + rax + 0x88], 0
je 0x1400015eb
mov dword [rsp + 0x40], 0xc
jmp 0x1400015f3
mov dword [rsp + 0x40], 1
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x58], 0x7040ee75
mov dword [rsp + 0x5c], 0x5fbff0fb
mov dword [rsp + 0x48], 0
mov ecx, dword [rsp + 0x58]
call fcn.140001460
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x78]
call fcn.140001bb0
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rcx + rax*8 + 0x88]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rcx + rax*8 + 0x8c]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x60]
add rax, qword [rsp + 0xb0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0xc], 0
je 0x1400017e4
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
add rax, qword [rsp + 0xb0]
mov rcx, rax
call qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
add rax, qword [rsp + 0xb0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x1400016e9
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
add rax, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rax
jmp 0x1400016fe
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
add rax, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400017d1
mov rax, qword [rsp + 0x38]
movabs rcx, 0x8000000000000000
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x14000175c
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
and rax, 0xffff
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
movzx r8d, ax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.140001bb0
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
jmp 0x1400017b0
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb0]
lea rax, [rax + rcx + 2]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400020c0
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
call fcn.140001bb0
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
mov rax, qword [rsp + 0x50]
add rax, 8
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
add rax, 8
mov qword [rsp + 0x38], rax
jmp 0x1400016fe
mov rax, qword [rsp + 0x30]
add rax, 0x14
mov qword [rsp + 0x30], rax
jmp 0x140001689
xor eax, eax
add rsp, 0xa8
ret
Function at 0x1400018f0
Capabilities:
Resolve function by djb2 hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax + 0x3c]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x90]
lea rax, [rax + rcx + 0x108]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x50], 0x7040ee75
mov dword [rsp + 0x54], 0x382c0f97
mov dword [rsp + 0x58], 0x844ff18d
mov ecx, dword [rsp + 0x50]
call fcn.140001460
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x60]
call fcn.140001bb0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140001bb0
mov qword [rsp + 0x70], rax
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + rax + 0x88], 0
je 0x1400019d0
xor eax, eax
jmp 0x140001aaf
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x50]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0x54]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.140002180
nop
mov dword [rsp + 0x38], 0
jmp 0x140001a21
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x38], eax
jge 0x140001aaa
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
add rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0xc]
add rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
mov r8d, dword [rdx + 0x10]
mov rdx, rax
call fcn.140002180
nop
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x140001a97
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0xc]
add rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x5c]
mov r8d, 0x20
mov edx, eax
call qword [rsp + 0x70]
nop
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x30], rax
jmp 0x140001a17
mov rax, qword [rsp + 0x40]
add rsp, 0x88
ret
Function at 0x1400020c0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0x1505
cmp qword [rsp + 0x20], 0
jne 0x1400020dc
xor eax, eax
jmp 0x140002119
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp dword [rsp + 8], 0
je 0x140002116
mov eax, dword [rsp]
shl eax, 5
add eax, dword [rsp]
add eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x1400020dc
mov eax, dword [rsp]
add rsp, 0x18
ret

Function at 0x140002120
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0x1505
cmp qword [rsp + 0x20], 0
jne 0x14000213c
xor eax, eax
jmp 0x14000217a
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x20]
add rax, 2
mov qword [rsp + 0x20], rax
cmp dword [rsp + 8], 0
je 0x140002177
mov eax, dword [rsp]
shl eax, 5
add eax, dword [rsp]
add eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x14000213c
mov eax, dword [rsp]
add rsp, 0x18
ret
Function at 0x140002320
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x40], 0x7040ee75
mov dword [rsp + 0x44], 0xbdb9f1ae
mov ecx, dword [rsp + 0x40]
call fcn.140001460
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x68]
call fcn.140001bb0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0xb0]
call fcn.1400018f0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400023d0
xor eax, eax
jmp 0x140002508
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140001590
nop
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x38]
cmp dword [rcx + rax + 0x88], 0
je 0x140002461
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140002461
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1400017f0
nop
mov eax, 8
imul rax, rax, 3
mov rcx, qword [rsp + 0x38]
cmp dword [rcx + rax + 0x88], 0
je 0x1400024ce
mov eax, 8
imul rax, rax, 3
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov eax, 8
imul rax, rax, 3
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x8c]
xor edx, edx
mov ecx, 0xc
div rcx
mov r8, qword [rsp + 0x30]
mov edx, eax
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x70]
nop
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x80], rax
call qword [rsp + 0x80]
xor eax, eax
add rsp, 0xa8
ret
Function at 0x140002510
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp word [rax + rcx*2], 0
jne 0x140002553
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, qword [rsp + 0x178]
call fcn.1400026a0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
jmp 0x1400025b0
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x170]
cmp qword [rsp + 0x30], rax
jae 0x140002687
mov eax, dword [rsp + 0x24]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
movzx eax, byte [rsp + rax + 0x50]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x28]
lea rax, [rsp + rax + 0x50]
movsxd rcx, dword [rsp + 0x24]
lea rcx, [rsp + rcx + 0x50]
mov rdx, rax
call fcn.140002790
movsxd rax, dword [rsp + 0x24]
movzx eax, byte [rsp + rax + 0x50]
movsxd rcx, dword [rsp + 0x28]
movzx ecx, byte [rsp + rcx + 0x50]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
movzx eax, byte [rsp + rax + 0x50]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x168]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
xor eax, ecx
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x160]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x1400025a3
xor eax, eax
add rsp, 0x150
pop rdi
ret
Function at 0x14109f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14109f1df
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 0x14109f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14109f06f
add dl, dl
jne 0x14109f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14109f0f6
xor eax, eax
add dl, dl
jne 0x14109f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14109f1ad
add dl, dl
jne 0x14109f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14109f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14109f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14109f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14109f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14109f07e
mov eax, 1
add dl, dl
jne 0x14109f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14109f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14109f0fb
sub eax, ebx
mov ebx, 1
jne 0x14109f14c
mov ecx, 1
add dl, dl
jne 0x14109f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14109f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14109f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14109f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14109f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14109f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14109f15d
cmp eax, 0x7d00
jae 0x14109f19b
cmp eax, 0x500
jb 0x14109f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14109f07e
cmp eax, 0x7f
ja 0x14109f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14109f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14109f1d2
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 0x14109f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20