Function at 0x13b50
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov edx, ecx
mov dword [ebp - 0x14], edx
push esi
push edi
test edx, edx
je case.0x13be0.1
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 8], ecx
test ecx, ecx
je case.0x13be0.1
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x1c], eax
test eax, eax
je case.0x13be0.1
mov edi, dword [edx]
mov dword [ebp - 0x10], edi
test edi, edi
jne 0x13b94
cmp dword [edx + 4], edi
jne case.0x13be0.1
mov eax, dword [ecx]
cmp eax, 0xb
jne 0x13ba6
mov dword [ecx], 0xc
mov eax, 0xc
mov edi, dword [edx + 0x10]
mov ebx, dword [edx + 4]
mov edx, dword [ecx + 0x38]
mov esi, dword [ecx + 0x3c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
xor edi, edi
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edx
mov dword [ebp - 0x40], ebx
cmp eax, 0x1d
ja case.0x13be0.1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], 0x1f
nop dword [eax]
jmp dword [eax*4 + 0x14a78]
cmp dword [ecx + 8], 0
jne 0x13bf8
mov dword [ecx], 0xc
jmp 0x14952
cmp esi, 0x10
jae 0x13c24
nop dword [eax]
test ebx, ebx
je 0x149b9
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 0xc], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0x10
jb 0x13c00
movzx ecx, dl
mov eax, edx
shr eax, 8
xor edx, edx
shl ecx, 8
add eax, ecx
div dword [ebp - 0x38]
test edx, edx
mov edx, dword [ebp - 4]
je 0x13c4c
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x11fe8
jmp 0x14949
mov ecx, dword [ebp - 8]
mov eax, edx
and al, 0xf
cmp al, 8
je 0x13c66
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x12000
jmp 0x1494c
shr edx, 4
sub esi, 4
mov eax, edx
mov dword [ebp - 4], edx
and eax, 0xf
add eax, 8
mov dword [ebp - 0x34], eax
cmp eax, dword [ecx + 0x24]
jbe 0x13c8e
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x1201c
jmp 0x1494c
mov ecx, dword [ebp - 0x34]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 8]
shr edx, 8
not edx
and edx, 2
or edx, 9
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx], edx
xor edx, edx
mov dword [ecx + 0x18], 1
xor esi, esi
mov dword [ebp - 4], edx
mov dword [eax + 0x30], 1
jmp 0x14952
cmp esi, 0x20
jae 0x13cf4
nop dword [eax]
test ebx, ebx
je 0x149b9
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 0xc], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0x20
jb 0x13cd0
mov ecx, edx
mov eax, edx
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, 0xff00
shr edx, 0x18
add eax, ecx
mov ecx, dword [ebp - 8]
add eax, edx
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x18], eax
mov dword [edx + 0x30], eax
xor edx, edx
mov dword [ebp - 4], edx
xor esi, esi
mov dword [ecx], 0xa
cmp dword [ecx + 0xc], 0
je 0x1496c
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x18], 1
mov dword [ecx], 0xb
mov dword [eax + 0x30], 1
cmp dword [ecx + 4], 0
je 0x13d71
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov dword [ecx], 0x18
jmp 0x14952
cmp esi, 3
jae 0x13d9d
test ebx, ebx
je 0x149b9
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 0xc], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 3
jb case.default.0x13dac
mov ecx, dword [ebp - 8]
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ecx + 4], eax
mov eax, edx
and eax, 3
jmp dword [eax*4 + 0x14af0]
shr edx, 2
sub esi, 3
mov dword [ecx], 0xd
mov dword [ebp - 4], edx
jmp 0x14952
shr edx, 2
sub esi, 3
mov dword [ecx + 0x4c], 0x11638
mov dword [ecx + 0x54], 9
mov dword [ecx + 0x50], 0x11e38
mov dword [ecx + 0x58], 5
mov dword [ecx], 0x12
mov dword [ebp - 4], edx
jmp 0x14952
shr edx, 2
sub esi, 3
mov dword [ecx], 0xf
mov dword [ebp - 4], edx
jmp 0x14952
mov eax, dword [ebp - 0x14]
mov dword [ecx], 0x1b
mov dword [eax + 0x18], 0x12030
shr edx, 2
sub esi, 3
mov dword [ebp - 4], edx
jmp 0x14952
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 4], edx
cmp esi, 0x20
jae 0x13e64
nop word [eax + eax]
test ebx, ebx
je 0x149b9
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 0xc], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0x20
jb 0x13e40
mov eax, edx
movzx ecx, dx
not eax
mov dword [ebp - 0x34], ecx
shr eax, 0x10
cmp ecx, eax
mov ecx, dword [ebp - 8]
je 0x13e87
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x12044
jmp 0x1494c
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [ecx + 0x40], eax
xor esi, esi
mov dword [ebp - 4], edx
mov dword [ecx], 0xe
cmp dword [ecx + 0x40], 0
je 0x14584
cmp dword [ecx + 0x40], ebx
mov eax, ebx
mov edi, dword [ebp - 0x18]
cmovbe eax, dword [ecx + 0x40]
cmp eax, edi
cmovbe edi, eax
mov eax, edi
mov dword [ebp - 0x24], edi
test eax, eax
je 0x149b9
mov edi, dword [ebp - 0x10]
mov ebx, eax
mov ecx, dword [ebp - 0x1c]
sub edi, ecx
nop dword [eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub ebx, 1
jne 0x13ed0
mov edi, dword [ebp - 0x10]
add edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
sub ebx, dword [ebp - 0x24]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x18]
sub edi, dword [ebp - 0x24]
mov eax, dword [ecx + 0x40]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x1c]
add edi, dword [ebp - 0x24]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0xc], ebx
mov dword [ecx + 0x40], eax
jmp 0x14952
cmp esi, 0xe
jae 0x13f44
nop dword [eax + eax]
test ebx, ebx
je 0x149b9
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 0xc], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0xe
jb 0x13f20
mov eax, dword [ebp - 8]
mov ecx, edx
shr edx, 5
and ecx, 0x1f
mov edi, edx
add ecx, 0x101
and edi, 0x1f
shr edx, 5
inc edi
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], edi
sub esi, 0xe
mov dword [ebp - 0x34], edi
mov eax, edx
mov edi, dword [ebp - 8]
and eax, 0xf
add eax, 4
shr edx, 4
mov dword [ebp - 4], edx
mov dword [edi + 0x5c], eax
mov edi, dword [ebp - 0x10]
cmp ecx, 0x11e
ja 0x1407e
cmp dword [ebp - 0x34], 0x1e
ja 0x1407e
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x68], 0
mov dword [ecx], 0x10
mov eax, dword [ecx + 0x68]
cmp eax, dword [ecx + 0x5c]
jae 0x1400d
nop
cmp esi, 3
jae 0x13fd9
test ebx, ebx
je 0x149b9
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 0xc], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 3
jb 0x13fb5
mov eax, dword [ebp - 8]
mov ecx, edx
mov edi, dword [ebp - 8]
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [ebp - 4], edx
mov eax, dword [eax + 0x68]
movzx eax, word [eax*2 + 0x11ec0]
mov word [edi + eax*2 + 0x70], cx
mov ecx, edi
mov edi, dword [ebp - 0x10]
inc dword [ecx + 0x68]
mov eax, dword [ecx + 0x68]
cmp eax, dword [ecx + 0x5c]
jb 0x13fb0
cmp eax, 0x13
jae 0x1402d
mov eax, dword [ecx + 0x68]
xor edx, edx
movzx eax, word [eax*2 + 0x11ec0]
mov word [ecx + eax*2 + 0x70], dx
inc dword [ecx + 0x68]
cmp dword [ecx + 0x68], 0x13
jb 0x14012
lea eax, [ecx + 0x530]
mov dword [ecx + 0x54], 7
lea edx, [ecx + 0x6c]
mov dword [ecx + 0x4c], eax
mov dword [edx], eax
add ecx, 0x54
mov eax, dword [ebp - 8]
add eax, 0x2f0
push eax
push ecx
push edx
mov edx, dword [ebp - 8]
xor ecx, ecx
push 0x13
lea edx, [edx + 0x70]
call fcn.00014df0
mov ecx, dword [ebp - 8]
add esp, 0x10
mov edx, dword [ebp - 4]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1408d
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x12088
jmp 0x1494c
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x12064
jmp 0x14949
mov dword [ecx + 0x68], 0
mov dword [ecx], 0x11
mov dword [ebp - 0x2c], 0x11
mov eax, dword [ecx + 0x64]
add eax, dword [ecx + 0x60]
cmp dword [ecx + 0x68], eax
jae 0x1432a
mov ecx, dword [ecx + 0x54]
mov eax, 1
shl eax, cl
lea ecx, [eax - 1]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x30], eax
mov eax, ecx
mov ecx, dword [ebp - 0x30]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
shr dword [ebp - 0x24], 0x10
movzx ecx, cl
mov dword [ebp - 0x34], eax
cmp ecx, esi
jbe 0x14133
nop dword [eax]
test ebx, ebx
je 0x149b9
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
mov ecx, dword [ebp - 0x30]
add edx, eax
mov eax, dword [ebp - 0x3c]
inc edi
and eax, edx
mov dword [ebp - 0xc], ebx
add esi, 8
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
shr dword [ebp - 0x24], 0x10
movzx ecx, cl
mov dword [ebp - 0x34], eax
cmp ecx, esi
ja 0x140f0
mov ecx, dword [ebp - 0x24]
movzx ecx, cx
mov dword [ebp - 0x3c], ecx
movzx ecx, cx
cmp ecx, 0x10
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
jae 0x141a2
mov dword [ebp - 0x3c], ecx
cmp esi, ecx
jae 0x14176
test ebx, ebx
je 0x149b9
movzx edx, byte [edi]
mov ecx, esi
shl edx, cl
dec ebx
add dword [ebp - 4], edx
inc edi
add esi, 8
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
cmp esi, dword [ebp - 0x3c]
jb 0x14151
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 8]
movzx ecx, ah
mov eax, dword [ebp - 8]
sub esi, ecx
shr edx, cl
mov dword [ebp - 4], edx
mov ecx, dword [eax + 0x68]
mov ax, word [ebp - 0x32]
mov word [edi + ecx*2 + 0x70], ax
mov ecx, edi
inc dword [ecx + 0x68]
mov eax, dword [ecx + 0x68]
mov dword [ebp - 0x30], eax
jmp 0x142ff
jne 0x14210
add ecx, 2
mov dword [ebp - 0x3c], ecx
cmp esi, ecx
jae 0x141d5
nop
test ebx, ebx
je 0x149b9
movzx edx, byte [edi]
mov ecx, esi
shl edx, cl
dec ebx
add dword [ebp - 4], edx
inc edi
add esi, 8
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
cmp esi, dword [ebp - 0x3c]
jb 0x141b0
mov edx, dword [ebp - 4]
movzx ecx, ah
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp dword [ecx + 0x68], 0
je 0x1431b
mov eax, dword [ebp - 8]
mov ecx, edx
and ecx, 3
shr edx, 2
add ecx, 3
sub esi, 2
mov dword [ebp - 0x2c], ecx
mov ecx, dword [eax + 0x68]
movzx ecx, word [eax + ecx*2 + 0x6e]
mov dword [ebp - 0x24], ecx
jmp 0x142bb
cmp word [ebp - 0x3c], 0x11
jne 0x14260
add ecx, 3
mov dword [ebp - 0x3c], ecx
cmp esi, ecx
jae 0x14246
test ebx, ebx
je 0x149b9
movzx edx, byte [edi]
mov ecx, esi
shl edx, cl
dec ebx
add dword [ebp - 4], edx
inc edi
add esi, 8
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
cmp esi, dword [ebp - 0x3c]
jb 0x14221
mov edx, dword [ebp - 4]
movzx ecx, ah
shr edx, cl
mov eax, edx
and eax, 7
add eax, 3
shr edx, 3
mov dword [ebp - 0x2c], eax
mov eax, 0xfffffffd
jmp 0x142ad
add ecx, 7
mov dword [ebp - 0x3c], ecx
cmp esi, ecx
jae 0x14295
nop word [eax + eax]
test ebx, ebx
je 0x149b9
movzx edx, byte [edi]
mov ecx, esi
shl edx, cl
dec ebx
add dword [ebp - 4], edx
inc edi
add esi, 8
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
cmp esi, dword [ebp - 0x3c]
jb 0x14270
mov edx, dword [ebp - 4]
movzx ecx, ah
shr edx, cl
mov eax, edx
and eax, 0x7f
add eax, 0xb
shr edx, 7
mov dword [ebp - 0x2c], eax
mov eax, 0xfffffff9
sub eax, ecx
mov dword [ebp - 0x24], 0
add esi, eax
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 8]
mov ecx, dword [eax + 0x68]
mov eax, dword [eax + 0x64]
add ecx, dword [ebp - 0x2c]
add eax, dword [ebx + 0x60]
mov ebx, dword [ebp - 0xc]
cmp ecx, eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], edx
ja 0x1431b
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
nop dword [eax]
mov eax, dword [ecx + 0x68]
mov word [ecx + eax*2 + 0x70], dx
mov ebx, dword [ecx + 0x68]
lea ebx, [ebx + 1]
mov dword [ebp - 0x30], ebx
mov dword [ecx + 0x68], ebx
sub edi, 1
jne 0x142e0
mov ebx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x60]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x64]
add eax, dword [ebp - 0x34]
cmp dword [ebp - 0x30], eax
jb 0x140b0
mov eax, dword [ecx]
jmp 0x1432d
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x120a4
jmp 0x1494c
mov eax, dword [ebp - 0x2c]
cmp eax, 0x1b
je 0x14952
lea edx, [ecx + 0x6c]
mov dword [ecx + 0x54], 9
lea eax, [ecx + 0x530]
mov dword [ebp - 0x3c], edx
lea edi, [ecx + 0x2f0]
mov dword [edx], eax
mov dword [ecx + 0x4c], eax
lea eax, [ecx + 0x54]
push edi
push eax
push edx
push dword [ecx + 0x60]
lea edx, [ecx + 0x70]
mov dword [ebp - 0x34], edi
mov ecx, 1
call fcn.00014df0
mov edi, dword [ebp - 0x10]
add esp, 0x10
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1438f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dword [eax + 0x18], 0x120c0
jmp 0x1494c
mov edx, dword [ebp - 0x3c]
push dword [ebp - 0x34]
mov dword [ecx + 0x58], 6
mov eax, dword [edx]
mov dword [ecx + 0x50], eax
lea eax, [ecx + 0x58]
push eax
mov eax, dword [ecx + 0x60]
push edx
push dword [ecx + 0x64]
add ecx, 0x70
lea edx, [ecx + eax*2]
mov ecx, 2
call fcn.00014df0
mov ecx, dword [ebp - 8]
add esp, 0x10
mov edx, dword [ebp - 4]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x143db
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x120dc
jmp 0x1494c
mov dword [ecx], 0x12
cmp ebx, 6
jb 0x14442
cmp dword [ebp - 0x18], 0x102
jb 0x14442
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x38], edx
mov edx, dword [ebp - 0x20]
mov dword [edi + 0xc], eax
mov eax, edi
mov edi, dword [ebp - 0x18]
mov dword [ecx + 0x3c], esi
mov dword [eax + 4], ebx
mov ebx, eax
mov dword [eax + 0x10], edi
mov ecx, ebx
mov edi, dword [ebp - 0x10]
mov dword [eax], edi
call fcn.000152c0
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + 0x38]
mov esi, dword [ecx + 0x3c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edx
jmp 0x14952
mov ecx, dword [ecx + 0x54]
mov eax, 1
shl eax, cl
dec eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 0x34]
and eax, edx
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x144a6
nop dword [eax]
test ebx, ebx
je 0x149b9
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
mov ecx, dword [ebp - 0x2c]
add edx, eax
mov eax, dword [ebp - 0x34]
inc edi
and eax, edx
mov dword [ebp - 0xc], ebx
add esi, 8
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x14470
test al, al
je 0x14551
test al, 0xf0
jne 0x14551
mov ecx, eax
mov edi, 1
shr ecx, 8
mov edx, eax
movzx ebx, cl
movzx ecx, al
add ecx, ebx
shr eax, 0x10
shl edi, cl
mov ecx, ebx
dec edi
mov dword [ebp - 0x24], edx
and edi, dword [ebp - 4]
shr edi, cl
mov ecx, dword [ebp - 0x2c]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
jbe 0x14544
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x149bc
mov ebx, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0xc], eax
mov ecx, esi
mov edi, 1
add esi, 8
movzx eax, byte [ebx]
inc ebx
shl eax, cl
add dword [ebp - 4], eax
movzx eax, word [ebp - 0x22]
mov dword [ebp - 0x10], ebx
movzx ebx, dh
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [ebp - 4]
shr edi, cl
add edi, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x144f0
mov ebx, dword [ebp - 0xc]
movzx ecx, dh
mov edx, dword [ebp - 4]
shr edx, cl
sub esi, ecx
mov edi, dword [ebp - 8]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub esi, ecx
mov ecx, eax
mov dword [ebp - 4], edx
shr ecx, 0x10
mov dword [edi + 0x40], ecx
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
test al, al
jne 0x14580
mov dword [ecx], 0x17
jmp 0x14952
test al, 0x20
je 0x1458f
mov dword [ecx], 0xb
jmp 0x14952
test al, 0x40
je 0x145a2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x120f4
jmp 0x1494c
movzx eax, al
and eax, 0xf
mov dword [ecx], 0x13
mov dword [ecx + 0x48], eax
mov eax, dword [ecx + 0x48]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x14604
cmp esi, eax
jae 0x145e4
nop
test ebx, ebx
je 0x149b9
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 0xc], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, dword [ebp - 0x2c]
jb 0x145c0
mov ecx, dword [ebp - 0x2c]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 8]
dec eax
and eax, edx
add dword [ecx + 0x40], eax
mov ecx, dword [ebp - 0x2c]
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov dword [ecx], 0x14
mov ecx, dword [ecx + 0x58]
mov eax, 1
shl eax, cl
dec eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x50]
mov eax, dword [ebp - 0x34]
and eax, edx
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x1466b
test ebx, ebx
je 0x149b9
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
mov ecx, dword [ebp - 0x2c]
add edx, eax
mov eax, dword [ebp - 0x34]
inc edi
and eax, edx
mov dword [ebp - 0xc], ebx
add esi, 8
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x14635
test al, 0xf0
jne 0x1470e
mov ecx, eax
mov edi, 1
shr ecx, 8
mov edx, eax
movzx ebx, cl
movzx ecx, al
add ecx, ebx
shr eax, 0x10
shl edi, cl
mov ecx, ebx
dec edi
mov dword [ebp - 0x24], edx
and edi, dword [ebp - 4]
shr edi, cl
mov ecx, dword [ebp - 0x2c]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
jbe 0x14704
nop dword [eax]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x149bc
mov ebx, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0xc], eax
mov ecx, esi
mov edi, 1
add esi, 8
movzx eax, byte [ebx]
inc ebx
shl eax, cl
add dword [ebp - 4], eax
movzx eax, word [ebp - 0x22]
mov dword [ebp - 0x10], ebx
movzx ebx, dh
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [ebp - 4]
shr edi, cl
add edi, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x146b0
movzx ecx, dh
mov edx, dword [ebp - 4]
shr edx, cl
sub esi, ecx
mov edi, dword [ebp - 0x10]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub esi, ecx
mov dword [ebp - 4], edx
test al, 0x40
je 0x14736
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
mov dword [eax + 0x18], 0x12110
jmp 0x14949
mov ebx, dword [ebp - 8]
mov ecx, eax
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov ecx, ebx
mov ebx, dword [ebp - 0xc]
mov dword [ecx + 0x48], eax
mov dword [ecx], 0x15
mov eax, dword [ecx + 0x48]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x147a7
cmp esi, eax
jae 0x14787
test ebx, ebx
je 0x149b9
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 0xc], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, dword [ebp - 0x2c]
jb 0x14763
mov ecx, dword [ebp - 0x2c]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 8]
dec eax
and eax, edx
add dword [ecx + 0x44], eax
mov ecx, dword [ebp - 0x2c]
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ecx + 0x2c]
sub eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
cmp dword [ecx + 0x44], eax
jbe 0x147c7
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x12128
jmp 0x1494c
mov dword [ecx], 0x16
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x149b9
mov edi, dword [ebp - 0x20]
sub edi, eax
mov eax, dword [ecx + 0x44]
cmp eax, edi
jbe 0x14816
sub eax, edi
mov edi, dword [ecx + 0x30]
cmp eax, edi
jbe 0x147f9
mov ebx, dword [ecx + 0x28]
sub eax, edi
sub ebx, eax
add ebx, dword [ecx + 0x34]
jmp 0x14800
mov ebx, dword [ecx + 0x34]
sub ebx, eax
add ebx, edi
mov edi, dword [ecx + 0x40]
cmp eax, edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x2c], edi
cmovbe edi, eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], edi
jmp 0x14821
mov ebx, dword [ebp - 0x1c]
sub ebx, eax
mov eax, dword [ecx + 0x40]
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp - 0x18]
mov edx, edi
cmp dword [ebp - 0x2c], edx
cmovbe edi, dword [ebp - 0x2c]
sub edx, edi
sub eax, edi
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
sub ebx, edx
mov dword [ecx + 0x40], eax
nop dword [eax]
mov al, byte [ebx + edx]
mov byte [edx], al
inc edx
sub edi, 1
jne 0x14840
cmp dword [ecx + 0x40], 0
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 4]
jne 0x14952
mov dword [ecx], 0x12
jmp 0x14952
cmp dword [ebp - 0x18], 0
je 0x149b9
mov edx, dword [ebp - 0x1c]
mov al, byte [ecx + 0x40]
inc dword [ebp - 0x1c]
dec dword [ebp - 0x18]
mov byte [edx], al
mov edx, dword [ebp - 4]
mov dword [ecx], 0x12
jmp 0x14952
cmp dword [ecx + 8], 0
je 0x149a3
cmp esi, 0x20
jae 0x148c8
test ebx, ebx
je 0x149b9
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 0xc], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0x20
jb 0x148a1
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
sub dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
add dword [eax + 0x14], ebx
mov eax, ebx
add dword [ecx + 0x1c], eax
mov eax, dword [ecx + 0x18]
mov ecx, ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x1490f
mov edx, dword [ebp - 0x1c]
push ecx
sub edx, ecx
mov ecx, eax
call fcn.00014b70
mov edx, dword [ebp - 4]
mov ecx, eax
mov eax, dword [ebp - 8]
add esp, 4
mov dword [ebp - 0x34], ecx
mov dword [eax + 0x18], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x30], ecx
mov eax, dword [ebp - 0x18]
mov ecx, edx
mov dword [ebp - 0x20], eax
and ecx, 0xff00
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
cmp ecx, dword [ebp - 0x34]
je 0x14997
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x12148
mov ecx, dword [ebp - 8]
mov dword [ecx], 0x1b
mov eax, dword [ecx]
mov dword [ebp - 0x2c], eax
cmp eax, 0x1d
jbe switch.0x00013be0
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0xc], eax
mov eax, ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], ebx
mov eax, 2
mov dword [ecx + 0x3c], esi
pop esi
mov dword [ecx + 0x38], edx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ecx], 0x1a
mov dword [ebp - 0x28], 1
jmp 0x149b9
mov dword [ebp - 0x28], 0xfffffffd
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [edi + 0xc], ecx
cmp dword [ebx + 0x28], 0
mov ecx, dword [ebp - 0x10]
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x3c], esi
mov esi, dword [ebp - 0x20]
mov dword [edi + 0x10], edx
mov dword [edi], ecx
mov dword [ebx + 0x38], eax
jne 0x149f1
cmp dword [ebx], 0x18
jge 0x14a10
cmp esi, edx
je 0x14a10
mov edx, esi
mov ecx, edi
call fcn.00013740
test eax, eax
je 0x14a10
mov dword [ebx], 0x1c
pop edi
pop esi
mov eax, 0xfffffffc
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x40]
sub esi, dword [edi + 0x10]
sub eax, dword [edi + 4]
add dword [edi + 8], eax
add dword [edi + 0x14], esi
add dword [ebx + 0x1c], esi
cmp dword [ebx + 8], 0
je 0x14a43
test esi, esi
je 0x14a43
mov edx, dword [edi + 0xc]
mov ecx, dword [ebx + 0x18]
sub edx, esi
push esi
call fcn.00014b70
add esp, 4
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
mov edx, dword [ebx + 4]
mov eax, pe_nt_image_headers32
neg edx
sbb edx, edx
xor ecx, ecx
and edx, 0x40
cmp dword [ebx], 0xb
cmove ecx, eax
mov eax, dword [ebp - 0x28]
add edx, ecx
mov ecx, 0xfffffffb
add edx, dword [ebx + 0x3c]
test eax, eax
mov dword [edi + 0x2c], edx
pop edi
pop esi
cmove eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret