joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400545e8
Capabilities:
Decompress data using aplib

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x40
mov al, byte [rcx]
or r14d, 0xffffffff
and dword [rbp - 0xc], 0
xor r9d, r9d
mov byte [rdx], al
xor edi, edi
lea rax, [rdx + 1]
mov rbx, rdx
mov qword [rbp - 0x18], rax
mov r11d, r14d
lea rax, [rcx + 1]
mov qword [rbp - 0x20], rax
lea esi, [rdi + 1]
lea rcx, [rbp - 0x20]
call fcn.14005482c
test eax, eax
je 0x1400547e8
lea rcx, [rbp - 0x20]
call fcn.14005482c
test eax, eax
je 0x1400546ee
lea rcx, [rbp - 0x20]
call fcn.14005482c
test eax, eax
je 0x1400546aa
xor r9d, r9d
lea r10d, [r9 + 4]
lea rcx, [rbp - 0x20]
call fcn.14005482c
lea r9d, [rax + r9*2]
sub r10d, esi
jne 0x140054663
test r9d, r9d
je 0x140054697
mov rdx, qword [rbp - 0x18]
mov rax, rdx
mov ecx, r9d
sub rax, rcx
mov al, byte [rax]
mov byte [rdx], al
add rdx, rsi
mov qword [rbp - 0x18], rdx
jmp 0x140054802
mov rax, qword [rbp - 0x18]
mov byte [rax], 0
add rax, rsi
mov qword [rbp - 0x18], rax
jmp 0x140054802
mov rax, qword [rbp - 0x20]
movzx r11d, byte [rax]
add rax, rsi
mov ecx, r11d
mov qword [rbp - 0x20], rax
and ecx, esi
add ecx, 2
shr r11d, 1
je 0x1400546e7
mov rdx, qword [rbp - 0x18]
mov r8d, r11d
neg r8
mov al, byte [r8 + rdx]
mov byte [rdx], al
add rdx, rsi
add ecx, r14d
jne 0x1400546d0
mov qword [rbp - 0x18], rdx
jmp 0x1400547e3
mov edi, esi
jmp 0x1400547e3
mov r10d, esi
lea rcx, [rbp - 0x20]
call fcn.14005482c
lea rcx, [rbp - 0x20]
lea r10d, [rax + r10*2]
call fcn.14005482c
test eax, eax
jne 0x1400546f1
test r9d, r9d
jne 0x140054758
cmp r10d, 2
jne 0x140054758
mov r9d, esi
lea rcx, [rbp - 0x20]
call fcn.14005482c
lea rcx, [rbp - 0x20]
lea r9d, [rax + r9*2]
call fcn.14005482c
test eax, eax
jne 0x140054719
test r9d, r9d
je 0x1400547e3
mov rcx, qword [rbp - 0x18]
mov edx, r11d
neg rdx
mov al, byte [rdx + rcx]
mov byte [rcx], al
add rcx, rsi
add r9d, r14d
jne 0x140054746
jmp 0x1400547df
mov rcx, qword [rbp - 0x20]
xor r9d, esi
sub r10d, r9d
mov r9d, esi
shl r10d, 8
movzx r11d, byte [rcx]
add r11d, 0xfffffe00
add r11d, r10d
add rcx, rsi
mov qword [rbp - 0x20], rcx
lea rcx, [rbp - 0x20]
call fcn.14005482c
lea rcx, [rbp - 0x20]
lea r9d, [rax + r9*2]
call fcn.14005482c
test eax, eax
jne 0x14005477e
cmp r11d, 0x7d00
lea eax, [r9 + 1]
cmovb eax, r9d
cmp r11d, 0x500
lea ecx, [rax + 1]
cmovb ecx, eax
cmp r11d, 0x80
lea r8d, [rcx + 2]
cmovae r8d, ecx
test r8d, r8d
je 0x1400547e3
mov rcx, qword [rbp - 0x18]
mov edx, r11d
neg rdx
mov al, byte [rdx + rcx]
mov byte [rcx], al
add rcx, rsi
add r8d, r14d
jne 0x1400547d2
mov qword [rbp - 0x18], rcx
mov r9d, esi
jmp 0x140054805
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x18]
mov al, byte [rdx]
mov byte [rcx], al
add rcx, rsi
add rdx, rsi
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x20], rdx
xor r9d, r9d
test edi, edi
je 0x14005462d
mov eax, dword [rbp - 0x18]
mov rsi, qword [rsp + 0x58]
sub eax, ebx
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
Function at 0x140054770
Capabilities:
Decompress data using aplib

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x40
mov al, byte [rcx]
or r14d, 0xffffffff
and dword [rbp - 0xc], 0
xor r9d, r9d
mov byte [rdx], al
xor edi, edi
lea rax, [rdx + 1]
mov rbx, rdx
mov qword [rbp - 0x18], rax
mov r11d, r14d
lea rax, [rcx + 1]
mov qword [rbp - 0x20], rax
lea esi, [rdi + 1]
lea rcx, [rbp - 0x20]
call fcn.14005482c
test eax, eax
je 0x1400547e8
lea rcx, [rbp - 0x20]
call fcn.14005482c
test eax, eax
je 0x1400546ee
lea rcx, [rbp - 0x20]
call fcn.14005482c
test eax, eax
je 0x1400546aa
xor r9d, r9d
lea r10d, [r9 + 4]
lea rcx, [rbp - 0x20]
call fcn.14005482c
lea r9d, [rax + r9*2]
sub r10d, esi
jne 0x140054663
test r9d, r9d
je 0x140054697
mov rdx, qword [rbp - 0x18]
mov rax, rdx
mov ecx, r9d
sub rax, rcx
mov al, byte [rax]
mov byte [rdx], al
add rdx, rsi
mov qword [rbp - 0x18], rdx
jmp 0x140054802
mov rax, qword [rbp - 0x18]
mov byte [rax], 0
add rax, rsi
mov qword [rbp - 0x18], rax
jmp 0x140054802
mov rax, qword [rbp - 0x20]
movzx r11d, byte [rax]
add rax, rsi
mov ecx, r11d
mov qword [rbp - 0x20], rax
and ecx, esi
add ecx, 2
shr r11d, 1
je 0x1400546e7
mov rdx, qword [rbp - 0x18]
mov r8d, r11d
neg r8
mov al, byte [r8 + rdx]
mov byte [rdx], al
add rdx, rsi
add ecx, r14d
jne 0x1400546d0
mov qword [rbp - 0x18], rdx
jmp 0x1400547e3
mov edi, esi
jmp 0x1400547e3
mov r10d, esi
lea rcx, [rbp - 0x20]
call fcn.14005482c
lea rcx, [rbp - 0x20]
lea r10d, [rax + r10*2]
call fcn.14005482c
test eax, eax
jne 0x1400546f1
test r9d, r9d
jne 0x140054758
cmp r10d, 2
jne 0x140054758
mov r9d, esi
lea rcx, [rbp - 0x20]
call fcn.14005482c
lea rcx, [rbp - 0x20]
lea r9d, [rax + r9*2]
call fcn.14005482c
test eax, eax
jne 0x140054719
test r9d, r9d
je 0x1400547e3
mov rcx, qword [rbp - 0x18]
mov edx, r11d
neg rdx
mov al, byte [rdx + rcx]
mov byte [rcx], al
add rcx, rsi
add r9d, r14d
jne 0x140054746
jmp 0x1400547df
mov rcx, qword [rbp - 0x20]
xor r9d, esi
sub r10d, r9d
mov r9d, esi
shl r10d, 8
movzx r11d, byte [rcx]
add r11d, 0xfffffe00
add r11d, r10d
add rcx, rsi
mov qword [rbp - 0x20], rcx
lea rcx, [rbp - 0x20]
call fcn.14005482c
lea rcx, [rbp - 0x20]
lea r9d, [rax + r9*2]
call fcn.14005482c
test eax, eax
jne 0x14005477e
cmp r11d, 0x7d00
lea eax, [r9 + 1]
cmovb eax, r9d
cmp r11d, 0x500
lea ecx, [rax + 1]
cmovb ecx, eax
cmp r11d, 0x80
lea r8d, [rcx + 2]
cmovae r8d, ecx
test r8d, r8d
je 0x1400547e3
mov rcx, qword [rbp - 0x18]
mov edx, r11d
neg rdx
mov al, byte [rdx + rcx]
mov byte [rcx], al
add rcx, rsi
add r8d, r14d
jne 0x1400547d2
mov qword [rbp - 0x18], rcx
mov r9d, esi
jmp 0x140054805
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x18]
mov al, byte [rdx]
mov byte [rcx], al
add rcx, rsi
add rdx, rsi
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x20], rdx
xor r9d, r9d
test edi, edi
je 0x14005462d
mov eax, dword [rbp - 0x18]
mov rsi, qword [rsp + 0x58]
sub eax, ebx
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
Function at 0x140054eb8
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2ec
push rbx
push rbp
push rsi
mov esi, dword [rsp + 0x2fc]
lea eax, [rsp + 0x34]
push rdi
push 0x3c
xor ebp, ebp
xor ebx, ebx
and dword [rsp + 0x24], ebx
mov edi, 0x4600300
push rbp
push rax
call fcn.140057604
add esp, 0xc
mov dword [rsp + 0x38], 0x3c
lea eax, [rsp + 0x1f8]
mov ecx, 0x104
mov dword [rsp + 0x48], eax
lea eax, [rsp + 0xf4]
mov dword [rsp + 0x64], eax
lea eax, [rsp + 0x74]
mov dword [rsp + 0x54], eax
lea eax, [rsp + 0xb4]
push 0x40
mov dword [rsp + 0x60], eax
lea eax, [rsp + 0x3c]
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x6c], ecx
pop rcx
push rax
push 0x10000000
push rbp
lea eax, [rsi + 0x924]
mov dword [rsp + 0x64], ecx
push rax
mov dword [rsp + 0x70], ecx
call qword [rsi + 0xbc]
test eax, eax
je 0x140055263
xor eax, eax
cmp dword [rsp + 0x44], 4
sete al
mov dword [rsp + 0x18], eax
mov eax, 0x4e03300
cmove edi, eax
xor eax, eax
push rax
push rax
push rax
push rax
push rax
mov dword [rsp + 0x3c], edi
call qword [rsi + 0xc0]
mov dword [rsp + 0x34], eax
test eax, eax
je 0x140055263
xor ecx, ecx
push rcx
push rcx
push 3
push rcx
push rcx
push qword [rsp + 0x64]
lea ecx, [rsp + 0x210]
push rcx
push rax
call qword [rsi + 0xc4]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x140055203
xor edx, edx
cmp dword [rsp + 0x68], ebx
jne 0x140054fbb
mov word [rsp + 0xf4], 0x2f
push rdx
push rdi
push rdx
push rdx
push rdx
lea ecx, [rsp + 0x108]
push rcx
push rdx
push rax
call qword [rsi + 0xd8]
mov edi, eax
test edi, edi
je 0x1400551f9
cmp dword [rsp + 0x18], ebx
je 0x140055002
test dword [rsp + 0x28], 0x1000
je 0x140055002
push 4
lea eax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x3380
push rax
push 0x1f
push rdi
call qword [rsi + 0xc8]
cmp dword [rsp + 0x58], ebx
je 0x14005501b
push qword [rsp + 0x58]
push qword [rsp + 0x58]
push 0x1c
push rdi
call qword [rsi + 0xc8]
mov ebp, eax
cmp dword [rsp + 0x60], ebx
je 0x140055034
push qword [rsp + 0x60]
push qword [rsp + 0x60]
push 0x1d
push rdi
call qword [rsi + 0xc8]
mov ebp, eax
xor eax, eax
push rax
push rax
push rax
push rax
push rdi
call qword [rsi + 0xdc]
test eax, eax
je 0x1400551f2
push 0
lea eax, [rsp + 0x20]
mov dword [rsp + 0x20], 4
push rax
lea eax, [rsp + 0x28]
push rax
push 0x20000013
push rdi
call qword [rsi + 0xe0]
test eax, eax
je 0x1400551f2
cmp dword [rsp + 0x20], 0xc8
jne 0x1400551f2
and dword [rsp + 0x10], ebx
lea eax, [rsp + 0x1c]
push 0
push rax
lea eax, [rsp + 0x18]
mov dword [rsp + 0x24], 4
push rax
push 0x20000005
push rdi
call qword [rsi + 0xe0]
test eax, eax
jne 0x140055159
call qword [rsi + 0x8c]
cmp eax, 0x2f76
cmp dword [rsp + 0x10], ebx
je 0x1400551f2
push qword [rsp + 0x10]
lea eax, [rsi + 0x84]
push 1
call qword [rax]
push rax
call qword [rsi + 0x7c]
mov ebx, eax
test ebx, ebx
je 0x1400551f2
and dword [rsp + 0x24], 0
lea eax, [rsp + 0x24]
push rax
push qword [rsp + 0x14]
push rbx
push rdi
call qword [rsi + 0xcc]
mov ebp, eax
lea eax, [rsi + 0x84]
mov dword [rsp + 0x18], eax
Function at 0x140054f00
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2ec
push rbx
push rbp
push rsi
mov esi, dword [rsp + 0x2fc]
lea eax, [rsp + 0x34]
push rdi
push 0x3c
xor ebp, ebp
xor ebx, ebx
and dword [rsp + 0x24], ebx
mov edi, 0x4600300
push rbp
push rax
call fcn.140057604
add esp, 0xc
mov dword [rsp + 0x38], 0x3c
lea eax, [rsp + 0x1f8]
mov ecx, 0x104
mov dword [rsp + 0x48], eax
lea eax, [rsp + 0xf4]
mov dword [rsp + 0x64], eax
lea eax, [rsp + 0x74]
mov dword [rsp + 0x54], eax
lea eax, [rsp + 0xb4]
push 0x40
mov dword [rsp + 0x60], eax
lea eax, [rsp + 0x3c]
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x6c], ecx
pop rcx
push rax
push 0x10000000
push rbp
lea eax, [rsi + 0x924]
mov dword [rsp + 0x64], ecx
push rax
mov dword [rsp + 0x70], ecx
call qword [rsi + 0xbc]
test eax, eax
je 0x140055263
xor eax, eax
cmp dword [rsp + 0x44], 4
sete al
mov dword [rsp + 0x18], eax
mov eax, 0x4e03300
cmove edi, eax
xor eax, eax
push rax
push rax
push rax
push rax
push rax
mov dword [rsp + 0x3c], edi
call qword [rsi + 0xc0]
mov dword [rsp + 0x34], eax
test eax, eax
je 0x140055263
xor ecx, ecx
push rcx
push rcx
push 3
push rcx
push rcx
push qword [rsp + 0x64]
lea ecx, [rsp + 0x210]
push rcx
push rax
call qword [rsi + 0xc4]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x140055203
xor edx, edx
cmp dword [rsp + 0x68], ebx
jne 0x140054fbb
mov word [rsp + 0xf4], 0x2f
push rdx
push rdi
push rdx
push rdx
push rdx
lea ecx, [rsp + 0x108]
push rcx
push rdx
push rax
call qword [rsi + 0xd8]
mov edi, eax
test edi, edi
je 0x1400551f9
cmp dword [rsp + 0x18], ebx
je 0x140055002
test dword [rsp + 0x28], 0x1000
je 0x140055002
push 4
lea eax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x3380
push rax
push 0x1f
push rdi
call qword [rsi + 0xc8]
cmp dword [rsp + 0x58], ebx
je 0x14005501b
push qword [rsp + 0x58]
push qword [rsp + 0x58]
push 0x1c
push rdi
call qword [rsi + 0xc8]
mov ebp, eax
cmp dword [rsp + 0x60], ebx
je 0x140055034
push qword [rsp + 0x60]
push qword [rsp + 0x60]
push 0x1d
push rdi
call qword [rsi + 0xc8]
mov ebp, eax
xor eax, eax
push rax
push rax
push rax
push rax
push rdi
call qword [rsi + 0xdc]
test eax, eax
je 0x1400551f2
push 0
lea eax, [rsp + 0x20]
mov dword [rsp + 0x20], 4
push rax
lea eax, [rsp + 0x28]
push rax
push 0x20000013
push rdi
call qword [rsi + 0xe0]
test eax, eax
je 0x1400551f2
cmp dword [rsp + 0x20], 0xc8
jne 0x1400551f2
and dword [rsp + 0x10], ebx
lea eax, [rsp + 0x1c]
push 0
push rax
lea eax, [rsp + 0x18]
mov dword [rsp + 0x24], 4
push rax
push 0x20000005
push rdi
call qword [rsi + 0xe0]
test eax, eax
jne 0x140055159
call qword [rsi + 0x8c]
cmp eax, 0x2f76
cmp dword [rsp + 0x10], ebx
je 0x1400551f2
push qword [rsp + 0x10]
lea eax, [rsi + 0x84]
push 1
call qword [rax]
push rax
call qword [rsi + 0x7c]
mov ebx, eax
test ebx, ebx
je 0x1400551f2
and dword [rsp + 0x24], 0
lea eax, [rsp + 0x24]
push rax
push qword [rsp + 0x14]
push rbx
push rdi
call qword [rsi + 0xcc]
mov ebp, eax
lea eax, [rsi + 0x84]
mov dword [rsp + 0x18], eax
Function at 0x140054ff0
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2ec
push rbx
push rbp
push rsi
mov esi, dword [rsp + 0x2fc]
lea eax, [rsp + 0x34]
push rdi
push 0x3c
xor ebp, ebp
xor ebx, ebx
and dword [rsp + 0x24], ebx
mov edi, 0x4600300
push rbp
push rax
call fcn.140057604
add esp, 0xc
mov dword [rsp + 0x38], 0x3c
lea eax, [rsp + 0x1f8]
mov ecx, 0x104
mov dword [rsp + 0x48], eax
lea eax, [rsp + 0xf4]
mov dword [rsp + 0x64], eax
lea eax, [rsp + 0x74]
mov dword [rsp + 0x54], eax
lea eax, [rsp + 0xb4]
push 0x40
mov dword [rsp + 0x60], eax
lea eax, [rsp + 0x3c]
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x6c], ecx
pop rcx
push rax
push 0x10000000
push rbp
lea eax, [rsi + 0x924]
mov dword [rsp + 0x64], ecx
push rax
mov dword [rsp + 0x70], ecx
call qword [rsi + 0xbc]
test eax, eax
je 0x140055263
xor eax, eax
cmp dword [rsp + 0x44], 4
sete al
mov dword [rsp + 0x18], eax
mov eax, 0x4e03300
cmove edi, eax
xor eax, eax
push rax
push rax
push rax
push rax
push rax
mov dword [rsp + 0x3c], edi
call qword [rsi + 0xc0]
mov dword [rsp + 0x34], eax
test eax, eax
je 0x140055263
xor ecx, ecx
push rcx
push rcx
push 3
push rcx
push rcx
push qword [rsp + 0x64]
lea ecx, [rsp + 0x210]
push rcx
push rax
call qword [rsi + 0xc4]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x140055203
xor edx, edx
cmp dword [rsp + 0x68], ebx
jne 0x140054fbb
mov word [rsp + 0xf4], 0x2f
push rdx
push rdi
push rdx
push rdx
push rdx
lea ecx, [rsp + 0x108]
push rcx
push rdx
push rax
call qword [rsi + 0xd8]
mov edi, eax
test edi, edi
je 0x1400551f9
cmp dword [rsp + 0x18], ebx
je 0x140055002
test dword [rsp + 0x28], 0x1000
je 0x140055002
push 4
lea eax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x3380
push rax
push 0x1f
push rdi
call qword [rsi + 0xc8]
cmp dword [rsp + 0x58], ebx
je 0x14005501b
push qword [rsp + 0x58]
push qword [rsp + 0x58]
push 0x1c
push rdi
call qword [rsi + 0xc8]
mov ebp, eax
cmp dword [rsp + 0x60], ebx
je 0x140055034
push qword [rsp + 0x60]
push qword [rsp + 0x60]
push 0x1d
push rdi
call qword [rsi + 0xc8]
mov ebp, eax
xor eax, eax
push rax
push rax
push rax
push rax
push rdi
call qword [rsi + 0xdc]
test eax, eax
je 0x1400551f2
push 0
lea eax, [rsp + 0x20]
mov dword [rsp + 0x20], 4
push rax
lea eax, [rsp + 0x28]
push rax
push 0x20000013
push rdi
call qword [rsi + 0xe0]
test eax, eax
je 0x1400551f2
cmp dword [rsp + 0x20], 0xc8
jne 0x1400551f2
and dword [rsp + 0x10], ebx
lea eax, [rsp + 0x1c]
push 0
push rax
lea eax, [rsp + 0x18]
mov dword [rsp + 0x24], 4
push rax
push 0x20000005
push rdi
call qword [rsi + 0xe0]
test eax, eax
jne 0x140055159
call qword [rsi + 0x8c]
cmp eax, 0x2f76
cmp dword [rsp + 0x10], ebx
je 0x1400551f2
push qword [rsp + 0x10]
lea eax, [rsi + 0x84]
push 1
call qword [rax]
push rax
call qword [rsi + 0x7c]
mov ebx, eax
test ebx, ebx
je 0x1400551f2
and dword [rsp + 0x24], 0
lea eax, [rsp + 0x24]
push rax
push qword [rsp + 0x14]
push rbx
push rdi
call qword [rsi + 0xcc]
mov ebp, eax
lea eax, [rsi + 0x84]
mov dword [rsp + 0x18], eax
Function at 0x1400550b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [0x14005802c], bh
jne 0x1400551f2
xor eax, eax
push rax
push rax
mov dword [rsp + 0x18], eax
lea eax, [rsp + 0x1c]
push rax
push rdi
call qword [rsi + 0xd4]
test eax, eax
je 0x1400551f2
mov ecx, dword [rsp + 0x14]
test ecx, ecx
je 0x140055145
mov edx, dword [rsi + 0x84]
test ebx, ebx
jne 0x1400550f5
push rcx
push 1
call rdx
push rax
call qword [rsi + 0x7c]
jmp 0x140055108
mov eax, dword [rsp + 0x10]
add eax, ecx
push rax
push rbx
push 1
call rdx
push rax
call qword [rsi + 0x80]
mov ebx, eax
test ebx, ebx
je 0x1400551f2
lea eax, [rsp + 0x24]
push rax
push qword [rsp + 0x18]
mov eax, dword [rsp + 0x18]
add eax, ebx
push rax
push rdi
call qword [rsi + 0xcc]
mov eax, dword [rsp + 0x14]
add dword [rsp + 0x10], eax
lea eax, [rsp + 0x14]
push 0
push 0
push rax
push rdi
call qword [rsi + 0xd4]
test eax, eax
jne 0x1400550d8
lea eax, [rsi + 0x84]
mov dword [rsp + 0x18], eax
test ebx, ebx
je 0x1400551f2
jmp 0x14005519d
cmp dword [rsp + 0x10], 0
je 0x1400551f2
push 4
push 0x3000
push qword [rsp + 0x18]
push 0
call qword [rsi + 0x3c]
mov dword [rsi + 0xd60], eax
test eax, eax
je 0x1400551d1
push qword [rsp + 0x10]
push rbx
push rax
call fcn.1400575e0
xor ebp, ebp
add esp, 0xc
jmp 0x1400551d3
xor ebp, ebp
push qword [rsp + 0x10]
push 0
push rbx
call fcn.140057604
mov eax, dword [rsp + 0x24]
add esp, 0xc
push rbx
push 1
call qword [rax]
push rax
call qword [rsi + 0x88]
push rdi
call qword [rsi + 0xd0]
push qword [rsp + 0x30]
call qword [rsi + 0xd0]
push qword [rsp + 0x34]
call qword [rsi + 0xd0]
test ebp, ebp
je 0x14005525f
cmp dword [rsi + 0x234], 3
jne 0x14005525f
push qword [rsi + 0xd58]
mov edi, dword [rsi + 0xd60]
lea eax, [rsi + 0xd48]
push rdi
push rax
lea eax, [rsi + 0xd38]
push rax
call fcn.1400572d8
push qword [rsi + 0x2c]
lea eax, [rsi + 0xc2c]
push qword [rsi + 0x28]
push rax
call fcn.1400571ae
add esp, 0x1c
cmp eax, dword [rdi + 0x518]
jne 0x140055263
cmp edx, dword [rdi + 0x51c]
jne 0x140055263
mov eax, ebp
jmp 0x140055265
xor eax, eax
pop rdi
pop rsi
pop rbp
pop rbx
add esp, 0x2ec
ret
Function at 0x140057275
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [rsp + 0x18]
mov edx, dword [rsp + 0x1c]
push rbx
push rbp
push rsi
mov esi, dword [rsp + 0x20]
xor ebx, ebx
push rdi
lea edi, [rsp + 0x10]
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
mov ecx, dword [rsp + 0x14]
mov esi, dword [rsp + 0x1c]
mov ebp, dword [rsp + 0x18]
mov edi, dword [rsp + 0x10]
mov dword [rsp + 0x28], ecx
mov ecx, esi
ror eax, 8
mov esi, dword [rsp + 0x28]
add eax, edx
ror esi, 8
xor eax, edi
add esi, edi
rol edx, 3
xor esi, ebx
rol edi, 3
xor edx, eax
mov dword [rsp + 0x28], ebp
xor edi, esi
mov ebp, ecx
cmp r11d, 0x1b
jb 0x1400572a6
pop rdi
pop rsi
pop rbp
pop rbx
add esp, 0x10
ret

Function at 0x1400572d8
Capabilities:
Encode data using xor
Encrypt data using chaskey

Disassembly:
mov edx, dword [rsp + 0x10]
sub esp, 0x14
push rbx
mov ebx, dword [rsp + 0x20]
push rbp
mov ebp, dword [rsp + 0x28]
test edx, edx
je 0x1400573dd
xor eax, eax
lea ecx, [rbx + 0xf]
mov dword [rsp + 0x2c], ecx
sub eax, ebx
push rsi
mov dword [rsp + 0xc], eax
push rdi
lea eax, [rsp + 0x14]
cmp eax, ecx
ja 0x14005730f
lea eax, [rsp + 0x23]
mov esi, ebx
lea edi, [rsp + 0x14]
xor ecx, ecx
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
mov esi, dword [rsp + 0x28]
mov eax, dword [rsi + rcx*4]
xor dword [rsp + rcx*4 + 0x14], eax
cmp r9d, 4
jb 0x14005731f
mov esi, dword [rsp + 0x20]
mov eax, dword [rsp + 0x1c]
mov edi, dword [rsp + 0x18]
mov ecx, dword [rsp + 0x14]
mov dword [rsp + 0x30], 0x10
add ecx, edi
add eax, esi
rol edi, 5
xor edi, ecx
rol esi, 8
xor esi, eax
rol ecx, 0x10
add eax, edi
add ecx, esi
rol edi, 7
rol esi, 0xd
xor edi, eax
xor esi, ecx
rol eax, 0x10
sub dword [rsp + 0x30], 1
jne 0x140057344
mov ebx, dword [rsp + 0x28]
mov dword [rsp + 0x14], ecx
xor ecx, ecx
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x18], edi
mov dword [rsp + 0x1c], eax
mov eax, dword [rbx + rcx*4]
xor dword [rsp + rcx*4 + 0x14], eax
cmp r9d, 4
jb 0x140057383
push 0x10
pop rsi
cmp edx, esi
mov ecx, edx
cmova ecx, esi
test ecx, ecx
je 0x1400573b3
lea edi, [rsp + 0x14]
mov esi, ebp
sub edi, ebp
mov ebx, ecx
mov al, byte [rdi + rsi]
xor byte [rsi], al
sub ebx, 1
jne 0x1400573a8
mov ebx, dword [rsp + 0x10]
sub edx, ecx
add ebp, ecx
mov ecx, dword [rsp + 0x34]
add byte [rcx], 1
jne 0x1400573cc
lea rax, [r11 + rcx]
test eax, eax
jg 0x1400573bf
mov ebx, dword [rsp + 0x2c]
lea ecx, [rbx + 0xf]
test edx, edx
jne 0x140057303
pop rdi
pop rsi
pop rbp
pop rbx
add esp, 0x14
ret
Function at 0x1400573e3
Capabilities:
Decompress data using aplib

Disassembly:
sub esp, 0x14
mov ecx, dword [rsp + 0x18]
and dword [rsp + 0x10], 0
push rbx
push rbp
mov ebp, dword [rsp + 0x24]
mov al, byte [rcx]
push rsi
push rdi
mov byte [rbp], al
or edi, 0xffffffff
lea eax, [rbp + 1]
add dword [r11], r14d
test byte [rcx + 0x33182444], 0xdb
lea eax, [rcx + 1]
mov dword [rsp + 0x10], ebx
mov dword [rsp + 0x14], eax
lea eax, [rsp + 0x14]
push rax
call fcn.140057586
pop rcx
test eax, eax
je 0x14005755a
lea eax, [rsp + 0x14]
push rax
call fcn.140057586
test eax, eax
lea eax, [rsp + 0x18]
pop rcx
push rax
je 0x1400574b9
call fcn.140057586
pop rcx
test eax, eax
je 0x14005747d
push 4
xor esi, esi
pop rbx
lea eax, [rsp + 0x14]
push rax
call fcn.140057586
pop rcx
lea esi, [rax + rsi*2]
sub ebx, 1
jne 0x14005744b
mov edx, dword [rsp + 0x18]
test esi, esi
je 0x140057470
mov eax, edx
sub eax, esi
mov al, byte [rax]
mov byte [rdx], al
jmp 0x140057473
mov byte [rdx], 0
mov ebx, dword [rsp + 0x10]
jmp 0x14005756c
mov eax, dword [rsp + 0x14]
mov edx, dword [rsp + 0x18]
movzx edi, byte [rax]
mov ecx, edi
mov dword [rsp + 0x14], eax
and ecx, 1
add ecx, 2
shr edi, 1
je 0x1400574ad
mov esi, edx
sub esi, edi
mov al, byte [rsi]
mov byte [rdx], al
sub ecx, 1
jne 0x14005749d
jmp 0x140057551
xor ebx, ebx
mov dword [r12 + r12 + 0x10], ebx
jmp 0x140057555
call fcn.1400575bd
mov edx, eax
pop rcx
test esi, esi
jne 0x1400574f0
cmp edx, 2
jne 0x1400574f0
lea eax, [rsp + 0x14]
push rax
call fcn.1400575bd
mov edx, dword [rsp + 0x1c]
mov esi, eax
pop rcx
test esi, esi
je 0x140057555
mov ecx, edx
sub ecx, edi
mov al, byte [rcx]
mov byte [rdx], al
sub r14d, 1
jne 0x1400574e3
jmp 0x140057551
mov ecx, dword [rsp + 0x14]
lea eax, [rsp + 0x14]
xor esi, 1
sub edx, esi
shl edx, 8
movzx edi, byte [rcx]
add edi, 0xfffffe00
add edi, edx
push r8
mov dword [rsp + 0x18], ecx
call fcn.1400575bd
pop rcx
mov ecx, eax
cmp edi, 0x7d00
jb 0x140057522
mov edx, dword [r12 + 0x18]
mov edx, dword [rsp + 0x18]
lea eax, [rcx + 1]
cmp edi, 0x500
cmovb eax, ecx
cmp edi, 0x80
lea esi, [rax + 2]
cmovae esi, eax
test esi, esi
je 0x140057555
mov ecx, edx
sub ecx, edi
mov al, byte [rcx]
mov byte [rdx], al
sub r14d, 1
jne 0x140057546
mov dword [rsp + 0x18], edx
xor esi, esi
jmp 0x140057572
mov ecx, dword [rsp + 0x14]
mov edx, dword [rsp + 0x18]
mov al, byte [rcx]
mov byte [rdx], al
mov dword [r12 + 0x14], ecx
xor esi, esi
mov dword [rsp + 0x18], edx
test ebx, ebx
je 0x140057415
pop rdi
pop rsi
sub edx, ebp
pop rbp
mov eax, edx
pop rbx
add esp, 0x14
ret