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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x2c
test edx, edx
push edi
je 0x100096ad
mov edi, dword [edx + 0x18]
test edi, edi
je 0x100096ad
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x100096ad
mov eax, dword [edx]
test eax, eax
jne 0x100088f7
cmp dword [edx + 4], eax
jne 0x100096ad
cmp dword [edi], 3
jne 0x10008902
mov dword [edi], 4
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x10]
push ebx
mov ebx, dword [edi + 0x30]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edi]
cmp ecx, 0x13
push esi
mov esi, dword [edi + 0x34]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x24], 0
jbe switch.0x10008945
mov eax, 0xfffffffe
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
jmp dword [ecx*4 + 0x100096b8]
cmp dword [edi + 8], 0
jne 0x1000895d
mov dword [edi], 4
jmp 0x1000957b
cmp esi, 0x10
jae 0x1000898a
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
add eax, 1
add esi, 8
mov dword [ebp - 8], eax
add ebx, edx
cmp esi, 0x10
mov dword [ebp - 0xc], ebx
jb 0x10008962
movzx eax, bl
shl eax, 8
mov ecx, ebx
shr ecx, 8
add eax, ecx
xor edx, edx
mov ecx, 0x1f
div ecx
test edx, edx
je 0x100089ac
mov eax, dword [ebp - 8]
jmp 0x10009575
mov edx, ebx
and dl, 0xf
cmp dl, 8
je 0x100089be
mov eax, dword [ebp - 8]
jmp 0x10009575
shr ebx, 4
mov eax, ebx
and eax, 0xf
add eax, 8
sub esi, 4
cmp eax, dword [edi + 0x1c]
mov dword [ebp - 0xc], ebx
jbe 0x100089dc
mov eax, dword [ebp - 8]
jmp 0x10009575
xor eax, eax
xor edx, edx
xor ecx, ecx
call fcn.10007cc0
mov ecx, dword [ebp + 8]
shr ebx, 8
not ebx
and ebx, 2
or ebx, 1
mov dword [edi], ebx
xor ebx, ebx
mov dword [edi + 0x14], eax
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
xor esi, esi
jmp 0x1000957b
cmp esi, 0x20
jae 0x10008a39
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
add eax, 1
add esi, 8
mov dword [ebp - 8], eax
add ebx, edx
cmp esi, 0x20
mov dword [ebp - 0xc], ebx
jb 0x10008a11
mov ecx, ebx
and ecx, 0xff00
mov edx, ebx
shl edx, 0x10
add ecx, edx
xor edx, edx
mov dh, byte [ebp - 0xa]
shl ecx, 8
shr ebx, 0x18
mov dword [edi], 2
add ecx, edx
mov edx, dword [ebp + 8]
add ecx, ebx
xor ebx, ebx
mov dword [edi + 0x14], ecx
mov dword [edx + 0x20], ecx
xor esi, esi
cmp dword [edi + 0xc], 0
je 0x10009592
xor eax, eax
xor edx, edx
xor ecx, ecx
call fcn.10007cc0
mov ecx, dword [ebp + 8]
mov dword [edi + 0x14], eax
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [edi], 3
cmp dword [edi + 4], 0
je 0x10008aae
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [edi], 0x10
mov dword [ebp - 0xc], ebx
jmp 0x1000957b
cmp esi, 3
jae 0x10008ad8
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
add eax, 1
add esi, 8
mov dword [ebp - 8], eax
add ebx, edx
cmp esi, 3
jb 0x10008ab3
mov ecx, ebx
and ecx, 1
shr ebx, 1
mov dword [edi + 4], ecx
mov ecx, ebx
and ecx, 3
sub esi, 1
cmp ecx, 3
ja case.default.0x10008aef
jmp dword [ecx*4 + 0x10009708]
shr ebx, 2
mov dword [edi], 5
mov dword [ebp - 0xc], ebx
sub esi, 2
jmp 0x1000957b
shr ebx, 2
mov dword [edi + 0x44], 0x10016250
mov dword [edi + 0x4c], 9
mov dword [edi + 0x48], 0x10016a50
mov dword [edi + 0x50], 5
mov dword [edi], 0xa
mov dword [ebp - 0xc], ebx
sub esi, 2
jmp 0x1000957b
shr ebx, 2
mov dword [edi], 7
mov dword [ebp - 0xc], ebx
sub esi, 2
jmp 0x1000957b
mov dword [edi], 0x12
shr ebx, 2
mov dword [ebp - 0xc], ebx
sub esi, 2
jmp 0x1000957b
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
cmp esi, 0x20
mov dword [ebp - 0xc], ebx
jae 0x10008b9b
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
add eax, 1
add esi, 8
mov dword [ebp - 8], eax
add ebx, edx
cmp esi, 0x20
mov dword [ebp - 0xc], ebx
jb 0x10008b73
mov edx, ebx
mov ecx, ebx
not edx
and ecx, 0xffff
shr edx, 0x10
cmp ecx, edx
jne 0x10009575
xor ebx, ebx
mov dword [edi + 0x38], ecx
mov dword [ebp - 0xc], ebx
xor esi, esi
mov dword [edi], 6
mov ecx, dword [edi + 0x38]
test ecx, ecx
mov dword [ebp - 0x14], ecx
je 0x100091e1
mov edx, dword [ebp - 4]
cmp ecx, edx
jbe 0x10008bdc
mov ecx, edx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x10]
cmp ecx, edx
jbe 0x10008be8
mov ecx, edx
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x100095d2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
push eax
push ecx
push edx
call sub.MSVCR80_Coverage_C_WINDOWS_WinSxS_x86__Microsoft__VC80__CRT__1fc8b3b9a1e18e3b__8__0__50727__4053__x_ww__e6967989.dll_memcp
mov eax, dword [ebp - 0x14]
sub dword [ebp - 4], eax
add dword [ebp - 8], eax
sub dword [ebp - 0x10], eax
add dword [ebp - 0x18], eax
add esp, 0xc
sub dword [edi + 0x38], eax
mov eax, dword [ebp - 8]
jmp 0x1000957b
cmp esi, 0xe
jae 0x10008c48
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
add eax, 1
add esi, 8
mov dword [ebp - 8], eax
add ebx, edx
cmp esi, 0xe
jb 0x10008c23
mov ecx, ebx
and ecx, 0x1f
shr ebx, 5
add ecx, 0x101
mov edx, ebx
mov dword [edi + 0x58], ecx
shr ebx, 5
mov ecx, ebx
and edx, 0x1f
and ecx, 0xf
add edx, 1
add ecx, 4
shr ebx, 4
sub esi, 0xe
cmp dword [edi + 0x58], 0x11e
mov dword [edi + 0x5c], edx
mov dword [edi + 0x54], ecx
mov dword [ebp - 0xc], ebx
ja 0x10009575
cmp edx, 0x1e
ja 0x10009575
mov dword [edi + 0x60], 0
mov dword [edi], 8
mov edx, dword [edi + 0x60]
cmp edx, dword [edi + 0x54]
jae 0x10008d00
cmp esi, 3
jae 0x10008cd5
jmp 0x10008cb0
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
add eax, 1
add esi, 8
mov dword [ebp - 8], eax
add ebx, edx
cmp esi, 3
jb 0x10008cb0
mov edx, dword [edi + 0x60]
movzx edx, word [edx*2 + 0x10016228]
movzx ecx, bl
and ecx, 7
mov word [edi + edx*2 + 0x68], cx
add dword [edi + 0x60], 1
mov ecx, dword [edi + 0x60]
shr ebx, 3
sub esi, 3
cmp ecx, dword [edi + 0x54]
mov dword [ebp - 0xc], ebx
jb 0x10008ca6
cmp dword [edi + 0x60], 0x13
jae 0x10008d29
mov ecx, 1
xor eax, eax
lea ecx, [ecx]
mov edx, dword [edi + 0x60]
movzx edx, word [edx*2 + 0x10016228]
mov word [edi + edx*2 + 0x68], ax
add dword [edi + 0x60], ecx
cmp dword [edi + 0x60], 0x13
jb 0x10008d10
lea eax, [edi + 0x528]
lea ecx, [edi + 0x64]
mov dword [ecx], eax
mov dword [edi + 0x44], eax
lea eax, [edi + 0x2e8]
push eax
push ecx
lea edx, [edi + 0x4c]
push 0x13
lea ecx, [edi + 0x68]
push 0
mov dword [edx], 7
call fcn.10008320
add esp, 0x10
mov dword [ebp - 0x24], eax
test eax, eax
mov eax, dword [ebp - 8]
jne 0x10009575
mov dword [edi + 0x60], 0
mov dword [edi], 9
mov ecx, dword [edi + 0x5c]
add ecx, dword [edi + 0x58]
cmp dword [edi + 0x60], ecx
jae 0x10008f99
mov ecx, dword [edi + 0x4c]
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x44]
sub edx, 1
and edx, ebx
mov ecx, dword [ecx + edx*4]
mov edx, ecx
shr edx, 8
movzx edx, dl
cmp edx, esi
mov dword [ebp - 0x14], ecx
jbe 0x10008de9
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
mov ecx, dword [edi + 0x4c]
add eax, 1
add esi, 8
add ebx, edx
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x44]
mov dword [ebp - 8], eax
sub edx, 1
and edx, ebx
mov ecx, dword [ecx + edx*4]
mov edx, ecx
shr edx, 8
movzx edx, dl
cmp edx, esi
mov dword [ebp - 0x14], ecx
ja 0x10008da5
mov edx, ecx
shr edx, 0x10
cmp edx, 0x10
jae 0x10008e49
mov edx, ecx
shr edx, 8
movzx edx, dl
cmp esi, edx
jae 0x10008e2a
nop
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
mov ecx, dword [ebp - 0x14]
add eax, 1
add esi, 8
add ebx, edx
movzx edx, ch
cmp esi, edx
mov dword [ebp - 8], eax
jb 0x10008e00
mov dx, word [ebp - 0x12]
movzx ecx, ch
shr ebx, cl
sub esi, ecx
mov ecx, dword [edi + 0x60]
mov word [edi + ecx*2 + 0x68], dx
add dword [edi + 0x60], 1
mov dword [ebp - 0xc], ebx
jmp 0x10008f8a
mov dx, word [ebp - 0x12]
cmp dx, 0x10
movzx ecx, ch
mov dword [ebp - 0x20], ecx
jne 0x10008eb7
lea edx, [ecx + 2]
cmp esi, edx
jae 0x10008e8a
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
mov ecx, dword [ebp - 0x20]
add eax, 1
add esi, 8
add ebx, edx
lea edx, [ecx + 2]
cmp esi, edx
mov dword [ebp - 8], eax
jb 0x10008e60
shr ebx, cl
sub esi, ecx
mov ecx, dword [edi + 0x60]
test ecx, ecx
mov dword [ebp - 0xc], ebx
je 0x10009575
movzx eax, word [edi + ecx*2 + 0x66]
mov dword [ebp - 0x20], eax
mov eax, ebx
and eax, 3
add eax, 3
shr ebx, 2
sub esi, 2
jmp 0x10008f57
cmp dx, 0x11
jne 0x10008f02
lea edx, [ecx + 3]
cmp esi, edx
jae 0x10008eee
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
mov ecx, dword [ebp - 0x20]
add eax, 1
add esi, 8
add ebx, edx
lea edx, [ecx + 3]
cmp esi, edx
mov dword [ebp - 8], eax
jb 0x10008ec4
shr ebx, cl
mov edx, 0xfffffffd
mov eax, ebx
and eax, 7
add eax, 3
shr ebx, 3
jmp 0x10008f4c
lea edx, [ecx + 7]
cmp esi, edx
jae 0x10008f3a
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
mov ecx, dword [ebp - 0x20]
add eax, 1
add esi, 8
add ebx, edx
lea edx, [ecx + 7]
cmp esi, edx
mov dword [ebp - 8], eax
jb 0x10008f10
shr ebx, cl
mov edx, 0xfffffff9
mov eax, ebx
and eax, 0x7f
add eax, 0xb
shr ebx, 7
sub edx, ecx
add esi, edx
mov dword [ebp - 0x20], 0
mov ecx, dword [edi + 0x5c]
mov edx, dword [edi + 0x60]
add ecx, dword [edi + 0x58]
add edx, eax
cmp edx, ecx
mov dword [ebp - 0xc], ebx
ja 0x100089a4
test eax, eax
je 0x10008f87
mov ecx, dword [ebp - 0x20]
mov edx, dword [edi + 0x60]
sub eax, 1
mov word [edi + edx*2 + 0x68], cx
add dword [edi + 0x60], 1
test eax, eax
jne 0x10008f74
mov eax, dword [ebp - 8]
mov ecx, dword [edi + 0x5c]
add ecx, dword [edi + 0x58]
cmp dword [edi + 0x60], ecx
jb 0x10008d81
cmp dword [edi], 0x12
je 0x1000957b
lea eax, [edi + 0x528]
lea ecx, [edi + 0x64]
mov dword [ecx], eax
mov dword [edi + 0x44], eax
lea eax, [edi + 0x2e8]
push eax
mov eax, dword [edi + 0x58]
push ecx
push eax
lea edx, [edi + 0x4c]
lea ecx, [edi + 0x68]
push 1
mov dword [edx], 9
call fcn.10008320
add esp, 0x10
test eax, eax
mov dword [ebp - 0x24], eax
je 0x10008fe1
mov eax, dword [ebp - 8]
jmp 0x10009575
mov ecx, dword [edi + 0x64]
lea eax, [edi + 0x64]
mov dword [edi + 0x48], ecx
lea ecx, [edi + 0x2e8]
push ecx
mov ecx, dword [edi + 0x58]
push eax
mov eax, dword [edi + 0x5c]
push eax
lea edx, [edi + 0x50]
lea ecx, [edi + ecx*2 + 0x68]
push 2
mov dword [edx], 6
call fcn.10008320
add esp, 0x10
mov dword [ebp - 0x24], eax
test eax, eax
mov eax, dword [ebp - 8]
jne 0x10009575
mov dword [edi], 0xa
cmp dword [ebp - 4], 6
jb 0x1000908a
cmp dword [ebp - 0x10], 0x102
jb 0x1000908a
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 8]
mov dword [eax], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 4]
push edx
push eax
mov dword [eax + 4], ecx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], esi
call fcn.10007ec0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov ebx, dword [edi + 0x30]
mov esi, dword [edi + 0x34]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 4]
add esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ebx
mov eax, ecx
jmp 0x1000957b
mov ecx, dword [edi + 0x4c]
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x44]
sub edx, 1
and edx, ebx
mov edx, dword [ecx + edx*4]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [ebp - 0x14], edx
jbe 0x100090f4
mov edi, edi
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
mov ecx, dword [edi + 0x4c]
add eax, 1
add esi, 8
add ebx, edx
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x44]
mov dword [ebp - 8], eax
sub edx, 1
and edx, ebx
mov edx, dword [ecx + edx*4]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [ebp - 0x14], edx
ja 0x100090b0
test dl, dl
je 0x100091b3
test dl, 0xf0
jne 0x100091b3
mov ecx, edx
shr ecx, 8
mov dword [ebp - 0x28], ecx
movzx ecx, cl
mov dword [ebp - 0x20], ecx
movzx ecx, dl
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebp - 0x20]
sub edx, 1
and edx, ebx
shr edx, cl
mov ecx, dword [ebp - 0x14]
shr ecx, 0x10
add edx, ecx
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x14], ecx
shr ecx, 8
movzx edx, cl
movzx ecx, byte [ebp - 0x28]
add edx, ecx
cmp edx, esi
jbe 0x100091a8
mov edi, edi
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
mov ecx, esi
shl edx, cl
mov ecx, dword [ebp - 0xc]
sub dword [ebp - 4], 1
add eax, 1
add ebx, edx
movzx edx, ch
add ecx, edx
mov dword [ebp - 0x20], edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebp - 0x20]
add esi, 8
mov dword [ebp - 8], eax
sub edx, 1
and edx, ebx
shr edx, cl
movzx ecx, word [ebp - 0xa]
add edx, ecx
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x14], ecx
shr ecx, 8
movzx edx, cl
add edx, dword [ebp - 0x20]
cmp edx, esi
ja 0x10009150
movzx ecx, byte [ebp - 0xb]
mov edx, dword [ebp - 0x14]
shr ebx, cl
sub esi, ecx
mov ecx, edx
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub esi, ecx
mov dword [ebp - 0x20], ecx
mov ecx, edx
shr ecx, 0x10
test dl, dl
mov dword [ebp - 0xc], ebx
mov dword [edi + 0x38], ecx
jne 0x100091dc
mov dword [edi], 0xf
jmp 0x1000957b
test dl, 0x20
je 0x100091ec
mov dword [edi], 3
jmp 0x1000957b
test dl, 0x40
jne 0x10009575
and edx, 0xf
mov dword [edi + 0x40], edx
mov dword [edi], 0xb
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x1000924b
cmp esi, ecx
jae 0x10009235
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
add eax, 1
add esi, 8
mov dword [ebp - 8], eax
add ebx, edx
cmp esi, dword [edi + 0x40]
jb 0x10009210
mov ecx, dword [edi + 0x40]
mov edx, 1
shl edx, cl
sub edx, 1
and edx, ebx
add dword [edi + 0x38], edx
shr ebx, cl
sub esi, ecx
mov dword [edi], 0xc
mov ecx, dword [edi + 0x50]
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x48]
sub edx, 1
and edx, ebx
mov edx, dword [ecx + edx*4]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [ebp - 0x14], edx
jbe 0x100092b9
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
mov ecx, dword [edi + 0x50]
add eax, 1
add esi, 8
add ebx, edx
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x48]
mov dword [ebp - 8], eax
sub edx, 1
and edx, ebx
mov edx, dword [ecx + edx*4]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [ebp - 0x14], edx
ja 0x10009275
test dl, 0xf0
jne 0x10009373
mov ecx, edx
shr ecx, 8
mov dword [ebp - 0x28], ecx
movzx ecx, cl
mov dword [ebp - 0x20], ecx
movzx ecx, dl
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebp - 0x20]
sub edx, 1
and edx, ebx
shr edx, cl
mov ecx, dword [ebp - 0x14]
shr ecx, 0x10
add edx, ecx
mov ecx, dword [edi + 0x48]
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x14], ecx
shr ecx, 8
movzx edx, cl
movzx ecx, byte [ebp - 0x28]
add edx, ecx
cmp edx, esi
jbe 0x10009368
jmp 0x10009310
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
mov ecx, esi
shl edx, cl
mov ecx, dword [ebp - 0xc]
sub dword [ebp - 4], 1
add eax, 1
add ebx, edx
movzx edx, ch
add ecx, edx
mov dword [ebp - 0x20], edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebp - 0x20]
add esi, 8
mov dword [ebp - 8], eax
sub edx, 1
and edx, ebx
shr edx, cl
movzx ecx, word [ebp - 0xa]
add edx, ecx
mov ecx, dword [edi + 0x48]
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x14], ecx
shr ecx, 8
movzx edx, cl
add edx, dword [ebp - 0x20]
cmp edx, esi
ja 0x10009310
movzx ecx, byte [ebp - 0xb]
mov edx, dword [ebp - 0x14]
shr ebx, cl
sub esi, ecx
mov ecx, edx
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub esi, ecx
test dl, 0x40
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], ebx
jne 0x10009575
mov ecx, edx
shr ecx, 0x10
and edx, 0xf
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], edx
mov dword [edi], 0xd
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x100093ee
cmp esi, ecx
jae 0x100093d5
lea ecx, [ecx]
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
add eax, 1
add esi, 8
mov dword [ebp - 8], eax
add ebx, edx
cmp esi, dword [edi + 0x40]
jb 0x100093b0
mov ecx, dword [edi + 0x40]
mov edx, 1
shl edx, cl
sub edx, 1
and edx, ebx
add dword [edi + 0x3c], edx
shr ebx, cl
sub esi, ecx
mov dword [ebp - 0xc], ebx
mov ecx, dword [edi + 0x24]
sub ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x1c]
cmp dword [edi + 0x3c], ecx
ja 0x10009575
mov dword [edi], 0xe
cmp dword [ebp - 0x10], 0
je 0x100095d2
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
mov ecx, dword [edi + 0x3c]
cmp ecx, edx
jbe 0x10009454
sub ecx, edx
mov edx, dword [edi + 0x28]
cmp ecx, edx
mov dword [ebp - 0x14], ecx
jbe 0x10009438
sub ecx, edx
mov edx, dword [edi + 0x2c]
add edx, dword [edi + 0x20]
mov dword [ebp - 0x14], ecx
sub edx, ecx
jmp 0x10009443
mov edx, dword [edi + 0x2c]
sub edx, ecx
add edx, dword [edi + 0x28]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov edx, dword [edi + 0x38]
cmp ecx, edx
mov dword [ebp - 0x28], edx
jbe 0x10009465
mov ecx, edx
jmp 0x10009462
mov edx, dword [ebp - 0x18]
sub edx, ecx
mov ecx, dword [edi + 0x38]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
cmp ecx, edx
jbe 0x10009471
mov ecx, edx
mov dword [ebp - 0x14], ecx
sub edx, ecx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x28]
sub edx, ecx
mov dword [edi + 0x38], edx
mov edi, edi
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov dl, byte [edx]
mov byte [ecx], dl
mov edx, 1
add dword [ebp - 0x20], edx
add ecx, edx
sub dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
jne 0x10009480
cmp dword [edi + 0x38], 0
jne 0x1000957b
mov dword [edi], 0xa
jmp 0x1000957b
cmp dword [ebp - 0x10], 0
je 0x100095d2
mov ecx, dword [ebp - 0x18]
mov dl, byte [edi + 0x38]
mov byte [ecx], dl
add ecx, 1
sub dword [ebp - 0x10], 1
mov dword [ebp - 0x18], ecx
mov dword [edi], 0xa
jmp 0x1000957b
cmp dword [edi + 8], 0
je 0x100095bc
cmp esi, 0x20
jae 0x10009518
jmp 0x100094f0
cmp dword [ebp - 4], 0
je 0x100095d2
movzx edx, byte [eax]
sub dword [ebp - 4], 1
mov ecx, esi
shl edx, cl
add eax, 1
add esi, 8
mov dword [ebp - 8], eax
add ebx, edx
cmp esi, 0x20
mov dword [ebp - 0xc], ebx
jb 0x100094f0
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add dword [ecx + 0x14], edx
add dword [edi + 0x18], edx
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x1000954a
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [edi + 0x14]
sub edx, eax
call fcn.10007cc0
mov ecx, dword [ebp + 8]
mov dword [edi + 0x14], eax
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov ecx, ebx
and ecx, 0xff00
mov edx, ebx
shl edx, 0x10
add ecx, edx
xor edx, edx
mov dh, byte [ebp - 0xa]
shl ecx, 8
add ecx, edx
mov edx, ebx
shr edx, 0x18
add ecx, edx
cmp ecx, dword [edi + 0x14]
je 0x100095b8
mov dword [edi], 0x12
mov ecx, dword [edi]
cmp ecx, 0x13
jbe 0x10008942
pop esi
pop ebx
mov eax, 0xfffffffe
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x34], esi
mov dword [edx], eax
mov eax, dword [ebp - 4]
pop esi
mov dword [edi + 0x30], ebx
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
mov dword [edx + 4], eax
mov dword [edx + 0x10], ecx
mov eax, 2
pop edi
mov esp, ebp
pop ebp
ret
xor ebx, ebx
xor esi, esi
mov dword [edi], 0x11
mov dword [ebp - 0x24], 1
jmp 0x100095d2
mov dword [ebp - 0x24], 0xfffffffd
cmp dword [edi + 0x20], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov dword [ecx + 0x10], edx
mov dword [ecx + 4], eax
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], esi
jne 0x10009601
cmp dword [edi], 0x10
jge 0x10009626
mov ecx, edx
cmp dword [ebp - 0x1c], ecx
je 0x10009626
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
push edx
call fcn.100087c0
add esp, 4
test eax, eax
je 0x10009626
mov dword [edi], 0x13
pop esi
pop ebx
mov eax, 0xfffffffc
pop edi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
sub eax, dword [esi + 4]
mov ebx, dword [ebp - 0x1c]
sub ebx, dword [esi + 0x10]
add dword [esi + 8], eax
add dword [esi + 0x14], ebx
add dword [edi + 0x18], ebx
cmp dword [edi + 8], 0
mov dword [ebp - 0x2c], eax
je 0x10009663
test ebx, ebx
je 0x10009663
mov edx, dword [esi + 0xc]
mov ecx, dword [edi + 0x14]
sub edx, ebx
mov eax, ebx
call fcn.10007cc0
mov dword [edi + 0x14], eax
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edi + 4]
neg ecx
sbb ecx, ecx
and ecx, 0x40
xor edx, edx
cmp dword [edi], 3
setne dl
sub edx, 1
and edx, 0x80
add ecx, edx
add ecx, dword [edi + 0x34]
test eax, eax
mov dword [esi + 0x1c], ecx
jne 0x100096a3
test ebx, ebx
jne 0x100096a3
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1000893b
pop esi
lea eax, [ebx - 5]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x24]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffe
pop edi
mov esp, ebp
pop ebp
ret