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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x30
push edi
test eax, eax
je 0x46fb14
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x46fb14
cmp dword [eax + 0xc], 0
je 0x46fb14
cmp dword [eax], 0
jne 0x46e6b2
cmp dword [eax + 4], 0
jne 0x46fb14
cmp dword [edi], 0xb
jne 0x46e6bd
mov dword [edi], 0xc
mov ecx, dword [eax + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 4]
push ebx
mov ebx, dword [edi + 0x38]
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], eax
mov eax, dword [edi]
push esi
mov esi, dword [edi + 0x3c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], 0
cmp eax, 0x1e
ja case.default.0x46e6f4
jmp dword [eax*4 + 0x46fb20]
cmp dword [edi + 8], 0
jne 0x46e70c
mov dword [edi], 0xc
jmp 0x46f9a3
cmp esi, 0x10
jae 0x46e733
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x10
jb 0x46e711
test byte [edi + 8], 2
je 0x46e775
cmp ebx, 0x8b1f
jne 0x46e775
push 0
push 0
xor ecx, ecx
call fcn.005d357c
push 2
lea ecx, [ebp - 0x14]
mov dword [edi + 0x18], eax
mov word [ebp - 0x14], bx
call fcn.0046c155
mov edx, dword [ebp - 8]
add esp, 0xc
xor ebx, ebx
mov dword [edi + 0x18], eax
xor esi, esi
mov dword [edi], 1
jmp 0x46f9a3
mov eax, dword [edi + 0x20]
mov dword [edi + 0x10], 0
test eax, eax
je 0x46e78a
mov dword [eax + 0x30], 0xffffffff
test byte [edi + 8], 1
je 0x46e836
movzx eax, bl
shl eax, 8
mov ecx, ebx
shr ecx, 8
add eax, ecx
xor edx, edx
mov ecx, 0x1f
div ecx
test edx, edx
jne 0x46e836
mov edx, ebx
and dl, 0xf
cmp dl, 8
je 0x46e7ce
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x46f99d
mov eax, dword [edi + 0x24]
shr ebx, 4
mov ecx, ebx
and ecx, 0xf
sub esi, 4
add ecx, 8
test eax, eax
jne 0x46e820
mov dword [edi + 0x24], ecx
mov edx, 1
shl edx, cl
push 0
xor eax, eax
xor ecx, ecx
mov dword [edi + 0x14], edx
call fcn.0046fbac
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
shr ebx, 8
not ebx
and ebx, 2
or ebx, 9
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [edi], ebx
add esp, 4
xor ebx, ebx
xor esi, esi
jmp 0x46f9a3
cmp ecx, eax
jbe 0x46e7e6
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x18], str.invalid_window_size
jmp 0x46f99d
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_header_check
mov edx, dword [ebp - 8]
jmp 0x46f99d
cmp esi, 0x10
jae 0x46e86f
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x10
jb 0x46e84d
mov dword [edi + 0x10], ebx
cmp bl, 8
je 0x46e886
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.unknown_compression_method
jmp 0x46f99d
test ebx, 0xe000
je 0x46e89d
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_header_flags_set
jmp 0x46f99d
mov eax, dword [edi + 0x20]
test eax, eax
je 0x46e8ae
mov ecx, ebx
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
test dword [edi + 0x10], 0x200
je 0x46e8d6
mov eax, dword [edi + 0x18]
mov byte [ebp - 0x14], bl
shr ebx, 8
push 2
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x13], bl
call fcn.0046c155
mov edx, dword [ebp - 8]
add esp, 4
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 2
jmp 0x46e8ec
cmp esi, 0x20
jae 0x46e90e
jmp 0x46e8ec
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x20
jb 0x46e8ec
mov eax, dword [edi + 0x20]
test eax, eax
je 0x46e918
mov dword [eax + 4], ebx
test dword [edi + 0x10], 0x200
je 0x46e950
mov eax, dword [edi + 0x18]
mov ecx, ebx
shr ecx, 8
mov edx, ebx
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], cl
shr edx, 0x10
shr ebx, 0x18
push 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x12], dl
mov byte [ebp - 0x11], bl
call fcn.0046c155
mov edx, dword [ebp - 8]
add esp, 4
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 3
jmp 0x46e961
cmp esi, 0x10
jae 0x46e983
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x10
jb 0x46e961
mov eax, dword [edi + 0x20]
test eax, eax
je 0x46e9a0
mov ecx, ebx
and ecx, 0xff
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x20]
mov eax, ebx
shr eax, 8
mov dword [ecx + 0xc], eax
test dword [edi + 0x10], 0x200
je 0x46e9c8
mov eax, dword [edi + 0x18]
mov byte [ebp - 0x14], bl
shr ebx, 8
push 2
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x13], bl
call fcn.0046c155
mov edx, dword [ebp - 8]
add esp, 4
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 4
test dword [edi + 0x10], 0x400
je 0x46ea3d
cmp esi, 0x10
jae 0x46ea02
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x10
jb 0x46e9e0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x40], ebx
test eax, eax
je 0x46ea0f
mov dword [eax + 0x14], ebx
test dword [edi + 0x10], 0x200
je 0x46ea37
mov eax, dword [edi + 0x18]
mov byte [ebp - 0x14], bl
shr ebx, 8
push 2
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x13], bl
call fcn.0046c155
mov edx, dword [ebp - 8]
add esp, 4
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
jmp 0x46ea4b
mov eax, dword [edi + 0x20]
test eax, eax
je 0x46ea4b
mov dword [eax + 0x10], 0
mov dword [edi], 5
test dword [edi + 0x10], 0x400
je 0x46eaf3
mov eax, dword [edi + 0x40]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
cmp eax, ecx
jbe 0x46ea70
mov eax, ecx
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x46eae9
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x46eab9
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x46eab9
mov edx, dword [edi + 0x20]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edi + 0x40]
mov edx, dword [edx + 0x18]
mov dword [ebp - 0x1c], ecx
add ecx, eax
cmp ecx, edx
jbe 0x46ea9f
sub edx, dword [ebp - 0x1c]
mov eax, edx
mov edx, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x1c]
push edx
push eax
call fcn.00404787
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
add esp, 0xc
test dword [edi + 0x10], 0x200
je 0x46eade
mov edx, dword [ebp - 0xc]
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 8]
push edx
push eax
call fcn.005d357c
mov edx, dword [ebp - 8]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0xc]
add esp, 8
sub dword [ebp - 4], eax
add edx, eax
sub dword [edi + 0x40], eax
mov dword [ebp - 8], edx
cmp dword [edi + 0x40], 0
jne 0x46f9fd
mov dword [edi + 0x40], 0
mov dword [edi], 6
test dword [edi + 0x10], 0x800
je 0x46eb96
cmp dword [ebp - 4], 0
je 0x46f9fd
xor eax, eax
lea ecx, [ecx]
movzx ecx, byte [eax + edx]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x46eb4f
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x46eb4f
mov ecx, dword [edi + 0x40]
cmp ecx, dword [eax + 0x20]
jae 0x46eb4f
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x1c]
mov byte [edx + ecx], al
inc dword [edi + 0x40]
mov edx, dword [ebp - 8]
cmp dword [ebp - 0x1c], 0
je 0x46eb5d
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jb 0x46eb1c
test dword [edi + 0x10], 0x200
je 0x46eb7f
mov ecx, dword [ebp - 0xc]
mov edx, dword [edi + 0x18]
push ecx
mov ecx, dword [ebp - 8]
push edx
call fcn.005d357c
mov edx, dword [ebp - 8]
add esp, 8
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0xc]
sub dword [ebp - 4], eax
add edx, eax
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 8], edx
jne 0x46f9fd
jmp 0x46eba4
mov eax, dword [edi + 0x20]
test eax, eax
je 0x46eba4
mov dword [eax + 0x1c], 0
mov dword [edi + 0x40], 0
mov dword [edi], 7
test dword [edi + 0x10], 0x1000
je 0x46ec4d
cmp dword [ebp - 4], 0
je 0x46f9fd
xor eax, eax
mov edi, edi
movzx ecx, byte [eax + edx]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x46ebff
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x46ebff
mov ecx, dword [edi + 0x40]
cmp ecx, dword [eax + 0x28]
jae 0x46ebff
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x1c]
mov byte [edx + ecx], al
inc dword [edi + 0x40]
mov edx, dword [ebp - 8]
cmp dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xc]
je 0x46ec0d
cmp eax, dword [ebp - 4]
jb 0x46ebcc
test dword [edi + 0x10], 0x200
je 0x46ec39
mov eax, dword [edi + 0x18]
test edx, edx
jne 0x46ec21
xor eax, eax
jmp 0x46ec33
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0046c155
mov edx, dword [ebp - 8]
add esp, 4
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0xc]
sub dword [ebp - 4], eax
add edx, eax
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 8], edx
jne 0x46f9fd
jmp 0x46ec5b
mov eax, dword [edi + 0x20]
test eax, eax
je 0x46ec5b
mov dword [eax + 0x24], 0
mov dword [edi], 8
test dword [edi + 0x10], 0x200
je 0x46ecac
cmp esi, 0x10
jae 0x46ec91
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x10
jb 0x46ec6f
movzx ecx, word [edi + 0x18]
cmp ebx, ecx
je 0x46eca8
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.header_crc_mismatch
jmp 0x46f99d
xor ebx, ebx
xor esi, esi
mov eax, dword [edi + 0x20]
test eax, eax
je 0x46ecc9
mov ecx, dword [edi + 0x10]
sar ecx, 9
and ecx, 1
mov dword [eax + 0x2c], ecx
mov edx, dword [edi + 0x20]
mov dword [edx + 0x30], 1
push 0
push 0
xor ecx, ecx
call fcn.005d357c
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
add esp, 8
mov dword [edi], 0xb
jmp 0x46f9a3
cmp esi, 0x20
jae 0x46ed1e
jmp 0x46ecfc
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x20
jb 0x46ecfc
mov ecx, ebx
mov eax, ebx
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, ebx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add eax, ecx
mov ecx, dword [ebp + 8]
shr ebx, 0x18
add eax, ebx
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 0xa
cmp dword [edi + 0xc], 0
je 0x46f9ba
push 0
xor eax, eax
xor ecx, ecx
call fcn.0046fbac
mov edx, dword [ebp + 8]
mov dword [edi + 0x18], eax
mov dword [edx + 0x30], eax
mov edx, dword [ebp - 8]
add esp, 4
mov dword [edi], 0xb
cmp dword [edi + 4], 0
je 0x46ed98
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [edi], 0x1a
jmp 0x46f9a3
cmp esi, 3
jae 0x46edbf
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 3
jb 0x46ed9d
mov ecx, ebx
shr ebx, 1
mov eax, ebx
and ecx, 1
and eax, 3
mov dword [edi + 4], ecx
cmp eax, 3
ja case.default.0x46edd3
jmp dword [eax*4 + 0x46fb9c]
shr ebx, 2
mov dword [edi], 0xd
sub esi, 3
jmp 0x46f9a3
shr ebx, 2
mov dword [edi + 0x4c], 0x606040
mov dword [edi + 0x54], 9
mov dword [edi + 0x50], 0x606840
mov dword [edi + 0x58], 5
mov dword [edi], 0x13
sub esi, 3
jmp 0x46f9a3
shr ebx, 2
mov dword [edi], 0x10
sub esi, 3
jmp 0x46f9a3
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [edi], 0x1d
shr ebx, 2
sub esi, 3
jmp 0x46f9a3
mov ecx, esi
and ecx, 7
sub esi, ecx
shr ebx, cl
cmp esi, 0x20
jae 0x46ee74
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x20
jb 0x46ee52
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x46ee95
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
jmp 0x46f99d
xor ebx, ebx
mov dword [edi + 0x40], eax
xor esi, esi
mov dword [edi], 0xe
mov dword [edi], 0xf
mov eax, dword [edi + 0x40]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x46f55d
mov ecx, dword [ebp - 4]
cmp eax, ecx
jbe 0x46eec2
mov eax, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jbe 0x46eece
mov eax, ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x46f9fd
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
push ecx
push edx
push eax
call fcn.00404787
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], eax
sub dword [ebp - 4], eax
sub dword [ebp - 0x10], eax
add dword [ebp - 0x18], eax
mov edx, dword [ebp - 8]
add esp, 0xc
sub dword [edi + 0x40], eax
jmp 0x46f9a3
cmp esi, 0xe
jae 0x46ef2e
lea ecx, [ecx]
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0xe
jb 0x46ef0c
mov ecx, ebx
and ecx, 0x1f
shr ebx, 5
add ecx, 0x101
mov eax, ebx
mov dword [edi + 0x60], ecx
shr ebx, 5
mov ecx, ebx
and eax, 0x1f
and ecx, 0xf
inc eax
add ecx, 4
shr ebx, 4
sub esi, 0xe
cmp dword [edi + 0x60], 0x11e
mov dword [edi + 0x64], eax
mov dword [edi + 0x5c], ecx
ja 0x46f04d
cmp eax, 0x1e
ja 0x46f04d
mov dword [edi + 0x68], 0
mov dword [edi], 0x11
mov ecx, dword [edi + 0x68]
cmp ecx, dword [edi + 0x5c]
jae 0x46efd9
jmp 0x46ef8c
cmp esi, 3
jae 0x46efb3
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 3
jb 0x46ef91
mov eax, dword [edi + 0x68]
movzx eax, word [eax*2 + 0x6068c0]
mov ecx, ebx
and ecx, 7
mov word [edi + eax*2 + 0x70], cx
inc dword [edi + 0x68]
mov ecx, dword [edi + 0x68]
shr ebx, 3
sub esi, 3
cmp ecx, dword [edi + 0x5c]
jb 0x46ef8c
mov eax, 0x13
cmp dword [edi + 0x68], eax
jae 0x46f006
jmp 0x46efec
mov edx, dword [edi + 0x68]
movzx ecx, word [edx*2 + 0x6068c0]
xor edx, edx
mov word [edi + ecx*2 + 0x70], dx
inc dword [edi + 0x68]
cmp dword [edi + 0x68], eax
jb 0x46efec
lea eax, [edi + 0x530]
lea ecx, [edi + 0x6c]
mov dword [ecx], eax
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x2f0]
push eax
push ecx
lea edx, [edi + 0x54]
push 0x13
lea ecx, [edi + 0x70]
push 0
mov dword [edx], 7
call fcn.0046fe07
mov edx, dword [ebp - 8]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x46f05c
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_code_lengths_set
jmp 0x46f99d
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
jmp 0x46f99d
mov dword [edi + 0x68], 0
mov dword [edi], 0x12
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
cmp dword [edi + 0x68], eax
jae 0x46f29f
lea esp, [esp]
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, esi
jbe 0x46f0dd
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x54]
inc edx
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
mov dword [ebp - 8], edx
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, esi
ja 0x46f09e
mov ecx, eax
shr ecx, 0x10
cmp ecx, 0x10
jae 0x46f13e
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp esi, ecx
jae 0x46f123
jmp 0x46f0fc
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
mov eax, dword [ebp - 0xc]
movzx ecx, ah
cmp esi, ecx
jb 0x46f0fc
movzx ecx, ah
mov eax, dword [edi + 0x68]
shr ebx, cl
sub esi, ecx
mov cx, word [ebp - 0xa]
mov word [edi + eax*2 + 0x70], cx
inc dword [edi + 0x68]
jmp 0x46f290
mov cx, word [ebp - 0xa]
cmp cx, 0x10
jne 0x46f1b0
movzx ecx, ah
lea eax, [ecx + 2]
mov dword [ebp - 0x24], ecx
cmp esi, eax
jae 0x46f183
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x24]
inc edx
add esi, 8
add ebx, eax
lea eax, [ecx + 2]
mov dword [ebp - 8], edx
cmp esi, eax
jb 0x46f15c
mov eax, dword [edi + 0x68]
shr ebx, cl
sub esi, ecx
test eax, eax
je 0x46f2c1
movzx ecx, word [edi + eax*2 + 0x6e]
mov eax, ebx
and eax, 3
add eax, 3
shr ebx, 2
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], eax
sub esi, 2
jmp 0x46f25b
cmp cx, 0x11
movzx ecx, ah
mov dword [ebp - 0x24], ecx
jne 0x46f20a
lea eax, [ecx + 3]
cmp esi, eax
jae 0x46f1f3
jmp 0x46f1cc
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x24]
inc edx
add esi, 8
add ebx, eax
lea eax, [ecx + 3]
mov dword [ebp - 8], edx
cmp esi, eax
jb 0x46f1cc
shr ebx, cl
mov eax, ebx
and eax, 7
add eax, 3
mov dword [ebp - 0xc], eax
shr ebx, 3
mov eax, 0xfffffffd
jmp 0x46f24d
lea eax, [ecx + 7]
cmp esi, eax
jae 0x46f238
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x24]
inc edx
add esi, 8
add ebx, eax
lea eax, [ecx + 7]
mov dword [ebp - 8], edx
cmp esi, eax
jb 0x46f211
shr ebx, cl
mov eax, ebx
and eax, 0x7f
add eax, 0xb
mov dword [ebp - 0xc], eax
shr ebx, 7
mov eax, 0xfffffff9
sub eax, ecx
add esi, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], 0
mov ecx, dword [edi + 0x68]
add ecx, eax
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
cmp ecx, eax
ja 0x46f2d0
cmp dword [ebp - 0xc], 0
je 0x46f290
mov eax, dword [ebp - 0x1c]
jmp 0x46f27c
mov ecx, dword [edi + 0x68]
dec dword [ebp - 0xc]
mov word [edi + ecx*2 + 0x70], ax
inc dword [edi + 0x68]
cmp dword [ebp - 0xc], 0
jne 0x46f27c
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
cmp dword [edi + 0x68], eax
jb 0x46f07c
cmp dword [edi], 0x1d
je 0x46f9a3
cmp word [edi + 0x270], 0
jne 0x46f2df
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_code____missing_end_of_block
jmp 0x46f99d
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
jmp 0x46f99d
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
jmp 0x46f99d
lea eax, [edi + 0x530]
lea ecx, [edi + 0x6c]
mov dword [ecx], eax
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x2f0]
push eax
mov eax, dword [edi + 0x60]
push ecx
push eax
lea edx, [edi + 0x54]
lea ecx, [edi + 0x70]
push 1
mov dword [edx], 9
call fcn.0046fe07
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x46f328
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x18], str.invalid_literal_lengths_set
jmp 0x46f99d
mov edx, dword [edi + 0x6c]
lea ecx, [edi + 0x2f0]
push ecx
mov ecx, dword [edi + 0x60]
lea eax, [edi + 0x6c]
push eax
mov eax, dword [edi + 0x64]
mov dword [edi + 0x50], edx
push eax
lea edx, [edi + 0x58]
lea ecx, [edi + ecx*2 + 0x70]
push 2
mov dword [edx], 6
call fcn.0046fe07
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x46f370
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_distances_set
mov edx, dword [ebp - 8]
jmp 0x46f99d
mov edx, dword [ebp - 8]
mov dword [edi], 0x13
mov dword [edi], 0x14
cmp dword [ebp - 4], 6
jb 0x46f3f3
cmp dword [ebp - 0x10], 0x102
jb 0x46f3f3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 4]
push ecx
mov dword [eax + 4], edx
push eax
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], esi
call fcn.0047026d
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov ebx, dword [edi + 0x38]
mov esi, dword [edi + 0x3c]
mov dword [ebp - 0x18], edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
add esp, 8
cmp dword [edi], 0xb
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
jne 0x46f9a3
mov dword [edi + 0x1bc4], 0xffffffff
jmp 0x46f9a3
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
mov dword [edi + 0x1bc4], 0
dec eax
and eax, ebx
mov ecx, eax
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + ecx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, esi
jbe 0x46f460
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x54]
inc edx
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
mov dword [ebp - 8], edx
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, esi
ja 0x46f421
test al, al
je 0x46f523
test al, 0xf0
jne 0x46f523
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x2c], ecx
movzx ecx, cl
mov dword [ebp - 0x1c], ecx
movzx ecx, al
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x1c]
dec eax
and eax, ebx
shr eax, cl
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
add eax, ecx
mov ecx, eax
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ebp - 0x2c]
mov dword [ebp - 0xc], eax
shr eax, 8
movzx eax, al
add eax, ecx
cmp eax, esi
jbe 0x46f512
lea ecx, [ecx]
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x24]
dec dword [ebp - 4]
inc edx
add ebx, eax
movzx eax, ch
mov dword [ebp - 0x1c], eax
movzx ecx, cl
add ecx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x1c]
add esi, 8
mov dword [ebp - 8], edx
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [ebp - 0x22]
add eax, ecx
mov ecx, dword [edi + 0x4c]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0xc], eax
shr eax, 8
movzx eax, al
add eax, dword [ebp - 0x1c]
cmp eax, esi
ja 0x46f4bc
movzx ecx, byte [ebp - 0x23]
mov eax, dword [ebp - 0xc]
shr ebx, cl
sub esi, ecx
mov dword [edi + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc4], ecx
shr ebx, cl
sub esi, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, eax
shr ecx, 0x10
mov dword [edi + 0x40], ecx
test al, al
jne 0x46f54f
mov dword [edi], 0x19
jmp 0x46f9a3
test al, 0x20
je 0x46f568
mov dword [edi + 0x1bc4], 0xffffffff
mov dword [edi], 0xb
jmp 0x46f9a3
test al, 0x40
je 0x46f57b
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_literal_length_code
jmp 0x46f99d
movzx ecx, al
and ecx, 0xf
mov dword [edi + 0x48], ecx
mov dword [edi], 0x15
mov eax, dword [edi + 0x48]
test eax, eax
je 0x46f5d8
cmp esi, eax
jae 0x46f5be
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, dword [edi + 0x48]
jb 0x46f59c
mov ecx, dword [edi + 0x48]
mov eax, 1
shl eax, cl
sub esi, ecx
dec eax
and eax, ebx
add dword [edi + 0x40], eax
shr ebx, cl
add dword [edi + 0x1bc4], ecx
mov ecx, dword [edi + 0x40]
mov dword [edi + 0x1bc8], ecx
mov dword [edi], 0x16
mov ecx, dword [edi + 0x58]
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
mov ecx, eax
mov eax, dword [edi + 0x50]
mov eax, dword [eax + ecx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, esi
jbe 0x46f64b
nop
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x58]
inc edx
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x50]
mov dword [ebp - 8], edx
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, esi
ja 0x46f60c
test al, 0xf0
jne 0x46f703
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x2c], ecx
movzx ecx, cl
mov dword [ebp - 0x1c], ecx
movzx ecx, al
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x1c]
dec eax
and eax, ebx
shr eax, cl
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
add eax, ecx
mov ecx, eax
mov eax, dword [edi + 0x50]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ebp - 0x2c]
mov dword [ebp - 0xc], eax
shr eax, 8
movzx eax, al
add eax, ecx
cmp eax, esi
jbe 0x46f6f2
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x24]
dec dword [ebp - 4]
inc edx
add ebx, eax
movzx eax, ch
mov dword [ebp - 0x1c], eax
movzx ecx, cl
add ecx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x1c]
add esi, 8
mov dword [ebp - 8], edx
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [ebp - 0x22]
add eax, ecx
mov ecx, dword [edi + 0x50]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0xc], eax
shr eax, 8
movzx eax, al
add eax, dword [ebp - 0x1c]
cmp eax, esi
ja 0x46f69c
movzx ecx, byte [ebp - 0x23]
mov eax, dword [ebp - 0xc]
shr ebx, cl
sub esi, ecx
add dword [edi + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc4], ecx
shr ebx, cl
sub esi, ecx
mov dword [ebp - 0x1c], ecx
test al, 0x40
je 0x46f72b
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distance_code
jmp 0x46f99d
mov ecx, eax
movzx eax, al
shr ecx, 0x10
and eax, 0xf
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], eax
mov dword [edi], 0x17
mov eax, dword [edi + 0x48]
test eax, eax
je 0x46f789
cmp esi, eax
jae 0x46f76f
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, dword [edi + 0x48]
jb 0x46f74d
mov ecx, dword [edi + 0x48]
mov eax, 1
shl eax, cl
sub esi, ecx
dec eax
and eax, ebx
add dword [edi + 0x44], eax
shr ebx, cl
add dword [edi + 0x1bc4], ecx
mov dword [edi], 0x18
cmp dword [ebp - 0x10], 0
je 0x46f9fd
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x10]
mov eax, dword [edi + 0x44]
cmp eax, ecx
jbe 0x46f7fa
sub eax, ecx
mov dword [ebp - 0xc], eax
cmp eax, dword [edi + 0x2c]
jbe 0x46f7c8
cmp dword [edi + 0x1bc0], 0
je 0x46f7c8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_distance_too_far_back
jmp 0x46f99d
mov ecx, dword [edi + 0x30]
cmp eax, ecx
jbe 0x46f7de
sub eax, ecx
mov ecx, dword [edi + 0x34]
add ecx, dword [edi + 0x28]
mov dword [ebp - 0xc], eax
sub ecx, eax
jmp 0x46f7e9
mov ecx, dword [edi + 0x34]
sub ecx, eax
add ecx, dword [edi + 0x30]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edi + 0x40]
mov dword [ebp - 0x24], ecx
cmp eax, ecx
jbe 0x46f80b
mov eax, ecx
jmp 0x46f808
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jbe 0x46f817
mov eax, ecx
mov dword [ebp - 0xc], eax
sub ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x40], ecx
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
jmp 0x46f835
mov ecx, dword [ebp - 0x2c]
mov cl, byte [ecx + eax]
mov eax, dword [ebp - 0x18]
mov byte [eax], cl
inc eax
dec dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
jne 0x46f832
cmp dword [edi + 0x40], 0
jne 0x46f9a3
mov dword [edi], 0x14
jmp 0x46f9a3
cmp dword [ebp - 0x10], 0
je 0x46f9fd
mov eax, dword [ebp - 0x18]
mov cl, byte [edi + 0x40]
mov byte [eax], cl
inc eax
dec dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [edi], 0x14
jmp 0x46f9a3
cmp dword [edi + 8], 0
je 0x46f946
cmp esi, 0x20
jae 0x46f8b0
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x20
jb 0x46f88e
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add dword [ecx + 0x14], eax
add dword [edi + 0x1c], eax
mov dword [ebp - 0x20], eax
test eax, eax
je 0x46f900
cmp dword [edi + 0x10], 0
je 0x46f8e0
mov edx, dword [edi + 0x18]
mov ecx, dword [ebp - 0x18]
push eax
sub ecx, eax
push edx
call fcn.005d357c
add esp, 8
jmp 0x46f8f4
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
push ecx
sub eax, ecx
mov ecx, dword [edi + 0x18]
call fcn.0046fbac
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
cmp dword [edi + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, ebx
jne 0x46f931
and eax, 0xff00
mov ecx, ebx
shl ecx, 0x10
add eax, ecx
mov ecx, ebx
shr ecx, 8
and ecx, 0xff00
shl eax, 8
add eax, ecx
mov ecx, ebx
shr ecx, 0x18
add eax, ecx
cmp eax, dword [edi + 0x18]
je 0x46f942
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_data_check
jmp 0x46f99d
xor ebx, ebx
xor esi, esi
mov dword [edi], 0x1b
cmp dword [edi + 8], 0
je 0x46f9e7
cmp dword [edi + 0x10], 0
je 0x46f9e7
cmp esi, 0x20
jae 0x46f98e
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x46f9fd
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, esi
shl eax, cl
inc edx
add esi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp esi, 0x20
jb 0x46f96c
cmp ebx, dword [edi + 0x1c]
je 0x46f9e3
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [edi], 0x1d
mov eax, dword [edi]
cmp eax, 0x1e
jbe switch.0x0046e6f4
mov eax, 0xfffffffe
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x10], ecx
mov dword [eax + 4], edx
mov dword [edi + 0x3c], esi
pop esi
mov dword [edi + 0x38], ebx
pop ebx
mov eax, 2
pop edi
mov esp, ebp
pop ebp
ret
xor ebx, ebx
xor esi, esi
mov dword [edi], 0x1c
mov dword [ebp - 0x28], 1
jmp 0x46f9fd
mov dword [ebp - 0x28], 0xfffffffd
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x10], ecx
mov dword [eax + 4], edx
cmp dword [edi + 0x28], 0
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], esi
jne 0x46fa30
cmp dword [edi], 0x1a
jge 0x46fa55
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x10]
je 0x46fa55
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
push edx
call fcn.0047066f
add esp, 4
test eax, eax
je 0x46fa55
mov dword [edi], 0x1e
pop esi
pop ebx
mov eax, 0xfffffffc
pop edi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
sub eax, dword [esi + 4]
mov ebx, dword [ebp - 0x20]
sub ebx, dword [esi + 0x10]
add dword [esi + 8], eax
add dword [esi + 0x14], ebx
add dword [edi + 0x1c], ebx
cmp dword [edi + 8], 0
mov dword [ebp - 0x30], eax
je 0x46faad
test ebx, ebx
je 0x46faad
cmp dword [edi + 0x10], 0
je 0x46fa96
mov ecx, dword [esi + 0xc]
sub ecx, ebx
mov eax, dword [edi + 0x18]
jne 0x46fa8e
xor eax, eax
jmp 0x46faa7
push ebx
call fcn.0046c155
jmp 0x46faa4
mov eax, dword [esi + 0xc]
mov ecx, dword [edi + 0x18]
push ebx
sub eax, ebx
call fcn.0046fbac
add esp, 4
mov dword [edi + 0x18], eax
mov dword [esi + 0x30], eax
mov eax, dword [edi]
cmp eax, 0x13
je 0x46fac0
mov dword [ebp + 8], 0
cmp eax, 0xe
jne 0x46fac7
mov dword [ebp + 8], 0x100
mov ecx, dword [edi + 4]
neg ecx
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
cmp eax, 0xb
setne dl
add ecx, dword [ebp + 8]
dec edx
and edx, 0x80
add edx, ecx
add edx, dword [edi + 0x3c]
cmp dword [ebp - 0x30], 0
mov dword [esi + 0x2c], edx
jne 0x46fb0a
test ebx, ebx
jne 0x46fb0a
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x46f9b3
pop esi
lea eax, [ebx - 5]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x28]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffe
pop edi
mov esp, ebp
pop ebp
ret