Function at 0x411982
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.0x411a10.29
mov esi, dword [ecx + 0x1c]
mov dword [ebp - 0x38], esi
test esi, esi
je case.0x411a10.29
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x24], eax
test eax, eax
je case.0x411a10.29
mov eax, dword [ecx]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x4119c4
cmp dword [ecx + 4], eax
jne case.0x411a10.29
mov eax, dword [esi]
push 0xc
pop edx
cmp eax, 0xb
jne 0x4119d2
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.0x411a10.29
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], edi
jmp dword [eax*4 + 0x412ca6]
cmp dword [esi + 8], 0
jne 0x411a25
mov dword [esi], 0xc
jmp 0x411a9e
push 0x10
pop eax
cmp edi, eax
jae 0x411a5e
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bda
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 0x411a2f
mov ecx, dword [ebp - 0x10]
test byte [esi + 8], 2
je 0x411ab1
cmp ebx, 0x8b1f
jne 0x411ab1
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.00411566
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 0x411a0a
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 0x411ac0
or dword [eax + 0x30], 0xffffffff
test byte [esi + 8], 1
je 0x411b58
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 0x411b52
mov eax, ebx
and al, 0xf
cmp al, 8
je 0x411afc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.unknown_compression_method
mov dword [esi], 0x1b
jmp 0x411a9b
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 0x411b21
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.invalid_window_size
jmp 0x411af4
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 0x411a9b
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.incorrect_header_check
mov dword [esi], 0x1b
jmp 0x411a9e
push 0x10
pop eax
cmp edi, eax
jae 0x411ba3
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bda
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 0x411b74
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x10], ebx
cmp bl, 8
je 0x411bb4
mov dword [ecx + 0x18], str.unknown_compression_method
jmp 0x411b5f
test ebx, 0xe000
je 0x411bc5
mov dword [ecx + 0x18], str.unknown_header_flags_set
jmp 0x411b5f
mov edi, dword [esi + 0x20]
mov ecx, ebx
shr ecx, 8
test edi, edi
je 0x411bd8
mov eax, ecx
and eax, 1
mov dword [edi], eax
test dword [esi + 0x10], 0x200
je 0x411bfb
mov byte [ebp - 0x1f], cl
lea edx, [ebp - 0x20]
mov ecx, dword [esi + 0x18]
push 2
mov byte [ebp - 0x20], bl
call fcn.00411566
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 0x412bda
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 0x411c0a
mov eax, dword [esi + 0x20]
test eax, eax
je 0x411c38
mov dword [eax + 4], ebx
test dword [esi + 0x10], 0x200
je 0x411c6e
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.00411566
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 0x412bda
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 0x411c7d
mov edi, dword [esi + 0x20]
mov ecx, ebx
shr ecx, 8
test edi, edi
je 0x411cbb
movzx eax, bl
mov dword [edi + 8], eax
mov eax, dword [esi + 0x20]
mov dword [eax + 0xc], ecx
test dword [esi + 0x10], 0x200
je 0x411cde
mov byte [ebp - 0x1f], cl
lea edx, [ebp - 0x20]
mov ecx, dword [esi + 0x18]
push 2
mov byte [ebp - 0x20], bl
call fcn.00411566
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 0x411d13
mov edi, dword [ebp - 0x34]
cmp edi, 0x20
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x30], ebx
jmp 0x411c26
mov edi, dword [ebp - 0x3c]
cmp edi, 0x10
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x30], ebx
jmp 0x411c9b
xor ecx, ecx
test dword [esi + 0x10], 0x400
je 0x411d8a
push 0x10
pop eax
cmp edi, eax
jae 0x411d4c
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bda
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 0x411d26
mov eax, dword [esi + 0x20]
mov dword [esi + 0x40], ebx
test eax, eax
je 0x411d59
mov dword [eax + 0x14], ebx
test dword [esi + 0x10], 0x200
je 0x411d7c
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.00411566
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 0x411d94
mov eax, dword [esi + 0x20]
test eax, eax
je 0x411d94
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 8]
mov dword [esi], 5
test dword [esi + 0x10], 0x400
je 0x411e5b
mov eax, dword [esi + 0x40]
mov ecx, edx
cmp eax, edx
cmovbe ecx, eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x411e53
cmp dword [esi + 0x20], 0
mov edx, dword [ebp - 8]
mov dword [ebp - 0x34], eax
je 0x411e1e
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 0x411e1e
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 0x411dff
sub edx, eax
jmp 0x411e01
mov edx, ecx
add eax, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0xc]
push edx
push eax
call fcn.0041ca70
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 0x411e40
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x411e3a
push ecx
mov ecx, dword [esi + 0x18]
mov edx, eax
call fcn.00411566
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 0x412bda
xor ecx, ecx
mov dword [esi], 6
mov dword [esi + 0x40], ecx
jmp 0x411e6a
xor ecx, ecx
test dword [esi + 0x10], 0x800
je 0x411f00
test edx, edx
je 0x412bda
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 0x411eb2
mov edi, dword [ecx + 0x1c]
mov dword [ebp - 0x34], edi
test edi, edi
je 0x411eb2
mov edi, dword [esi + 0x40]
cmp edi, dword [ecx + 0x20]
jae 0x411eb2
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 0x411ebc
cmp eax, edx
jb 0x411e81
test dword [esi + 0x10], 0x200
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
je 0x411eec
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x411ee9
mov edx, ecx
mov ecx, dword [esi + 0x18]
push eax
call fcn.00411566
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 0x412bda
jmp 0x411f0a
mov eax, dword [esi + 0x20]
test eax, eax
je 0x411f0a
mov dword [eax + 0x1c], ecx
xor ecx, ecx
mov dword [esi], 7
mov dword [esi + 0x40], ecx
jmp 0x411f19
xor ecx, ecx
test dword [esi + 0x10], 0x1000
je 0x411faf
test edx, edx
je 0x412bda
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 0x411f61
mov edi, dword [ecx + 0x24]
mov dword [ebp - 0x34], edi
test edi, edi
je 0x411f61
mov edi, dword [esi + 0x40]
cmp edi, dword [ecx + 0x28]
jae 0x411f61
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 0x411f6b
cmp eax, edx
jb 0x411f30
test dword [esi + 0x10], 0x200
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
je 0x411f9b
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x411f98
mov edx, ecx
mov ecx, dword [esi + 0x18]
push eax
call fcn.00411566
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 0x412bda
jmp 0x411fb9
mov eax, dword [esi + 0x20]
test eax, eax
je 0x411fb9
mov dword [eax + 0x24], ecx
mov dword [esi], 8
mov eax, dword [esi + 0x10]
test eax, 0x200
je 0x412025
push 0x10
pop eax
cmp edi, eax
jae 0x411fff
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bda
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 0x411fd3
movzx eax, word [esi + 0x18]
cmp ebx, eax
je 0x412016
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.header_crc_mismatch
jmp 0x411b5f
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 0x41203f
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 0x411a9e
cmp edi, 0x20
jae 0x412081
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bda
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 0x41205d
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 0x4120bb
xor eax, eax
cmp dword [esi + 0xc], eax
je 0x412b9f
mov dword [esi + 0x18], 1
mov dword [ecx + 0x30], 1
mov dword [esi], 0xb
jmp 0x4120dc
xor eax, eax
cmp dword [esi + 4], eax
je 0x4120fe
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 0x411a9e
cmp edi, 3
jae 0x41212d
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bda
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 0x412106
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 0x41218b
sub eax, 1
je 0x412167
sub eax, 1
je 0x41215f
sub eax, 1
jne 0x412191
mov dword [ecx + 0x18], str.invalid_block_type
mov dword [esi], 0x1b
jmp 0x412191
mov dword [esi], 0xf
jmp 0x412191
mov dword [esi + 0x4c], 0x45ec50
mov dword [esi + 0x54], 9
mov dword [esi + 0x50], 0x45f450
mov dword [esi + 0x58], 5
mov dword [esi], 0x12
jmp 0x412191
mov dword [esi], 0xd
shr ebx, 2
sub edi, 3
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
jmp 0x411a9e
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 0x4121e3
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bda
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 0x4121b9
mov eax, ebx
movzx ecx, bx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x412200
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.invalid_stored_block_lengths
jmp 0x411b5f
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 0x41204a
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 0x412bda
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x24]
call fcn.0041ca70
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 0x4120f6
cmp edi, 0xe
jae 0x412294
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bda
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 0x412270
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 0x4122e6
cmp dword [ebp - 0x3c], 0x1e
ja 0x4122e6
and dword [esi + 0x68], 0
push 0x10
pop eax
mov dword [esi], eax
jmp case.0x411a10.16
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.too_many_length_or_distance_symbols
jmp 0x411b5f
cmp edi, 3
jae 0x412321
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bda
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 0x4122fd
mov eax, dword [esi + 0x68]
mov ecx, ebx
and ecx, 7
shr ebx, 3
mov dword [ebp - 0x14], ebx
movzx eax, word [eax*2 + 0x45f4d0]
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 0x4122f5
jmp 0x412365
movzx eax, word [eax*2 + 0x45f4d0]
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 0x41234f
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.004145fe
mov ecx, dword [ebp - 0x10]
add esp, 0x10
mov edx, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4123b2
mov dword [ecx + 0x18], str.invalid_code_lengths_set
jmp 0x411b5f
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 0x4125f2
mov ecx, dword [esi + 0x54]
xor eax, eax
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x3c], eax
jmp 0x4123f9
test edx, edx
je 0x412bda
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 0x4123d8
mov ecx, eax
shr ecx, 0x10
cmp cx, word [ebp - 0x40]
jae 0x41246e
shr eax, 8
movzx eax, al
mov dword [ebp - 0x3c], eax
jmp 0x412447
test edx, edx
je 0x412bda
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 0x412426
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 0x4125ba
push 0x10
pop ecx
cmp word [ebp - 0x2e], cx
jne 0x4124e3
movzx eax, ah
mov dword [ebp - 0x34], eax
lea ecx, [eax + 2]
mov dword [ebp - 0x3c], ecx
cmp edi, ecx
jae 0x4124b1
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bda
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 0x41248a
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 0x4125ce
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 0x412586
push 0x11
pop ecx
cmp word [ebp - 0x2e], cx
movzx ecx, ah
jne 0x412537
lea eax, [ecx + 3]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], eax
cmp edi, eax
jae 0x412526
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bda
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 0x4124ff
mov ecx, dword [ebp - 0x34]
shr ebx, cl
mov edx, ebx
and edx, 7
add edx, 3
shr ebx, 3
push 0xfffffffffffffffd
jmp 0x41257d
lea eax, [ecx + 7]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], eax
cmp edi, eax
jae 0x41256e
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bda
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 0x412547
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 ecx, dword [esi + 0x64]
add ecx, dword [esi + 0x60]
mov dword [ebp - 0x3c], eax
add eax, edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
cmp eax, ecx
ja 0x4125e2
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 0x4125a4
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 0x64]
mov edx, dword [esi + 0x60]
add eax, edx
cmp ecx, eax
jae 0x4125dd
mov edx, dword [ebp - 8]
jmp 0x4123ca
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
jmp 0x411b5f
mov ecx, dword [ebp - 0x10]
jmp 0x4125f5
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 0x411a9b
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.004145fe
add esp, 0x10
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x412644
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.invalid_literal_lengths_set
jmp 0x411af4
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.004145fe
mov ecx, dword [ebp - 0x10]
add esp, 0x10
mov edx, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x41268e
mov dword [ecx + 0x18], str.invalid_distances_set
jmp 0x411b5f
mov dword [esi], 0x12
cmp edx, 6
jb 0x4126ea
mov eax, dword [ebp - 0x1c]
cmp eax, 0x102
jb 0x4126ea
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.00414a10
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 0x412197
mov ecx, dword [esi + 0x54]
xor eax, eax
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x3c], eax
jmp 0x412719
test edx, edx
je 0x412bda
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 0x4126f8
test al, al
je 0x4127b7
test al, 0xf0
jne 0x4127b7
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 0x4127b0
test edx, edx
je 0x412bda
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 0x41276e
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 0x4127e0
mov dword [esi], 0x17
jmp 0x4120f6
test al, 0x20
je 0x4127ef
mov dword [esi], 0xb
jmp 0x4120f6
test al, 0x40
je 0x412802
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.invalid_literal_length_code
jmp 0x411b5f
movzx eax, al
and eax, 0xf
mov dword [esi], 0x13
mov dword [esi + 0x48], eax
mov edx, dword [esi + 0x48]
test edx, edx
je 0x412850
jmp 0x41283b
mov eax, dword [ebp - 8]
test eax, eax
je 0x412bdd
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 0x41281a
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 0x412888
test edx, edx
je 0x412bda
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 0x412867
test al, 0xf0
jne 0x41291e
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 0x41290a
mov eax, dword [ebp - 8]
test eax, eax
je 0x412bdd
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 0x4128d7
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 0x412943
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.invalid_distance_code
jmp 0x411af4
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 0x41299f
jmp 0x412984
mov eax, dword [ebp - 8]
test eax, eax
je 0x412bdd
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 0x412963
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 0x4129be
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.invalid_distance_too_far_back
jmp 0x411af4
mov dword [esi], 0x16
jmp 0x4129c9
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x412bda
sub ecx, eax
mov eax, dword [esi + 0x44]
cmp eax, ecx
jbe 0x412a00
sub eax, ecx
mov ecx, dword [esi + 0x30]
cmp eax, ecx
jbe 0x4129eb
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x40]
sub ecx, eax
add ecx, dword [esi + 0x34]
cmp eax, edx
mov dword [ebp - 0x34], edx
cmovbe edx, eax
mov eax, dword [ebp - 0x34]
jmp 0x412a0a
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 0x412a1e
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 0x411a9e
mov dword [esi], 0x12
jmp 0x411a9e
cmp dword [ebp - 0x1c], 0
je 0x412bda
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 0x411a9b
cmp dword [esi + 8], 0
je 0x412b49
cmp edi, 0x20
jae 0x412aac
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bda
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 0x412a7f
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 0x412af8
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
cmp dword [esi + 0x10], 0
je 0x412ade
test eax, eax
je 0x412af2
push dword [ebp - 0x28]
mov ecx, dword [esi + 0x18]
mov edx, eax
call fcn.00411566
jmp 0x412aeb
push dword [ebp - 0x28]
mov ecx, dword [esi + 0x18]
mov edx, eax
call fcn.004143be
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 0x412b3f
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.incorrect_data_check
jmp 0x411b5f
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 0x412bc4
cmp dword [esi + 0x10], eax
je 0x412bc4
cmp edi, 0x20
jae 0x412b8b
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x412bda
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 0x412b63
xor eax, eax
cmp ebx, dword [esi + 0x1c]
je 0x412bc0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], str.incorrect_length_check
jmp 0x411b5f
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 0x411aab
mov ebx, eax
mov edi, eax
mov dword [esi], 0x1a
mov dword [ebp - 0x2c], 1
jmp 0x412bda
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 0x412c0e
cmp dword [esi], 0x18
jge 0x412c29
cmp edi, dword [ebp - 0x1c]
je 0x412c29
mov edx, edi
call fcn.004118a1
test eax, eax
je 0x412c26
mov dword [esi], 0x1c
push 0xfffffffffffffffc
jmp 0x411aab
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 0x412c71
test edi, edi
je 0x412c71
mov edx, dword [ecx + 0xc]
mov ecx, dword [esi + 0x18]
sub edx, edi
cmp dword [esi + 0x10], ebx
je 0x412c5d
test edx, edx
je 0x412c66
push edi
call fcn.00411566
jmp 0x412c63
push edi
call fcn.004143be
mov ebx, eax
pop ecx
mov edi, dword [ebp - 0x10]
mov dword [esi + 0x18], ebx
mov dword [edi + 0x30], ebx
jmp 0x412c74
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 0x411aac