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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x38
push ebx
push ebp
push esi
push edi
test eax, eax
je case.0x100194b2.16211
cmp dword [eax + 0x20], 0
je case.0x100194b2.16211
cmp dword [eax + 0x24], 0
je case.0x100194b2.16211
mov edi, dword [eax + 0x1c]
mov dword [esp + 0x2c], edi
test edi, edi
je case.0x100194b2.16211
cmp dword [edi], eax
jne case.0x100194b2.16211
mov ecx, dword [edi + 4]
mov dword [esp + 0x38], ecx
lea eax, [ecx - 0x3f34]
cmp eax, 0x1f
ja case.0x100194b2.16211
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], edx
test edx, edx
je case.0x100194b2.16211
mov ebx, dword [eax]
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x100183aa
cmp dword [eax + 4], ebx
jne case.0x100194b2.16211
cmp ecx, 0x3f3f
jne 0x100183cf
mov dword [edi + 4], 0x3f40
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax]
mov dword [esp + 0x24], ecx
mov ecx, 0x3f40
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0x10]
add ecx, 0xffffc0cc
mov ebp, dword [eax + 4]
mov esi, dword [edi + 0x40]
mov dword [esp + 0x1c], edx
mov ebx, dword [esp + 0x1c]
mov edx, dword [edi + 0x3c]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], 0
cmp ecx, 0x1f
ja case.0x100194b2.16211
jmp dword [ecx*4 + 0x10019a3c]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x10018424
mov dword [edi + 4], 0x3f40
jmp 0x10019498
cmp esi, 0x10
jae 0x10018456
nop dword [eax]
test ebp, ebp
je 0x1001896a
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 0x10
jb 0x10018430
mov ecx, dword [edi + 0xc]
test cl, 2
je 0x100184ae
cmp edx, 0x8b1f
jne 0x100184ae
cmp dword [edi + 0x28], 0
jne 0x10018470
mov dword [edi + 0x28], 0xf
push 0
push 0
push 0
call fcn.1001c710
mov dword [edi + 0x1c], eax
lea eax, [esp + 0x2c]
push 2
push eax
mov word [esp + 0x34], 0x8b1f
push dword [edi + 0x1c]
call fcn.1001c710
xor edx, edx
mov dword [edi + 0x1c], eax
add esp, 0x18
mov dword [esp + 0x14], edx
xor esi, esi
mov dword [edi + 4], 0x3f35
jmp 0x10019498
mov eax, dword [edi + 0x24]
test eax, eax
je 0x100184bf
mov dword [eax + 0x30], 0xffffffff
mov ecx, dword [edi + 0xc]
test cl, 1
je 0x10018592
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 + 0x14]
jne 0x10018592
mov eax, edx
and al, 0xf
cmp al, 8
je 0x10018509
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.unknown_compression_method
mov dword [edi + 4], 0x3f51
jmp 0x10019498
mov eax, dword [edi + 0x28]
sub esi, 4
shr edx, 4
mov ecx, edx
mov dword [esp + 0x14], edx
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x10018527
mov dword [edi + 0x28], ecx
mov eax, ecx
cmp ecx, 0xf
ja 0x1001857b
cmp ecx, eax
ja 0x1001857b
push 0
mov eax, 1
mov dword [edi + 0x14], 0
shl eax, cl
push 0
push 0
mov dword [edi + 0x18], eax
call fcn.1001c490
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x4c]
shr edx, 8
not edx
mov dword [edi + 0x1c], eax
and edx, 2
or edx, 0x3f3d
mov dword [ecx + 0x30], eax
mov dword [edi + 4], edx
xor edx, edx
mov dword [esp + 0x14], edx
xor esi, esi
jmp 0x10019498
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.invalid_window_size
mov dword [edi + 4], 0x3f51
jmp 0x10019498
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.incorrect_header_check
mov dword [edi + 4], 0x3f51
jmp 0x10019498
cmp esi, 0x10
jae 0x100185d7
nop
test ebp, ebp
je 0x1001896a
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 0x10
jb 0x100185b0
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x14], edx
cmp dl, 8
je 0x100185f2
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edi + 4], 0x3f51
jmp 0x10019498
test edx, 0xe000
je 0x1001860d
mov dword [eax + 0x18], str.unknown_header_flags_set
mov dword [edi + 4], 0x3f51
jmp 0x10019498
mov esi, dword [edi + 0x24]
mov ecx, edx
shr ecx, 8
mov eax, edx
test esi, esi
je 0x10018625
mov eax, ecx
and eax, 1
mov dword [esi], eax
mov eax, dword [edi + 0x14]
test eax, 0x200
je 0x1001864f
test byte [edi + 0xc], 4
je 0x1001864f
push 2
lea eax, [esp + 0x24]
mov byte [esp + 0x24], dl
push eax
mov byte [esp + 0x29], cl
push dword [edi + 0x1c]
call fcn.1001c710
add esp, 0xc
mov dword [edi + 0x1c], eax
xor edx, edx
mov dword [edi + 4], 0x3f36
mov dword [esp + 0x14], edx
xor esi, esi
jmp 0x10018665
cmp esi, 0x20
jae 0x10018688
test ebp, ebp
je 0x1001896a
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 0x20
jb 0x10018665
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10018692
mov dword [eax + 4], edx
test dword [edi + 0x14], 0x200
je 0x100186d3
test byte [edi + 0xc], 4
je 0x100186d3
mov eax, edx
mov byte [esp + 0x20], dl
shr eax, 8
mov byte [esp + 0x21], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x22], al
lea eax, [esp + 0x20]
push 4
shr edx, 0x18
push eax
mov byte [esp + 0x2b], dl
push dword [edi + 0x1c]
call fcn.1001c710
add esp, 0xc
mov dword [edi + 0x1c], eax
xor edx, edx
mov dword [edi + 4], 0x3f37
mov dword [esp + 0x14], edx
xor esi, esi
jmp 0x100186f0
cmp esi, 0x10
jae 0x10018713
nop dword [eax]
test ebp, ebp
je 0x1001896a
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 0x10
jb 0x100186f0
mov esi, dword [edi + 0x24]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x1001872b
movzx eax, dl
mov dword [esi + 8], eax
mov eax, dword [edi + 0x24]
mov dword [eax + 0xc], ecx
test dword [edi + 0x14], 0x200
je 0x10018757
test byte [edi + 0xc], 4
je 0x10018757
push 2
lea eax, [esp + 0x24]
mov byte [esp + 0x24], dl
push eax
mov byte [esp + 0x29], cl
push dword [edi + 0x1c]
call fcn.1001c710
add esp, 0xc
mov dword [edi + 0x1c], eax
xor edx, edx
mov dword [edi + 4], 0x3f38
mov dword [esp + 0x14], edx
xor esi, esi
test dword [edi + 0x14], 0x400
je 0x100187df
cmp esi, 0x10
jae 0x10018797
test ebp, ebp
je 0x1001896a
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 0x10
jb 0x10018774
mov eax, dword [edi + 0x24]
mov dword [edi + 0x44], edx
test eax, eax
je 0x100187a4
mov dword [eax + 0x14], edx
test dword [edi + 0x14], 0x200
je 0x100187d3
test byte [edi + 0xc], 4
je 0x100187d3
mov byte [esp + 0x20], dl
lea eax, [esp + 0x20]
push 2
shr edx, 8
push eax
mov byte [esp + 0x29], dl
push dword [edi + 0x1c]
call fcn.1001c710
add esp, 0xc
mov dword [edi + 0x1c], eax
mov dword [esp + 0x14], 0
xor esi, esi
jmp 0x100187ed
mov eax, dword [edi + 0x24]
test eax, eax
je 0x100187ed
mov dword [eax + 0x10], 0
mov dword [edi + 4], 0x3f39
mov edx, dword [edi + 0x14]
test edx, 0x400
je 0x100188d4
mov ecx, dword [edi + 0x44]
mov eax, ebp
cmp ecx, ebp
cmovbe eax, ecx
mov dword [esp + 0x40], eax
test eax, eax
je 0x100188cc
mov ebx, dword [edi + 0x24]
test ebx, ebx
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x38], edx
je 0x1001889a
mov edi, dword [esp + 0x34]
mov dword [esp + 0x38], edx
mov edi, dword [edi + 0x10]
test edi, edi
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x2c]
je 0x1001889a
mov edi, dword [esp + 0x34]
mov dword [esp + 0x38], edx
mov edi, dword [edi + 0x14]
sub edi, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], edi
mov ecx, dword [ecx + 0x18]
cmp edi, ecx
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
jae 0x1001889a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
add ecx, eax
sub edx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x34]
cmova eax, edx
push eax
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x48]
push ebx
push eax
call fcn.1001fc90
mov eax, dword [edi + 0x14]
add esp, 0xc
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
test dword [esp + 0x38], 0x200
je 0x100188ba
test byte [edi + 0xc], 4
je 0x100188ba
push eax
push ebx
push dword [edi + 0x1c]
call fcn.1001c710
add esp, 0xc
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x40]
add ebx, eax
sub ebp, eax
mov dword [esp + 0x18], ebx
sub dword [edi + 0x44], eax
mov ecx, dword [edi + 0x44]
test ecx, ecx
jne 0x1001896a
mov dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3a
test dword [edi + 0x14], 0x800
je 0x100189f2
test ebp, ebp
je 0x1001896a
xor ecx, ecx
mov al, byte [ecx + ebx]
inc ecx
mov byte [esp + 0x13], al
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10018923
cmp dword [eax + 0x1c], 0
je 0x10018923
mov edx, dword [edi + 0x44]
cmp edx, dword [eax + 0x20]
jae 0x10018923
mov eax, dword [eax + 0x1c]
mov bl, byte [esp + 0x13]
mov byte [edx + eax], bl
inc dword [edi + 0x44]
mov ebx, dword [esp + 0x18]
mov al, byte [esp + 0x13]
test al, al
je 0x1001892f
cmp ecx, ebp
jb 0x100188f5
test dword [edi + 0x14], 0x200
mov dword [esp + 0x44], ecx
je 0x1001895a
test byte [edi + 0xc], 4
je 0x1001895a
push ecx
push ebx
push dword [edi + 0x1c]
call fcn.1001c710
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [edi + 0x1c], eax
mov al, byte [esp + 0x13]
add ebx, ecx
sub ebp, ecx
mov dword [esp + 0x18], ebx
test al, al
je 0x10018a00
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 4], ebp
cmp dword [edi + 0x2c], 0
mov ebp, dword [esp + 0x28]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], esi
jne 0x100189c4
cmp ebp, dword [ebx + 0x10]
je 0x1001996e
mov eax, dword [edi + 4]
cmp eax, 0x3f51
jge 0x1001996e
cmp eax, 0x3f4e
jl 0x100189c4
cmp ecx, 4
je 0x1001996e
mov eax, ebp
sub eax, dword [ebx + 0x10]
push eax
push dword [ebx + 0xc]
push ebx
call fcn.10019db0
add esp, 0xc
test eax, eax
je 0x1001996e
mov dword [edi + 4], 0x3f52
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x38
ret
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10018a00
mov dword [eax + 0x1c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3b
test dword [edi + 0x14], 0x1000
je 0x10018a9c
test ebp, ebp
je 0x1001896a
xor ecx, ecx
mov al, byte [ecx + ebx]
inc ecx
mov byte [esp + 0x13], al
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10018a53
cmp dword [eax + 0x24], 0
je 0x10018a53
mov edx, dword [edi + 0x44]
cmp edx, dword [eax + 0x28]
jae 0x10018a53
mov eax, dword [eax + 0x24]
mov bl, byte [esp + 0x13]
mov byte [edx + eax], bl
inc dword [edi + 0x44]
mov ebx, dword [esp + 0x18]
mov al, byte [esp + 0x13]
test al, al
je 0x10018a5f
cmp ecx, ebp
jb 0x10018a25
test dword [edi + 0x14], 0x200
mov dword [esp + 0x44], ecx
je 0x10018a8a
test byte [edi + 0xc], 4
je 0x10018a8a
push ecx
push ebx
push dword [edi + 0x1c]
call fcn.1001c710
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [edi + 0x1c], eax
mov al, byte [esp + 0x13]
add ebx, ecx
sub ebp, ecx
mov dword [esp + 0x18], ebx
test al, al
jne 0x1001896a
jmp 0x10018aaa
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10018aaa
mov dword [eax + 0x24], 0
mov edx, dword [esp + 0x14]
mov dword [edi + 4], 0x3f3c
mov ecx, dword [edi + 0x14]
test ecx, 0x200
je 0x10018b1a
cmp esi, 0x10
jae 0x10018aeb
test ebp, ebp
je 0x1001896a
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 0x10
jb 0x10018ac5
mov ecx, dword [edi + 0x14]
test byte [edi + 0xc], 4
je 0x10018b10
movzx eax, word [edi + 0x1c]
cmp edx, eax
je 0x10018b10
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.header_crc_mismatch
mov dword [edi + 4], 0x3f51
jmp 0x10019498
mov dword [esp + 0x14], 0
xor esi, esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10018b34
sar ecx, 9
and ecx, 1
mov dword [eax + 0x2c], ecx
mov eax, dword [edi + 0x24]
mov dword [eax + 0x30], 1
push 0
push 0
push 0
call fcn.1001c710
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov dword [ecx + 0x30], eax
mov dword [edi + 4], 0x3f3f
jmp 0x10019498
cmp esi, 0x20
jae 0x10018b84
test ebp, ebp
je 0x1001896a
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 0x20
jb 0x10018b61
mov ecx, edx
mov eax, edx
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add eax, ecx
shr edx, 0x18
mov ecx, dword [esp + 0x4c]
add eax, edx
mov dword [edi + 0x1c], eax
xor edx, edx
mov dword [esp + 0x14], edx
xor esi, esi
mov dword [ecx + 0x30], eax
mov eax, ecx
mov dword [edi + 4], 0x3f3e
cmp dword [edi + 0x10], 0
je 0x1001990d
push 0
push 0
push 0
call fcn.1001c490
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov dword [ecx + 0x30], eax
mov dword [edi + 4], 0x3f3f
mov eax, dword [esp + 0x50]
cmp eax, 5
je 0x10019967
cmp eax, 6
je 0x10019967
cmp dword [edi + 8], 0
je 0x10018c24
mov ecx, esi
mov dword [edi + 4], 0x3f4e
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [esp + 0x14], edx
jmp 0x10019498
cmp esi, 3
jae 0x10018c53
nop dword [eax]
test ebp, ebp
je 0x1001896a
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 3
jb 0x10018c30
mov eax, edx
shr edx, 1
and eax, 1
mov dword [edi + 8], eax
mov eax, edx
and eax, 3
jmp dword [eax*4 + 0x10019abc]
shr edx, 2
sub esi, 3
mov dword [edi + 4], 0x3f41
mov dword [esp + 0x14], edx
jmp 0x10019498
mov ecx, dword [esp + 0x50]
mov dword [edi + 0x50], 0x1003f668
mov dword [edi + 0x58], 9
mov dword [edi + 0x54], 0x1003fe68
mov dword [edi + 0x5c], 5
mov dword [edi + 4], 0x3f47
cmp ecx, 6
jne 0x10018ce2
shr edx, 2
sub esi, 3
mov dword [esp + 0x14], edx
jmp 0x1001896e
shr edx, 2
sub esi, 3
mov dword [edi + 4], 0x3f44
mov dword [esp + 0x14], edx
jmp 0x10019498
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [edi + 4], 0x3f51
shr edx, 2
sub esi, 3
mov dword [esp + 0x14], edx
jmp 0x10019498
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [esp + 0x14], edx
cmp esi, 0x20
jae 0x10018d26
test ebp, ebp
je 0x1001896a
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 0x20
jb 0x10018d03
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x10018d4b
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov dword [edi + 4], 0x3f51
jmp 0x10019498
mov dword [edi + 0x44], ecx
xor edx, edx
mov ecx, dword [esp + 0x50]
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [edi + 4], 0x3f42
cmp ecx, 6
je 0x1001896e
mov dword [edi + 4], 0x3f43
mov ecx, dword [edi + 0x44]
test ecx, ecx
je 0x10018dc3
cmp ecx, ebp
mov eax, ebp
cmovbe eax, ecx
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
cmovbe ecx, eax
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x1001896a
push ecx
mov ecx, dword [esp + 0x28]
push ebx
push ecx
call fcn.1001fc90
mov eax, dword [esp + 0x50]
add esp, 0xc
sub dword [esp + 0x1c], eax
add ebx, eax
add dword [esp + 0x24], eax
sub ebp, eax
sub dword [edi + 0x44], eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
jmp 0x10019498
mov dword [edi + 4], 0x3f3f
jmp 0x10019498
cmp esi, 0xe
jae 0x10018df7
test ebp, ebp
je 0x1001896a
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 0xe
jb 0x10018dd4
mov ecx, edx
sub esi, 0xe
shr edx, 5
and ecx, 0x1f
mov eax, edx
add ecx, 0x101
and eax, 0x1f
shr edx, 5
inc eax
mov dword [edi + 0x64], ecx
mov dword [esp + 0x44], eax
mov dword [edi + 0x68], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [esp + 0x14], edx
mov dword [edi + 0x60], eax
cmp ecx, 0x11e
ja 0x10018f2f
cmp dword [esp + 0x44], 0x1e
ja 0x10018f2f
mov dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f45
mov eax, dword [edi + 0x6c]
cmp eax, dword [edi + 0x60]
jae 0x10018eb2
nop word [eax + eax]
cmp esi, 3
jae 0x10018e88
test ebp, ebp
je 0x1001896a
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 3
jb 0x10018e65
mov eax, dword [edi + 0x6c]
mov ecx, edx
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [esp + 0x14], edx
movzx eax, word [eax*2 + 0x1003fee8]
mov word [edi + eax*2 + 0x74], cx
inc dword [edi + 0x6c]
mov eax, dword [edi + 0x6c]
cmp eax, dword [edi + 0x60]
jb 0x10018e60
cmp eax, 0x13
jae 0x10018edb
nop word [eax + eax]
mov eax, dword [edi + 0x6c]
xor ecx, ecx
movzx eax, word [eax*2 + 0x1003fee8]
mov word [edi + eax*2 + 0x74], cx
inc dword [edi + 0x6c]
cmp dword [edi + 0x6c], 0x13
jb 0x10018ec0
lea eax, [edi + 0x534]
mov dword [edi + 0x58], 7
lea edx, [edi + 0x70]
mov dword [edi + 0x50], eax
mov dword [edx], eax
lea ecx, [edi + 0x58]
lea eax, [edi + 0x2f4]
push eax
push ecx
push edx
push 0x13
lea eax, [edi + 0x74]
push eax
push 0
call fcn.1001cb70
mov edx, dword [esp + 0x2c]
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x10018f46
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov dword [edi + 4], 0x3f51
jmp 0x10019498
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov dword [edi + 4], 0x3f51
jmp 0x10019498
mov dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f46
mov dword [esp + 0x38], 0x3f46
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x64]
add eax, ecx
cmp dword [edi + 0x6c], eax
jae 0x100191a3
nop dword [eax]
mov ecx, dword [edi + 0x58]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x50]
dec eax
mov dword [esp + 0x44], eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
shr dword [esp + 0x34], 0x10
movzx ecx, cl
cmp ecx, esi
jbe 0x10018fe3
test ebp, ebp
je 0x1001896a
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x50]
add edx, eax
mov eax, dword [esp + 0x44]
add esi, 8
and eax, edx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
shr dword [esp + 0x34], 0x10
movzx ecx, cl
cmp ecx, esi
ja 0x10018fa0
mov ecx, dword [esp + 0x34]
movzx ecx, cx
mov dword [esp + 0x44], ecx
movzx ecx, cx
cmp ecx, 0x10
mov ecx, dword [esp + 0x38]
movzx ecx, cl
jae 0x1001901b
shr edx, cl
sub esi, ecx
mov ecx, dword [edi + 0x6c]
shr eax, 0x10
mov dword [esp + 0x14], edx
mov word [edi + ecx*2 + 0x74], ax
inc dword [edi + 0x6c]
mov ecx, dword [edi + 0x6c]
jmp 0x1001916e
jne 0x10019084
add ecx, 2
mov dword [esp + 0x44], ecx
cmp esi, ecx
jae 0x1001904e
test ebp, ebp
je 0x1001896a
movzx edx, byte [ebx]
mov ecx, esi
shl edx, cl
inc ebx
add dword [esp + 0x14], edx
add esi, 8
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, dword [esp + 0x44]
jb 0x10019028
mov edx, dword [esp + 0x14]
movzx ecx, ah
mov eax, dword [edi + 0x6c]
sub esi, ecx
shr edx, cl
mov dword [esp + 0x14], edx
test eax, eax
je 0x1001918c
movzx eax, word [edi + eax*2 + 0x72]
mov ecx, edx
and ecx, 3
shr edx, 2
add ecx, 3
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
sub esi, 2
jmp 0x1001912e
cmp word [esp + 0x44], 0x11
jne 0x100190d8
add ecx, 3
mov dword [esp + 0x44], ecx
cmp esi, ecx
jae 0x100190bd
test ebp, ebp
je 0x1001896a
movzx edx, byte [ebx]
mov ecx, esi
shl edx, cl
inc ebx
add dword [esp + 0x14], edx
add esi, 8
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, dword [esp + 0x44]
jb 0x10019097
mov edx, dword [esp + 0x14]
movzx ecx, ah
shr edx, cl
mov eax, edx
and eax, 7
add eax, 3
shr edx, 3
mov dword [esp + 0x38], eax
mov eax, 0xfffffffd
jmp 0x10019122
add ecx, 7
mov dword [esp + 0x44], ecx
cmp esi, ecx
jae 0x10019109
test ebp, ebp
je 0x1001896a
movzx edx, byte [ebx]
mov ecx, esi
shl edx, cl
inc ebx
add dword [esp + 0x14], edx
add esi, 8
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, dword [esp + 0x44]
jb 0x100190e3
mov edx, dword [esp + 0x14]
movzx ecx, ah
shr edx, cl
mov eax, edx
and eax, 0x7f
add eax, 0xb
shr edx, 7
mov dword [esp + 0x38], eax
mov eax, 0xfffffff9
sub eax, ecx
mov dword [esp + 0x34], 0
add esi, eax
mov ecx, dword [edi + 0x6c]
mov eax, dword [edi + 0x68]
add ecx, dword [esp + 0x38]
add eax, dword [edi + 0x64]
mov dword [esp + 0x14], edx
cmp ecx, eax
ja 0x1001918c
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
nop dword [eax + eax]
mov eax, dword [edi + 0x6c]
mov word [edi + eax*2 + 0x74], dx
mov ecx, dword [edi + 0x6c]
lea ecx, [ecx + 1]
mov dword [edi + 0x6c], ecx
sub ebx, 1
jne 0x10019150
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x64]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x68]
add eax, dword [esp + 0x44]
cmp ecx, eax
jb 0x10018f70
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x64]
jmp 0x100191a7
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov dword [edi + 4], 0x3f51
jmp 0x10019498
mov eax, dword [esp + 0x38]
cmp eax, 0x3f51
je 0x10019498
cmp word [edi + 0x274], 0
jne 0x100191d3
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_code____missing_end_of_block
mov dword [edi + 4], 0x3f51
jmp 0x10019498
lea eax, [edi + 0x534]
mov dword [edi + 0x58], 9
lea edx, [edi + 0x70]
mov dword [edi + 0x50], eax
mov dword [edx], eax
lea ebx, [edi + 0x2f4]
push ebx
lea eax, [edi + 0x58]
push eax
push edx
push ecx
lea eax, [edi + 0x74]
push eax
push 1
call fcn.1001cb70
mov ebx, dword [esp + 0x30]
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x1001922a
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
mov dword [edi + 4], 0x3f51
jmp 0x10019498
mov eax, dword [edi + 0x70]
lea ecx, [edi + 0x70]
mov dword [edi + 0x54], eax
lea edx, [edi + 0x2f4]
push edx
lea eax, [edi + 0x5c]
mov dword [eax], 6
push eax
mov eax, dword [edi + 0x64]
push ecx
push dword [edi + 0x68]
add eax, 0x3a
lea eax, [edi + eax*2]
push eax
push 2
call fcn.1001cb70
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x1001927f
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov dword [eax + 0x18], str.invalid_distances_set
mov dword [edi + 4], 0x3f51
jmp 0x10019498
mov ecx, dword [esp + 0x50]
mov dword [edi + 4], 0x3f47
cmp ecx, 6
je 0x1001896e
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov dword [edi + 4], 0x3f48
cmp ebp, 6
jb 0x10019318
cmp dword [esp + 0x1c], 0x102
jb 0x10019318
mov ecx, dword [esp + 0x24]
push dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x10], ecx
mov dword [eax], ebx
mov dword [eax + 4], ebp
push eax
mov dword [edi + 0x3c], edx
mov dword [edi + 0x40], esi
call fcn.1001d0e0
mov eax, dword [esp + 0x54]
add esp, 8
cmp dword [edi + 4], 0x3f3f
mov edx, dword [edi + 0x3c]
mov esi, dword [edi + 0x40]
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
jne 0x10019498
mov dword [edi + 0x1bc8], 0xffffffff
jmp 0x10019498
mov ecx, dword [edi + 0x58]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x50]
dec eax
mov dword [esp + 0x44], eax
and eax, edx
mov dword [esp + 0x40], ecx
mov dword [edi + 0x1bc8], 0
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x10019386
nop dword [eax]
test ebp, ebp
je 0x1001896a
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x50]
add edx, eax
mov eax, dword [esp + 0x44]
add esi, 8
and eax, edx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x10019350
test al, al
je 0x1001943c
test al, 0xf0
jne 0x1001943c
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 [esp + 0x38], edx
and edi, dword [esp + 0x14]
shr edi, cl
mov ecx, dword [esp + 0x40]
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 0x10019427
test ebp, ebp
je 0x1001995e
mov ebx, dword [esp + 0x18]
mov ecx, esi
mov edi, 1
add esi, 8
dec ebp
movzx eax, byte [ebx]
inc ebx
shl eax, cl
add dword [esp + 0x14], eax
movzx eax, word [esp + 0x3a]
mov dword [esp + 0x18], ebx
movzx ebx, dh
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [esp + 0x14]
shr edi, cl
add edi, eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x100193d3
mov edi, dword [esp + 0x2c]
movzx ecx, dh
mov edx, dword [esp + 0x14]
shr edx, cl
sub esi, ecx
mov dword [edi + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc8], ecx
sub esi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x14], edx
mov dword [edi + 0x44], ecx
test al, al
jne 0x10019467
mov dword [edi + 4], 0x3f4d
jmp 0x10019494
test al, 0x20
je 0x1001947e
mov dword [edi + 0x1bc8], 0xffffffff
mov dword [edi + 4], 0x3f3f
jmp 0x10019494
test al, 0x40
je 0x100194b9
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_literal_length_code
mov dword [edi + 4], 0x3f51
mov ebx, dword [esp + 0x18]
mov eax, dword [edi + 4]
mov dword [esp + 0x38], eax
lea ecx, [eax - 0x3f34]
cmp ecx, 0x1f
ja case.0x100194b2.16211
mov eax, dword [esp + 0x4c]
jmp dword [ecx*4 + 0x10019a3c]
movzx eax, al
and eax, 0xf
mov dword [edi + 4], 0x3f49
mov dword [edi + 0x4c], eax
mov ebx, dword [edi + 0x4c]
test ebx, ebx
je 0x10019519
cmp esi, ebx
jae 0x100194fc
mov edx, dword [esp + 0x18]
test ebp, ebp
je 0x1001896a
movzx eax, byte [edx]
mov ecx, esi
shl eax, cl
inc edx
add dword [esp + 0x14], eax
add esi, 8
dec ebp
mov dword [esp + 0x18], edx
cmp esi, ebx
jb 0x100194d8
mov edx, dword [esp + 0x14]
mov ecx, ebx
mov eax, 1
shl eax, cl
sub esi, ebx
dec eax
and eax, edx
shr edx, cl
add dword [edi + 0x44], eax
add dword [edi + 0x1bc8], ebx
mov dword [esp + 0x14], edx
mov eax, dword [edi + 0x44]
mov dword [edi + 0x1bcc], eax
mov dword [edi + 4], 0x3f4a
mov ecx, dword [edi + 0x5c]
mov eax, 1
mov ebx, dword [edi + 0x54]
shl eax, cl
dec eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
and eax, edx
mov eax, dword [ebx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x1001958f
mov edx, dword [esp + 0x18]
test ebp, ebp
je 0x1001896a
movzx eax, byte [edx]
mov ecx, esi
shl eax, cl
inc edx
mov ecx, dword [esp + 0x14]
add esi, 8
add ecx, eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x44]
dec ebp
and eax, ecx
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x10019554
mov edx, dword [esp + 0x14]
test al, 0xf0
jne 0x1001963d
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 [esp + 0x38], edx
and edi, dword [esp + 0x14]
shr edi, cl
mov ecx, dword [esp + 0x40]
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 0x10019628
test ebp, ebp
je 0x1001995e
mov ebx, dword [esp + 0x18]
mov ecx, esi
mov edi, 1
add esi, 8
dec ebp
movzx eax, byte [ebx]
inc ebx
shl eax, cl
add dword [esp + 0x14], eax
movzx eax, word [esp + 0x3a]
mov dword [esp + 0x18], ebx
movzx ebx, dh
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [esp + 0x14]
shr edi, cl
add edi, eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x100195d4
mov edi, dword [esp + 0x2c]
movzx ecx, dh
mov edx, dword [esp + 0x14]
sub esi, ecx
shr edx, cl
add dword [edi + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc8], ecx
sub esi, ecx
shr edx, cl
mov dword [esp + 0x14], edx
test al, 0x40
je 0x10019667
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_distance_code
jmp 0x1001948d
mov ecx, eax
mov dword [edi + 4], 0x3f4b
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], eax
mov ebx, dword [edi + 0x4c]
test ebx, ebx
je 0x100196d1
cmp esi, ebx
jae 0x100196b4
mov edx, dword [esp + 0x18]
nop
test ebp, ebp
je 0x1001896a
movzx eax, byte [edx]
mov ecx, esi
shl eax, cl
inc edx
add dword [esp + 0x14], eax
add esi, 8
dec ebp
mov dword [esp + 0x18], edx
cmp esi, ebx
jb 0x10019690
mov edx, dword [esp + 0x14]
mov ecx, ebx
mov eax, 1
shl eax, cl
sub esi, ebx
dec eax
and eax, edx
shr edx, cl
add dword [edi + 0x48], eax
add dword [edi + 0x1bc8], ebx
mov dword [esp + 0x14], edx
mov dword [edi + 4], 0x3f4c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1001896a
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, dword [edi + 0x48]
cmp eax, ecx
jbe 0x10019745
sub eax, ecx
cmp eax, dword [edi + 0x30]
jbe 0x10019711
cmp dword [edi + 0x1bc4], 0
je 0x10019711
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
jmp 0x1001948d
mov ecx, dword [edi + 0x34]
cmp eax, ecx
jbe 0x10019724
mov ebx, dword [edi + 0x2c]
sub eax, ecx
sub ebx, eax
add ebx, dword [edi + 0x38]
jmp 0x1001972b
mov ebx, dword [edi + 0x38]
sub ebx, eax
add ebx, ecx
mov ecx, dword [edi + 0x44]
cmp eax, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], ecx
cmovbe ecx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], ecx
jmp 0x10019752
mov ebx, dword [esp + 0x24]
sub ebx, eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x1c]
mov edi, ecx
cmp dword [esp + 0x38], edi
cmovbe ecx, dword [esp + 0x38]
sub edi, ecx
sub eax, ecx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x2c]
mov dword [edi + 0x44], eax
mov edi, dword [esp + 0x24]
sub ebx, edi
mov al, byte [ebx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x10019776
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x2c]
cmp dword [edi + 0x44], ecx
jne 0x10019494
mov dword [edi + 4], 0x3f48
jmp 0x10019494
cmp dword [esp + 0x1c], 0
je 0x1001896a
mov ecx, dword [esp + 0x24]
mov al, byte [edi + 0x44]
mov byte [ecx], al
inc ecx
dec dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov dword [edi + 4], 0x3f48
jmp 0x10019498
cmp dword [edi + 0xc], 0
je 0x100198aa
cmp esi, 0x20
jae 0x100197fd
test ebp, ebp
je 0x1001896a
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 0x20
jb 0x100197d6
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x1c]
add dword [eax + 0x14], ecx
add dword [edi + 0x20], ecx
mov eax, dword [edi + 0xc]
mov dword [esp + 0x28], ecx
test al, 4
je 0x1001984f
test ecx, ecx
je 0x1001984f
mov eax, dword [esp + 0x24]
push dword [esp + 0x28]
sub eax, ecx
cmp dword [edi + 0x14], 0
mov ecx, dword [edi + 0x1c]
push eax
push ecx
je 0x10019836
call fcn.1001c710
jmp 0x1001983b
call fcn.1001c490
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov dword [ecx + 0x30], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
test al, 4
je 0x100198a2
cmp dword [edi + 0x14], 0
mov ecx, edx
jne 0x10019886
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 + 0x1c]
je 0x100198a2
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.incorrect_data_check
mov dword [edi + 4], 0x3f51
jmp 0x10019498
xor edx, edx
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [edi + 4], 0x3f4f
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1001993d
cmp dword [edi + 0x14], 0
je 0x1001993d
cmp esi, 0x20
jae 0x100198ed
test ebp, ebp
je 0x1001896a
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 0x20
jb 0x100198c7
mov eax, dword [edi + 0xc]
test al, 4
je 0x10019933
cmp edx, dword [edi + 0x20]
je 0x10019933
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.incorrect_length_check
mov dword [edi + 4], 0x3f51
jmp 0x10019498
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 0x10], ecx
mov eax, 2
mov dword [edi + 0x40], esi
mov dword [edi + 0x3c], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov dword [esp + 0x14], 0
xor esi, esi
mov dword [edi + 4], 0x3f50
mov dword [esp + 0x30], 1
jmp 0x1001896a
mov dword [esp + 0x30], 0xfffffffd
jmp 0x1001896a
mov edi, dword [esp + 0x2c]
jmp 0x1001896a
mov ecx, eax
jmp 0x1001896e
mov eax, dword [esp + 0x3c]
sub eax, dword [ebx + 4]
sub ebp, dword [ebx + 0x10]
add dword [ebx + 8], eax
add dword [ebx + 0x14], ebp
add dword [edi + 0x20], ebp
test byte [edi + 0xc], 4
mov dword [esp + 0x3c], eax
je 0x100199b5
test ebp, ebp
je 0x100199b5
mov eax, dword [ebx + 0xc]
mov ecx, dword [edi + 0x1c]
sub eax, ebp
cmp dword [edi + 0x14], 0
push ebp
push eax
push ecx
je 0x100199a7
call fcn.1001c710
jmp 0x100199ac
call fcn.1001c490
mov dword [edi + 0x1c], eax
add esp, 0xc
mov dword [ebx + 0x30], eax
mov edx, dword [edi + 4]
cmp edx, 0x3f47
je 0x100199cc
cmp edx, 0x3f42
je 0x100199cc
xor esi, esi
jmp 0x100199d1
mov esi, 0x100
mov ecx, dword [edi + 8]
neg ecx
mov dword [esp + 0x4c], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp edx, 0x3f3f
cmove eax, dword [esp + 0x4c]
add ecx, eax
add ecx, dword [edi + 0x40]
add ecx, esi
cmp dword [esp + 0x3c], 0
mov dword [ebx + 0x2c], ecx
jne 0x10019a05
test ebp, ebp
je 0x10019a0c
cmp dword [esp + 0x50], 4
jne 0x10019a22
mov eax, dword [esp + 0x30]
mov ecx, 0xfffffffb
pop edi
pop esi
test eax, eax
pop ebp
cmove eax, ecx
pop ebx
add esp, 0x38
ret
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x38
ret