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

Disassembly:
sub esp, 0x34
mov eax, dword [0x516124]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x48]
push edi
mov dword [esp + 0x30], edi
call fcn.0045e3c4
pop ecx
test eax, eax
jne case.default.0x45c7c2
xor esi, esi
cmp dword [edi + 0xc], esi
je case.default.0x45c7c2
cmp dword [edi], esi
jne 0x45c771
cmp dword [edi + 4], esi
jne case.default.0x45c7c2
mov ebp, dword [edi + 0x1c]
cmp dword [ebp + 4], 0x3f3f
jne 0x45c784
mov dword [ebp + 4], 0x3f40
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [ebp + 0x3c]
mov ebx, dword [ebp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [edi]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
jmp 0x45ce63
jmp dword [eax*4 + 0x45dcf8]
cmp dword [ebp + 0xc], 0
jne 0x45c7db
mov dword [ebp + 4], 0x3f40
jmp 0x45ce63
push 0x10
pop eax
cmp ebx, eax
jae 0x45c819
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x45dbcd
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
cmp ebx, 0x10
jb 0x45c7e6
test byte [ebp + 0xc], 2
je 0x45c877
cmp edx, 0x8b1f
jne 0x45c877
cmp dword [ebp + 0x28], esi
jne 0x45c833
mov dword [ebp + 0x28], 0xf
push esi
push esi
push esi
call fcn.0045c2f4
mov dword [ebp + 0x1c], eax
push 0x1f
pop eax
mov byte [esp + 0x48], al
lea eax, [esp + 0x48]
push 2
push eax
mov byte [esp + 0x51], 0x8b
push dword [ebp + 0x1c]
call fcn.0045c2f4
mov edx, esi
mov dword [ebp + 0x1c], eax
mov ebx, esi
mov dword [esp + 0x2c], edx
add esp, 0x18
mov dword [esp + 0x1c], ebx
mov dword [ebp + 4], 0x3f35
jmp 0x45ce5f
mov eax, dword [ebp + 0x24]
mov dword [ebp + 0x14], esi
test eax, eax
je 0x45c885
or dword [eax + 0x30], 0xffffffff
test byte [ebp + 0xc], 1
je 0x45c93a
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 [esp + 0x14]
jne 0x45c93a
mov eax, edx
and al, 0xf
cmp al, 8
je 0x45c8ca
mov dword [edi + 0x18], str.unknown_compression_method
mov dword [ebp + 4], 0x3f51
jmp 0x45ce5f
shr edx, 4
sub ebx, 4
mov ecx, edx
mov dword [esp + 0x14], edx
and ecx, 0xf
mov dword [esp + 0x1c], ebx
add ecx, 8
cmp dword [ebp + 0x28], esi
jne 0x45c8e8
mov dword [ebp + 0x28], ecx
cmp ecx, 0xf
ja 0x45c931
cmp ecx, dword [ebp + 0x28]
ja 0x45c931
xor eax, eax
push esi
inc eax
shl eax, cl
push esi
push esi
mov dword [ebp + 0x18], eax
call fcn.0045fcd1
mov edx, dword [esp + 0x20]
add esp, 0xc
shr edx, 8
mov ebx, esi
not edx
mov dword [ebp + 0x1c], eax
and edx, 2
mov dword [edi + 0x30], eax
or edx, 0x3f3d
mov dword [ebp + 4], edx
mov edx, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
jmp 0x45ce5f
mov dword [edi + 0x18], str.invalid_window_size
jmp 0x45c8be
mov dword [edi + 0x18], str.incorrect_header_check
jmp 0x45c8be
push 0x10
pop eax
cmp ebx, eax
jae 0x45c984
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x45dbcd
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
cmp ebx, 0x10
jb 0x45c951
mov dword [ebp + 0x14], edx
cmp dl, 8
je 0x45c99f
mov dword [edi + 0x18], str.unknown_compression_method
mov dword [ebp + 4], 0x3f51
jmp 0x45ce63
test edx, 0xe000
je 0x45c9b0
mov dword [edi + 0x18], str.unknown_header_flags_set
jmp 0x45c993
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x45c9c1
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [ebp + 0x14], 0x200
je 0x45c9f0
test byte [ebp + 0xc], 4
je 0x45c9f0
mov byte [esp + 0x3c], dl
lea eax, [esp + 0x3c]
push 2
shr edx, 8
push eax
mov byte [esp + 0x45], dl
push dword [ebp + 0x1c]
call fcn.0045c2f4
add esp, 0xc
mov dword [ebp + 0x1c], eax
mov ecx, dword [esp + 0x10]
mov edx, esi
mov dword [esp + 0x14], edx
mov ebx, esi
mov dword [ebp + 4], 0x3f36
cmp ebx, 0x20
jae 0x45ca3b
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x45dbcd
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp ebx, 0x20
jb 0x45ca0c
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x45ca45
mov dword [eax + 4], edx
test dword [ebp + 0x14], 0x200
je 0x45ca86
test byte [ebp + 0xc], 4
je 0x45ca86
mov eax, edx
mov byte [esp + 0x3c], dl
shr eax, 8
mov byte [esp + 0x3d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3e], al
lea eax, [esp + 0x3c]
push 4
shr edx, 0x18
push eax
mov byte [esp + 0x47], dl
push dword [ebp + 0x1c]
call fcn.0045c2f4
add esp, 0xc
mov dword [ebp + 0x1c], eax
mov ecx, dword [esp + 0x10]
mov edx, esi
mov dword [esp + 0x14], edx
mov ebx, esi
mov dword [ebp + 4], 0x3f37
push 0x10
pop eax
cmp ebx, eax
jae 0x45cad3
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x45dbcd
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp ebx, 0x10
jb 0x45caa4
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x45caeb
movzx eax, dl
mov dword [ecx + 8], eax
mov ecx, edx
mov eax, dword [ebp + 0x24]
shr ecx, 8
mov dword [eax + 0xc], ecx
test dword [ebp + 0x14], 0x200
je 0x45cb1a
test byte [ebp + 0xc], 4
je 0x45cb1a
mov byte [esp + 0x3c], dl
lea eax, [esp + 0x3c]
push 2
shr edx, 8
push eax
mov byte [esp + 0x45], dl
push dword [ebp + 0x1c]
call fcn.0045c2f4
add esp, 0xc
mov dword [ebp + 0x1c], eax
mov ecx, dword [esp + 0x10]
mov edx, esi
mov ebx, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [ebp + 4], 0x3f38
test dword [ebp + 0x14], 0x400
je 0x45cbc0
push 0x10
pop eax
cmp ebx, eax
jae 0x45cb78
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x45dbcd
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp ebx, 0x10
jb 0x45cb49
mov eax, dword [ebp + 0x24]
mov dword [ebp + 0x44], edx
test eax, eax
je 0x45cb85
mov dword [eax + 0x14], edx
test dword [ebp + 0x14], 0x200
je 0x45cbb4
test byte [ebp + 0xc], 4
je 0x45cbb4
mov byte [esp + 0x3c], dl
lea eax, [esp + 0x3c]
push 2
shr edx, 8
push eax
mov byte [esp + 0x45], dl
push dword [ebp + 0x1c]
call fcn.0045c2f4
add esp, 0xc
mov dword [ebp + 0x1c], eax
mov ebx, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebx
jmp 0x45cbca
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x45cbca
mov dword [eax + 0x10], esi
mov ecx, dword [esp + 0x10]
mov dword [ebp + 4], 0x3f39
test dword [ebp + 0x14], 0x400
je 0x45cc68
mov esi, dword [ebp + 0x44]
cmp esi, ecx
cmova esi, ecx
test esi, esi
je 0x45cc5d
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x45cc2a
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x20], eax
test eax, eax
je 0x45cc2a
mov edx, dword [ecx + 0x14]
sub edx, dword [ebp + 0x44]
mov ecx, dword [ecx + 0x18]
lea eax, [esi + edx]
cmp eax, ecx
jbe 0x45cc14
sub ecx, edx
jmp 0x45cc16
mov ecx, esi
mov eax, dword [esp + 0x20]
push ecx
push dword [esp + 0x1c]
add eax, edx
push eax
call fcn.004a3850
add esp, 0xc
test dword [ebp + 0x14], 0x200
je 0x45cc4c
test byte [ebp + 0xc], 4
je 0x45cc4c
push esi
push dword [esp + 0x1c]
push dword [ebp + 0x1c]
call fcn.0045c2f4
add esp, 0xc
mov dword [ebp + 0x1c], eax
mov ecx, dword [esp + 0x10]
add dword [esp + 0x18], esi
sub ecx, esi
sub dword [ebp + 0x44], esi
mov dword [esp + 0x10], ecx
xor esi, esi
cmp dword [ebp + 0x44], esi
jne 0x45dbcd
mov dword [ebp + 0x44], esi
mov dword [ebp + 4], 0x3f3a
test dword [ebp + 0x14], 0x800
je 0x45cd03
test ecx, ecx
je 0x45dbcd
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
movzx eax, byte [esi + edx]
inc esi
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x45ccbc
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x45ccb8
mov ecx, dword [ebp + 0x44]
cmp ecx, dword [eax + 0x20]
jae 0x45ccb8
mov eax, dword [esp + 0x20]
mov byte [edx + ecx], al
inc dword [ebp + 0x44]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x45ccc8
cmp esi, edi
jb 0x45cc8f
test dword [ebp + 0x14], 0x200
mov edi, dword [esp + 0x2c]
je 0x45ccef
test byte [ebp + 0xc], 4
je 0x45ccef
push esi
push edx
push dword [ebp + 0x1c]
call fcn.0045c2f4
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov dword [ebp + 0x1c], eax
sub dword [esp + 0x10], esi
add dword [esp + 0x18], esi
test ecx, ecx
jne 0x45dbcd
xor esi, esi
jmp 0x45cd0d
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x45cd0d
mov dword [eax + 0x1c], esi
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x44], esi
mov dword [ebp + 4], 0x3f3b
test dword [ebp + 0x14], 0x1000
je 0x45cdac
test ecx, ecx
je 0x45dbcd
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
movzx eax, byte [esi + edx]
inc esi
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x45cd65
mov edx, dword [eax + 0x24]
test edx, edx
je 0x45cd61
mov ecx, dword [ebp + 0x44]
cmp ecx, dword [eax + 0x28]
jae 0x45cd61
mov eax, dword [esp + 0x20]
mov byte [edx + ecx], al
inc dword [ebp + 0x44]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x45cd71
cmp esi, edi
jb 0x45cd38
test dword [ebp + 0x14], 0x200
mov edi, dword [esp + 0x2c]
je 0x45cd98
test byte [ebp + 0xc], 4
je 0x45cd98
push esi
push edx
push dword [ebp + 0x1c]
call fcn.0045c2f4
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov dword [ebp + 0x1c], eax
sub dword [esp + 0x10], esi
add dword [esp + 0x18], esi
test ecx, ecx
jne 0x45dbcd
xor esi, esi
jmp 0x45cdb6
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x45cdb6
mov dword [eax + 0x24], esi
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [ebp + 4], 0x3f3c
test dword [ebp + 0x14], 0x200
je 0x45ce28
jmp 0x45cdfd
test ecx, ecx
je 0x45dbcd
mov eax, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x18]
add ebx, 8
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
push 0x10
pop eax
cmp ebx, eax
jb 0x45cdd0
test byte [ebp + 0xc], 4
je 0x45ce1e
movzx eax, word [ebp + 0x1c]
cmp edx, eax
je 0x45ce1e
mov dword [edi + 0x18], str.header_crc_mismatch
jmp 0x45c8be
mov ebx, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x45ce43
mov eax, dword [ebp + 0x14]
xor edx, edx
sar eax, 9
inc edx
and eax, edx
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 0x24]
mov dword [eax + 0x30], edx
push esi
push esi
push esi
call fcn.0045c2f4
mov dword [ebp + 0x1c], eax
add esp, 0xc
mov dword [edi + 0x30], eax
mov dword [ebp + 4], 0x3f3f
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 4]
sub eax, 0x3f34
cmp eax, 0x1e
jbe switch.0x0045c7c2
push 0xfffffffffffffffe
pop eax
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004588b0
add esp, 0x34
ret
test ecx, ecx
je 0x45dbcd
mov eax, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x18]
add ebx, 8
mov dword [esp + 0x14], edx
cmp ebx, 0x20
jb 0x45ce8a
mov ecx, edx
mov ebx, 0xff00
and ecx, ebx
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, ebx
add eax, ecx
shr edx, 0x18
mov ecx, dword [esp + 0x10]
add eax, edx
mov dword [ebp + 0x1c], eax
mov edx, esi
mov dword [edi + 0x30], eax
mov ebx, esi
mov dword [esp + 0x14], edx
mov dword [ebp + 4], 0x3f3e
cmp dword [ebp + 0x10], esi
je 0x45db90
push esi
push esi
push esi
call fcn.0045fcd1
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x1c], eax
mov dword [edi + 0x30], eax
mov dword [ebp + 4], 0x3f3f
cmp dword [esp + 0x4c], 5
je 0x45dbcd
cmp dword [esp + 0x4c], 6
je 0x45dbcd
cmp dword [ebp + 8], esi
je 0x45cf7c
mov ecx, ebx
mov dword [ebp + 4], 0x3f4e
and ecx, 7
shr edx, cl
sub ebx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
jmp 0x45ce5f
test ecx, ecx
je 0x45dbcd
mov eax, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x18]
add ebx, 8
mov dword [esp + 0x14], edx
cmp ebx, 3
jb 0x45cf53
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebp + 8], eax
mov eax, edx
and eax, 3
sub eax, esi
je 0x45cff5
sub eax, 1
je 0x45cfbc
sub eax, 1
je 0x45cfb3
sub eax, 1
jne 0x45cffc
mov dword [edi + 0x18], str.invalid_block_type
mov dword [ebp + 4], 0x3f51
jmp 0x45cffc
mov dword [ebp + 4], 0x3f44
jmp 0x45cffc
cmp dword [esp + 0x4c], 6
mov dword [ebp + 0x50], 0x4f8ee0
mov dword [ebp + 0x58], 9
mov dword [ebp + 0x54], 0x4f96e0
mov dword [ebp + 0x5c], 5
mov dword [ebp + 4], 0x3f47
jne 0x45cffc
shr edx, 2
sub ebx, 3
mov dword [esp + 0x14], edx
jmp 0x45dbcd
mov dword [ebp + 4], 0x3f41
shr edx, 2
sub ebx, 3
jmp 0x45c924
mov ecx, ebx
and ecx, 7
shr edx, cl
sub ebx, ecx
jmp 0x45d037
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45dbcd
dec eax
mov ecx, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [esp + 0x18]
add ebx, 8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edx
cmp ebx, 0x20
jb 0x45d012
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x45d05e
mov dword [edi + 0x18], str.invalid_stored_block_lengths
jmp 0x45c8be
cmp dword [esp + 0x4c], 6
mov edx, esi
mov ebx, esi
mov dword [ebp + 0x44], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [ebp + 4], 0x3f42
je 0x45dbcd
mov ecx, dword [esp + 0x10]
mov dword [ebp + 4], 0x3f43
mov esi, dword [ebp + 0x44]
test esi, esi
je 0x45d0dc
cmp esi, ecx
cmova esi, ecx
cmp esi, dword [esp + 0x24]
cmova esi, dword [esp + 0x24]
test esi, esi
je 0x45dbcd
push esi
push dword [esp + 0x1c]
push dword [esp + 0x30]
call fcn.004a3850
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add dword [esp + 0x18], esi
sub ecx, esi
sub dword [esp + 0x24], esi
add dword [esp + 0x28], esi
sub dword [ebp + 0x44], esi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
xor esi, esi
jmp 0x45ce63
mov dword [ebp + 4], 0x3f3f
jmp 0x45d0d5
test ecx, ecx
je 0x45dbcd
mov eax, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x18]
add ebx, 8
mov dword [esp + 0x14], edx
cmp ebx, 0xe
jb 0x45d0e5
mov eax, edx
sub ebx, 0xe
and eax, 0x1f
shr edx, 5
add eax, 0x101
mov dword [esp + 0x1c], ebx
mov dword [ebp + 0x64], eax
mov eax, edx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebp + 0x68], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [esp + 0x14], edx
cmp dword [ebp + 0x64], 0x11e
mov dword [ebp + 0x60], eax
ja 0x45d163
cmp dword [ebp + 0x68], 0x1e
ja 0x45d163
mov dword [ebp + 0x6c], esi
mov dword [ebp + 4], 0x3f45
jmp case.0x45c7c2.16197
mov dword [edi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x45c993
test ecx, ecx
je 0x45dbcd
mov eax, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x18]
add ebx, 8
mov dword [esp + 0x14], edx
cmp ebx, 3
jb 0x45d16f
mov eax, dword [ebp + 0x6c]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [esp + 0x14], edx
movzx eax, word [eax*2 + 0x4f9760]
mov word [ebp + eax*2 + 0x74], cx
inc dword [ebp + 0x6c]
sub ebx, 3
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 0x60]
jb 0x45d198
jmp 0x45d1e6
mov eax, dword [ebp + 0x6c]
xor ecx, ecx
movzx eax, word [eax*2 + 0x4f9760]
mov word [ebp + eax*2 + 0x74], cx
inc dword [ebp + 0x6c]
cmp dword [ebp + 0x6c], 0x13
jb 0x45d1d1
lea eax, [ebp + 0x534]
lea ecx, [ebp + 0x70]
mov dword [ebp + 0x50], eax
mov dword [ecx], eax
lea edx, [ebp + 0x58]
lea eax, [ebp + 0x2f4]
mov dword [edx], 7
push eax
push edx
push ecx
push 0x13
lea eax, [ebp + 0x74]
push eax
push esi
call fcn.00460014
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x45d236
mov dword [edi + 0x18], str.invalid_code_lengths_set
mov dword [ebp + 4], 0x3f51
jmp 0x45ce5b
mov dword [ebp + 0x6c], esi
mov dword [ebp + 4], 0x3f46
mov eax, dword [ebp + 0x68]
add eax, dword [ebp + 0x64]
cmp dword [ebp + 0x6c], eax
jae 0x45d473
mov ecx, dword [ebp + 0x58]
xor edx, edx
mov eax, dword [ebp + 0x50]
inc edx
shl edx, cl
dec edx
and edx, dword [esp + 0x14]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x20], eax
cmp ecx, ebx
jbe 0x45d2bd
mov esi, dword [esp + 0x10]
test esi, esi
je 0x45dbcd
mov edx, dword [esp + 0x18]
mov ecx, ebx
dec esi
add ebx, 8
mov dword [esp + 0x10], esi
movzx eax, byte [edx]
shl eax, cl
add dword [esp + 0x14], eax
inc edx
mov ecx, dword [ebp + 0x58]
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x18], edx
xor edx, edx
inc edx
shl edx, cl
dec edx
and edx, dword [esp + 0x14]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x20], eax
cmp ecx, ebx
ja 0x45d276
mov edx, eax
push 0x10
shr edx, 0x10
pop ecx
cmp dx, cx
jae 0x45d2ed
shr eax, 8
movzx ecx, al
mov eax, dword [ebp + 0x6c]
sub ebx, ecx
shr dword [esp + 0x14], cl
mov dword [esp + 0x1c], ebx
mov word [ebp + eax*2 + 0x74], dx
inc dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x6c]
jmp 0x45d440
jne 0x45d361
mov ecx, eax
shr ecx, 8
movzx esi, cl
add esi, 2
jmp 0x45d323
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x45dbcd
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx]
mov ecx, ebx
shl edx, cl
add dword [esp + 0x14], edx
inc dword [esp + 0x18]
add ebx, 8
cmp ebx, esi
jb 0x45d2fc
mov edx, dword [esp + 0x14]
movzx ecx, ah
mov eax, dword [ebp + 0x6c]
sub ebx, ecx
shr edx, cl
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x45d450
movzx eax, word [ebp + eax*2 + 0x72]
mov esi, edx
and esi, 3
shr edx, 2
add esi, 3
mov dword [esp + 0x20], eax
sub ebx, 2
jmp 0x45d412
cmp word [esp + 0x22], 0x11
mov edx, dword [esp + 0x14]
movzx ecx, ah
jne 0x45d3bd
lea esi, [ecx + 3]
mov dword [esp + 0x20], ecx
cmp ebx, esi
jae 0x45d3ac
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45dbcd
dec eax
mov ecx, ebx
mov dword [esp + 0x10], eax
add ebx, 8
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [esp + 0x18]
mov dword [esp + 0x14], edx
cmp ebx, esi
jb 0x45d37b
mov ecx, dword [esp + 0x20]
shr edx, cl
mov esi, edx
and esi, 7
add esi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x45d408
lea esi, [ecx + 7]
mov dword [esp + 0x20], ecx
cmp ebx, esi
jae 0x45d3f9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45dbcd
dec eax
mov ecx, ebx
mov dword [esp + 0x10], eax
add ebx, 8
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [esp + 0x18]
mov dword [esp + 0x14], edx
cmp ebx, esi
jb 0x45d3c8
mov ecx, dword [esp + 0x20]
shr edx, cl
mov esi, edx
and esi, 0x7f
add esi, 0xb
shr edx, 7
push 0xfffffffffffffff9
and dword [esp + 0x24], 0
pop eax
sub eax, ecx
add ebx, eax
mov ecx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x6c]
add ecx, dword [ebp + 0x64]
add eax, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
cmp eax, ecx
ja 0x45d465
mov edx, dword [esp + 0x20]
mov eax, dword [ebp + 0x6c]
mov word [ebp + eax*2 + 0x74], dx
inc dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x6c]
sub esi, 1
jne 0x45d42d
mov eax, dword [ebp + 0x68]
add eax, dword [ebp + 0x64]
cmp ecx, eax
jb 0x45d24f
jmp 0x45d473
mov dword [edi + 0x18], str.invalid_bit_length_repeat
mov dword [ebp + 4], 0x3f51
xor esi, esi
jmp 0x45ce5f
mov dword [edi + 0x18], str.invalid_bit_length_repeat
mov dword [ebp + 4], 0x3f51
xor esi, esi
cmp dword [ebp + 4], 0x3f51
je 0x45ce5b
cmp word [ebp + 0x274], si
jne 0x45d497
mov dword [edi + 0x18], str.invalid_code____missing_end_of_block
jmp 0x45d22a
lea eax, [ebp + 0x534]
lea esi, [ebp + 0x70]
mov dword [ebp + 0x50], eax
mov dword [esi], eax
lea ecx, [ebp + 0x58]
lea eax, [ebp + 0x2f4]
mov dword [ecx], 9
push eax
push ecx
push esi
push dword [ebp + 0x64]
lea eax, [ebp + 0x74]
push eax
push 1
call fcn.00460014
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x45d4e0
mov dword [edi + 0x18], str.invalid_literal_lengths_set
mov edx, dword [esp + 0x14]
jmp 0x45d457
mov eax, dword [esi]
lea ecx, [ebp + 0x5c]
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x2f4]
push eax
mov eax, dword [ebp + 0x64]
push ecx
push esi
push dword [ebp + 0x68]
lea eax, [eax*2 + 0x74]
mov dword [ecx], 6
add eax, ebp
push eax
push 2
call fcn.00460014
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x45d522
mov dword [edi + 0x18], str.invalid_distances_set
jmp 0x45d4d7
cmp dword [esp + 0x4c], 6
mov dword [ebp + 4], 0x3f47
je 0x45dbcd
mov edx, dword [esp + 0x14]
xor esi, esi
mov ecx, dword [esp + 0x10]
mov dword [ebp + 4], 0x3f48
cmp ecx, 6
jb 0x45d5c0
mov eax, dword [esp + 0x24]
cmp eax, 0x102
jb 0x45d5c0
mov ecx, dword [esp + 0x28]
push dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [edi], eax
mov dword [edi + 4], ecx
push edi
mov dword [ebp + 0x3c], edx
mov dword [ebp + 0x40], ebx
call fcn.0046042b
cmp dword [ebp + 4], 0x3f3f
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0x3c]
mov ebx, dword [ebp + 0x40]
pop ecx
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x10]
pop ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x24], eax
mov eax, dword [edi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
jne 0x45ce63
or dword [ebp + 0x1bc8], 0xffffffff
jmp 0x45ce63
mov ecx, dword [ebp + 0x58]
xor eax, eax
inc eax
mov dword [ebp + 0x1bc8], esi
mov esi, dword [ebp + 0x50]
shl eax, cl
dec eax
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x45d633
mov esi, dword [esp + 0x10]
test esi, esi
je 0x45dbcd
mov eax, dword [esp + 0x18]
mov ecx, ebx
dec esi
add ebx, 8
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebp + 0x58]
add edx, eax
inc dword [esp + 0x18]
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x14], edx
xor edx, edx
inc edx
shl edx, cl
dec edx
and edx, dword [esp + 0x14]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [esp + 0x14]
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x45d5e7
test al, al
je 0x45d6f2
test al, 0xf0
jne 0x45d6f2
mov ebx, eax
movzx ecx, al
shr ebx, 8
xor edi, edi
movzx esi, bl
inc edi
add ecx, esi
mov edx, eax
shl edi, cl
mov ecx, esi
dec edi
shr eax, 0x10
and edi, dword [esp + 0x14]
shr edi, cl
mov ecx, dword [ebp + 0x50]
add edi, eax
mov dword [esp + 0x20], edx
mov eax, dword [ecx + edi*4]
mov ecx, eax
shr ecx, 8
movzx esi, cl
movzx ecx, bl
mov ebx, dword [esp + 0x1c]
add esi, ecx
cmp esi, ebx
jbe 0x45d6dd
mov esi, dword [esp + 0x10]
test esi, esi
je 0x45dbcd
dec esi
movzx edi, dh
mov dword [esp + 0x10], esi
mov ecx, ebx
mov esi, dword [esp + 0x18]
add ebx, 8
movzx eax, byte [esi]
shl eax, cl
add dword [esp + 0x14], eax
inc esi
movzx eax, word [esp + 0x22]
mov dword [esp + 0x18], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [esp + 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebp + 0x50]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, ebx
ja 0x45d684
mov edi, dword [esp + 0x2c]
movzx ecx, dh
mov edx, dword [esp + 0x14]
shr edx, cl
sub ebx, ecx
mov dword [ebp + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebp + 0x1bc8], ecx
sub ebx, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [ebp + 0x44], ecx
test al, al
jne 0x45d724
mov dword [ebp + 4], 0x3f4d
jmp 0x45d45e
test al, 0x20
je 0x45d73b
or dword [ebp + 0x1bc8], 0xffffffff
mov dword [ebp + 4], 0x3f3f
jmp 0x45d45e
mov ecx, dword [esp + 0x10]
test al, 0x40
je 0x45d756
mov dword [edi + 0x18], str.invalid_literal_length_code
mov dword [ebp + 4], 0x3f51
jmp 0x45d0d5
movzx eax, al
and eax, 0xf
mov dword [ebp + 4], 0x3f49
mov dword [ebp + 0x4c], eax
mov esi, dword [ebp + 0x4c]
test esi, esi
je 0x45d7be
cmp ebx, esi
jae 0x45d79f
mov edi, dword [esp + 0x18]
test ecx, ecx
je 0x45dbcd
movzx eax, byte [edi]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
inc edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
cmp ebx, esi
jb 0x45d775
xor eax, eax
mov ecx, esi
inc eax
sub ebx, esi
shl eax, cl
dec eax
mov dword [esp + 0x1c], ebx
and eax, edx
shr edx, cl
add dword [ebp + 0x44], eax
add dword [ebp + 0x1bc8], esi
mov dword [esp + 0x14], edx
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x1bcc], eax
mov dword [ebp + 4], 0x3f4a
mov ecx, dword [ebp + 0x5c]
xor eax, eax
mov esi, dword [ebp + 0x54]
inc eax
shl eax, cl
dec eax
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x45d83c
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
test esi, esi
je 0x45dbcd
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
dec esi
mov ecx, dword [ebp + 0x5c]
add edx, eax
mov eax, dword [ebp + 0x54]
inc edi
mov dword [esp + 0x14], edx
add ebx, 8
xor edx, edx
mov dword [esp + 0x10], esi
inc edx
mov dword [esp + 0x18], edi
shl edx, cl
dec edx
mov dword [esp + 0x1c], ebx
and edx, dword [esp + 0x14]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [esp + 0x14]
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x45d7f3
test al, 0xf0
jne 0x45d8ef
mov ebx, eax
movzx ecx, al
shr ebx, 8
xor edi, edi
movzx esi, bl
inc edi
add ecx, esi
mov edx, eax
shl edi, cl
mov ecx, esi
dec edi
shr eax, 0x10
and edi, dword [esp + 0x14]
shr edi, cl
mov ecx, dword [ebp + 0x54]
add edi, eax
mov dword [esp + 0x20], edx
mov eax, dword [ecx + edi*4]
mov ecx, eax
shr ecx, 8
movzx esi, cl
movzx ecx, bl
mov ebx, dword [esp + 0x1c]
add esi, ecx
cmp esi, ebx
jbe 0x45d8de
mov esi, dword [esp + 0x10]
test esi, esi
je 0x45dbcd
dec esi
movzx edi, dh
mov dword [esp + 0x10], esi
mov ecx, ebx
mov esi, dword [esp + 0x18]
add ebx, 8
movzx eax, byte [esi]
shl eax, cl
add dword [esp + 0x14], eax
inc esi
movzx eax, word [esp + 0x22]
mov dword [esp + 0x18], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [esp + 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebp + 0x54]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, ebx
ja 0x45d885
movzx ecx, dh
mov edx, dword [esp + 0x14]
sub ebx, ecx
shr edx, cl
add dword [ebp + 0x1bc8], ecx
mov edi, dword [esp + 0x2c]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebp + 0x1bc8], ecx
sub ebx, ecx
shr edx, cl
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
test al, 0x40
je 0x45d91d
mov dword [edi + 0x18], str.invalid_distance_code
jmp 0x45d457
mov ecx, eax
mov dword [ebp + 4], 0x3f4b
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebp + 0x48], ecx
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x4c], eax
mov esi, dword [ebp + 0x4c]
test esi, esi
je 0x45d98e
jmp 0x45d96b
test ecx, ecx
je 0x45dbcd
mov eax, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x18]
add ebx, 8
mov dword [esp + 0x14], edx
cmp ebx, esi
jb 0x45d942
xor eax, eax
mov ecx, esi
inc eax
sub ebx, esi
shl eax, cl
dec eax
mov dword [esp + 0x1c], ebx
and eax, edx
shr edx, cl
add dword [ebp + 0x48], eax
add dword [ebp + 0x1bc8], esi
mov dword [esp + 0x14], edx
mov dword [ebp + 4], 0x3f4c
xor esi, esi
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x45dbcd
mov eax, dword [esp + 0x34]
sub eax, ecx
mov ecx, dword [ebp + 0x48]
cmp ecx, eax
jbe 0x45d9eb
sub ecx, eax
cmp ecx, dword [ebp + 0x30]
jbe 0x45d9cb
cmp dword [ebp + 0x1bc4], esi
je 0x45d9cb
mov dword [edi + 0x18], str.invalid_distance_too_far_back
jmp 0x45c8be
mov esi, dword [ebp + 0x38]
cmp ecx, dword [ebp + 0x34]
jbe 0x45d9dd
sub ecx, dword [ebp + 0x34]
add esi, dword [ebp + 0x2c]
sub esi, ecx
jmp 0x45d9e2
sub esi, ecx
add esi, dword [ebp + 0x34]
mov eax, dword [ebp + 0x44]
cmp ecx, eax
jbe 0x45d9f6
jmp 0x45d9f4
mov esi, dword [esp + 0x28]
mov eax, dword [ebp + 0x44]
sub esi, ecx
mov ecx, eax
cmp ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cmova ecx, dword [esp + 0x24]
sub dword [esp + 0x24], ecx
sub eax, ecx
mov dword [ebp + 0x44], eax
sub esi, edi
mov al, byte [esi + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x45da0e
xor esi, esi
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x2c]
cmp dword [ebp + 0x44], esi
jne 0x45ce5f
mov dword [ebp + 4], 0x3f48
jmp 0x45ce5f
cmp dword [esp + 0x24], 0
je 0x45dbcd
mov edi, dword [esp + 0x28]
mov al, byte [ebp + 0x44]
inc dword [esp + 0x28]
dec dword [esp + 0x24]
mov byte [edi], al
mov edi, dword [esp + 0x2c]
mov dword [ebp + 4], 0x3f48
jmp 0x45ce63
cmp dword [ebp + 0xc], esi
je 0x45db3e
jmp 0x45da9c
test ecx, ecx
je 0x45dbcd
mov eax, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x18]
add ebx, 8
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
cmp ebx, 0x20
jb 0x45da6f
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
sub ecx, eax
add dword [edi + 0x14], ecx
add dword [ebp + 0x20], ecx
test byte [ebp + 0xc], 4
je 0x45dae8
test ecx, ecx
je 0x45dae8
mov eax, dword [esp + 0x28]
push ecx
sub eax, ecx
push eax
push dword [ebp + 0x1c]
cmp dword [ebp + 0x14], esi
je 0x45dad2
call fcn.0045c2f4
jmp 0x45dad7
call fcn.0045fcd1
mov edx, dword [esp + 0x20]
add esp, 0xc
mov dword [ebp + 0x1c], eax
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x24]
test byte [ebp + 0xc], 4
mov dword [esp + 0x34], eax
je 0x45db2e
mov ecx, edx
mov eax, edx
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
cmp dword [ebp + 0x14], esi
cmovne ecx, edx
cmp ecx, dword [ebp + 0x1c]
je 0x45db2e
mov dword [edi + 0x18], str.incorrect_data_check
jmp 0x45c8be
mov ecx, dword [esp + 0x10]
mov edx, esi
mov ebx, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [ebp + 4], 0x3f4f
cmp dword [ebp + 0xc], esi
je 0x45dbba
cmp dword [ebp + 0x14], esi
je 0x45dbba
jmp 0x45db7a
test ecx, ecx
je 0x45dbcd
mov eax, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x18]
add ebx, 8
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
cmp ebx, 0x20
jb 0x45db51
cmp edx, dword [ebp + 0x20]
je 0x45dbb4
mov dword [edi + 0x18], str.incorrect_length_check
jmp 0x45c8be
mov eax, dword [esp + 0x28]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [ebp + 0x3c], edx
mov dword [ebp + 0x40], ebx
push 2
jmp 0x45ce76
mov dword [esp + 0x14], esi
mov ebx, esi
mov dword [ebp + 4], 0x3f50
xor eax, eax
inc eax
jmp 0x45dbc9
push 0xfffffffffffffffd
pop eax
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x10], edi
mov edi, dword [esp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], edi
mov edi, dword [esp + 0x34]
mov dword [esi], ecx
mov dword [ebp + 0x40], ebx
xor ebx, ebx
mov dword [ebp + 0x3c], eax
cmp dword [ebp + 0x2c], ebx
jne 0x45dc1f
cmp edi, dword [esi + 0x10]
je 0x45dc43
cmp dword [ebp + 4], 0x3f51
jge 0x45dc43
cmp dword [ebp + 4], 0x3f4e
jl 0x45dc1f
cmp dword [esp + 0x4c], 4
je 0x45dc43
mov eax, edi
sub eax, dword [esi + 0x10]
push eax
push dword [esi + 0xc]
push esi
call fcn.0045e454
add esp, 0xc
test eax, eax
je 0x45dc43
mov dword [ebp + 4], 0x3f52
push 0xfffffffffffffffc
jmp 0x45ce76
mov edx, dword [esp + 0x38]
sub edx, dword [esi + 4]
sub edi, dword [esi + 0x10]
add dword [esi + 8], edx
add dword [esi + 0x14], edi
add dword [ebp + 0x20], edi
test byte [ebp + 0xc], 4
mov dword [esp + 0x38], edx
je 0x45dc8c
test edi, edi
je 0x45dc8c
mov eax, dword [esi + 0xc]
push edi
sub eax, edi
push eax
push dword [ebp + 0x1c]
cmp dword [ebp + 0x14], ebx
je 0x45dc7a
call fcn.0045c2f4
jmp 0x45dc7f
call fcn.0045fcd1
mov edx, dword [esp + 0x44]
add esp, 0xc
mov dword [ebp + 0x1c], eax
mov dword [esi + 0x30], eax
cmp dword [ebp + 4], 0x3f47
je 0x45dc9e
cmp dword [ebp + 4], 0x3f42
jne 0x45dca3
mov ebx, 0x100
mov ecx, dword [ebp + 8]
neg ecx
mov dword [esp + 0x38], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebp + 4], 0x3f3f
cmove eax, dword [esp + 0x38]
add ecx, ebx
add eax, ecx
add eax, dword [ebp + 0x40]
mov dword [esi + 0x2c], eax
test edx, edx
jne 0x45dcd5
test edi, edi
je 0x45dcdc
cmp dword [esp + 0x4c], 4
jne 0x45dced
mov eax, dword [esp + 0x30]
test eax, eax
push 0xfffffffffffffffb
pop ecx
cmove eax, ecx
jmp 0x45ce77
mov eax, dword [esp + 0x30]
jmp 0x45ce77