Function at 0x13b40
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.0x13bd0.1
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 8], ecx
test ecx, ecx
je case.0x13bd0.1
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x1c], eax
test eax, eax
je case.0x13bd0.1
mov edi, dword [edx]
mov dword [ebp - 0x10], edi
test edi, edi
jne 0x13b84
cmp dword [edx + 4], edi
jne case.0x13bd0.1
mov eax, dword [ecx]
cmp eax, 0xb
jne 0x13b96
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.0x13bd0.1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], 0x1f
nop dword [eax]
jmp dword [eax*4 + 0x14a68]
cmp dword [ecx + 8], 0
jne 0x13be8
mov dword [ecx], 0xc
jmp 0x14942
cmp esi, 0x10
jae 0x13c14
nop dword [eax]
test ebx, ebx
je 0x149a9
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 0x13bf0
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 0x13c3c
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x11fd8
jmp 0x14939
mov ecx, dword [ebp - 8]
mov eax, edx
and al, 0xf
cmp al, 8
je 0x13c56
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x11ff0
jmp 0x1493c
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 0x13c7e
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x1200c
jmp 0x1493c
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 0x14942
cmp esi, 0x20
jae 0x13ce4
nop dword [eax]
test ebx, ebx
je 0x149a9
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 0x13cc0
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 0x1495c
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 0x13d61
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 0x14942
cmp esi, 3
jae 0x13d8d
test ebx, ebx
je 0x149a9
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.0x13d9c
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 + 0x14ae0]
shr edx, 2
sub esi, 3
mov dword [ecx], 0xd
mov dword [ebp - 4], edx
jmp 0x14942
shr edx, 2
sub esi, 3
mov dword [ecx + 0x4c], 0x11630
mov dword [ecx + 0x54], 9
mov dword [ecx + 0x50], 0x11e30
mov dword [ecx + 0x58], 5
mov dword [ecx], 0x12
mov dword [ebp - 4], edx
jmp 0x14942
shr edx, 2
sub esi, 3
mov dword [ecx], 0xf
mov dword [ebp - 4], edx
jmp 0x14942
mov eax, dword [ebp - 0x14]
mov dword [ecx], 0x1b
mov dword [eax + 0x18], 0x12020
shr edx, 2
sub esi, 3
mov dword [ebp - 4], edx
jmp 0x14942
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 4], edx
cmp esi, 0x20
jae 0x13e54
nop word [eax + eax]
test ebx, ebx
je 0x149a9
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 0x13e30
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 0x13e77
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x12034
jmp 0x1493c
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 0x14574
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 0x149a9
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 0x13ec0
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 0x14942
cmp esi, 0xe
jae 0x13f34
nop dword [eax + eax]
test ebx, ebx
je 0x149a9
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 0x13f10
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 0x1406e
cmp dword [ebp - 0x34], 0x1e
ja 0x1406e
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 0x13ffd
nop
cmp esi, 3
jae 0x13fc9
test ebx, ebx
je 0x149a9
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 0x13fa5
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 + 0x11eb0]
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 0x13fa0
cmp eax, 0x13
jae 0x1401d
mov eax, dword [ecx + 0x68]
xor edx, edx
movzx eax, word [eax*2 + 0x11eb0]
mov word [ecx + eax*2 + 0x70], dx
inc dword [ecx + 0x68]
cmp dword [ecx + 0x68], 0x13
jb 0x14002
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.00014de0
mov ecx, dword [ebp - 8]
add esp, 0x10
mov edx, dword [ebp - 4]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1407d
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x12078
jmp 0x1493c
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x12054
jmp 0x14939
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 0x1431a
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 0x14123
nop dword [eax]
test ebx, ebx
je 0x149a9
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 0x140e0
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 0x14192
mov dword [ebp - 0x3c], ecx
cmp esi, ecx
jae 0x14166
test ebx, ebx
je 0x149a9
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 0x14141
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 0x142ef
jne 0x14200
add ecx, 2
mov dword [ebp - 0x3c], ecx
cmp esi, ecx
jae 0x141c5
nop
test ebx, ebx
je 0x149a9
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 0x141a0
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 0x1430b
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 0x142ab
cmp word [ebp - 0x3c], 0x11
jne 0x14250
add ecx, 3
mov dword [ebp - 0x3c], ecx
cmp esi, ecx
jae 0x14236
test ebx, ebx
je 0x149a9
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 0x14211
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 0x1429d
add ecx, 7
mov dword [ebp - 0x3c], ecx
cmp esi, ecx
jae 0x14285
nop word [eax + eax]
test ebx, ebx
je 0x149a9
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 0x14260
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 0x1430b
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 0x142d0
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 0x140a0
mov eax, dword [ecx]
jmp 0x1431d
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x12094
jmp 0x1493c
mov eax, dword [ebp - 0x2c]
cmp eax, 0x1b
je 0x14942
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.00014de0
mov edi, dword [ebp - 0x10]
add esp, 0x10
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1437f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dword [eax + 0x18], 0x120b0
jmp 0x1493c
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.00014de0
mov ecx, dword [ebp - 8]
add esp, 0x10
mov edx, dword [ebp - 4]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x143cb
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x120cc
jmp 0x1493c
mov dword [ecx], 0x12
cmp ebx, 6
jb 0x14432
cmp dword [ebp - 0x18], 0x102
jb 0x14432
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.000152b0
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 0x14942
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 0x14496
nop dword [eax]
test ebx, ebx
je 0x149a9
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 0x14460
test al, al
je 0x14541
test al, 0xf0
jne 0x14541
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 0x14534
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x149ac
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 0x144e0
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 0x14570
mov dword [ecx], 0x17
jmp 0x14942
test al, 0x20
je 0x1457f
mov dword [ecx], 0xb
jmp 0x14942
test al, 0x40
je 0x14592
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x120e4
jmp 0x1493c
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 0x145f4
cmp esi, eax
jae 0x145d4
nop
test ebx, ebx
je 0x149a9
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 0x145b0
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 0x1465b
test ebx, ebx
je 0x149a9
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 0x14625
test al, 0xf0
jne 0x146fe
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 0x146f4
nop dword [eax]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x149ac
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 0x146a0
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 0x14726
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
mov dword [eax + 0x18], 0x12100
jmp 0x14939
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 0x14797
cmp esi, eax
jae 0x14777
test ebx, ebx
je 0x149a9
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 0x14753
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 0x147b7
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x12118
jmp 0x1493c
mov dword [ecx], 0x16
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x149a9
mov edi, dword [ebp - 0x20]
sub edi, eax
mov eax, dword [ecx + 0x44]
cmp eax, edi
jbe 0x14806
sub eax, edi
mov edi, dword [ecx + 0x30]
cmp eax, edi
jbe 0x147e9
mov ebx, dword [ecx + 0x28]
sub eax, edi
sub ebx, eax
add ebx, dword [ecx + 0x34]
jmp 0x147f0
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 0x14811
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 0x14830
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 0x14942
mov dword [ecx], 0x12
jmp 0x14942
cmp dword [ebp - 0x18], 0
je 0x149a9
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 0x14942
cmp dword [ecx + 8], 0
je 0x14993
cmp esi, 0x20
jae 0x148b8
test ebx, ebx
je 0x149a9
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 0x14891
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 0x148ff
mov edx, dword [ebp - 0x1c]
push ecx
sub edx, ecx
mov ecx, eax
call fcn.00014b60
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 0x14987
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x12138
mov ecx, dword [ebp - 8]
mov dword [ecx], 0x1b
mov eax, dword [ecx]
mov dword [ebp - 0x2c], eax
cmp eax, 0x1d
jbe switch.0x00013bd0
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 0x149a9
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 0x149e1
cmp dword [ebx], 0x18
jge 0x14a00
cmp esi, edx
je 0x14a00
mov edx, esi
mov ecx, edi
call fcn.00013730
test eax, eax
je 0x14a00
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 0x14a33
test esi, esi
je 0x14a33
mov edx, dword [edi + 0xc]
mov ecx, dword [ebx + 0x18]
sub edx, esi
push esi
call fcn.00014b60
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