Function at 0x140004c60
Capabilities:
Decompress data using ucl

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov dword [rbp - 4], 0
mov dword [rbp - 8], 0
mov dword [rbp - 0xc], 0
mov dword [rbp - 0x10], 1
mov rax, qword [rbp + 0x28]
mov eax, dword [rax]
mov dword [rbp - 0x24], eax
jmp 0x140004cfe
mov eax, dword [rbp - 8]
cmp eax, dword [rbp + 0x18]
jb 0x140004cb9
mov rax, qword [rbp + 0x28]
mov edx, dword [rbp - 0xc]
mov dword [rax], edx
mov eax, 0xffffff37
jmp 0x14000509c
mov eax, dword [rbp - 0xc]
cmp eax, dword [rbp - 0x24]
jb 0x140004cd4
mov rax, qword [rbp + 0x28]
mov edx, dword [rbp - 0xc]
mov dword [rax], edx
mov eax, 0xffffff36
jmp 0x14000509c
mov eax, dword [rbp - 8]
lea edx, [rax + 1]
mov dword [rbp - 8], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
lea rcx, [rdx + rax]
mov eax, dword [rbp - 0xc]
lea edx, [rax + 1]
mov dword [rbp - 0xc], edx
mov edx, eax
mov rax, qword [rbp + 0x20]
add rdx, rax
movzx eax, byte [rcx]
mov byte [rdx], al
mov eax, dword [rbp - 4]
and eax, 0x7f
test eax, eax
je 0x140004d0f
mov eax, dword [rbp - 4]
add eax, eax
jmp 0x140004d2c
mov eax, dword [rbp - 8]
lea edx, [rax + 1]
mov dword [rbp - 8], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
add eax, eax
add eax, 1
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
and eax, 0x100
test eax, eax
jne 0x140004c9e
mov dword [rbp - 0x14], 1
mov eax, dword [rbp - 0x14]
lea ecx, [rax + rax]
mov eax, dword [rbp - 4]
and eax, 0x7f
test eax, eax
je 0x140004d5d
mov eax, dword [rbp - 4]
add eax, eax
jmp 0x140004d7a
mov eax, dword [rbp - 8]
lea edx, [rax + 1]
mov dword [rbp - 8], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
add eax, eax
add eax, 1
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shr eax, 8
and eax, 1
add eax, ecx
mov dword [rbp - 0x14], eax
mov eax, dword [rbp - 8]
cmp eax, dword [rbp + 0x18]
jb 0x140004da6
mov rax, qword [rbp + 0x28]
mov edx, dword [rbp - 0xc]
mov dword [rax], edx
mov eax, 0xffffff37
jmp 0x14000509c
cmp dword [rbp - 0x14], 0x1000002
jbe 0x140004dc2
mov rax, qword [rbp + 0x28]
mov edx, dword [rbp - 0xc]
mov dword [rax], edx
mov eax, 0xffffff35
jmp 0x14000509c
mov eax, dword [rbp - 4]
and eax, 0x7f
test eax, eax
je 0x140004dd3
mov eax, dword [rbp - 4]
add eax, eax
jmp 0x140004df0
mov eax, dword [rbp - 8]
lea edx, [rax + 1]
mov dword [rbp - 8], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
add eax, eax
add eax, 1
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
and eax, 0x100
test eax, eax
je 0x140004d46
cmp dword [rbp - 0x14], 2
jne 0x140004e11
mov eax, dword [rbp - 0x10]
mov dword [rbp - 0x14], eax
jmp 0x140004e68
mov eax, dword [rbp - 8]
cmp eax, dword [rbp + 0x18]
jb 0x140004e2c
mov rax, qword [rbp + 0x28]
mov edx, dword [rbp - 0xc]
mov dword [rax], edx
mov eax, 0xffffff37
jmp 0x14000509c
mov eax, dword [rbp - 0x14]
sub eax, 3
shl eax, 8
mov ecx, eax
mov eax, dword [rbp - 8]
lea edx, [rax + 1]
mov dword [rbp - 8], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
add eax, ecx
mov dword [rbp - 0x14], eax
cmp dword [rbp - 0x14], 0xffffffff
je 0x14000506f
add dword [rbp - 0x14], 1
mov eax, dword [rbp - 0x14]
mov dword [rbp - 0x10], eax
mov eax, dword [rbp - 4]
and eax, 0x7f
test eax, eax
je 0x140004e79
mov eax, dword [rbp - 4]
add eax, eax
jmp 0x140004e96
mov eax, dword [rbp - 8]
lea edx, [rax + 1]
mov dword [rbp - 8], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
add eax, eax
add eax, 1
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shr eax, 8
and eax, 1
mov dword [rbp - 0x18], eax
mov eax, dword [rbp - 0x18]
lea ecx, [rax + rax]
mov eax, dword [rbp - 4]
and eax, 0x7f
test eax, eax
je 0x140004ebc
mov eax, dword [rbp - 4]
add eax, eax
jmp 0x140004ed9
mov eax, dword [rbp - 8]
lea edx, [rax + 1]
mov dword [rbp - 8], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
add eax, eax
add eax, 1
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shr eax, 8
and eax, 1
add eax, ecx
mov dword [rbp - 0x18], eax
cmp dword [rbp - 0x18], 0
jne 0x140004fb8
add dword [rbp - 0x18], 1
mov eax, dword [rbp - 0x18]
lea ecx, [rax + rax]
mov eax, dword [rbp - 4]
and eax, 0x7f
test eax, eax
je 0x140004f0f
mov eax, dword [rbp - 4]
add eax, eax
jmp 0x140004f2c
mov eax, dword [rbp - 8]
lea edx, [rax + 1]
mov dword [rbp - 8], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
add eax, eax
add eax, 1
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shr eax, 8
and eax, 1
add eax, ecx
mov dword [rbp - 0x18], eax
mov eax, dword [rbp - 8]
cmp eax, dword [rbp + 0x18]
jb 0x140004f58
mov rax, qword [rbp + 0x28]
mov edx, dword [rbp - 0xc]
mov dword [rax], edx
mov eax, 0xffffff37
jmp 0x14000509c
mov eax, dword [rbp - 0x18]
cmp eax, dword [rbp - 0x24]
jb 0x140004f73
mov rax, qword [rbp + 0x28]
mov edx, dword [rbp - 0xc]
mov dword [rax], edx
mov eax, 0xffffff36
jmp 0x14000509c
mov eax, dword [rbp - 4]
and eax, 0x7f
test eax, eax
je 0x140004f84
mov eax, dword [rbp - 4]
add eax, eax
jmp 0x140004fa1
mov eax, dword [rbp - 8]
lea edx, [rax + 1]
mov dword [rbp - 8], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
add eax, eax
add eax, 1
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
and eax, 0x100
test eax, eax
je 0x140004ef8
add dword [rbp - 0x18], 2
cmp dword [rbp - 0x14], 0xd00
seta al
movzx eax, al
add dword [rbp - 0x18], eax
mov edx, dword [rbp - 0xc]
mov eax, dword [rbp - 0x18]
add eax, edx
cmp dword [rbp - 0x24], eax
jae 0x140004fe8
mov rax, qword [rbp + 0x28]
mov edx, dword [rbp - 0xc]
mov dword [rax], edx
mov eax, 0xffffff36
jmp 0x14000509c
mov eax, dword [rbp - 0x14]
cmp eax, dword [rbp - 0xc]
jbe 0x140005003
mov rax, qword [rbp + 0x28]
mov edx, dword [rbp - 0xc]
mov dword [rax], edx
mov eax, 0xffffff35
jmp 0x14000509c
mov eax, dword [rbp - 0xc]
mov edx, dword [rbp - 0x14]
sub rax, rdx
mov rcx, rax
mov rax, qword [rbp + 0x20]
add rax, rcx
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
lea rdx, [rax + 1]
mov qword [rbp - 0x20], rdx
mov edx, dword [rbp - 0xc]
lea ecx, [rdx + 1]
mov dword [rbp - 0xc], ecx
mov ecx, edx
mov rdx, qword [rbp + 0x20]
add rdx, rcx
movzx eax, byte [rax]
mov byte [rdx], al
mov rax, qword [rbp - 0x20]
lea rdx, [rax + 1]
mov qword [rbp - 0x20], rdx
mov edx, dword [rbp - 0xc]
lea ecx, [rdx + 1]
mov dword [rbp - 0xc], ecx
mov ecx, edx
mov rdx, qword [rbp + 0x20]
add rdx, rcx
movzx eax, byte [rax]
mov byte [rdx], al
sub dword [rbp - 0x18], 1
cmp dword [rbp - 0x18], 0
jne 0x14000503d
jmp 0x140004c9c
nop
mov rax, qword [rbp + 0x28]
mov edx, dword [rbp - 0xc]
mov dword [rax], edx
mov eax, dword [rbp - 8]
cmp eax, dword [rbp + 0x18]
je 0x140005097
mov eax, dword [rbp - 8]
cmp eax, dword [rbp + 0x18]
jae 0x140005090
mov eax, 0xffffff33
jmp 0x14000509c
mov eax, 0xffffff37
jmp 0x14000509c
mov eax, 0
add rsp, 0x30
pop rbp
ret