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

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x34
push edi
test ecx, ecx
je 0x100640b7
mov edi, dword [ecx + 0x1c]
mov dword [esp + 0x18], edi
test edi, edi
je 0x100640b7
cmp dword [ecx + 0xc], 0
je 0x100640b7
cmp dword [ecx], 0
jne 0x10062ad8
cmp dword [ecx + 4], 0
jne 0x100640b7
cmp dword [edi], 0xb
jne 0x10062ae3
mov dword [edi], 0xc
mov eax, dword [ecx + 0xc]
mov edx, dword [edi + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x10]
push ebx
mov ebx, dword [ecx]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
xor eax, eax
push ebp
mov ebp, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x34], ebp
push esi
mov esi, dword [edi + 0x3c]
cmp eax, 0x1e
ja case.default.0x10062b30
lea ebx, [edi + 0x54]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x14]
nop dword [eax + eax]
jmp dword [eax*4 + 0x100640c4]
mov eax, dword [edi + 8]
test eax, eax
jne 0x10062b49
mov dword [edi], 0xc
jmp 0x10063438
cmp esi, 0x10
jae 0x10062b7a
nop
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x10
jb 0x10062b50
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x48]
test al, 2
je 0x10062bc3
cmp edx, 0x8b1f
jne 0x10062bc3
push 0
push 0
push 0
call fcn.10068970
mov dword [edi + 0x18], eax
lea eax, [esp + 0x24]
push 2
push eax
mov word [esp + 0x2c], 0x8b1f
push dword [edi + 0x18]
call fcn.10068970
xor edx, edx
mov dword [edi + 0x18], eax
add esp, 0x18
mov dword [esp + 0x10], edx
xor esi, esi
mov dword [edi], 1
jmp 0x10063434
mov eax, dword [edi + 0x20]
mov dword [edi + 0x10], 0
test eax, eax
je 0x10062bd8
mov dword [eax + 0x30], 0xffffffff
test byte [edi + 8], 1
je 0x10062c9c
movzx ecx, dl
mov eax, edx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
mov ecx, 0x1f
div ecx
test edx, edx
mov edx, dword [esp + 0x10]
jne 0x10062c98
mov eax, edx
and al, 0xf
cmp al, 8
je 0x10062c22
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.unknown_compression_method
mov dword [edi], 0x1d
jmp 0x10063438
mov eax, dword [edi + 0x24]
sub esi, 4
shr edx, 4
mov ecx, edx
mov dword [esp + 0x10], edx
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x10062c7e
mov dword [edi + 0x24], ecx
push 0
mov eax, 1
shl eax, cl
push 0
push 0
mov dword [edi + 0x14], eax
call fcn.1006a560
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x48]
shr edx, 8
not edx
mov dword [edi + 0x18], eax
and edx, 2
or edx, 9
mov dword [ecx + 0x30], eax
mov dword [edi], edx
xor edx, edx
mov dword [esp + 0x10], edx
xor esi, esi
jmp 0x10063438
cmp ecx, eax
jbe 0x10062c3e
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_window_size
mov dword [edi], 0x1d
jmp 0x10063438
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.incorrect_header_check
mov dword [edi], 0x1d
jmp 0x10063438
cmp esi, 0x10
jae 0x10062cda
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x10
jb 0x10062cb3
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x10], edx
cmp dl, 8
je 0x10062cf4
mov dword [ecx + 0x18], str.unknown_compression_method
mov dword [edi], 0x1d
jmp 0x10063438
test edx, 0xe000
je 0x10062d0e
mov dword [ecx + 0x18], str.unknown_header_flags_set
mov dword [edi], 0x1d
jmp 0x10063438
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x10062d1f
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [edi + 0x10], 0x200
je 0x10062d48
mov byte [esp + 0x18], dl
lea eax, [esp + 0x18]
push 2
shr edx, 8
push eax
mov byte [esp + 0x21], dl
push dword [edi + 0x18]
call fcn.10068970
add esp, 0xc
mov dword [edi + 0x18], eax
xor edx, edx
mov dword [edi], 2
mov dword [esp + 0x10], edx
xor esi, esi
jmp 0x10062d60
cmp esi, 0x20
jae 0x10062d83
nop dword [eax]
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x20
jb 0x10062d60
mov eax, dword [edi + 0x20]
test eax, eax
je 0x10062d8d
mov dword [eax + 4], edx
test dword [edi + 0x10], 0x200
je 0x10062dc8
mov eax, edx
mov byte [esp + 0x18], dl
shr eax, 8
mov byte [esp + 0x19], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x1a], al
lea eax, [esp + 0x18]
push 4
shr edx, 0x18
push eax
mov byte [esp + 0x23], dl
push dword [edi + 0x18]
call fcn.10068970
add esp, 0xc
mov dword [edi + 0x18], eax
xor edx, edx
mov dword [edi], 3
mov dword [esp + 0x10], edx
xor esi, esi
jmp 0x10062de0
cmp esi, 0x10
jae 0x10062e03
nop dword [eax]
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x10
jb 0x10062de0
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x10062e1b
movzx eax, dl
mov dword [ecx + 8], eax
mov ecx, edx
mov eax, dword [edi + 0x20]
shr ecx, 8
mov dword [eax + 0xc], ecx
test dword [edi + 0x10], 0x200
je 0x10062e44
mov byte [esp + 0x18], dl
lea eax, [esp + 0x18]
push 2
shr edx, 8
push eax
mov byte [esp + 0x21], dl
push dword [edi + 0x18]
call fcn.10068970
add esp, 0xc
mov dword [edi + 0x18], eax
xor edx, edx
mov dword [edi], 4
mov dword [esp + 0x10], edx
xor esi, esi
test dword [edi + 0x10], 0x400
je 0x10062ec3
cmp esi, 0x10
jae 0x10062e83
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x10
jb 0x10062e60
mov eax, dword [edi + 0x20]
mov dword [edi + 0x40], edx
test eax, eax
je 0x10062e90
mov dword [eax + 0x14], edx
test dword [edi + 0x10], 0x200
je 0x10062eb9
mov byte [esp + 0x18], dl
lea eax, [esp + 0x18]
push 2
shr edx, 8
push eax
mov byte [esp + 0x21], dl
push dword [edi + 0x18]
call fcn.10068970
add esp, 0xc
mov dword [edi + 0x18], eax
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x10], ecx
jmp 0x10062ed1
mov eax, dword [edi + 0x20]
test eax, eax
je 0x10062ed1
mov dword [eax + 0x10], 0
mov dword [edi], 5
test dword [edi + 0x10], 0x400
je 0x10062f68
mov ecx, dword [edi + 0x40]
cmp ecx, ebp
cmova ecx, ebp
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x10062f5e
mov edx, dword [edi + 0x20]
test edx, edx
je 0x10062f36
mov eax, dword [edx + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10062f36
mov eax, dword [edx + 0x14]
sub eax, dword [edi + 0x40]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x34], eax
add eax, ecx
cmp eax, edx
mov eax, dword [esp + 0x34]
jbe 0x10062f21
sub edx, eax
jmp 0x10062f23
mov edx, ecx
add eax, dword [esp + 0x14]
push edx
push ebx
push eax
call fcn.1006f4b0
mov ecx, dword [esp + 0x3c]
add esp, 0xc
test dword [edi + 0x10], 0x200
je 0x10062f4f
push ecx
push ebx
push dword [edi + 0x18]
call fcn.10068970
add esp, 0xc
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x30]
add ebx, eax
sub ebp, eax
mov dword [esp + 0x14], ebx
sub dword [edi + 0x40], eax
cmp dword [edi + 0x40], 0
jne 0x10063001
mov dword [edi + 0x40], 0
mov dword [edi], 6
test dword [edi + 0x10], 0x800
je 0x10063087
test ebp, ebp
je 0x10063001
xor ecx, ecx
nop dword [eax + eax]
movzx eax, byte [ecx + ebx]
inc ecx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x10062fc0
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x10062fc0
mov edx, dword [edi + 0x40]
cmp edx, dword [eax + 0x20]
jae 0x10062fc0
mov eax, dword [eax + 0x1c]
mov ebx, dword [esp + 0x30]
mov byte [eax + edx], bl
inc dword [edi + 0x40]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10062fcc
cmp ecx, ebp
jb 0x10062f90
test dword [edi + 0x10], 0x200
mov dword [esp + 0x34], ecx
je 0x10062ff1
push ecx
push ebx
push dword [edi + 0x18]
call fcn.10068970
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x30]
add ebx, ecx
sub ebp, ecx
mov dword [esp + 0x14], ebx
test eax, eax
je 0x10063095
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x28]
mov dword [ecx], eax
cmp dword [ebx + 0x28], 0
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], esi
jne 0x1006305a
cmp ebp, dword [ecx + 0x10]
je 0x10063feb
mov eax, dword [ebx]
cmp eax, 0x1d
jge 0x10063feb
cmp eax, 0x1a
jl 0x1006305a
cmp edx, 4
je 0x10063feb
mov eax, ebp
sub eax, dword [ecx + 0x10]
push eax
push dword [ecx + 0xc]
push ecx
call fcn.100643f0
add esp, 0xc
test eax, eax
je 0x10063fe7
mov dword [ebx], 0x1e
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffc
pop edi
add esp, 0x34
ret
mov eax, dword [edi + 0x20]
test eax, eax
je 0x10063095
mov dword [eax + 0x1c], 0
mov dword [edi + 0x40], 0
mov dword [edi], 7
test dword [edi + 0x10], 0x1000
je 0x10063128
test ebp, ebp
je 0x10063001
xor ecx, ecx
movzx eax, byte [ecx + ebx]
inc ecx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x100630e5
mov edx, dword [eax + 0x24]
test edx, edx
je 0x100630e5
mov edx, dword [edi + 0x40]
cmp edx, dword [eax + 0x28]
jae 0x100630e5
mov eax, dword [eax + 0x24]
mov ebx, dword [esp + 0x30]
mov byte [eax + edx], bl
inc dword [edi + 0x40]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100630f1
cmp ecx, ebp
jb 0x100630b5
test dword [edi + 0x10], 0x200
mov dword [esp + 0x34], ecx
je 0x10063116
push ecx
push ebx
push dword [edi + 0x18]
call fcn.10068970
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x30]
add ebx, ecx
sub ebp, ecx
mov dword [esp + 0x14], ebx
test eax, eax
jne 0x10063001
jmp 0x10063136
mov eax, dword [edi + 0x20]
test eax, eax
je 0x10063136
mov dword [eax + 0x24], 0
mov edx, dword [esp + 0x10]
mov dword [edi], 8
test dword [edi + 0x10], 0x200
je 0x10063199
cmp esi, 0x10
jae 0x10063173
nop
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x10
jb 0x10063150
movzx eax, word [edi + 0x18]
cmp edx, eax
je 0x10063191
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.header_crc_mismatch
mov dword [edi], 0x1d
jmp 0x10063438
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x100631b6
mov eax, dword [edi + 0x10]
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x20]
mov dword [eax + 0x30], 1
push 0
push 0
push 0
call fcn.10068970
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [edi], 0xb
jmp 0x10063438
cmp esi, 0x20
jae 0x10063205
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x20
jb 0x100631e2
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
add eax, ecx
shr edx, 0x18
mov ecx, dword [esp + 0x48]
add eax, edx
xor edx, edx
mov dword [edi + 0x18], eax
mov dword [esp + 0x10], edx
xor esi, esi
mov dword [ecx + 0x30], eax
mov dword [edi], 0xa
cmp dword [edi + 0xc], 0
je 0x10063f7e
push 0
push 0
push 0
call fcn.1006a560
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [edi], 0xb
mov eax, dword [esp + 0x4c]
cmp eax, 5
je 0x10063fdc
cmp eax, 6
je 0x10063fdc
cmp dword [edi + 4], 0
je 0x100632a0
mov ecx, esi
mov dword [edi], 0x1a
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [esp + 0x10], edx
jmp 0x10063434
cmp esi, 3
jae 0x100632c8
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 3
jb case.default.0x100632d7
mov eax, edx
shr edx, 1
and eax, 1
mov dword [edi + 4], eax
mov eax, edx
and eax, 3
jmp dword [eax*4 + 0x10064140]
mov dword [edi], 0xd
mov ecx, dword [esp + 0x48]
shr edx, 2
sub esi, 3
mov dword [esp + 0x10], edx
jmp 0x10063438
cmp dword [esp + 0x4c], 6
mov dword [edi + 0x4c], 0x100a6b10
mov dword [edi + 0x54], 9
mov dword [edi + 0x50], 0x100a7310
mov dword [edi + 0x58], 5
mov dword [edi], 0x13
jne 0x100632e4
shr edx, 2
sub esi, 3
mov dword [esp + 0x10], edx
jmp 0x10063001
mov ecx, dword [esp + 0x48]
shr edx, 2
sub esi, 3
mov dword [edi], 0x10
mov dword [esp + 0x10], edx
jmp 0x10063438
mov ecx, dword [esp + 0x48]
shr edx, 2
sub esi, 3
mov dword [esp + 0x10], edx
mov dword [ecx + 0x18], str.invalid_block_type
mov dword [edi], 0x1d
jmp 0x10063438
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [esp + 0x10], edx
cmp esi, 0x20
jae 0x100633a3
nop word [eax + eax]
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x20
jb 0x10063380
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x100633c4
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_stored_block_lengths
mov dword [edi], 0x1d
jmp 0x10063438
xor edx, edx
mov dword [edi + 0x40], ecx
xor esi, esi
mov dword [esp + 0x10], edx
cmp dword [esp + 0x4c], 6
mov dword [edi], 0xe
je 0x10063fd5
mov ecx, dword [esp + 0x48]
mov dword [edi], 0xf
mov eax, dword [edi + 0x40]
test eax, eax
je 0x10063450
cmp eax, ebp
cmova eax, ebp
cmp eax, dword [esp + 0x1c]
cmova eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
test eax, eax
je 0x10063001
push eax
push ebx
push dword [esp + 0x28]
call fcn.1006f4b0
mov eax, dword [esp + 0x40]
add esp, 0xc
sub dword [esp + 0x1c], eax
add ebx, eax
add dword [esp + 0x20], eax
sub ebp, eax
sub dword [edi + 0x40], eax
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov eax, dword [edi]
cmp eax, 0x1e
jbe switch.0x10062b30
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret
mov dword [edi], 0xb
jmp 0x10063438
cmp esi, 0xe
jae 0x10063487
nop dword [eax]
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0xe
jb 0x10063460
mov ecx, dword [esp + 0x48]
mov eax, edx
sub esi, 0xe
and eax, 0x1f
shr edx, 5
add eax, 0x101
mov dword [edi + 0x60], eax
mov eax, edx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [edi + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [esp + 0x10], edx
cmp dword [edi + 0x60], 0x11e
mov dword [edi + 0x5c], eax
ja 0x100635b1
cmp dword [edi + 0x64], 0x1e
ja 0x100635b1
mov dword [edi + 0x68], 0
mov dword [edi], 0x11
mov eax, dword [edi + 0x68]
cmp eax, dword [edi + 0x5c]
jae 0x1006353d
cmp esi, 3
jae 0x10063513
nop dword [eax]
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 3
jb 0x100634f0
mov eax, dword [edi + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [esp + 0x10], edx
movzx eax, word [eax*2 + 0x100a7390]
mov word [edi + eax*2 + 0x70], cx
inc dword [edi + 0x68]
mov eax, dword [edi + 0x68]
cmp eax, dword [edi + 0x5c]
jb 0x100634e4
cmp dword [edi + 0x68], 0x13
jae 0x1006355e
mov eax, dword [edi + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x100a7390]
mov word [edi + eax*2 + 0x70], cx
inc dword [edi + 0x68]
cmp dword [edi + 0x68], 0x13
jb 0x10063543
lea eax, [edi + 0x530]
mov dword [edi + 0x54], 7
lea ecx, [edi + 0x6c]
mov dword [edi + 0x4c], eax
mov dword [ecx], eax
lea edx, [edi + 0x54]
lea eax, [edi + 0x2f0]
push eax
push edx
push ecx
push 0x13
lea eax, [edi + 0x70]
push eax
push 0
call fcn.1006a800
add esp, 0x18
mov dword [esp + 0x2c], eax
test eax, eax
je 0x100635c3
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x18], str.invalid_code_lengths_set
mov dword [edi], 0x1d
jmp 0x10063438
mov dword [ecx + 0x18], str.too_many_length_or_distance_symbols
mov dword [edi], 0x1d
jmp 0x10063438
mov dword [edi + 0x68], 0
mov dword [edi], 0x12
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
cmp dword [edi + 0x68], eax
jae 0x10063813
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
mov edx, 1
mov ecx, dword [eax]
mov eax, dword [esp + 0x24]
shl edx, cl
dec edx
and edx, edi
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x34], eax
cmp ecx, esi
jbe 0x10063658
nop dword [eax]
test ebp, ebp
je 0x10063005
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
mov edx, 1
add edi, eax
inc ebx
mov eax, dword [esp + 0x3c]
add esi, 8
dec ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
mov eax, dword [esp + 0x24]
shl edx, cl
dec edx
and edx, edi
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x34], eax
cmp ecx, esi
ja 0x10063610
mov edx, eax
shr edx, 0x10
cmp dx, 0x10
jae 0x10063688
shr eax, 8
movzx ecx, al
shr edi, cl
sub esi, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], edi
mov eax, dword [ecx + 0x68]
mov word [ecx + eax*2 + 0x70], dx
inc dword [ecx + 0x68]
mov edx, dword [ecx + 0x68]
jmp 0x10063801
jne 0x10063703
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, 2
mov dword [esp + 0x34], ecx
cmp esi, ecx
jae 0x100636c5
test ebp, ebp
je 0x10063005
movzx edx, byte [ebx]
mov ecx, esi
shl edx, cl
inc ebx
add edi, edx
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edi
dec ebp
cmp esi, dword [esp + 0x34]
jb 0x100636a1
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
movzx ecx, ah
shr edx, cl
sub esi, ecx
mov eax, dword [edi + 0x68]
mov dword [esp + 0x10], edx
test eax, eax
je 0x10063840
movzx eax, word [edi + eax*2 + 0x6e]
mov dword [esp + 0x34], eax
mov eax, edx
and eax, 3
shr edx, 2
add eax, 3
sub esi, 2
mov dword [esp + 0x30], eax
jmp 0x100637c0
cmp word [esp + 0x36], 0x11
mov edx, dword [esp + 0x10]
movzx ecx, ah
jne 0x1006375e
lea edi, [ecx + 3]
mov dword [esp + 0x34], ecx
cmp esi, edi
jae 0x10063746
nop dword [eax]
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, edi
jb 0x10063720
mov ecx, dword [esp + 0x34]
shr edx, cl
mov eax, edx
and eax, 7
add eax, 3
shr edx, 3
mov dword [esp + 0x30], eax
mov eax, 0xfffffffd
jmp 0x100637ac
lea edi, [ecx + 7]
mov dword [esp + 0x34], ecx
cmp esi, edi
jae 0x10063796
nop dword [eax]
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, edi
jb 0x10063770
mov ecx, dword [esp + 0x34]
shr edx, cl
mov eax, edx
and eax, 0x7f
add eax, 0xb
shr edx, 7
mov dword [esp + 0x30], eax
mov eax, 0xfffffff9
mov edi, dword [esp + 0x24]
sub eax, ecx
add esi, eax
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 0x68]
add ecx, eax
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
cmp ecx, eax
ja 0x10063840
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
nop dword [eax + eax]
mov eax, dword [edi + 0x68]
mov word [edi + eax*2 + 0x70], dx
inc dword [edi + 0x68]
mov eax, dword [edi + 0x68]
mov dword [esp + 0x34], eax
sub ecx, 1
jne 0x100637e0
mov edi, dword [esp + 0x10]
mov edx, eax
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x64]
add eax, dword [ecx + 0x60]
cmp edx, eax
jb 0x100635e3
mov edi, dword [esp + 0x24]
cmp dword [edi], 0x1d
je 0x10063430
cmp word [edi + 0x270], 0
jne 0x10063856
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x18], str.invalid_code____missing_end_of_block
mov dword [edi], 0x1d
jmp 0x10063438
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
mov dword [edi], 0x1d
jmp 0x10063438
lea eax, [edi + 0x530]
mov dword [edi + 0x54], 9
lea ecx, [edi + 0x6c]
mov dword [edi + 0x4c], eax
mov dword [ecx], eax
lea edx, [edi + 0x54]
lea eax, [edi + 0x2f0]
push eax
push edx
push ecx
push dword [edi + 0x60]
lea eax, [edi + 0x70]
push eax
push 1
call fcn.1006a800
add esp, 0x18
mov dword [esp + 0x2c], eax
test eax, eax
je 0x100638aa
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x18], str.invalid_literal_lengths_set
mov dword [edi], 0x1d
jmp 0x10063438
mov eax, dword [edi + 0x6c]
lea ecx, [edi + 0x6c]
mov dword [edi + 0x50], eax
lea edx, [edi + 0x58]
lea eax, [edi + 0x2f0]
mov dword [edx], 6
push eax
mov eax, dword [edi + 0x60]
push edx
push ecx
push dword [edi + 0x64]
add eax, 0x38
lea eax, [edi + eax*2]
push eax
push 2
call fcn.1006a800
add esp, 0x18
mov dword [esp + 0x2c], eax
test eax, eax
je 0x100638fe
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x18], str.invalid_distances_set
mov dword [edi], 0x1d
jmp 0x10063438
mov edx, dword [esp + 0x4c]
mov dword [edi], 0x13
cmp edx, 6
je 0x10063fcc
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov dword [edi], 0x14
cmp ebp, 6
jb 0x10063991
cmp dword [esp + 0x1c], 0x102
jb 0x10063991
mov eax, dword [esp + 0x20]
push dword [esp + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x10], eax
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
push ecx
mov dword [edi + 0x38], edx
mov dword [edi + 0x3c], esi
call fcn.1006ac80
mov ecx, dword [esp + 0x50]
add esp, 8
cmp dword [edi], 0xb
mov edx, dword [edi + 0x38]
mov esi, dword [edi + 0x3c]
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
jne 0x10063438
mov dword [edi + 0x1bc4], 0xffffffff
jmp 0x10063438
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x54]
mov dword [esp + 0x30], eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
dec eax
and eax, edx
mov dword [edi + 0x1bc4], 0
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x10063a04
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x54]
add edx, eax
mov eax, dword [edi + 0x4c]
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
mov edx, 1
mov dword [esp + 0x14], ebx
shl edx, cl
dec edx
and edx, dword [esp + 0x10]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [esp + 0x10]
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x100639c1
test al, al
je 0x10063ad0
test al, 0xf0
jne 0x10063ad0
mov ecx, eax
mov ebx, 1
shr ecx, 8
mov edx, eax
movzx edi, cl
mov dword [esp + 0x40], ecx
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl ebx, cl
mov ecx, edi
dec ebx
mov dword [esp + 0x34], edx
and ebx, dword [esp + 0x10]
shr ebx, cl
mov ecx, dword [esp + 0x30]
add ebx, eax
mov eax, dword [ecx + ebx*4]
mov ecx, eax
shr ecx, 8
movzx edi, cl
mov ecx, dword [esp + 0x40]
movzx ecx, cl
add edi, ecx
cmp edi, esi
jbe 0x10063ab7
nop dword [eax]
test ebp, ebp
je 0x10063001
mov ebx, dword [esp + 0x14]
mov ecx, esi
mov edi, 1
add esi, 8
dec ebp
movzx eax, byte [ebx]
inc ebx
shl eax, cl
add dword [esp + 0x10], eax
movzx eax, word [esp + 0x36]
mov dword [esp + 0x14], ebx
movzx ebx, dh
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [esp + 0x10]
shr edi, cl
add edi, eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x10063a60
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
movzx ecx, dh
mov edx, dword [esp + 0x10]
shr edx, cl
sub esi, ecx
mov dword [edi + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc4], ecx
sub esi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x10], edx
mov dword [edi + 0x40], ecx
test al, al
jne 0x10063afd
mov dword [edi], 0x19
jmp 0x10063434
test al, 0x20
je 0x10063b16
mov dword [edi + 0x1bc4], 0xffffffff
mov dword [edi], 0xb
jmp 0x10063434
test al, 0x40
je 0x10063b30
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_literal_length_code
mov dword [edi], 0x1d
jmp 0x10063438
movzx eax, al
and eax, 0xf
mov dword [edi], 0x15
mov dword [edi + 0x48], eax
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x10063b90
cmp esi, ecx
jae 0x10063b75
nop word [eax + eax]
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x48]
add edx, eax
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
mov dword [esp + 0x14], ebx
cmp esi, ecx
jb 0x10063b50
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [edi + 0x40], eax
add dword [edi + 0x1bc4], ecx
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0x40]
mov dword [edi + 0x1bc8], eax
mov dword [edi], 0x16
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x40], eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x50]
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x10063c08
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x58]
add edx, eax
mov eax, dword [edi + 0x50]
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
mov edx, 1
mov dword [esp + 0x14], ebx
shl edx, cl
dec edx
and edx, dword [esp + 0x10]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [esp + 0x10]
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x10063bc5
test al, 0xf0
jne 0x10063cc4
mov ecx, eax
mov ebx, 1
shr ecx, 8
mov edx, eax
movzx edi, cl
mov dword [esp + 0x30], ecx
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl ebx, cl
mov ecx, edi
dec ebx
mov dword [esp + 0x34], edx
and ebx, dword [esp + 0x10]
shr ebx, cl
mov ecx, dword [esp + 0x40]
add ebx, eax
mov eax, dword [ecx + ebx*4]
mov ecx, eax
shr ecx, 8
movzx edi, cl
mov ecx, dword [esp + 0x30]
movzx ecx, cl
add edi, ecx
cmp edi, esi
jbe 0x10063caf
test ebp, ebp
je 0x10063001
mov ebx, dword [esp + 0x14]
mov ecx, esi
mov edi, 1
add esi, 8
dec ebp
movzx eax, byte [ebx]
inc ebx
shl eax, cl
add dword [esp + 0x10], eax
movzx eax, word [esp + 0x36]
mov dword [esp + 0x14], ebx
movzx ebx, dh
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [esp + 0x10]
shr edi, cl
add edi, eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x10063c58
mov edi, dword [esp + 0x24]
movzx ecx, dh
mov edx, dword [esp + 0x10]
sub esi, ecx
shr edx, cl
add dword [edi + 0x1bc4], ecx
mov ebx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc4], ecx
sub esi, ecx
shr edx, cl
mov dword [esp + 0x10], edx
test al, 0x40
je 0x10063cf8
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_distance_code
mov dword [edi], 0x1d
jmp 0x10063438
mov ecx, eax
mov dword [edi], 0x17
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], eax
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x10063d60
cmp esi, ecx
jae 0x10063d45
nop word [eax + eax]
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x48]
add edx, eax
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
mov dword [esp + 0x14], ebx
cmp esi, ecx
jb 0x10063d20
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [edi + 0x44], eax
add dword [edi + 0x1bc4], ecx
mov dword [esp + 0x10], edx
mov dword [edi], 0x18
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10063001
mov eax, dword [esp + 0x28]
sub eax, ecx
mov ecx, dword [edi + 0x44]
cmp ecx, eax
jbe 0x10063dcd
sub ecx, eax
cmp ecx, dword [edi + 0x2c]
jbe 0x10063da5
cmp dword [edi + 0x1bc0], 0
je 0x10063da5
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_distance_too_far_back
mov dword [edi], 0x1d
jmp 0x10063438
mov eax, dword [edi + 0x30]
cmp ecx, eax
jbe 0x10063db8
sub ecx, eax
mov eax, dword [edi + 0x34]
add eax, dword [edi + 0x28]
sub eax, ecx
jmp 0x10063dc0
mov eax, dword [edi + 0x34]
sub eax, ecx
add eax, dword [edi + 0x30]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x40]
cmp ecx, eax
jbe 0x10063ddc
jmp 0x10063dda
mov eax, dword [esp + 0x20]
sub eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x40]
mov ecx, eax
mov ebx, dword [esp + 0x1c]
cmp ecx, ebx
cmova ecx, ebx
sub ebx, ecx
sub eax, ecx
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x34]
mov dword [edi + 0x40], eax
mov edi, dword [esp + 0x20]
sub ebx, edi
nop word [eax + eax]
mov al, byte [ebx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x10063e00
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x40], ecx
jne 0x10063434
mov dword [edi], 0x14
jmp 0x10063434
cmp dword [esp + 0x1c], 0
je 0x10063001
mov ebx, dword [esp + 0x20]
mov al, byte [edi + 0x40]
inc dword [esp + 0x20]
dec dword [esp + 0x1c]
mov byte [ebx], al
mov ebx, dword [esp + 0x14]
mov dword [edi], 0x14
jmp 0x10063438
cmp dword [edi + 8], 0
je 0x10063f28
cmp esi, 0x20
jae 0x10063e8c
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x20
jb 0x10063e65
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x1c]
add dword [ecx + 0x14], eax
add dword [edi + 0x1c], eax
mov dword [esp + 0x28], eax
test eax, eax
je 0x10063ed2
push eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x2c]
cmp dword [edi + 0x10], 0
push eax
push dword [edi + 0x18]
je 0x10063ebc
call fcn.10068970
jmp 0x10063ec1
call fcn.1006a560
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
cmp dword [edi + 0x10], 0
mov ecx, edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
jne 0x10063f05
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 [edi + 0x18]
je 0x10063f20
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.incorrect_data_check
mov dword [edi], 0x1d
jmp 0x10063438
xor edx, edx
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [edi], 0x1b
cmp dword [edi + 8], 0
je 0x10063fac
cmp dword [edi + 0x10], 0
je 0x10063fac
cmp esi, 0x20
jae 0x10063f63
nop
test ebp, ebp
je 0x10063001
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x20
jb 0x10063f40
cmp edx, dword [edi + 0x1c]
je 0x10063fa4
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [edi], 0x1d
jmp 0x10063438
mov eax, dword [esp + 0x20]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x10], eax
mov eax, 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov dword [edi + 0x3c], esi
pop esi
pop ebp
pop ebx
mov dword [edi + 0x38], edx
pop edi
add esp, 0x34
ret
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x10], ecx
mov dword [edi], 0x1c
mov dword [esp + 0x2c], 1
jmp 0x10063001
mov dword [esp + 0x2c], 0xfffffffd
jmp 0x10063001
mov edi, dword [esp + 0x10]
jmp 0x10063009
xor edi, edi
jmp 0x10063005
mov edi, dword [esp + 0x10]
mov edx, eax
jmp 0x10063009
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
sub eax, dword [ecx + 4]
sub ebp, dword [ecx + 0x10]
add dword [ecx + 8], eax
add dword [ecx + 0x14], ebp
add dword [ebx + 0x1c], ebp
cmp dword [ebx + 8], 0
mov dword [esp + 0x38], eax
je 0x10064044
test ebp, ebp
je 0x10064044
mov eax, dword [ecx + 0xc]
push ebp
sub eax, ebp
cmp dword [ebx + 0x10], 0
push eax
push dword [ebx + 0x18]
je 0x10064030
call fcn.10068970
mov edi, dword [esp + 0x54]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
jmp 0x10064048
call fcn.1006a560
mov edi, dword [esp + 0x54]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
jmp 0x10064048
mov edi, dword [esp + 0x48]
mov edx, dword [ebx]
cmp edx, 0x13
je 0x10064058
cmp edx, 0xe
je 0x10064058
xor esi, esi
jmp 0x1006405d
mov esi, 0x100
mov ecx, dword [ebx + 4]
neg ecx
mov dword [esp + 0x48], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp edx, 0xb
cmove eax, dword [esp + 0x48]
add ecx, esi
add eax, ecx
add eax, dword [ebx + 0x3c]
cmp dword [esp + 0x38], 0
mov dword [edi + 0x2c], eax
jne 0x1006408e
test ebp, ebp
je 0x10064095
cmp dword [esp + 0x4c], 4
jne 0x100640ab
mov eax, dword [esp + 0x2c]
mov ecx, 0xfffffffb
pop esi
pop ebp
test eax, eax
pop ebx
cmove eax, ecx
pop edi
add esp, 0x34
ret
mov eax, dword [esp + 0x2c]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x34
ret
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret