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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
push edi
test esi, esi
je case.default.0x41ad1e
mov ebx, dword [esi + 0x1c]
mov dword [ebp - 0x2c], ebx
test ebx, ebx
je case.default.0x41ad1e
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x20], eax
test eax, eax
je case.default.0x41ad1e
mov ecx, dword [esi]
xor eax, eax
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x41ace1
cmp dword [esi + 4], eax
jne case.default.0x41ad1e
cmp dword [ebx], 0xb
jne 0x41acec
mov dword [ebx], 0xc
mov ecx, dword [esi + 0x10]
mov edx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi + 4]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], esi
cmp eax, 0x1e
ja case.default.0x41ad1e
mov esi, dword [ebp - 0x14]
jmp dword [eax*4 + 0x41c087]
cmp dword [ebx + 8], 0
jne 0x41ad36
mov dword [ebx], 0xc
jmp 0x41bb29
push 0x10
pop eax
cmp edi, eax
jae 0x41ad6d
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x41bfae
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x10
jb 0x41ad40
test byte [ebx + 8], 2
je 0x41adad
cmp edx, 0x8b1f
jne 0x41adad
push 0x1f
pop eax
xor edi, edi
mov byte [ebp - 0x1c], al
push 2
lea edx, [ebp - 0x1c]
mov dword [ebx + 0x18], edi
xor ecx, ecx
mov byte [ebp - 0x1b], 0x8b
call fcn.0041d920
mov edx, edi
mov dword [ebx + 0x18], eax
pop ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebx], 1
jmp 0x41bb26
and dword [ebx + 0x10], 0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41adbc
or dword [eax + 0x30], 0xffffffff
test byte [ebx + 8], 1
je 0x41ae54
movzx ecx, dl
mov eax, edx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
push 0x1f
pop ecx
div ecx
test edx, edx
mov edx, dword [ebp - 0xc]
jne 0x41ae54
mov eax, edx
and al, 0xf
cmp al, 8
je 0x41adfb
mov dword [esi + 0x18], str.unknown_compression_method
mov dword [ebx], 0x1d
jmp 0x41bb26
shr edx, 4
sub edi, 4
mov ecx, edx
mov dword [ebp - 0xc], edx
and ecx, 0xf
mov dword [ebp - 0x10], edi
add ecx, 8
cmp dword [ebx + 0x24], 0
jne 0x41ae46
mov dword [ebx + 0x24], ecx
xor edi, edi
shr edx, 8
inc edi
not edx
mov eax, edi
mov dword [ebx + 0x18], edi
and edx, 2
shl eax, cl
or edx, 9
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [esi + 0x30], edi
mov dword [ebx], edx
mov edi, eax
mov edx, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
jmp 0x41bb26
cmp ecx, dword [ebx + 0x24]
jbe 0x41ae18
mov dword [esi + 0x18], str.invalid_window_size
jmp 0x41adf0
mov dword [esi + 0x18], str.incorrect_header_check
jmp 0x41adf0
push 0x10
pop eax
cmp edi, eax
jae 0x41ae94
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x41bfae
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x10
jb 0x41ae67
mov dword [ebx + 0x10], edx
cmp dl, 8
je 0x41aeae
mov dword [esi + 0x18], str.unknown_compression_method
mov dword [ebx], 0x1d
jmp 0x41bb29
test edx, 0xe000
je 0x41aebf
mov dword [esi + 0x18], str.unknown_header_flags_set
jmp 0x41aea3
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x41aed0
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [ebx + 0x10], 0x200
je 0x41aef3
mov ecx, dword [ebx + 0x18]
mov byte [ebp - 0x1c], dl
shr edx, 8
mov byte [ebp - 0x1b], dl
lea edx, [ebp - 0x1c]
push 2
call fcn.0041d920
pop ecx
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 4]
xor esi, esi
mov edx, esi
mov dword [ebx], 2
mov dword [ebp - 0xc], edx
mov edi, esi
jmp 0x41af09
xor esi, esi
cmp edi, 0x20
jae 0x41af3b
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x41bfae
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x41af11
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41af45
mov dword [eax + 4], edx
test dword [ebx + 0x10], 0x200
je 0x41af78
mov ecx, dword [ebx + 0x18]
mov eax, edx
shr eax, 8
mov byte [ebp - 0x1b], al
mov eax, edx
mov byte [ebp - 0x1c], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ebp - 0x19], dl
lea edx, [ebp - 0x1c]
push 4
mov byte [ebp - 0x1a], al
call fcn.0041d920
pop ecx
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov dword [ebp - 0xc], edx
mov edi, esi
mov dword [ebx], 3
jmp 0x41af8c
xor esi, esi
push 0x10
pop eax
cmp edi, eax
jae 0x41afc0
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x41bfae
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x10
jb 0x41af96
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x41afd8
movzx eax, dl
mov dword [ecx + 8], eax
mov ecx, edx
mov eax, dword [ebx + 0x20]
shr ecx, 8
mov dword [eax + 0xc], ecx
test dword [ebx + 0x10], 0x200
je 0x41affb
mov ecx, dword [ebx + 0x18]
mov byte [ebp - 0x1c], dl
shr edx, 8
mov byte [ebp - 0x1b], dl
lea edx, [ebp - 0x1c]
push 2
call fcn.0041d920
pop ecx
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov edi, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebx], 4
jmp 0x41b012
xor esi, esi
test dword [ebx + 0x10], 0x400
je 0x41b089
push 0x10
pop eax
cmp edi, eax
jae 0x41b04f
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x41bfae
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x10
jb 0x41b025
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x41b05c
mov dword [eax + 0x14], edx
test dword [ebx + 0x10], 0x200
je 0x41b07f
mov ecx, dword [ebx + 0x18]
mov byte [ebp - 0x1c], dl
shr edx, 8
mov byte [ebp - 0x1b], dl
lea edx, [ebp - 0x1c]
push 2
call fcn.0041d920
pop ecx
mov dword [ebx + 0x18], eax
mov edi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
jmp 0x41b093
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41b093
mov dword [eax + 0x10], esi
mov ecx, dword [ebp - 4]
mov dword [ebx], 5
test dword [ebx + 0x10], 0x400
je 0x41b124
mov esi, dword [ebx + 0x40]
cmp esi, ecx
cmova esi, ecx
test esi, esi
je 0x41b117
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x41b0ea
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x41b0ea
mov edx, dword [ecx + 0x14]
sub edx, dword [ebx + 0x40]
mov ecx, dword [ecx + 0x18]
lea eax, [esi + edx]
cmp eax, ecx
jbe 0x41b0d6
sub ecx, edx
jmp 0x41b0d8
mov ecx, esi
mov eax, dword [ebp - 0x30]
push ecx
push dword [ebp - 8]
add eax, edx
push eax
call fcn.0055d800
add esp, 0xc
test dword [ebx + 0x10], 0x200
je 0x41b109
mov eax, dword [ebp - 8]
test eax, eax
je 0x41b106
mov ecx, dword [ebx + 0x18]
mov edx, eax
push esi
call fcn.0041d920
pop ecx
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 4]
add dword [ebp - 8], esi
sub ecx, esi
sub dword [ebx + 0x40], esi
mov dword [ebp - 4], ecx
xor edx, edx
cmp dword [ebx + 0x40], edx
jne 0x41bfae
jmp 0x41b126
xor edx, edx
mov dword [ebx + 0x40], edx
mov dword [ebx], 6
jmp 0x41b133
xor edx, edx
test dword [ebx + 0x10], 0x800
je 0x41b1b8
test ecx, ecx
je 0x41bfae
mov edi, dword [ebp - 4]
mov esi, edx
mov eax, dword [ebp - 8]
movzx eax, byte [esi + eax]
inc esi
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41b173
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x41b173
mov ecx, dword [ebx + 0x40]
cmp ecx, dword [eax + 0x20]
jae 0x41b173
mov eax, dword [ebp - 0x30]
mov byte [edx + ecx], al
inc dword [ebx + 0x40]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x41b17e
cmp esi, edi
jb 0x41b149
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp - 0x10]
je 0x41b1a3
mov eax, dword [ebp - 8]
test eax, eax
je 0x41b1a0
mov ecx, dword [ebx + 0x18]
mov edx, eax
push esi
call fcn.0041d920
pop ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 4]
add dword [ebp - 8], esi
sub eax, esi
mov dword [ebp - 4], eax
test ecx, ecx
jne 0x41bfb1
jmp 0x41b1c2
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41b1c2
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp - 4]
xor edx, edx
mov dword [ebx + 0x40], edx
mov dword [ebx], 7
jmp 0x41b1d4
xor edx, edx
test dword [ebx + 0x10], 0x1000
je 0x41b259
test ecx, ecx
je 0x41bfae
mov edi, dword [ebp - 4]
mov esi, edx
mov eax, dword [ebp - 8]
movzx eax, byte [esi + eax]
inc esi
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41b214
mov edx, dword [eax + 0x24]
test edx, edx
je 0x41b214
mov ecx, dword [ebx + 0x40]
cmp ecx, dword [eax + 0x28]
jae 0x41b214
mov eax, dword [ebp - 0x30]
mov byte [edx + ecx], al
inc dword [ebx + 0x40]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x41b21f
cmp esi, edi
jb 0x41b1ea
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp - 0x10]
je 0x41b244
mov eax, dword [ebp - 8]
test eax, eax
je 0x41b241
mov ecx, dword [ebx + 0x18]
mov edx, eax
push esi
call fcn.0041d920
pop ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 4]
add dword [ebp - 8], esi
sub eax, esi
mov dword [ebp - 4], eax
test ecx, ecx
jne 0x41bfb1
jmp 0x41b263
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41b263
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [ebx], 8
test dword [ebx + 0x10], 0x200
je 0x41b2d2
push 0x10
pop eax
cmp edi, eax
jae 0x41b2b2
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x41bfae
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x10
jb 0x41b285
movzx eax, word [ebx + 0x18]
cmp edx, eax
je 0x41b2c6
mov dword [esi + 0x18], str.header_crc_mismatch
jmp 0x41adf0
xor eax, eax
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x41b2ef
mov eax, dword [ebx + 0x10]
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x30], 1
xor eax, eax
mov dword [ebx], 0xb
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
jmp 0x41bb26
cmp edi, 0x20
jae 0x41b334
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x41bfae
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x41b30a
mov ecx, edx
mov dword [ebx], 0xa
mov edi, 0xff00
mov eax, edx
shl eax, 0x10
and ecx, edi
add ecx, eax
mov eax, edx
shr eax, 8
and eax, edi
shl ecx, 8
add eax, ecx
shr edx, 0x18
mov ecx, dword [ebp - 4]
add eax, edx
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
xor eax, eax
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
jmp 0x41b371
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x41bf77
mov dword [ebx + 0x18], 1
mov dword [esi + 0x30], 1
mov dword [ebx], 0xb
jmp 0x41b392
xor eax, eax
cmp dword [ebx + 4], eax
je 0x41b3b1
mov ecx, edi
mov dword [ebx], 0x1a
and ecx, 7
shr edx, cl
sub edi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
jmp 0x41bb26
cmp edi, 3
jae 0x41b3e3
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x41bfae
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 3
jb 0x41b3b9
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 4], eax
mov eax, edx
and eax, 3
sub eax, 0
je 0x41b440
sub eax, 1
je 0x41b41c
sub eax, 1
je 0x41b415
sub eax, 1
jne 0x41b446
mov dword [esi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1d
jmp 0x41b446
push 0x10
pop eax
mov dword [ebx], eax
jmp 0x41b446
mov dword [ebx + 0x4c], 0x5bd9f8
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x5be1f8
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x13
jmp 0x41b446
mov dword [ebx], 0xd
shr edx, 2
sub edi, 3
jmp 0x41ae3b
mov ecx, edi
and ecx, 7
shr edx, cl
sub edi, ecx
jmp 0x41b47d
mov eax, dword [ebp - 4]
test eax, eax
je 0x41bfb1
dec eax
mov ecx, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edx
cmp edi, 0x20
jb 0x41b45c
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x41b4a2
mov dword [esi + 0x18], str.invalid_stored_block_lengths
jmp 0x41adf0
xor eax, eax
mov dword [ebx + 0x40], ecx
mov ecx, dword [ebp - 4]
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebx], 0xe
mov dword [ebx], 0xf
mov esi, dword [ebx + 0x40]
test esi, esi
je 0x41b509
cmp esi, ecx
cmova esi, ecx
cmp esi, dword [ebp - 0x18]
cmova esi, dword [ebp - 0x18]
test esi, esi
je 0x41bfae
push esi
push dword [ebp - 8]
push dword [ebp - 0x20]
call fcn.0055d800
mov ecx, dword [ebp - 4]
add esp, 0xc
add dword [ebp - 8], esi
sub ecx, esi
sub dword [ebp - 0x18], esi
add dword [ebp - 0x20], esi
sub dword [ebx + 0x40], esi
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov esi, dword [ebp - 0x14]
jmp 0x41bb29
mov dword [ebx], 0xb
jmp 0x41b501
cmp edi, 0xe
jae 0x41b543
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x41bfae
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0xe
jb 0x41b519
mov eax, edx
sub edi, 0xe
and eax, 0x1f
shr edx, 5
add eax, 0x101
mov dword [ebp - 0x10], edi
mov dword [ebx + 0x60], eax
mov eax, edx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebx + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 0xc], edx
cmp dword [ebx + 0x60], 0x11e
mov dword [ebx + 0x5c], eax
ja 0x41b590
cmp dword [ebx + 0x64], 0x1e
ja 0x41b590
and dword [ebx + 0x68], 0
push 0x11
pop eax
mov dword [ebx], eax
jmp case.0x41ad1e.17
mov dword [esi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x41aea3
cmp edi, 3
jae 0x41b5ce
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x41bfae
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 3
jb 0x41b5a4
mov eax, dword [ebx + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0xc], edx
movzx eax, word [eax*2 + 0x5be278]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
sub edi, 3
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], edi
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x5c]
jb 0x41b59c
jmp 0x41b614
mov eax, dword [ebx + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x5be278]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
cmp dword [ebx + 0x68], 0x13
jb 0x41b5ff
lea eax, [ebx + 0x530]
lea ecx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [ecx], eax
lea edx, [ebx + 0x54]
lea eax, [ebx + 0x2f0]
mov dword [edx], 7
push eax
push edx
push ecx
push 0x13
lea edx, [ebx + 0x70]
xor ecx, ecx
call fcn.0041dba8
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x41b665
mov dword [esi + 0x18], str.invalid_code_lengths_set
mov dword [ebx], 0x1d
mov edx, dword [ebp - 0xc]
jmp 0x41bb26
and dword [ebx + 0x68], 0
mov dword [ebx], 0x12
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp dword [ebx + 0x68], eax
jae 0x41b8a9
mov ecx, dword [ebx + 0x54]
xor edx, edx
mov eax, dword [ebx + 0x4c]
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x30], eax
cmp ecx, edi
jbe 0x41b6e3
mov esi, dword [ebp - 4]
test esi, esi
je 0x41bfae
mov edx, dword [ebp - 8]
mov ecx, edi
dec esi
add edi, 8
mov dword [ebp - 4], esi
movzx eax, byte [edx]
shl eax, cl
add dword [ebp - 0xc], eax
inc edx
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 8], edx
xor edx, edx
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x30], eax
cmp ecx, edi
ja 0x41b6a2
mov ecx, eax
push 0x10
shr ecx, 0x10
pop edx
cmp cx, dx
jae 0x41b742
mov ecx, eax
shr ecx, 8
movzx esi, cl
jmp 0x41b71c
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x41bfae
dec ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, edi
shl edx, cl
add dword [ebp - 0xc], edx
inc dword [ebp - 8]
add edi, 8
cmp edi, esi
jb 0x41b6fa
movzx ecx, ah
shr dword [ebp - 0xc], cl
sub edi, ecx
mov ecx, dword [ebx + 0x68]
mov ax, word [ebp - 0x2e]
mov dword [ebp - 0x10], edi
mov word [ebx + ecx*2 + 0x70], ax
inc dword [ebx + 0x68]
mov ecx, dword [ebx + 0x68]
jmp 0x41b877
cmp word [ebp - 0x2e], dx
mov edx, dword [ebp - 0xc]
jne 0x41b7ad
movzx esi, ah
lea eax, [esi + 2]
cmp edi, eax
jae 0x41b77b
mov eax, dword [ebp - 4]
test eax, eax
je 0x41bfb1
dec eax
mov ecx, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0xc], edx
add edi, 8
jmp 0x41b74e
mov eax, dword [ebx + 0x68]
mov ecx, esi
shr edx, cl
sub edi, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
test eax, eax
je 0x41b88a
movzx eax, word [ebx + eax*2 + 0x6e]
mov esi, edx
and esi, 3
shr edx, 2
add esi, 3
mov dword [ebp - 0x30], eax
sub edi, 2
jmp 0x41b84c
push 0x11
pop ecx
cmp word [ebp - 0x2e], cx
movzx ecx, ah
jne 0x41b7ff
lea esi, [ecx + 3]
mov dword [ebp - 0x30], ecx
cmp edi, esi
jae 0x41b7ee
mov eax, dword [ebp - 4]
test eax, eax
je 0x41bfb1
dec eax
mov ecx, edi
mov dword [ebp - 4], eax
add edi, 8
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp edi, esi
jb 0x41b7c3
mov ecx, dword [ebp - 0x30]
shr edx, cl
mov esi, edx
and esi, 7
add esi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x41b843
lea esi, [ecx + 7]
mov dword [ebp - 0x30], ecx
cmp edi, esi
jae 0x41b834
mov eax, dword [ebp - 4]
test eax, eax
je 0x41bfb1
dec eax
mov ecx, edi
mov dword [ebp - 4], eax
add edi, 8
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp edi, esi
jb 0x41b809
mov ecx, dword [ebp - 0x30]
shr edx, cl
mov esi, edx
and esi, 0x7f
add esi, 0xb
shr edx, 7
push 0xfffffffffffffff9
and dword [ebp - 0x30], 0
pop eax
sub eax, ecx
add edi, eax
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x68]
add ecx, dword [ebx + 0x60]
add eax, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
cmp eax, ecx
ja 0x41b899
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x68]
mov word [ebx + eax*2 + 0x70], dx
inc dword [ebx + 0x68]
mov ecx, dword [ebx + 0x68]
sub esi, 1
jne 0x41b864
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp ecx, eax
jb 0x41b67e
mov esi, dword [ebp - 0x14]
jmp 0x41b8a9
mov esi, dword [ebp - 0x14]
mov dword [esi + 0x18], str.invalid_bit_length_repeat
jmp 0x41adf0
mov esi, dword [ebp - 0x14]
mov dword [ebx], 0x1d
mov dword [esi + 0x18], str.invalid_bit_length_repeat
cmp dword [ebx], 0x1d
je 0x41b65d
xor eax, eax
cmp word [ebx + 0x270], ax
jne 0x41b8c9
mov dword [esi + 0x18], str.invalid_code____missing_end_of_block
jmp 0x41b657
lea eax, [ebx + 0x530]
lea esi, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [esi], eax
lea ecx, [ebx + 0x54]
lea eax, [ebx + 0x2f0]
mov dword [ecx], 9
push eax
push ecx
push esi
push dword [ebx + 0x60]
xor ecx, ecx
lea edx, [ebx + 0x70]
inc ecx
call fcn.0041dba8
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x41b910
mov esi, dword [ebp - 0x14]
mov dword [esi + 0x18], str.invalid_literal_lengths_set
jmp 0x41b657
mov eax, dword [esi]
lea ecx, [ebx + 0x58]
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x2f0]
push eax
mov eax, dword [ebx + 0x60]
push ecx
push esi
push dword [ebx + 0x64]
add eax, 0x38
mov dword [ecx], 6
push 2
pop ecx
lea edx, [ebx + eax*2]
call fcn.0041dba8
mov esi, dword [ebp - 0x14]
add esp, 0x10
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x41b95a
mov dword [esi + 0x18], str.invalid_distances_set
jmp 0x41aea3
mov dword [ebx], 0x13
mov dword [ebx], 0x14
cmp ecx, 6
jb 0x41b9d1
mov eax, dword [ebp - 0x18]
cmp eax, 0x102
jb 0x41b9d1
mov ebx, dword [ebp - 0x20]
mov dword [esi + 0xc], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], ecx
mov ecx, esi
mov dword [ebx + 0x38], edx
mov edx, dword [ebp - 0x24]
mov dword [esi], eax
mov dword [ebx + 0x3c], edi
call fcn.0041e013
cmp dword [ebx], 0xb
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
jne 0x41bb29
or dword [ebx + 0x1bc4], 0xffffffff
jmp 0x41bb29
mov ecx, dword [ebx + 0x54]
xor eax, eax
and dword [ebx + 0x1bc4], 0
inc eax
mov esi, dword [ebx + 0x4c]
shl eax, cl
dec eax
mov dword [ebp - 0x34], esi
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x41ba40
mov esi, dword [ebp - 4]
test esi, esi
je 0x41bfae
mov eax, dword [ebp - 8]
mov ecx, edi
dec esi
add edi, 8
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x54]
add edx, eax
inc dword [ebp - 8]
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0xc], edx
xor edx, edx
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [ebp - 0xc]
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x41b9fb
test al, al
je 0x41baf9
test al, 0xf0
jne 0x41baf9
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x30], edx
and edi, dword [ebp - 0xc]
shr edi, cl
mov ecx, dword [ebp - 0x34]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x10]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
mov ebx, dword [ebp - 0x2c]
add esi, ecx
cmp esi, edi
jbe 0x41bae9
mov esi, dword [ebp - 4]
test esi, esi
je 0x41bfae
dec esi
mov ecx, edi
mov dword [ebp - 4], esi
add edi, 8
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], edi
movzx edi, dh
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0xc], eax
inc esi
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 8], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0xc]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x10]
cmp ecx, edi
ja 0x41ba91
movzx ecx, dh
mov edx, dword [ebp - 0xc]
shr edx, cl
sub edi, ecx
mov dword [ebx + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub edi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebx + 0x40], ecx
test al, al
jne 0x41bb3e
mov dword [ebx], 0x19
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
cmp eax, 0x1e
jbe switch.0x0041ad1e
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, 0x20
je 0x41bb51
or dword [ebx + 0x1bc4], 0xffffffff
mov dword [ebx], 0xb
jmp 0x41bb23
mov ecx, dword [ebp - 4]
test al, 0x40
je 0x41bb67
mov esi, dword [ebp - 0x14]
mov dword [esi + 0x18], str.invalid_literal_length_code
jmp 0x41aea3
movzx eax, al
and eax, 0xf
mov dword [ebx], 0x15
mov dword [ebx + 0x48], eax
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x41bbca
cmp edi, esi
jae 0x41bbad
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x41bfae
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, esi
jb 0x41bb84
xor eax, eax
mov ecx, esi
inc eax
sub edi, esi
shl eax, cl
dec eax
mov dword [ebp - 0x10], edi
and eax, edx
shr edx, cl
add dword [ebx + 0x40], eax
add dword [ebx + 0x1bc4], esi
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x1bc8], eax
mov dword [ebx], 0x16
mov ecx, dword [ebx + 0x58]
xor eax, eax
mov esi, dword [ebx + 0x50]
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x34], esi
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x41bc41
mov esi, dword [ebp - 4]
test esi, esi
je 0x41bfae
mov eax, dword [ebp - 8]
mov ecx, edi
dec esi
add edi, 8
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x58]
add edx, eax
inc dword [ebp - 8]
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0xc], edx
xor edx, edx
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [ebp - 0xc]
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x41bbfc
test al, 0xf0
jne 0x41bcf2
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x30], edx
and edi, dword [ebp - 0xc]
shr edi, cl
mov ecx, dword [ebp - 0x34]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x10]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
mov ebx, dword [ebp - 0x2c]
add esi, ecx
cmp esi, edi
jbe 0x41bce2
mov esi, dword [ebp - 4]
test esi, esi
je 0x41bfae
dec esi
mov ecx, edi
mov dword [ebp - 4], esi
add edi, 8
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], edi
movzx edi, dh
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0xc], eax
inc esi
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 8], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0xc]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x10]
cmp ecx, edi
ja 0x41bc8a
movzx ecx, dh
mov edx, dword [ebp - 0xc]
sub edi, ecx
shr edx, cl
add dword [ebx + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub edi, ecx
shr edx, cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
test al, 0x40
je 0x41bd1d
mov esi, dword [ebp - 0x14]
mov dword [esi + 0x18], str.invalid_distance_code
jmp 0x41adf0
mov ecx, eax
mov dword [ebx], 0x17
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x48], eax
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x41bd8b
cmp edi, esi
jae 0x41bd6e
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x41bfae
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, esi
jb 0x41bd45
xor eax, eax
mov ecx, esi
inc eax
sub edi, esi
shl eax, cl
dec eax
mov dword [ebp - 0x10], edi
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
add dword [ebx + 0x1bc4], esi
mov dword [ebp - 0xc], edx
mov esi, dword [ebp - 0x14]
mov dword [ebx], 0x18
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x41bfae
mov eax, dword [ebp - 0x24]
sub eax, ecx
mov ecx, dword [ebx + 0x44]
cmp ecx, eax
jbe 0x41bde7
sub ecx, eax
cmp ecx, dword [ebx + 0x2c]
jbe 0x41bdc7
cmp dword [ebx + 0x1bc0], 0
je 0x41bdc7
mov dword [esi + 0x18], str.invalid_distance_too_far_back
jmp 0x41adf0
mov esi, dword [ebx + 0x34]
cmp ecx, dword [ebx + 0x30]
jbe 0x41bdd9
sub ecx, dword [ebx + 0x30]
add esi, dword [ebx + 0x28]
sub esi, ecx
jmp 0x41bdde
sub esi, ecx
add esi, dword [ebx + 0x30]
mov eax, dword [ebx + 0x40]
cmp ecx, eax
jbe 0x41bdf1
jmp 0x41bdef
mov esi, dword [ebp - 0x20]
mov eax, dword [ebx + 0x40]
sub esi, ecx
mov ecx, eax
cmp ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmova ecx, dword [ebp - 0x18]
sub dword [ebp - 0x18], ecx
sub eax, ecx
mov dword [ebx + 0x40], eax
sub esi, edx
mov al, byte [esi + edx]
mov byte [edx], al
inc edx
sub ecx, 1
jne 0x41be05
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0xc]
cmp dword [ebx + 0x40], ecx
jne 0x41bb23
mov dword [ebx], 0x14
jmp 0x41bb23
cmp dword [ebp - 0x18], 0
je 0x41bfae
mov esi, dword [ebp - 0x20]
mov al, byte [ebx + 0x40]
inc dword [ebp - 0x20]
dec dword [ebp - 0x18]
mov byte [esi], al
mov dword [ebx], 0x14
jmp 0x41b501
cmp dword [ebx + 8], 0
je 0x41bf21
cmp edi, 0x20
jae 0x41be8c
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x41bfae
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x20
jb 0x41be5f
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
sub ecx, eax
add dword [esi + 0x14], ecx
add dword [ebx + 0x1c], ecx
test ecx, ecx
je 0x41bed3
cmp dword [ebx + 0x10], 0
je 0x41beb8
mov eax, dword [ebp - 0x20]
sub eax, ecx
je 0x41beca
push ecx
mov ecx, dword [ebx + 0x18]
mov edx, eax
call fcn.0041d920
jmp 0x41bec6
mov edx, dword [ebp - 0x20]
push ecx
sub edx, ecx
mov ecx, dword [ebx + 0x18]
call fcn.0041d6d5
mov edx, dword [ebp - 0xc]
pop ecx
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov ecx, edx
and ecx, 0xff00
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
xor eax, eax
cmp dword [ebx + 0x10], eax
cmovne ecx, edx
cmp ecx, dword [ebx + 0x18]
mov ecx, dword [ebp - 4]
je 0x41bf17
mov dword [esi + 0x18], str.incorrect_data_check
jmp 0x41aea3
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebx], 0x1b
xor eax, eax
cmp dword [ebx + 8], eax
je 0x41bf9d
cmp dword [ebx + 0x10], eax
je 0x41bf9d
cmp edi, 0x20
jae 0x41bf66
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x41bfae
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x20
jb 0x41bf3b
xor eax, eax
cmp edx, dword [ebx + 0x1c]
je 0x41bf98
mov dword [esi + 0x18], str.incorrect_length_check
jmp 0x41adf0
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], edi
push 2
jmp 0x41bb36
mov dword [ebp - 0xc], eax
mov edi, eax
mov dword [ebx], 0x1c
xor eax, eax
inc eax
jmp 0x41bfab
push 0xfffffffffffffffd
pop eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov dword [ebx + 0x3c], edi
mov edi, dword [ebp - 0x24]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x38], eax
xor eax, eax
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 8]
mov dword [esi + 0x10], edx
mov dword [esi], ecx
cmp dword [ebx + 0x28], eax
jne 0x41bfe4
cmp dword [ebx], 0x1a
jge 0x41c000
cmp edi, edx
je 0x41c000
mov edx, edi
mov ecx, esi
call fcn.0041abc4
test eax, eax
je 0x41bffe
mov dword [ebx], 0x1e
push 0xfffffffffffffffc
jmp 0x41bb36
xor eax, eax
mov ecx, dword [ebp - 0x38]
sub edi, dword [esi + 0x10]
sub ecx, dword [esi + 4]
add dword [esi + 8], ecx
add dword [esi + 0x14], edi
add dword [ebx + 0x1c], edi
cmp dword [ebx + 8], eax
je 0x41c046
test edi, edi
je 0x41c046
mov edx, dword [esi + 0xc]
cmp dword [ebx + 0x10], eax
je 0x41c032
sub edx, edi
je 0x41c03e
mov ecx, dword [ebx + 0x18]
push edi
call fcn.0041d920
jmp 0x41c03d
mov ecx, dword [ebx + 0x18]
sub edx, edi
push edi
call fcn.0041d6d5
pop ecx
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
xor eax, eax
cmp dword [ebx], 0x13
je 0x41c050
cmp dword [ebx], 0xe
jne 0x41c055
mov eax, 0x100
mov edx, dword [ebx + 4]
mov edi, 0x80
neg edx
push 0xfffffffffffffffb
sbb edx, edx
xor ecx, ecx
and edx, 0x40
cmp dword [ebx], 0xb
cmove ecx, edi
add edx, eax
mov eax, dword [ebp - 0x28]
add ecx, edx
add ecx, dword [ebx + 0x3c]
test eax, eax
mov dword [esi + 0x2c], ecx
pop ecx
cmove eax, ecx
jmp 0x41bb37