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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x10], ecx
push ebx
push esi
push edi
test ecx, ecx
je case.0x4119f0.29
mov esi, dword [ecx + 0x1c]
mov dword [ebp - 0x38], esi
test esi, esi
je case.0x4119f0.29
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x24], eax
test eax, eax
je case.0x4119f0.29
mov eax, dword [ecx]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x4119a4
cmp dword [ecx + 4], eax
jne case.0x4119f0.29
mov eax, dword [esi]
push 0xc
pop edx
cmp eax, 0xb
jne 0x4119b2
mov dword [esi], edx
mov eax, edx
mov edx, dword [ecx + 0x10]
mov ebx, dword [esi + 0x38]
and dword [ebp - 0x2c], 0
mov edi, dword [esi + 0x3c]
mov dword [ebp - 0x1c], edx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 8], edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x44], edx
cmp eax, 0x1d
ja case.0x4119f0.29
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], edi
jmp dword [eax*4 + 0x412c8e]
cmp dword [esi + 8], 0
jne 0x411a05
mov dword [esi], 0xc
jmp 0x411a7e
push 0x10
pop eax
cmp edi, eax
jae 0x411a3e
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bc4
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add edi, 8
push 0x10
inc eax
mov dword [ebp - 0x14], ebx
pop ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], edi
cmp edi, ecx
jb 0x411a0f
mov ecx, dword [ebp - 0x10]
test byte [esi + 8], 2
je 0x411a91
cmp ebx, 0x8b1f
jne 0x411a91
mov byte [ebp - 0x20], bl
lea edx, [ebp - 0x20]
xor edi, edi
shr ebx, 8
push 2
xor ecx, ecx
mov dword [esi + 0x18], edi
mov byte [ebp - 0x1f], bl
call fcn.00411546
pop ecx
mov ecx, dword [ebp - 0x10]
mov ebx, edi
mov dword [esi + 0x18], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov dword [esi], 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
cmp eax, 0x1d
jbe 0x4119ea
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
and dword [esi + 0x10], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x411aa0
or dword [eax + 0x30], 0xffffffff
test byte [esi + 8], 1
je 0x411b38
movzx eax, bl
mov ecx, ebx
shl eax, 8
xor edx, edx
shr ecx, 8
add eax, ecx
push 0x1f
pop ecx
div ecx
test edx, edx
jne 0x411b32
mov eax, ebx
and al, 0xf
cmp al, 8
je 0x411adc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.unknown_compression_method
mov dword [esi], 0x1b
jmp 0x411a7b
shr ebx, 4
sub edi, 4
mov ecx, ebx
mov dword [ebp - 0x14], ebx
and ecx, 0xf
mov dword [ebp - 0x18], edi
add ecx, 8
cmp ecx, dword [esi + 0x24]
jbe 0x411b01
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.invalid_window_size
jmp 0x411ad4
shr ebx, 8
xor edx, edx
inc edx
not ebx
mov eax, edx
mov dword [esi + 0x18], edx
shl eax, cl
and ebx, 2
mov ecx, dword [ebp - 0x10]
or ebx, 9
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [esi], ebx
mov edi, eax
mov ebx, eax
mov dword [ebp - 0x18], edi
mov dword [ecx + 0x30], edx
mov dword [ebp - 0x14], ebx
jmp 0x411a7b
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.incorrect_header_check
mov dword [esi], 0x1b
jmp 0x411a7e
push 0x10
pop eax
cmp edi, eax
jae 0x411b83
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bc4
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add edi, 8
push 0x10
inc eax
mov dword [ebp - 0x14], ebx
pop ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], edi
cmp edi, ecx
jb 0x411b54
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x10], ebx
cmp bl, 8
je 0x411b94
mov dword [ecx + 0x18], str.unknown_compression_method
jmp 0x411b3f
test ebx, 0xe000
je 0x411ba5
mov dword [ecx + 0x18], str.unknown_header_flags_set
jmp 0x411b3f
mov edi, dword [esi + 0x20]
mov ecx, ebx
shr ecx, 8
test edi, edi
je 0x411bb8
mov eax, ecx
and eax, 1
mov dword [edi], eax
test dword [esi + 0x10], 0x200
je 0x411bdb
mov byte [ebp - 0x1f], cl
lea edx, [ebp - 0x20]
mov ecx, dword [esi + 0x18]
push 2
mov byte [ebp - 0x20], bl
call fcn.00411546
mov edx, dword [ebp - 8]
pop ecx
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov ebx, eax
mov dword [esi], 2
mov edi, eax
test edx, edx
je 0x412bc4
movzx eax, byte [ecx]
dec edx
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [ebp - 0xc]
add ebx, eax
inc ecx
cmp edi, 0x20
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
jb 0x411bea
mov eax, dword [esi + 0x20]
test eax, eax
je 0x411c18
mov dword [eax + 4], ebx
test dword [esi + 0x10], 0x200
je 0x411c4e
mov ecx, dword [esi + 0x18]
lea edx, [ebp - 0x20]
mov eax, ebx
mov byte [ebp - 0x20], bl
shr eax, 8
mov byte [ebp - 0x1f], al
mov eax, ebx
shr eax, 0x10
shr ebx, 0x18
push 4
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], bl
call fcn.00411546
mov edx, dword [ebp - 8]
pop ecx
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov ebx, eax
mov dword [esi], 3
mov edi, eax
test edx, edx
je 0x412bc4
movzx eax, byte [ecx]
dec edx
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [ebp - 0xc]
add ebx, eax
push 0x10
pop eax
inc ecx
cmp edi, eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
jb 0x411c5d
mov edi, dword [esi + 0x20]
mov ecx, ebx
shr ecx, 8
test edi, edi
je 0x411c9b
movzx eax, bl
mov dword [edi + 8], eax
mov eax, dword [esi + 0x20]
mov dword [eax + 0xc], ecx
test dword [esi + 0x10], 0x200
je 0x411cbe
mov byte [ebp - 0x1f], cl
lea edx, [ebp - 0x20]
mov ecx, dword [esi + 0x18]
push 2
mov byte [ebp - 0x20], bl
call fcn.00411546
mov edx, dword [ebp - 8]
pop ecx
mov dword [esi + 0x18], eax
xor ecx, ecx
mov dword [esi], 4
mov ebx, ecx
mov edi, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
jmp 0x411cf3
mov edi, dword [ebp - 0x34]
cmp edi, 0x20
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x30], ebx
jmp 0x411c06
mov edi, dword [ebp - 0x3c]
cmp edi, 0x10
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x30], ebx
jmp 0x411c7b
xor ecx, ecx
test dword [esi + 0x10], 0x400
je 0x411d6a
push 0x10
pop eax
cmp edi, eax
jae 0x411d2c
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bc4
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add edi, 8
push 0x10
inc eax
pop ecx
mov dword [ebp - 0xc], eax
cmp edi, ecx
jb 0x411d06
mov eax, dword [esi + 0x20]
mov dword [esi + 0x40], ebx
test eax, eax
je 0x411d39
mov dword [eax + 0x14], ebx
test dword [esi + 0x10], 0x200
je 0x411d5c
mov ecx, dword [esi + 0x18]
lea edx, [ebp - 0x20]
mov byte [ebp - 0x20], bl
shr ebx, 8
push 2
mov byte [ebp - 0x1f], bl
call fcn.00411546
pop ecx
mov dword [esi + 0x18], eax
xor eax, eax
mov ebx, eax
mov edi, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
jmp 0x411d74
mov eax, dword [esi + 0x20]
test eax, eax
je 0x411d74
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 8]
mov dword [esi], 5
test dword [esi + 0x10], 0x400
je 0x411e3b
mov eax, dword [esi + 0x40]
mov ecx, edx
cmp eax, edx
cmovbe ecx, eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x411e33
cmp dword [esi + 0x20], 0
mov edx, dword [ebp - 8]
mov dword [ebp - 0x34], eax
je 0x411dfe
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x34], eax
mov ecx, dword [ecx + 0x10]
test ecx, ecx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x30]
je 0x411dfe
mov edx, dword [esi + 0x20]
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
sub ecx, eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
add eax, ecx
cmp eax, edx
mov eax, dword [ebp - 0x34]
jbe 0x411ddf
sub edx, eax
jmp 0x411de1
mov edx, ecx
add eax, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0xc]
push edx
push eax
call fcn.0041ca60
mov eax, dword [esi + 0x40]
add esp, 0xc
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
test dword [esi + 0x10], 0x200
je 0x411e20
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x411e1a
push ecx
mov ecx, dword [esi + 0x18]
mov edx, eax
call fcn.00411546
pop ecx
mov edx, dword [ebp - 8]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 0x30]
sub edx, ecx
mov eax, dword [ebp - 0x34]
add dword [ebp - 0xc], ecx
sub eax, ecx
mov dword [ebp - 8], edx
mov dword [esi + 0x40], eax
test eax, eax
jne 0x412bc4
xor ecx, ecx
mov dword [esi], 6
mov dword [esi + 0x40], ecx
jmp 0x411e4a
xor ecx, ecx
test dword [esi + 0x10], 0x800
je 0x411ee0
test edx, edx
je 0x412bc4
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov cl, byte [eax + ecx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x411e92
mov edi, dword [ecx + 0x1c]
mov dword [ebp - 0x34], edi
test edi, edi
je 0x411e92
mov edi, dword [esi + 0x40]
cmp edi, dword [ecx + 0x20]
jae 0x411e92
mov bl, byte [ebp - 1]
mov ecx, edi
mov edi, dword [ebp - 0x34]
mov byte [ecx + edi], bl
inc dword [esi + 0x40]
cmp byte [ebp - 1], 0
je 0x411e9c
cmp eax, edx
jb 0x411e61
test dword [esi + 0x10], 0x200
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
je 0x411ecc
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x411ec9
mov edx, ecx
mov ecx, dword [esi + 0x18]
push eax
call fcn.00411546
mov edx, dword [ebp - 8]
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x18], ecx
add dword [ebp - 0xc], eax
sub edx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 8], edx
jne 0x412bc4
jmp 0x411eea
mov eax, dword [esi + 0x20]
test eax, eax
je 0x411eea
mov dword [eax + 0x1c], ecx
xor ecx, ecx
mov dword [esi], 7
mov dword [esi + 0x40], ecx
jmp 0x411ef9
xor ecx, ecx
test dword [esi + 0x10], 0x1000
je 0x411f8f
test edx, edx
je 0x412bc4
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov cl, byte [eax + ecx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x411f41
mov edi, dword [ecx + 0x24]
mov dword [ebp - 0x34], edi
test edi, edi
je 0x411f41
mov edi, dword [esi + 0x40]
cmp edi, dword [ecx + 0x28]
jae 0x411f41
mov bl, byte [ebp - 1]
mov ecx, edi
mov edi, dword [ebp - 0x34]
mov byte [ecx + edi], bl
inc dword [esi + 0x40]
cmp byte [ebp - 1], 0
je 0x411f4b
cmp eax, edx
jb 0x411f10
test dword [esi + 0x10], 0x200
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
je 0x411f7b
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x411f78
mov edx, ecx
mov ecx, dword [esi + 0x18]
push eax
call fcn.00411546
mov edx, dword [ebp - 8]
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x18], ecx
add dword [ebp - 0xc], eax
sub edx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 8], edx
jne 0x412bc4
jmp 0x411f99
mov eax, dword [esi + 0x20]
test eax, eax
je 0x411f99
mov dword [eax + 0x24], ecx
mov dword [esi], 8
mov eax, dword [esi + 0x10]
test eax, 0x200
je 0x412005
push 0x10
pop eax
cmp edi, eax
jae 0x411fdf
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bc4
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add edi, 8
push 0x10
inc eax
mov dword [ebp - 0x14], ebx
pop ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], edi
cmp edi, ecx
jb 0x411fb3
movzx eax, word [esi + 0x18]
cmp ebx, eax
je 0x411ff6
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.header_crc_mismatch
jmp 0x411b3f
xor eax, eax
mov ebx, eax
mov edi, eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41201f
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 0x20]
mov dword [eax + 0x30], 1
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [esi], 0xb
jmp 0x411a7e
cmp edi, 0x20
jae 0x412061
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bc4
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add edi, 8
inc eax
mov dword [ebp - 0xc], eax
cmp edi, 0x20
jb 0x41203d
mov ecx, ebx
mov dword [esi], 0xa
mov edi, 0xff00
mov eax, ebx
shl eax, 0x10
and ecx, edi
add ecx, eax
mov eax, ebx
shr eax, 8
and eax, edi
shl ecx, 8
add eax, ecx
shr ebx, 0x18
mov ecx, dword [ebp - 0x10]
add eax, ebx
mov dword [esi + 0x18], eax
mov dword [ecx + 0x30], eax
xor eax, eax
mov ebx, eax
mov edi, eax
jmp 0x41209b
xor eax, eax
cmp dword [esi + 0xc], eax
je 0x412b89
mov dword [esi + 0x18], 1
mov dword [ecx + 0x30], 1
mov dword [esi], 0xb
jmp 0x4120bc
xor eax, eax
cmp dword [esi + 4], eax
je 0x4120de
mov ecx, edi
mov dword [esi], 0x18
and ecx, 7
shr ebx, cl
sub edi, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov ecx, dword [ebp - 0x10]
jmp 0x411a7e
cmp edi, 3
jae 0x41210d
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bc4
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add edi, 8
inc eax
mov dword [ebp - 0xc], eax
cmp edi, 3
jb 0x4120e6
mov ecx, dword [ebp - 0x10]
mov eax, ebx
shr ebx, 1
and eax, 1
mov dword [esi + 4], eax
mov eax, ebx
and eax, 3
sub eax, 0
je 0x41216b
sub eax, 1
je 0x412147
sub eax, 1
je 0x41213f
sub eax, 1
jne 0x412171
mov dword [ecx + 0x18], str.invalid_block_type
mov dword [esi], 0x1b
jmp 0x412171
mov dword [esi], 0xf
jmp 0x412171
mov dword [esi + 0x4c], 0x45ec40
mov dword [esi + 0x54], 9
mov dword [esi + 0x50], 0x45f440
mov dword [esi + 0x58], 5
mov dword [esi], 0x12
jmp 0x412171
mov dword [esi], 0xd
shr ebx, 2
sub edi, 3
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
jmp 0x411a7e
mov ecx, edi
and ecx, 7
sub edi, ecx
shr ebx, cl
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
cmp edi, 0x20
jae 0x4121c3
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bc4
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add edi, 8
inc eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], edi
cmp edi, 0x20
jb 0x412199
mov eax, ebx
movzx ecx, bx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x4121e0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.invalid_stored_block_lengths
jmp 0x411b3f
xor eax, eax
mov dword [esi + 0x40], ecx
mov ecx, dword [ebp - 0x10]
mov ebx, eax
mov edi, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov dword [esi], 0xe
cmp dword [esi + 0x40], 0
je 0x41202a
cmp dword [esi + 0x40], edx
mov eax, edx
cmovbe eax, dword [esi + 0x40]
cmp eax, dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x412bc4
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x24]
call fcn.0041ca60
mov eax, dword [ebp - 0x3c]
add esp, 0xc
mov edx, dword [ebp - 8]
add dword [ebp - 0xc], eax
sub edx, eax
sub dword [ebp - 0x1c], eax
add dword [ebp - 0x24], eax
sub dword [esi + 0x40], eax
mov dword [ebp - 8], edx
jmp 0x4120d6
cmp edi, 0xe
jae 0x412274
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bc4
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add edi, 8
inc eax
mov dword [ebp - 0xc], eax
cmp edi, 0xe
jb 0x412250
mov eax, ebx
sub edi, 0xe
shr ebx, 5
push 0x1f
pop ecx
and ecx, eax
mov dword [ebp - 0x18], edi
mov eax, ebx
add ecx, 0x101
and eax, 0x1f
shr ebx, 5
inc eax
mov dword [esi + 0x60], ecx
mov dword [ebp - 0x3c], eax
mov dword [esi + 0x64], eax
mov eax, ebx
and eax, 0xf
shr ebx, 4
add eax, 4
mov dword [ebp - 0x14], ebx
mov dword [esi + 0x5c], eax
cmp ecx, 0x11e
ja 0x4122c6
cmp dword [ebp - 0x3c], 0x1e
ja 0x4122c6
and dword [esi + 0x68], 0
push 0x10
pop eax
mov dword [esi], eax
jmp case.0x4119f0.16
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.too_many_length_or_distance_symbols
jmp 0x411b3f
cmp edi, 3
jae 0x412301
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bc4
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add edi, 8
inc eax
mov dword [ebp - 0xc], eax
cmp edi, 3
jb 0x4122dd
mov eax, dword [esi + 0x68]
mov ecx, ebx
and ecx, 7
shr ebx, 3
mov dword [ebp - 0x14], ebx
movzx eax, word [eax*2 + 0x45f4c0]
mov word [esi + eax*2 + 0x70], cx
inc dword [esi + 0x68]
sub edi, 3
mov dword [ebp - 0x18], edi
mov eax, dword [esi + 0x68]
cmp eax, dword [esi + 0x5c]
jb 0x4122d5
jmp 0x412345
movzx eax, word [eax*2 + 0x45f4c0]
xor ecx, ecx
mov word [esi + eax*2 + 0x70], cx
mov eax, dword [esi + 0x68]
inc eax
mov dword [esi + 0x68], eax
cmp eax, 0x13
jb 0x41232f
lea eax, [esi + 0x530]
lea ecx, [esi + 0x6c]
mov dword [esi + 0x4c], eax
mov dword [ecx], eax
lea edx, [esi + 0x54]
lea eax, [esi + 0x2f0]
mov dword [edx], 7
push eax
push edx
push ecx
push 0x13
lea edx, [esi + 0x70]
xor ecx, ecx
call fcn.004145e6
mov ecx, dword [ebp - 0x10]
add esp, 0x10
mov edx, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x412392
mov dword [ecx + 0x18], str.invalid_code_lengths_set
jmp 0x411b3f
and dword [esi + 0x68], 0
push 0x11
pop eax
mov dword [esi], eax
mov eax, dword [esi + 0x64]
add eax, dword [esi + 0x60]
cmp dword [esi + 0x68], eax
jae 0x4125d3
mov ecx, dword [esi + 0x54]
xor eax, eax
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x3c], eax
jmp 0x4123d9
test edx, edx
je 0x412bc4
mov eax, dword [ebp - 0xc]
mov ecx, edi
dec edx
mov dword [ebp - 8], edx
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
add edi, 8
mov ecx, dword [esi + 0x4c]
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x30], eax
cmp ecx, edi
ja 0x4123b8
mov ecx, eax
shr ecx, 0x10
cmp cx, word [ebp - 0x40]
jae 0x41244e
shr eax, 8
movzx eax, al
mov dword [ebp - 0x3c], eax
jmp 0x412427
test edx, edx
je 0x412bc4
mov eax, dword [ebp - 0xc]
mov ecx, edi
dec edx
mov dword [ebp - 8], edx
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
add edi, 8
cmp edi, eax
jb 0x412406
mov ecx, eax
sub edi, eax
mov ax, word [ebp - 0x2e]
shr ebx, cl
mov ecx, dword [esi + 0x68]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov word [esi + ecx*2 + 0x70], ax
inc dword [esi + 0x68]
mov ecx, dword [esi + 0x68]
jmp 0x41259b
push 0x10
pop ecx
cmp word [ebp - 0x2e], cx
jne 0x4124c3
movzx eax, ah
mov dword [ebp - 0x34], eax
lea ecx, [eax + 2]
mov dword [ebp - 0x3c], ecx
cmp edi, ecx
jae 0x412491
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bc4
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add edi, 8
inc eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0x3c]
jb 0x41246a
mov eax, dword [ebp - 0x34]
mov ecx, eax
sub edi, eax
mov eax, dword [esi + 0x68]
shr ebx, cl
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
test eax, eax
je 0x4125af
movzx eax, word [esi + eax*2 + 0x6e]
mov edx, ebx
and edx, 3
shr ebx, 2
add edx, 3
mov dword [ebp - 0x34], eax
sub edi, 2
jmp 0x412566
push 0x11
pop ecx
cmp word [ebp - 0x2e], cx
movzx ecx, ah
jne 0x412517
lea eax, [ecx + 3]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], eax
cmp edi, eax
jae 0x412506
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bc4
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add edi, 8
inc eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0x3c]
jb 0x4124df
mov ecx, dword [ebp - 0x34]
shr ebx, cl
mov edx, ebx
and edx, 7
add edx, 3
shr ebx, 3
push 0xfffffffffffffffd
jmp 0x41255d
lea eax, [ecx + 7]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], eax
cmp edi, eax
jae 0x41254e
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bc4
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add edi, 8
inc eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0x3c]
jb 0x412527
mov ecx, dword [ebp - 0x34]
shr ebx, cl
mov edx, ebx
and edx, 0x7f
add edx, 0xb
shr ebx, 7
push 0xfffffffffffffff9
pop eax
sub eax, ecx
add edi, eax
and dword [ebp - 0x34], 0
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
lea ecx, [eax + edx]
mov eax, dword [esi + 0x64]
add eax, dword [esi + 0x60]
cmp ecx, eax
ja 0x4125c3
mov ecx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x34]
mov word [esi + ecx*2 + 0x70], di
mov ecx, dword [esi + 0x68]
lea ecx, [ecx + 1]
mov dword [esi + 0x68], ecx
sub edx, 1
jne 0x412585
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 0x64]
mov edx, dword [esi + 0x60]
add eax, edx
cmp ecx, eax
jae 0x4125be
mov edx, dword [ebp - 8]
jmp 0x4123aa
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
jmp 0x411b3f
mov ecx, dword [ebp - 0x10]
jmp 0x4125d6
mov ecx, dword [ebp - 0x10]
mov dword [esi], 0x1b
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
mov edx, dword [esi + 0x60]
cmp dword [esi], 0x1b
je 0x411a7b
lea eax, [esi + 0x530]
mov dword [esi + 0x54], 9
lea ecx, [esi + 0x6c]
mov dword [esi + 0x4c], eax
mov dword [ecx], eax
lea eax, [esi + 0x2f0]
push eax
lea eax, [esi + 0x54]
push eax
push ecx
xor ecx, ecx
push edx
lea edx, [esi + 0x70]
inc ecx
call fcn.004145e6
add esp, 0x10
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x412625
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.invalid_literal_lengths_set
jmp 0x411ad4
lea ecx, [esi + 0x6c]
mov eax, dword [ecx]
lea edx, [esi + 0x58]
mov dword [esi + 0x50], eax
lea eax, [esi + 0x2f0]
push eax
mov eax, dword [esi + 0x60]
push edx
push ecx
push dword [esi + 0x64]
add eax, 0x38
mov dword [edx], 6
push 2
pop ecx
lea edx, [esi + eax*2]
call fcn.004145e6
mov ecx, dword [ebp - 0x10]
add esp, 0x10
mov edx, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x41266f
mov dword [ecx + 0x18], str.invalid_distances_set
jmp 0x411b3f
mov dword [esi], 0x12
cmp edx, 6
jb 0x4126cb
mov eax, dword [ebp - 0x1c]
cmp eax, 0x102
jb 0x4126cb
mov esi, dword [ebp - 0x24]
mov dword [ecx + 0xc], esi
mov esi, dword [ebp - 0x38]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x28]
mov dword [ecx], eax
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], edi
call fcn.004149f8
mov ecx, dword [ebp - 0x10]
mov ebx, dword [esi + 0x38]
mov edi, dword [esi + 0x3c]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
jmp 0x412177
mov ecx, dword [esi + 0x54]
xor eax, eax
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x3c], eax
jmp 0x4126fa
test edx, edx
je 0x412bc4
mov eax, dword [ebp - 0xc]
mov ecx, edi
dec edx
mov dword [ebp - 8], edx
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
add edi, 8
mov ecx, dword [esi + 0x4c]
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x4126d9
test al, al
je 0x412798
test al, 0xf0
jne 0x412798
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov dword [ebp - 0x18], edx
movzx ecx, al
add ecx, edx
shr eax, 0x10
xor edx, edx
mov dword [ebp - 0x34], eax
inc edx
shl edx, cl
lea ecx, [edx - 1]
mov edx, ecx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x18]
and edx, ebx
shr edx, cl
mov ecx, dword [esi + 0x4c]
add edx, eax
mov eax, dword [ecx + edx*4]
mov edx, dword [ebp - 8]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, dword [ebp - 0x18]
cmp ecx, edi
jbe 0x412791
test edx, edx
je 0x412bc4
mov eax, dword [ebp - 0xc]
mov ecx, edi
dec edx
add edi, 8
mov dword [ebp - 8], edx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebp - 0x18]
add ebx, eax
mov eax, dword [ebp - 0x3c]
inc dword [ebp - 0xc]
and eax, ebx
shr eax, cl
add eax, dword [ebp - 0x34]
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + eax*4]
jmp 0x41274f
mov ecx, dword [ebp - 0x18]
shr ebx, cl
sub edi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub edi, ecx
mov ecx, eax
mov dword [ebp - 0x14], ebx
shr ecx, 0x10
mov dword [ebp - 0x18], edi
mov dword [esi + 0x40], ecx
test al, al
jne 0x4127c1
mov dword [esi], 0x17
jmp 0x4120d6
test al, 0x20
je 0x4127d0
mov dword [esi], 0xb
jmp 0x4120d6
test al, 0x40
je 0x4127e3
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.invalid_literal_length_code
jmp 0x411b3f
movzx eax, al
and eax, 0xf
mov dword [esi], 0x13
mov dword [esi + 0x48], eax
mov edx, dword [esi + 0x48]
test edx, edx
je 0x412831
jmp 0x41281c
mov eax, dword [ebp - 8]
test eax, eax
je 0x412bc7
dec eax
mov ecx, edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [ebp - 0xc]
add edi, 8
cmp edi, edx
jb 0x4127fb
xor eax, eax
mov ecx, edx
inc eax
shl eax, cl
dec eax
and eax, ebx
shr ebx, cl
add dword [esi + 0x40], eax
sub edi, edx
mov edx, dword [ebp - 8]
mov dword [esi], 0x14
mov ecx, dword [esi + 0x58]
xor eax, eax
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x3c], eax
jmp 0x412869
test edx, edx
je 0x412bc4
mov eax, dword [ebp - 0xc]
mov ecx, edi
dec edx
mov dword [ebp - 8], edx
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
add edi, 8
mov ecx, dword [esi + 0x50]
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x412848
test al, 0xf0
jne 0x4128ff
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov dword [ebp - 0x34], edx
movzx ecx, al
add ecx, edx
shr eax, 0x10
xor edx, edx
mov dword [ebp - 0x30], eax
inc edx
shl edx, cl
lea ecx, [edx - 1]
mov edx, ecx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x34]
and edx, ebx
shr edx, cl
mov ecx, dword [esi + 0x50]
add edx, eax
mov eax, dword [ecx + edx*4]
mov edx, dword [ebp - 0x34]
jmp 0x4128eb
mov eax, dword [ebp - 8]
test eax, eax
je 0x412bc7
dec eax
mov ecx, edi
mov dword [ebp - 8], eax
add edi, 8
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
shl eax, cl
mov ecx, edx
add ebx, eax
mov eax, dword [ebp - 0x3c]
inc dword [ebp - 0xc]
and eax, ebx
shr eax, cl
add eax, dword [ebp - 0x30]
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edx
cmp ecx, edi
ja 0x4128b8
mov ecx, edx
shr ebx, cl
sub edi, edx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub edi, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
test al, 0x40
je 0x412924
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.invalid_distance_code
jmp 0x411ad4
mov ecx, eax
mov dword [esi], 0x15
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], eax
mov edx, dword [esi + 0x48]
test edx, edx
je 0x412980
jmp 0x412965
mov eax, dword [ebp - 8]
test eax, eax
je 0x412bc7
dec eax
mov ecx, edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [ebp - 0xc]
add edi, 8
cmp edi, edx
jb 0x412944
xor eax, eax
mov ecx, edx
inc eax
shl eax, cl
dec eax
and eax, ebx
shr ebx, cl
add dword [esi + 0x44], eax
sub edi, edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov eax, dword [esi + 0x2c]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
add eax, ecx
cmp dword [esi + 0x44], eax
jbe 0x41299f
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.invalid_distance_too_far_back
jmp 0x411ad4
mov dword [esi], 0x16
jmp 0x4129aa
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x412bc4
sub ecx, eax
mov eax, dword [esi + 0x44]
cmp eax, ecx
jbe 0x4129ea
sub eax, ecx
cmp eax, dword [esi + 0x30]
jbe 0x4129d2
sub eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x28]
sub ecx, eax
add ecx, dword [esi + 0x34]
jmp 0x4129da
mov ecx, dword [esi + 0x34]
sub ecx, eax
add ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x40]
cmp eax, edx
mov dword [ebp - 0x34], edx
cmovbe edx, eax
mov eax, dword [ebp - 0x34]
jmp 0x4129f4
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [esi + 0x40]
mov edx, eax
cmp edx, dword [ebp - 0x1c]
cmova edx, dword [ebp - 0x1c]
sub dword [ebp - 0x1c], edx
sub eax, edx
mov dword [esi + 0x40], eax
mov esi, dword [ebp - 0x24]
sub ecx, esi
mov al, byte [ecx + esi]
mov byte [esi], al
inc esi
sub edx, 1
jne 0x412a08
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x38]
cmp dword [esi + 0x40], 0
jne 0x411a7e
mov dword [esi], 0x12
jmp 0x411a7e
cmp dword [ebp - 0x1c], 0
je 0x412bc4
mov edx, dword [ebp - 0x24]
mov al, byte [esi + 0x40]
inc dword [ebp - 0x24]
dec dword [ebp - 0x1c]
mov byte [edx], al
mov dword [esi], 0x12
jmp 0x411a7b
cmp dword [esi + 8], 0
je 0x412b33
cmp edi, 0x20
jae 0x412a96
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bc4
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add edi, 8
inc eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], edi
cmp edi, 0x20
jb 0x412a69
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x1c]
add dword [ecx + 0x14], eax
add dword [esi + 0x1c], eax
mov dword [ebp - 0x28], eax
test eax, eax
je 0x412ae2
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
cmp dword [esi + 0x10], 0
je 0x412ac8
test eax, eax
je 0x412adc
push dword [ebp - 0x28]
mov ecx, dword [esi + 0x18]
mov edx, eax
call fcn.00411546
jmp 0x412ad5
push dword [ebp - 0x28]
mov ecx, dword [esi + 0x18]
mov edx, eax
call fcn.004143a6
mov edx, dword [ebp - 8]
pop ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x18], eax
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
mov dword [ebp - 0x28], eax
and ecx, 0xff00
mov eax, ebx
shl eax, 0x10
add ecx, eax
mov eax, ebx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
mov eax, ebx
shr eax, 0x18
add ecx, eax
xor eax, eax
cmp dword [esi + 0x10], eax
cmovne ecx, ebx
cmp ecx, dword [esi + 0x18]
je 0x412b29
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.incorrect_data_check
jmp 0x411b3f
mov ebx, eax
mov edi, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov dword [esi], 0x19
xor eax, eax
cmp dword [esi + 8], eax
je 0x412bae
cmp dword [esi + 0x10], eax
je 0x412bae
cmp edi, 0x20
jae 0x412b75
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bc4
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add edi, 8
inc eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], edi
cmp edi, 0x20
jb 0x412b4d
xor eax, eax
cmp ebx, dword [esi + 0x1c]
je 0x412baa
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.incorrect_length_check
jmp 0x411b3f
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], edi
push 2
jmp 0x411a8b
mov ebx, eax
mov edi, eax
mov dword [esi], 0x1a
mov dword [ebp - 0x2c], 1
jmp 0x412bc4
mov dword [ebp - 0x2c], 0xfffffffd
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov dword [esi + 0x38], ebx
xor ebx, ebx
mov dword [esi + 0x3c], edi
mov edi, dword [ebp - 0x28]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov dword [ecx + 4], eax
cmp dword [esi + 0x28], ebx
jne 0x412bf8
cmp dword [esi], 0x18
jge 0x412c13
cmp edi, dword [ebp - 0x1c]
je 0x412c13
mov edx, edi
call fcn.00411881
test eax, eax
je 0x412c10
mov dword [esi], 0x1c
push 0xfffffffffffffffc
jmp 0x411a8b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x44]
sub edi, dword [ecx + 0x10]
sub eax, dword [ecx + 4]
add dword [ecx + 8], eax
add dword [ecx + 0x14], edi
add dword [esi + 0x1c], edi
cmp dword [esi + 8], ebx
je 0x412c5b
test edi, edi
je 0x412c5b
mov edx, dword [ecx + 0xc]
mov ecx, dword [esi + 0x18]
sub edx, edi
cmp dword [esi + 0x10], ebx
je 0x412c47
test edx, edx
je 0x412c50
push edi
call fcn.00411546
jmp 0x412c4d
push edi
call fcn.004143a6
mov ebx, eax
pop ecx
mov edi, dword [ebp - 0x10]
mov dword [esi + 0x18], ebx
mov dword [edi + 0x30], ebx
jmp 0x412c5e
mov edi, dword [ebp - 0x10]
mov edx, dword [esi + 4]
mov eax, 0x80
neg edx
push 0xfffffffffffffffb
sbb edx, edx
xor ecx, ecx
and edx, 0x40
cmp dword [esi], 0xb
cmove ecx, eax
mov eax, dword [ebp - 0x2c]
add edx, ecx
add edx, dword [esi + 0x3c]
test eax, eax
pop ecx
mov dword [edi + 0x2c], edx
cmove eax, ecx
jmp 0x411a8c