Function at 0x386dc5b0
Capabilities:
Decompress data using lzo

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x14], 0
mov eax, dword [edi + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 4], esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x18], 1
call fcn.386d4240
add esp, 8
movzx ebx, al
cmp dword [edi], esi
jne 0x386dcd91
cmp ebx, 0x11
jbe 0x386dc664
lea edx, [ebx - 0x11]
mov esi, 1
shl ebx, 8
mov dword [ebp - 8], edx
cmp edx, 4
jb 0x386dccb5
cmp dword [ebp - 0x10], edx
jb 0x386dcd91
mov eax, dword [ebp - 0xc]
lea ecx, [edx + 1]
dec eax
cmp eax, ecx
jb 0x386dcd91
jmp 0x386dc630
push edi
push dword [ebp + 8]
call fcn.386d4240
movzx eax, al
push eax
push edi
push dword [ebp + 8]
call fcn.386d4340
add esp, 0x14
cmp dword [edi], 0
jne 0x386dcd91
inc dword [ebp - 4]
inc esi
sub dword [ebp - 8], 1
mov dword [ebp + 0xc], esi
jne 0x386dc630
jmp 0x386dc843
mov eax, dword [ebp - 0xc]
xor edx, edx
mov ecx, dword [ebp - 0x10]
cmp edx, eax
jae 0x386dcd72
cmp esi, ecx
jae 0x386dcd72
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
movzx eax, cx
inc ecx
mov dword [ebp - 0x14], ecx
test eax, eax
jne 0x386dc6a4
push 1
push esi
call 0x38303a70
add esp, 8
test ax, ax
jne 0x386dcd75
mov edx, dword [ebp + 0xc]
cmp dword [ebp - 0x18], 0
je 0x386dc6af
movzx esi, bl
jmp 0x386dc6ca
push edi
push esi
call fcn.386d4240
movzx esi, al
add esp, 8
or ebx, esi
cmp dword [edi], 0
jne 0x386dcd91
mov edx, dword [ebp + 0xc]
inc edx
shl ebx, 8
mov dword [ebp + 0xc], edx
cmp esi, 0x10
jae 0x386dc8e0
test esi, esi
jne 0x386dc75e
mov eax, dword [ebp - 0xc]
sub eax, edx
cmp eax, 1
jb 0x386dcd91
push edi
push dword [ebp + 8]
call fcn.386d4240
movzx eax, al
add esp, 8
or ebx, eax
cmp dword [edi], esi
jne 0x386dcd91
test eax, eax
jne 0x386dc74c
lea ecx, [ecx]
mov ecx, dword [ebp + 0xc]
add esi, 0xff
mov eax, dword [ebp - 0xc]
inc ecx
sub eax, ecx
mov dword [ebp + 0xc], ecx
cmp eax, 1
jb 0x386dcd91
push edi
push dword [ebp + 8]
shl ebx, 8
call fcn.386d4240
movzx eax, al
add esp, 8
or ebx, eax
cmp dword [edi], 0
jne 0x386dcd91
test eax, eax
je 0x386dc710
mov edx, dword [ebp + 0xc]
add esi, 0xf
movzx eax, bl
shl ebx, 8
add esi, eax
inc edx
mov dword [ebp + 0xc], edx
mov ecx, dword [ebp - 0x10]
lea eax, [esi + 3]
sub ecx, dword [ebp - 4]
cmp ecx, eax
jb 0x386dcd91
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 4]
sub ecx, edx
cmp ecx, eax
jb 0x386dcd91
push edi
push dword [ebp + 8]
call fcn.386d42f0
push eax
push edi
push dword [ebp + 8]
call fcn.386d43e0
add esp, 0x14
cmp dword [edi], 0
jne 0x386dcd91
add dword [ebp - 4], 4
add dword [ebp + 0xc], 4
sub esi, 1
je 0x386dc843
cmp esi, 4
jb 0x386dc816
push edi
push dword [ebp + 8]
call fcn.386d42f0
push eax
push edi
push dword [ebp + 8]
call fcn.386d43e0
add esp, 0x14
cmp dword [edi], 0
jne 0x386dcd91
add dword [ebp - 4], 4
sub esi, 4
add dword [ebp + 0xc], 4
cmp esi, 4
jae 0x386dc7b4
test esi, esi
je 0x386dc843
push edi
push dword [ebp + 8]
call fcn.386d4240
movzx eax, al
push eax
push edi
push dword [ebp + 8]
call fcn.386d4340
add esp, 0x14
cmp dword [edi], 0
jne 0x386dcd91
inc dword [ebp - 4]
inc dword [ebp + 0xc]
sub esi, 1
jne 0x386dc7e7
jmp 0x386dc843
push edi
push dword [ebp + 8]
call fcn.386d4240
movzx eax, al
push eax
push edi
push dword [ebp + 8]
call fcn.386d4340
add esp, 0x14
cmp dword [edi], 0
jne 0x386dcd91
inc dword [ebp - 4]
inc dword [ebp + 0xc]
sub esi, 1
jne 0x386dc816
push edi
push dword [ebp + 8]
call fcn.386d4240
movzx esi, al
add esp, 8
or ebx, esi
cmp dword [edi], 0
jne 0x386dcd91
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
inc edx
shl ebx, 8
mov dword [ebp + 0xc], edx
cmp esi, 0x10
jae 0x386dc8e3
shr esi, 2
sub eax, esi
push edi
push dword [ebp + 8]
sub eax, 0x801
mov dword [ebp - 0x18], eax
call fcn.386d4240
movzx edx, al
add esp, 8
or ebx, edx
cmp dword [edi], 0
jne 0x386dcd91
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
inc esi
mov ecx, dword [ebp - 4]
sub eax, ecx
shl ebx, 8
mov dword [ebp + 0xc], esi
cmp eax, 3
jb 0x386dcd91
lea eax, [edx*4]
mov edx, dword [ebp - 0x18]
sub edx, eax
push 3
sub edx, ecx
push edx
push edi
push dword [ebp + 8]
call fcn.386d4430
add esp, 0x10
cmp dword [edi], 0
jne 0x386dcd91
add dword [ebp - 4], 3
jmp 0x386dcca4
mov eax, dword [ebp - 4]
cmp esi, 0x40
jb 0x386dc98a
mov ecx, dword [ebp - 4]
mov eax, esi
shr eax, 2
and eax, 7
sub ecx, eax
push edi
push dword [ebp + 8]
dec ecx
mov dword [ebp - 8], ecx
call fcn.386d4240
movzx eax, al
add esp, 8
or ebx, eax
cmp dword [edi], 0
jne 0x386dcd91
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
sub ecx, edx
inc dword [ebp + 0xc]
shr esi, 5
dec esi
shl eax, 3
sub dword [ebp - 8], eax
shl ebx, 8
lea eax, [esi + 2]
cmp ecx, eax
jb 0x386dcd91
mov ecx, dword [ebp - 8]
push 2
sub ecx, edx
push ecx
push edi
push dword [ebp + 8]
call fcn.386d4430
add esp, 0x10
cmp dword [edi], 0
jne 0x386dcd91
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add eax, 2
sub ecx, eax
mov dword [ebp - 4], eax
push esi
add ecx, 2
push ecx
push edi
push dword [ebp + 8]
call fcn.386d4430
add esp, 0x10
cmp dword [edi], 0
jne 0x386dcd91
add dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
jmp 0x386dcca4
cmp esi, 0x20
jb 0x386dca6c
and esi, 0x1f
jne 0x386dca10
mov eax, dword [ebp - 0xc]
sub eax, edx
cmp eax, 1
jb 0x386dcd91
push edi
push dword [ebp + 8]
call fcn.386d4240
movzx eax, al
add esp, 8
or ebx, eax
cmp dword [edi], esi
jne 0x386dcd91
test eax, eax
jne 0x386dc9ff
mov ecx, dword [ebp + 0xc]
add esi, 0xff
mov eax, dword [ebp - 0xc]
inc ecx
sub eax, ecx
mov dword [ebp + 0xc], ecx
cmp eax, 1
jb 0x386dcd91
push edi
push dword [ebp + 8]
shl ebx, 8
call fcn.386d4240
movzx eax, al
add esp, 8
or ebx, eax
cmp dword [edi], 0
jne 0x386dcd91
test eax, eax
je 0x386dc9c3
movzx eax, bl
add eax, 0x1f
shl ebx, 8
add esi, eax
inc dword [ebp + 0xc]
mov eax, dword [ebp - 4]
push edi
push dword [ebp + 8]
dec eax
mov dword [ebp - 8], eax
call fcn.386d4240
movzx eax, al
add esp, 8
or ebx, eax
mov dword [ebp - 0x18], eax
cmp dword [edi], 0
jne 0x386dcd91
push edi
push dword [ebp + 8]
shl ebx, 8
call fcn.386d4240
movzx eax, al
add esp, 8
or ebx, eax
cmp dword [edi], 0
jne 0x386dcd91
mov ecx, dword [ebp - 0x18]
and eax, 0xffffff
mov edx, dword [ebp - 4]
shl eax, 6
shr ecx, 2
or eax, ecx
shl ebx, 8
sub dword [ebp - 8], eax
jmp 0x386dcb70
cmp esi, 0x10
jb 0x386dcc3c
mov ecx, dword [ebp - 4]
mov eax, esi
and eax, 8
shl eax, 0xb
sub ecx, eax
mov dword [ebp - 8], ecx
and esi, 7
jne 0x386dcb0a
mov eax, dword [ebp - 0xc]
sub eax, edx
cmp eax, 1
jb 0x386dcd91
push edi
push dword [ebp + 8]
call fcn.386d4240
movzx eax, al
add esp, 8
or ebx, eax
cmp dword [edi], esi
jne 0x386dcd91
test eax, eax
jne 0x386dcafc
lea esp, [esp]
mov ecx, dword [ebp + 0xc]
add esi, 0xff
mov eax, dword [ebp - 0xc]
inc ecx
sub eax, ecx
mov dword [ebp + 0xc], ecx
cmp eax, 1
jb 0x386dcd91
push edi
push dword [ebp + 8]
shl ebx, 8
call fcn.386d4240
movzx eax, al
add esp, 8
or ebx, eax
cmp dword [edi], 0
jne 0x386dcd91
test eax, eax
je 0x386dcac0
movzx eax, bl
add esi, 7
shl ebx, 8
add esi, eax
inc dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.386d4240
movzx eax, al
add esp, 8
or ebx, eax
mov dword [ebp - 0x18], eax
cmp dword [edi], 0
jne 0x386dcd91
push edi
push dword [ebp + 8]
shl ebx, 8
call fcn.386d4240
movzx ecx, al
add esp, 8
or ebx, ecx
cmp dword [edi], 0
jne 0x386dcd91
mov eax, dword [ebp - 0x18]
and ecx, 0xffffff
mov edx, dword [ebp - 4]
shr eax, 2
shl ecx, 6
or ecx, eax
shl ebx, 8
mov eax, dword [ebp - 8]
sub eax, ecx
cmp eax, edx
je 0x386dcd72
sub eax, 0x4000
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
add eax, 2
mov dword [ebp + 0xc], eax
sub ecx, edx
mov dword [ebp - 0x18], eax
lea eax, [esi + 2]
cmp ecx, eax
jb 0x386dcd91
cmp esi, 6
jb 0x386dc93a
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov dword [ebp + 0xc], eax
mov eax, edx
sub eax, ecx
cmp eax, 4
jb 0x386dc93d
push 4
sub ecx, edx
push ecx
push edi
push dword [ebp + 8]
call fcn.386d4430
add esp, 0x10
cmp dword [edi], 0
jne 0x386dcd91
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
add ecx, 4
add eax, 4
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
sub esi, 2
lea ebx, [ebx]
push 4
sub eax, ecx
push eax
push edi
push dword [ebp + 8]
call fcn.386d4430
add esp, 0x10
cmp dword [edi], 0
jne 0x386dcd91
mov ecx, dword [ebp - 4]
sub esi, 4
mov eax, dword [ebp - 8]
add ecx, 4
add eax, 4
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp esi, 4
jae 0x386dcbe0
test esi, esi
je 0x386dcc34
push esi
sub eax, ecx
push eax
push edi
push dword [ebp + 8]
call fcn.386d4430
add esp, 0x10
cmp dword [edi], 0
jne 0x386dcd91
add dword [ebp - 4], esi
mov esi, dword [ebp - 0x18]
mov dword [ebp + 0xc], esi
jmp 0x386dcca4
shr esi, 2
sub eax, esi
push edi
push dword [ebp + 8]
dec eax
mov dword [ebp - 0x18], eax
call fcn.386d4240
movzx edx, al
add esp, 8
or ebx, edx
cmp dword [edi], 0
jne 0x386dcd91
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
inc esi
mov ecx, dword [ebp - 4]
sub eax, ecx
shl ebx, 8
mov dword [ebp + 0xc], esi
cmp eax, 2
jb 0x386dcd91
lea eax, [edx*4]
mov edx, dword [ebp - 0x18]
sub edx, eax
push 2
sub edx, ecx
push edx
push edi
push dword [ebp + 8]
call fcn.386d4430
add esp, 0x10
cmp dword [edi], 0
jne 0x386dcd91
add dword [ebp - 4], 2
mov edx, ebx
shr edx, 0x10
and edx, 3
mov dword [ebp - 8], edx
je 0x386dcd5a
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
cmp eax, edx
jb 0x386dcd91
mov ecx, dword [ebp - 0xc]
lea eax, [edx + 1]
sub ecx, esi
cmp ecx, eax
jb 0x386dcd91
push edi
push dword [ebp + 8]
call fcn.386d4240
movzx eax, al
add esp, 8
or ebx, eax
cmp dword [edi], 0
jne 0x386dcd91
push eax
push edi
push dword [ebp + 8]
shl ebx, 8
call fcn.386d4340
add esp, 0xc
cmp dword [edi], 0
jne 0x386dcd91
inc dword [ebp - 4]
inc esi
sub dword [ebp - 8], 1
mov dword [ebp + 0xc], esi
jne 0x386dccd3
push edi
push dword [ebp + 8]
call fcn.386d4240
movzx esi, al
add esp, 8
or ebx, esi
cmp dword [edi], 0
jne 0x386dcd91
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
inc edx
mov ecx, dword [ebp - 0x10]
shl ebx, 8
mov dword [ebp + 0xc], edx
cmp edx, eax
jae 0x386dcd63
mov eax, dword [ebp - 4]
cmp eax, ecx
jb 0x386dc8e3
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov dword [ebp - 0x18], 0
jmp 0x386dc66c
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov dword [ebp - 0x18], 0
jmp 0x386dc66c
mov esi, dword [ebp + 8]
push 0
push esi
call 0x38303a70
push edi
push esi
call fcn.386d41a0
mov eax, dword [edi + 0x30]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
push 0
push ebx
call 0x38303a70
push edi
push ebx
call fcn.386d41a0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret