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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x30
push edi
test edx, edx
je 0x46aefe
mov edi, dword [edx + 0x1c]
test edi, edi
je 0x46aefe
cmp dword [edx + 0xc], 0
je 0x46aefe
cmp dword [edx], 0
jne 0x469a96
cmp dword [edx + 4], 0
jne 0x46aefe
cmp dword [edi], 0xb
jne 0x469aa1
mov dword [edi], 0xc
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x14]
push ebx
mov ebx, dword [edi + 0x3c]
mov dword [ebp - 0x24], ecx
mov ecx, dword [edi]
push esi
mov esi, dword [edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], 0
cmp ecx, 0x1c
jbe switch.0x00469ae9
mov eax, 0xfffffffe
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
jmp dword [ecx*4 + 0x46af08]
cmp dword [edi + 8], 0
jne 0x469b01
mov dword [edi], 0xc
jmp 0x46ad9a
cmp ebx, 0x10
jae 0x469b2b
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
inc esi
add ebx, 8
mov dword [ebp - 0xc], esi
add eax, edx
mov dword [ebp - 8], eax
cmp ebx, 0x10
jb 0x469b06
test byte [edi + 8], 2
je 0x469b75
cmp eax, 0x8b1f
jne 0x469b75
mov word [ebp - 0x18], ax
mov eax, dword [0x4d13c8]
mov dword [edi + 0x18], 0
test eax, eax
je 0x469b51
call fcn.00466470
mov edx, 2
lea ecx, [ebp - 0x18]
xor eax, eax
call fcn.00466690
xor ebx, ebx
mov dword [edi + 0x18], eax
mov dword [ebp - 8], ebx
mov dword [edi], 1
mov eax, ebx
jmp 0x46ad9a
mov eax, dword [edi + 0x20]
mov dword [edi + 0x10], 0
test eax, eax
je 0x469b8a
mov dword [eax + 0x30], 0xffffffff
test byte [edi + 8], 1
je 0x469c2d
mov ecx, dword [ebp - 8]
movzx eax, cl
shl eax, 8
shr ecx, 8
add eax, ecx
xor edx, edx
mov ecx, 0x1f
div ecx
test edx, edx
jne 0x469c2d
mov ecx, dword [ebp - 8]
mov edx, ecx
and dl, 0xf
cmp dl, 8
je 0x469bcd
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov eax, ecx
jmp 0x46ad94
shr ecx, 4
mov dword [ebp - 8], ecx
and ecx, 0xf
add ecx, 8
sub ebx, 4
cmp ecx, dword [edi + 0x24]
jbe 0x469bf3
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [ecx + 0x18], str.invalid_window_size
jmp 0x46ad94
mov edx, 1
shl edx, cl
xor eax, eax
xor ecx, ecx
mov dword [edi + 0x14], edx
xor edx, edx
call fcn.0046ba30
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 8]
shr edx, 8
not edx
and edx, 2
or edx, 9
mov dword [edi + 0x18], eax
xor ebx, ebx
mov dword [ecx + 0x30], eax
mov dword [edi], edx
mov dword [ebp - 8], ebx
mov eax, ebx
jmp 0x46ad9a
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_header_check
mov eax, dword [ebp - 8]
jmp 0x46ad94
cmp ebx, 0x10
jae 0x469c69
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
inc esi
add ebx, 8
mov dword [ebp - 0xc], esi
add eax, edx
mov dword [ebp - 8], eax
cmp ebx, 0x10
jb 0x469c44
mov dword [edi + 0x10], eax
cmp al, 8
je 0x469c7f
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.unknown_compression_method
jmp 0x46ad94
test eax, 0xe000
je 0x469c95
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.unknown_header_flags_set
jmp 0x46ad94
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x469ca6
mov edx, eax
shr edx, 8
and edx, 1
mov dword [ecx], edx
test dword [edi + 0x10], 0x200
je 0x469cdb
mov ebx, dword [edi + 0x18]
mov byte [ebp - 0x18], al
shr eax, 8
mov byte [ebp - 0x17], al
mov eax, dword [0x4d13c8]
test eax, eax
je 0x469cc9
call fcn.00466470
mov edx, 2
lea ecx, [ebp - 0x18]
mov eax, ebx
call fcn.00466690
mov dword [edi + 0x18], eax
xor eax, eax
xor ebx, ebx
mov dword [edi], 2
jmp 0x469cf0
cmp ebx, 0x20
jae 0x469d0f
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
add ebx, 8
inc esi
add eax, edx
cmp ebx, 0x20
jb 0x469cf0
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x469d19
mov dword [ecx + 4], eax
test dword [edi + 0x10], 0x200
je 0x469d5e
mov ebx, dword [edi + 0x18]
mov ecx, eax
mov edx, eax
mov byte [ebp - 0x18], al
shr eax, 0x18
mov byte [ebp - 0x15], al
mov eax, dword [0x4d13c8]
shr ecx, 8
shr edx, 0x10
mov byte [ebp - 0x17], cl
mov byte [ebp - 0x16], dl
test eax, eax
je 0x469d4c
call fcn.00466470
mov edx, 4
lea ecx, [ebp - 0x18]
mov eax, ebx
call fcn.00466690
mov dword [edi + 0x18], eax
xor eax, eax
xor ebx, ebx
mov dword [edi], 3
jmp 0x469d70
cmp ebx, 0x10
jae 0x469d92
nop
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
inc esi
add ebx, 8
mov dword [ebp - 0xc], esi
add eax, edx
cmp ebx, 0x10
jb 0x469d70
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x469daf
mov edx, eax
and edx, 0xff
mov dword [ecx + 8], edx
mov edx, dword [edi + 0x20]
mov ecx, eax
shr ecx, 8
mov dword [edx + 0xc], ecx
test dword [edi + 0x10], 0x200
je 0x469de4
mov ebx, dword [edi + 0x18]
mov byte [ebp - 0x18], al
shr eax, 8
mov byte [ebp - 0x17], al
mov eax, dword [0x4d13c8]
test eax, eax
je 0x469dd2
call fcn.00466470
mov edx, 2
lea ecx, [ebp - 0x18]
mov eax, ebx
call fcn.00466690
mov dword [edi + 0x18], eax
xor eax, eax
mov dword [ebp - 8], eax
xor ebx, ebx
mov dword [edi], 4
test dword [edi + 0x10], 0x400
je 0x469e6d
cmp ebx, 0x10
jae 0x469e22
nop
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
inc esi
add ebx, 8
mov dword [ebp - 0xc], esi
add eax, edx
cmp ebx, 0x10
jb 0x469e00
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x40], eax
test ecx, ecx
je 0x469e2f
mov dword [ecx + 0x14], eax
test dword [edi + 0x10], 0x200
je 0x469e64
mov ebx, dword [edi + 0x18]
mov byte [ebp - 0x18], al
shr eax, 8
mov byte [ebp - 0x17], al
mov eax, dword [0x4d13c8]
test eax, eax
je 0x469e52
call fcn.00466470
mov edx, 2
lea ecx, [ebp - 0x18]
mov eax, ebx
call fcn.00466690
mov dword [edi + 0x18], eax
xor eax, eax
mov dword [ebp - 8], eax
xor ebx, ebx
jmp 0x469e7b
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x469e7b
mov dword [ecx + 0x10], 0
mov dword [edi], 5
test dword [edi + 0x10], 0x400
je 0x469f20
mov ecx, dword [edi + 0x40]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
cmp ecx, edx
jbe 0x469ea0
mov ecx, edx
mov dword [ebp - 0x10], edx
test ecx, ecx
je 0x469f16
mov edx, dword [edi + 0x20]
test edx, edx
je 0x469ee6
mov edx, dword [edx + 0x10]
mov dword [ebp - 0x2c], edx
test edx, edx
je 0x469ee6
mov edx, dword [edi + 0x20]
mov eax, dword [edx + 0x14]
sub eax, dword [edi + 0x40]
mov edx, dword [edx + 0x18]
mov dword [ebp - 0x20], eax
add eax, ecx
cmp eax, edx
jbe 0x469ecf
sub edx, dword [ebp - 0x20]
mov ecx, edx
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x20]
push esi
push ecx
call fcn.00478ec0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add esp, 0xc
test dword [edi + 0x10], 0x200
je 0x469f0b
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x18]
mov esi, dword [ebp - 0xc]
push eax
push ecx
call fcn.00466660
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 8]
add esp, 8
sub dword [ebp - 4], ecx
add esi, ecx
sub dword [edi + 0x40], ecx
mov dword [ebp - 0xc], esi
cmp dword [edi + 0x40], 0
jne 0x46adf1
mov dword [edi + 0x40], 0
mov dword [edi], 6
test dword [edi + 0x10], 0x800
je 0x469fc6
cmp dword [ebp - 4], 0
je 0x46adf1
xor ecx, ecx
movzx edx, byte [ecx + esi]
inc ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x20], edx
test ecx, ecx
je 0x469f7f
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x2c], edx
test edx, edx
je 0x469f7f
mov edx, dword [edi + 0x40]
cmp edx, dword [ecx + 0x20]
jae 0x469f7f
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
mov al, byte [ebp - 0x20]
mov byte [ecx + edx], al
inc dword [edi + 0x40]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x20], 0
je 0x469f8d
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 4]
jb 0x469f46
test dword [edi + 0x10], 0x200
je 0x469faf
mov edx, dword [ebp - 0x10]
mov eax, dword [edi + 0x18]
mov esi, dword [ebp - 0xc]
push edx
push eax
call fcn.00466660
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 8]
add esp, 8
mov ecx, dword [ebp - 0x10]
sub dword [ebp - 4], ecx
add esi, ecx
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0xc], esi
jne 0x46adf1
jmp 0x469fd4
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x469fd4
mov dword [ecx + 0x1c], 0
mov dword [edi + 0x40], 0
mov dword [edi], 7
test dword [edi + 0x10], 0x1000
je 0x46a080
cmp dword [ebp - 4], 0
je 0x46adf1
xor ecx, ecx
lea ebx, [ebx]
movzx edx, byte [ecx + esi]
inc ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x20], edx
test ecx, ecx
je 0x46a039
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x2c], edx
test edx, edx
je 0x46a039
mov edx, dword [edi + 0x40]
cmp edx, dword [ecx + 0x28]
jae 0x46a039
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
mov al, byte [ebp - 0x20]
mov byte [ecx + edx], al
inc dword [edi + 0x40]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x20], 0
je 0x46a047
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 4]
jb 0x46a000
test dword [edi + 0x10], 0x200
je 0x46a069
mov edx, dword [ebp - 0x10]
mov eax, dword [edi + 0x18]
mov esi, dword [ebp - 0xc]
push edx
push eax
call fcn.00466660
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 8]
add esp, 8
mov ecx, dword [ebp - 0x10]
sub dword [ebp - 4], ecx
add esi, ecx
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0xc], esi
jne 0x46adf1
jmp 0x46a08e
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x46a08e
mov dword [ecx + 0x24], 0
mov dword [edi], 8
test dword [edi + 0x10], 0x200
je 0x46a0e5
cmp ebx, 0x10
jae 0x46a0c7
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
inc esi
add ebx, 8
mov dword [ebp - 0xc], esi
add eax, edx
mov dword [ebp - 8], eax
cmp ebx, 0x10
jb 0x46a0a2
movzx ecx, word [edi + 0x18]
cmp eax, ecx
je 0x46a0de
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.header_crc_mismatch
jmp 0x46ad94
xor eax, eax
mov dword [ebp - 8], eax
xor ebx, ebx
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x46a102
mov edx, dword [edi + 0x10]
sar edx, 9
and edx, 1
mov dword [ecx + 0x2c], edx
mov ecx, dword [edi + 0x20]
mov dword [ecx + 0x30], 1
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edi + 0x18], ecx
mov dword [edx + 0x30], ecx
mov dword [edi], 0xb
jmp 0x46ad9a
cmp ebx, 0x20
jae 0x46a142
lea ecx, [ecx]
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
inc esi
add ebx, 8
mov dword [ebp - 0xc], esi
add eax, edx
cmp ebx, 0x20
jb 0x46a120
mov ecx, eax
mov edx, eax
shl edx, 0x10
and ecx, 0xff00
add ecx, edx
mov edx, eax
shr edx, 8
and edx, 0xff00
shl ecx, 8
add ecx, edx
mov edx, dword [ebp + 8]
shr eax, 0x18
add eax, ecx
mov dword [edi + 0x18], eax
mov dword [edx + 0x30], eax
xor eax, eax
mov dword [ebp - 8], eax
xor ebx, ebx
mov dword [edi], 0xa
cmp dword [edi + 0xc], 0
je 0x46adb1
xor eax, eax
xor edx, edx
xor ecx, ecx
call fcn.0046ba30
mov ecx, dword [ebp + 8]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [edi], 0xb
cmp dword [edi + 4], 0
je 0x46a1c0
mov ecx, ebx
and ecx, 7
shr eax, cl
sub ebx, ecx
mov dword [edi], 0x18
mov dword [ebp - 8], eax
jmp 0x46ad9a
cmp ebx, 3
jae 0x46a1e7
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
inc esi
add ebx, 8
mov dword [ebp - 0xc], esi
add eax, edx
cmp ebx, 3
jb 0x46a1c5
mov ecx, eax
and ecx, 1
shr eax, 1
mov dword [edi + 4], ecx
mov ecx, eax
and ecx, 3
cmp ecx, 3
ja case.default.0x46a1fb
jmp dword [ecx*4 + 0x46af7c]
shr eax, 2
mov dword [edi], 0xd
mov dword [ebp - 8], eax
sub ebx, 3
jmp 0x46ad9a
shr eax, 2
mov dword [edi + 0x4c], 0x4a9608
mov dword [edi + 0x54], 9
mov dword [edi + 0x50], 0x4a9e08
mov dword [edi + 0x58], 5
mov dword [edi], 0x12
mov dword [ebp - 8], eax
sub ebx, 3
jmp 0x46ad9a
shr eax, 2
mov dword [edi], 0xf
mov dword [ebp - 8], eax
sub ebx, 3
jmp 0x46ad9a
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_block_type
mov dword [edi], 0x1b
shr eax, 2
mov dword [ebp - 8], eax
sub ebx, 3
jmp 0x46ad9a
mov ecx, ebx
and ecx, 7
shr eax, cl
sub ebx, ecx
mov dword [ebp - 8], eax
cmp ebx, 0x20
jae 0x46a2b5
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
inc esi
add ebx, 8
mov dword [ebp - 0xc], esi
add eax, edx
mov dword [ebp - 8], eax
cmp ebx, 0x20
jb 0x46a290
mov edx, eax
mov ecx, eax
not edx
and ecx, 0xffff
shr edx, 0x10
cmp ecx, edx
je 0x46a2d7
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_stored_block_lengths
jmp 0x46ad94
xor eax, eax
mov dword [edi + 0x40], ecx
mov dword [ebp - 8], eax
xor ebx, ebx
mov dword [edi], 0xe
mov ecx, dword [edi + 0x40]
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x46a95f
mov edx, dword [ebp - 4]
cmp ecx, edx
jbe 0x46a301
mov ecx, edx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jbe 0x46a30d
mov ecx, edx
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x46adf1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
push edx
push esi
push eax
call fcn.00478ec0
mov eax, dword [ebp - 0x10]
sub dword [ebp - 4], eax
sub dword [ebp - 0x14], eax
add dword [ebp - 0x1c], eax
add esi, eax
add esp, 0xc
sub dword [edi + 0x40], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
jmp 0x46ad9a
cmp ebx, 0xe
jae 0x46a372
jmp 0x46a350
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
inc esi
add ebx, 8
mov dword [ebp - 0xc], esi
add eax, edx
cmp ebx, 0xe
jb 0x46a350
mov ecx, eax
and ecx, 0x1f
shr eax, 5
add ecx, 0x101
mov edx, eax
mov dword [edi + 0x60], ecx
shr eax, 5
mov ecx, eax
and edx, 0x1f
and ecx, 0xf
inc edx
add ecx, 4
shr eax, 4
sub ebx, 0xe
cmp dword [edi + 0x60], 0x11e
mov dword [edi + 0x64], edx
mov dword [edi + 0x5c], ecx
mov dword [ebp - 8], eax
ja 0x46a491
cmp edx, 0x1e
ja 0x46a491
mov dword [edi + 0x68], 0
mov dword [edi], 0x10
mov ecx, dword [edi + 0x68]
cmp ecx, dword [edi + 0x5c]
jae 0x46a420
mov edi, edi
cmp ebx, 3
jae 0x46a3f7
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
inc esi
add ebx, 8
mov dword [ebp - 0xc], esi
add eax, edx
cmp ebx, 3
jb 0x46a3d5
mov edx, dword [edi + 0x68]
movzx edx, word [edx*2 + 0x4a9e88]
mov ecx, eax
and ecx, 7
mov word [edi + edx*2 + 0x70], cx
inc dword [edi + 0x68]
mov ecx, dword [edi + 0x68]
shr eax, 3
sub ebx, 3
mov dword [ebp - 8], eax
cmp ecx, dword [edi + 0x5c]
jb 0x46a3d0
mov eax, 0x13
cmp dword [edi + 0x68], eax
jae 0x46a44a
lea ebx, [ebx]
mov edx, dword [edi + 0x68]
movzx ecx, word [edx*2 + 0x4a9e88]
xor edx, edx
mov word [edi + ecx*2 + 0x70], dx
inc dword [edi + 0x68]
cmp dword [edi + 0x68], eax
jb 0x46a430
lea eax, [edi + 0x530]
lea edx, [edi + 0x6c]
lea ecx, [edi + 0x2f0]
push ecx
mov dword [edx], eax
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x54]
push eax
push 0x13
lea ecx, [edi + 0x70]
push 0
mov dword [eax], 7
call fcn.0046c0b0
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
mov eax, dword [ebp - 8]
je 0x46a4a0
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_code_lengths_set
jmp 0x46ad94
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.too_many_length_or_distance_symbols
jmp 0x46ad94
mov dword [edi + 0x68], 0
mov dword [edi], 0x11
mov ecx, dword [edi + 0x64]
add ecx, dword [edi + 0x60]
cmp dword [edi + 0x68], ecx
jae 0x46a6e3
lea esp, [esp]
mov ecx, dword [edi + 0x54]
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x4c]
dec edx
and edx, eax
mov ecx, dword [ecx + edx*4]
mov edx, ecx
shr edx, 8
movzx edx, dl
mov dword [ebp - 0x10], ecx
cmp edx, ebx
jbe 0x46a521
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
mov ecx, dword [edi + 0x54]
inc esi
add ebx, 8
add eax, edx
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x4c]
mov dword [ebp - 0xc], esi
dec edx
and edx, eax
mov ecx, dword [ecx + edx*4]
mov edx, ecx
shr edx, 8
movzx edx, dl
mov dword [ebp - 0x10], ecx
cmp edx, ebx
ja 0x46a4e2
mov edx, ecx
shr edx, 0x10
cmp edx, 0x10
jae 0x46a585
mov edx, ecx
shr edx, 8
movzx edx, dl
cmp ebx, edx
jae 0x46a567
jmp 0x46a540
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
mov ecx, dword [ebp - 0x10]
inc esi
add ebx, 8
add eax, edx
movzx edx, ch
mov dword [ebp - 0xc], esi
cmp ebx, edx
jb 0x46a540
mov dx, word [ebp - 0xe]
movzx ecx, ch
shr eax, cl
sub ebx, ecx
mov ecx, dword [edi + 0x68]
mov word [edi + ecx*2 + 0x70], dx
inc dword [edi + 0x68]
mov dword [ebp - 8], eax
jmp 0x46a6d4
mov dx, word [ebp - 0xe]
movzx ecx, ch
mov dword [ebp - 0x20], ecx
cmp dx, 0x10
jne 0x46a5f7
lea edx, [ecx + 2]
cmp ebx, edx
jae 0x46a5c7
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
mov ecx, dword [ebp - 0x20]
inc esi
add ebx, 8
add eax, edx
lea edx, [ecx + 2]
mov dword [ebp - 0xc], esi
cmp ebx, edx
jb 0x46a5a0
shr eax, cl
sub ebx, ecx
mov ecx, dword [edi + 0x68]
mov dword [ebp - 8], eax
test ecx, ecx
je 0x46a735
movzx ecx, word [edi + ecx*2 + 0x6e]
mov dword [ebp - 0x20], ecx
mov ecx, eax
and ecx, 3
add ecx, 3
shr eax, 2
mov dword [ebp - 0x10], ecx
sub ebx, 2
jmp 0x46a69a
cmp dx, 0x11
jne 0x46a642
lea edx, [ecx + 3]
cmp ebx, edx
jae 0x46a62b
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
mov ecx, dword [ebp - 0x20]
inc esi
add ebx, 8
add eax, edx
lea edx, [ecx + 3]
mov dword [ebp - 0xc], esi
cmp ebx, edx
jb 0x46a604
shr eax, cl
mov edx, eax
and edx, 7
add edx, 3
mov dword [ebp - 0x10], edx
shr eax, 3
mov edx, 0xfffffffd
jmp 0x46a68c
lea edx, [ecx + 7]
cmp ebx, edx
jae 0x46a677
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
mov ecx, dword [ebp - 0x20]
inc esi
add ebx, 8
add eax, edx
lea edx, [ecx + 7]
mov dword [ebp - 0xc], esi
cmp ebx, edx
jb 0x46a650
shr eax, cl
mov edx, eax
and edx, 0x7f
add edx, 0xb
mov dword [ebp - 0x10], edx
shr eax, 7
mov edx, 0xfffffff9
sub edx, ecx
mov ecx, dword [ebp - 0x10]
add ebx, edx
mov dword [ebp - 0x20], 0
mov edx, dword [edi + 0x68]
add edx, ecx
mov ecx, dword [edi + 0x64]
add ecx, dword [edi + 0x60]
mov dword [ebp - 8], eax
cmp edx, ecx
ja 0x46a744
cmp dword [ebp - 0x10], 0
je 0x46a6d4
mov ecx, dword [ebp - 0x20]
lea esp, [esp]
mov edx, dword [edi + 0x68]
dec dword [ebp - 0x10]
mov word [edi + edx*2 + 0x70], cx
inc dword [edi + 0x68]
cmp dword [ebp - 0x10], 0
jne 0x46a6c0
mov ecx, dword [edi + 0x64]
add ecx, dword [edi + 0x60]
cmp dword [edi + 0x68], ecx
jb 0x46a4c0
cmp dword [edi], 0x1b
je 0x46ad9a
lea eax, [edi + 0x530]
lea edx, [edi + 0x6c]
mov dword [edx], eax
mov dword [edi + 0x4c], eax
lea ecx, [edi + 0x2f0]
push ecx
lea eax, [edi + 0x54]
push eax
mov dword [eax], 9
mov eax, dword [edi + 0x60]
push eax
lea ecx, [edi + 0x70]
push 1
call fcn.0046c0b0
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x46a753
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [ecx + 0x18], str.invalid_literal_lengths_set
jmp 0x46ad94
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
jmp 0x46ad94
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
jmp 0x46ad94
mov eax, dword [edi + 0x6c]
lea edx, [edi + 0x6c]
mov dword [edi + 0x50], eax
lea ecx, [edi + 0x2f0]
push ecx
mov ecx, dword [edi + 0x64]
lea eax, [edi + 0x58]
push eax
mov dword [eax], 6
mov eax, dword [edi + 0x60]
push ecx
lea ecx, [edi + eax*2 + 0x70]
push 2
call fcn.0046c0b0
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
mov eax, dword [ebp - 8]
je 0x46a79b
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_distances_set
jmp 0x46ad94
mov dword [edi], 0x12
cmp dword [ebp - 4], 6
jb 0x46a807
cmp dword [ebp - 0x14], 0x102
jb 0x46a807
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 8]
push edx
mov dword [eax], esi
push eax
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], ebx
call fcn.0046bca0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [edi + 0x3c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edi + 0x38]
mov dword [ebp - 4], eax
add esp, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ecx
mov eax, ecx
jmp 0x46ad9a
mov ecx, dword [edi + 0x54]
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x4c]
dec edx
and edx, eax
mov edx, dword [ecx + edx*4]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x10], edx
cmp ecx, ebx
jbe 0x46a86f
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
mov ecx, dword [edi + 0x54]
inc esi
add ebx, 8
add eax, edx
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x4c]
mov dword [ebp - 0xc], esi
dec edx
and edx, eax
mov edx, dword [ecx + edx*4]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x10], edx
cmp ecx, ebx
ja 0x46a830
test dl, dl
je 0x46a931
test dl, 0xf0
jne 0x46a931
mov ecx, edx
shr ecx, 8
mov dword [ebp - 0x2c], ecx
movzx ecx, cl
mov dword [ebp - 0x20], ecx
movzx ecx, dl
add ecx, dword [ebp - 0x20]
mov dword [ebp - 8], edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebp - 0x20]
dec edx
and edx, eax
shr edx, cl
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
add edx, ecx
mov ecx, dword [edi + 0x4c]
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x10], ecx
shr ecx, 8
movzx edx, cl
movzx ecx, byte [ebp - 0x2c]
add edx, ecx
cmp edx, ebx
jbe 0x46a926
jmp 0x46a8d0
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
mov ecx, dword [ebp - 8]
dec dword [ebp - 4]
inc esi
add eax, edx
movzx edx, ch
movzx ecx, cl
add ecx, edx
mov dword [ebp - 0x20], edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebp - 0x20]
add ebx, 8
mov dword [ebp - 0xc], esi
dec edx
and edx, eax
shr edx, cl
movzx ecx, word [ebp - 6]
add edx, ecx
mov ecx, dword [edi + 0x4c]
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x10], ecx
shr ecx, 8
movzx edx, cl
add edx, dword [ebp - 0x20]
cmp edx, ebx
ja 0x46a8d0
movzx ecx, byte [ebp - 7]
mov edx, dword [ebp - 0x10]
shr eax, cl
sub ebx, ecx
mov ecx, edx
shr ecx, 8
movzx ecx, cl
shr eax, cl
sub ebx, ecx
mov dword [ebp - 0x20], ecx
mov ecx, edx
shr ecx, 0x10
mov dword [ebp - 8], eax
mov dword [edi + 0x40], ecx
test dl, dl
jne 0x46a95a
mov dword [edi], 0x17
jmp 0x46ad9a
test dl, 0x20
je 0x46a96a
mov dword [edi], 0xb
jmp 0x46ad9a
test dl, 0x40
je 0x46a97e
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_literal_length_code
jmp 0x46ad94
movzx ecx, dl
and ecx, 0xf
mov dword [edi + 0x48], ecx
mov dword [edi], 0x13
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x46a9d6
cmp ebx, ecx
jae 0x46a9c2
jmp 0x46a9a0
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
inc esi
add ebx, 8
mov dword [ebp - 0xc], esi
add eax, edx
cmp ebx, dword [edi + 0x48]
jb 0x46a9a0
mov ecx, dword [edi + 0x48]
mov edx, 1
shl edx, cl
dec edx
and edx, eax
add dword [edi + 0x40], edx
shr eax, cl
sub ebx, ecx
mov dword [edi], 0x14
mov ecx, dword [edi + 0x58]
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x50]
dec edx
and edx, eax
mov edx, dword [ecx + edx*4]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x10], edx
cmp ecx, ebx
jbe 0x46aa3f
mov edi, edi
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
mov ecx, dword [edi + 0x58]
inc esi
add ebx, 8
add eax, edx
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x50]
mov dword [ebp - 0xc], esi
dec edx
and edx, eax
mov edx, dword [ecx + edx*4]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x10], edx
cmp ecx, ebx
ja 0x46aa00
test dl, 0xf0
jne 0x46aaf1
mov ecx, edx
shr ecx, 8
mov dword [ebp - 0x2c], ecx
movzx ecx, cl
mov dword [ebp - 0x20], ecx
movzx ecx, dl
add ecx, dword [ebp - 0x20]
mov dword [ebp - 8], edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebp - 0x20]
dec edx
and edx, eax
shr edx, cl
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
add edx, ecx
mov ecx, dword [edi + 0x50]
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x10], ecx
shr ecx, 8
movzx edx, cl
movzx ecx, byte [ebp - 0x2c]
add edx, ecx
cmp edx, ebx
jbe 0x46aae6
nop
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
mov ecx, dword [ebp - 8]
dec dword [ebp - 4]
inc esi
add eax, edx
movzx edx, ch
movzx ecx, cl
add ecx, edx
mov dword [ebp - 0x20], edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebp - 0x20]
add ebx, 8
mov dword [ebp - 0xc], esi
dec edx
and edx, eax
shr edx, cl
movzx ecx, word [ebp - 6]
add edx, ecx
mov ecx, dword [edi + 0x50]
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x10], ecx
shr ecx, 8
movzx edx, cl
add edx, dword [ebp - 0x20]
cmp edx, ebx
ja 0x46aa90
movzx ecx, byte [ebp - 7]
mov edx, dword [ebp - 0x10]
shr eax, cl
sub ebx, ecx
mov ecx, edx
shr ecx, 8
movzx ecx, cl
shr eax, cl
sub ebx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], eax
test dl, 0x40
je 0x46ab17
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_distance_code
jmp 0x46ad94
mov ecx, edx
movzx edx, dl
shr ecx, 0x10
and edx, 0xf
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], edx
mov dword [edi], 0x15
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x46ab79
cmp ebx, ecx
jae 0x46ab62
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
inc esi
add ebx, 8
mov dword [ebp - 0xc], esi
add eax, edx
cmp ebx, dword [edi + 0x48]
jb 0x46ab40
mov ecx, dword [edi + 0x48]
mov edx, 1
shl edx, cl
dec edx
and edx, eax
add dword [edi + 0x44], edx
shr eax, cl
sub ebx, ecx
mov dword [ebp - 8], eax
mov ecx, dword [edi + 0x2c]
sub ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x24]
cmp dword [edi + 0x44], ecx
jbe 0x46ab96
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_distance_too_far_back
jmp 0x46ad94
mov dword [edi], 0x16
cmp dword [ebp - 0x14], 0
je 0x46adf1
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x14]
mov ecx, dword [edi + 0x44]
cmp ecx, edx
jbe 0x46abea
sub ecx, edx
mov edx, dword [edi + 0x30]
mov dword [ebp - 0x10], ecx
cmp ecx, edx
jbe 0x46abce
sub ecx, edx
mov edx, dword [edi + 0x34]
add edx, dword [edi + 0x28]
mov dword [ebp - 0x10], ecx
sub edx, ecx
jmp 0x46abd9
mov edx, dword [edi + 0x34]
sub edx, ecx
add edx, dword [edi + 0x30]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
mov edx, dword [edi + 0x40]
mov dword [ebp - 0x20], edx
cmp ecx, edx
jbe 0x46abfb
mov ecx, edx
jmp 0x46abf8
mov edx, dword [ebp - 0x1c]
sub edx, ecx
mov ecx, dword [edi + 0x40]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jbe 0x46ac07
mov ecx, edx
mov dword [ebp - 0x10], ecx
sub edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x20]
sub edx, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x40], edx
mov edx, dword [ebp - 0x1c]
sub ecx, edx
mov dword [ebp - 0x2c], ecx
jmp 0x46ac24
mov ecx, dword [ebp - 0x2c]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x1c]
mov byte [edx], cl
inc edx
dec dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
jne 0x46ac21
cmp dword [edi + 0x40], 0
jne 0x46ad9a
mov dword [edi], 0x12
jmp 0x46ad9a
cmp dword [ebp - 0x14], 0
je 0x46adf1
mov ecx, dword [ebp - 0x1c]
mov dl, byte [edi + 0x40]
mov byte [ecx], dl
inc ecx
dec dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov dword [edi], 0x12
jmp 0x46ad9a
cmp dword [edi + 8], 0
je 0x46ad3d
cmp ebx, 0x20
jae 0x46aca5
lea ecx, [ecx]
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
inc esi
add ebx, 8
mov dword [ebp - 0xc], esi
add eax, edx
mov dword [ebp - 8], eax
cmp ebx, 0x20
jb 0x46ac80
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add dword [edx + 0x14], ecx
add dword [edi + 0x1c], ecx
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x46acf3
cmp dword [edi + 0x10], 0
mov eax, ecx
je 0x46acda
mov esi, dword [ebp - 0x1c]
push eax
sub esi, eax
mov eax, dword [edi + 0x18]
push eax
call fcn.00466660
mov esi, dword [ebp - 0xc]
add esp, 8
jmp 0x46ace7
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x18]
sub edx, eax
call fcn.0046ba30
mov ecx, dword [ebp + 8]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 8]
cmp dword [edi + 0x10], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov ecx, eax
jne 0x46ad25
and ecx, 0xff00
mov edx, eax
shl edx, 0x10
add ecx, edx
mov edx, eax
shr edx, 8
and edx, 0xff00
shl ecx, 8
add ecx, edx
mov edx, eax
shr edx, 0x18
add ecx, edx
cmp ecx, dword [edi + 0x18]
je 0x46ad36
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.incorrect_data_check
jmp 0x46ad94
xor eax, eax
mov dword [ebp - 8], eax
xor ebx, ebx
mov dword [edi], 0x19
cmp dword [edi + 8], 0
je 0x46addb
cmp dword [edi + 0x10], 0
je 0x46addb
cmp ebx, 0x20
jae 0x46ad85
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x46adf1
movzx edx, byte [esi]
dec dword [ebp - 4]
mov ecx, ebx
shl edx, cl
inc esi
add ebx, 8
mov dword [ebp - 0xc], esi
add eax, edx
mov dword [ebp - 8], eax
cmp ebx, 0x20
jb 0x46ad60
cmp eax, dword [edi + 0x1c]
je 0x46add7
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [edi], 0x1b
mov ecx, dword [edi]
cmp ecx, 0x1c
jbe 0x469ae6
pop esi
pop ebx
mov eax, 0xfffffffe
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 4]
mov dword [edx], esi
mov dword [edx + 4], ecx
pop esi
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x38], eax
pop ebx
mov eax, 2
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
xor ebx, ebx
mov dword [edi], 0x1a
mov dword [ebp - 0x28], 1
jmp 0x46adf1
mov dword [ebp - 0x28], 0xfffffffd
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x10], edx
mov edx, dword [ebp - 4]
mov dword [ecx], esi
mov dword [ecx + 4], edx
cmp dword [edi + 0x28], 0
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ebx
jne 0x46ae21
cmp dword [edi], 0x18
jge 0x46ae42
mov eax, dword [ebp - 0x24]
cmp eax, dword [ecx + 0x10]
je 0x46ae42
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp + 8]
call fcn.00469960
test eax, eax
je 0x46ae42
mov dword [edi], 0x1c
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 - 0x24]
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 0x46aeb6
test ebx, ebx
je 0x46aeb6
cmp dword [edi + 0x10], 0
je 0x46ae9e
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 0x18]
sub eax, ebx
mov dword [ebp + 8], eax
mov dword [ebp - 0x2c], edx
jne 0x46ae81
xor eax, eax
jmp 0x46aead
mov eax, dword [0x4d13c8]
test eax, eax
je 0x46ae8f
call fcn.00466470
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
mov edx, ebx
call fcn.00466690
jmp 0x46aead
mov edx, dword [esi + 0xc]
mov ecx, dword [edi + 0x18]
sub edx, ebx
mov eax, ebx
call fcn.0046ba30
mov dword [edi + 0x18], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [edi + 4]
neg ecx
sbb ecx, ecx
and ecx, 0x40
xor edx, edx
cmp dword [edi], 0xb
setne dl
dec edx
and edx, 0x80
add ecx, edx
add ecx, dword [edi + 0x3c]
mov dword [esi + 0x2c], ecx
test eax, eax
jne 0x46aef4
test ebx, ebx
jne 0x46aef4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x469adf
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