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

Disassembly:
sub esp, 0xc
push ebp
mov ebp, ecx
mov dword [esp + 4], edx
push esi
test ebp, ebp
je 0x469a63
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x469a63
cmp edx, 5
ja 0x469a63
cmp dword [ebp + 0xc], 0
je 0x469a5c
cmp dword [ebp], 0
jne 0x469021
cmp dword [ebp + 4], 0
jne 0x469a5c
mov eax, dword [esi + 4]
cmp eax, 0x29a
jne 0x469034
cmp edx, 4
jne 0x469a5c
cmp dword [ebp + 0x10], 0
push ebx
push edi
je 0x4697d9
mov ecx, dword [esi + 0x28]
mov dword [esi], ebp
mov dword [esp + 0x18], ecx
mov dword [esi + 0x28], edx
cmp eax, 0x2a
jne 0x46933f
cmp dword [esi + 0x18], 2
jne 0x46925b
mov dword [ebp + 0x30], 0
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov byte [ecx + eax], 0x1f
inc dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov byte [ecx + eax], 0x8b
inc dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov byte [ecx + eax], 8
mov edx, dword [esi + 0x14]
mov edi, dword [esi + 0x1c]
inc edx
mov dword [esi + 0x14], edx
test edi, edi
jne 0x469128
mov eax, dword [esi + 8]
mov byte [edx + eax], 0
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], 0
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], 0
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], 0
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], 0
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x84]
inc edx
mov dword [esi + 0x14], edx
cmp eax, 9
jne 0x4690f1
mov cl, 2
jmp 0x469105
cmp dword [esi + 0x88], 2
jge 0x469103
cmp eax, 2
jl 0x469103
xor cl, cl
jmp 0x469105
mov cl, 4
mov eax, dword [esi + 8]
mov byte [edx + eax], cl
inc dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov byte [ecx + eax], 0xb
mov eax, 0x71
inc dword [esi + 0x14]
mov dword [esi + 4], eax
jmp 0x46933f
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x2c]
neg ecx
sbb cl, cl
and cl, 0x10
neg eax
sbb al, al
and al, 2
add cl, al
mov eax, dword [edi + 0x1c]
neg eax
sbb al, al
and al, 8
add cl, al
mov eax, dword [edi + 0x10]
neg eax
sbb al, al
and al, 4
add cl, al
cmp dword [edi], 0
setne al
add cl, al
mov eax, dword [esi + 8]
mov byte [edx + eax], cl
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
inc edx
mov ecx, dword [esi + 8]
mov dword [esi + 0x14], edx
movzx eax, byte [eax + 4]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
inc edx
mov ecx, dword [esi + 8]
mov dword [esi + 0x14], edx
movzx eax, byte [eax + 5]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
inc edx
mov ecx, dword [esi + 8]
mov dword [esi + 0x14], edx
movzx eax, byte [eax + 6]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
inc edx
mov ecx, dword [esi + 8]
mov dword [esi + 0x14], edx
movzx eax, byte [eax + 7]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x84]
inc edx
mov dword [esi + 0x14], edx
cmp eax, 9
jne 0x4691c7
mov cl, 2
jmp 0x4691db
cmp dword [esi + 0x88], 2
jge 0x4691d9
cmp eax, 2
jl 0x4691d9
xor cl, cl
jmp 0x4691db
mov cl, 4
mov eax, dword [esi + 8]
mov byte [edx + eax], cl
inc dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov al, byte [eax + 0xc]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
inc edx
mov dword [esi + 0x14], edx
cmp dword [eax + 0x10], 0
je 0x469226
mov ecx, dword [esi + 8]
movzx eax, byte [eax + 0x14]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
movzx eax, byte [eax + 0x15]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x469247
mov eax, dword [esi + 8]
test eax, eax
je 0x469244
mov ecx, dword [ebp + 0x30]
push edx
mov edx, eax
call fcn.00468990
add esp, 4
mov dword [ebp + 0x30], eax
mov eax, 0x45
mov dword [esi + 0x20], 0
mov dword [esi + 4], eax
jmp 0x46933f
mov ecx, dword [esi + 0x30]
shl ecx, 0xc
sub ecx, 0x7800
cmp dword [esi + 0x88], 2
mov edi, ecx
jge 0x4692a2
mov eax, dword [esi + 0x84]
cmp eax, 2
jl 0x4692a2
cmp eax, 6
jge 0x46928c
mov edx, 0x40
lea eax, [edx + 0x20]
jmp 0x4692a7
jne 0x469298
mov edx, 0x80
lea eax, [edx + 0x20]
jmp 0x4692a7
mov edx, 0xc0
lea eax, [edx + 0x20]
jmp 0x4692a7
xor edx, edx
lea eax, [edx + 0x20]
or ecx, edx
cmp dword [esi + 0x6c], 0
je 0x4692b3
mov ecx, edi
or ecx, eax
mov eax, 0x8421085
mov dword [esi + 4], 0x71
mul ecx
mov eax, dword [esi + 8]
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 4
inc ecx
mov ebx, ecx
shl ebx, 5
sub ebx, ecx
mov ecx, dword [esi + 0x14]
mov edx, ebx
shr edx, 8
mov byte [ecx + eax], dl
inc dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov byte [ecx + eax], bl
mov edi, dword [esi + 0x14]
inc edi
cmp dword [esi + 0x6c], 0
mov dword [esi + 0x14], edi
je 0x469338
movzx edx, word [ebp + 0x32]
mov eax, dword [esi + 8]
mov ecx, edx
shr ecx, 8
mov byte [edi + eax], cl
inc dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov byte [ecx + eax], dl
inc dword [esi + 0x14]
movzx ebx, word [ebp + 0x30]
mov edx, dword [esi + 0x14]
mov ecx, ebx
mov eax, dword [esi + 8]
shr ecx, 8
mov byte [edx + eax], cl
inc dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov byte [ecx + eax], bl
inc dword [esi + 0x14]
mov dword [ebp + 0x30], 1
cmp dword [esi + 4], 0x45
jne 0x469449
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 0x10], 0
je 0x469442
movzx eax, word [ecx + 0x14]
mov ebx, dword [esi + 0x14]
mov edi, ebx
cmp dword [esi + 0x20], eax
jae 0x469407
cmp edi, dword [esi + 0xc]
jne 0x4693db
cmp dword [ecx + 0x2c], 0
je 0x469393
cmp edi, ebx
jbe 0x469393
mov edx, dword [esi + 8]
sub edi, ebx
add edx, ebx
jne 0x469384
xor eax, eax
jmp 0x469390
mov ecx, dword [ebp + 0x30]
push edi
call fcn.00468990
add esp, 4
mov dword [ebp + 0x30], eax
mov ebx, dword [ebp + 0x1c]
mov ecx, ebx
call fcn.0046d9d0
mov edi, dword [ebp + 0x10]
cmp dword [ebx + 0x14], edi
cmovbe edi, dword [ebx + 0x14]
test edi, edi
je 0x4693d1
push edi
push dword [ebx + 0x10]
push dword [ebp + 0xc]
call fcn.00488550
add dword [ebp + 0xc], edi
add esp, 0xc
add dword [ebx + 0x10], edi
add dword [ebp + 0x14], edi
sub dword [ebp + 0x10], edi
sub dword [ebx + 0x14], edi
jne 0x4693d1
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov ebx, dword [esi + 0x14]
mov edi, ebx
cmp ebx, dword [esi + 0xc]
je 0x469407
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
mov edx, dword [eax + 0x10]
mov eax, dword [esi + 0x20]
mov al, byte [edx + eax]
mov byte [edi + ecx], al
mov edi, dword [esi + 0x14]
inc dword [esi + 0x20]
inc edi
mov dword [esi + 0x14], edi
mov ecx, dword [esi + 0x1c]
movzx eax, word [ecx + 0x14]
cmp dword [esi + 0x20], eax
jb 0x469368
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x469430
cmp edi, ebx
jbe 0x469430
mov edx, dword [esi + 8]
sub edi, ebx
add edx, ebx
jne 0x469421
xor eax, eax
jmp 0x46942d
mov ecx, dword [ebp + 0x30]
push edi
call fcn.00468990
add esp, 4
mov dword [ebp + 0x30], eax
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp eax, dword [ecx + 0x14]
jne 0x469449
mov dword [esi + 0x20], 0
mov dword [esi + 4], 0x49
cmp dword [esi + 4], 0x49
jne 0x469554
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x1c], 0
je 0x46954d
mov ebx, dword [esi + 0x14]
mov edi, ebx
cmp edi, dword [esi + 0xc]
jne 0x4694db
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x469493
cmp edi, ebx
jbe 0x469493
mov edx, dword [esi + 8]
sub edi, ebx
add edx, ebx
jne 0x469484
xor eax, eax
jmp 0x469490
mov ecx, dword [ebp + 0x30]
push edi
call fcn.00468990
add esp, 4
mov dword [ebp + 0x30], eax
mov ebx, dword [ebp + 0x1c]
mov ecx, ebx
call fcn.0046d9d0
mov edi, dword [ebp + 0x10]
cmp dword [ebx + 0x14], edi
cmovbe edi, dword [ebx + 0x14]
test edi, edi
je 0x4694d1
push edi
push dword [ebx + 0x10]
push dword [ebp + 0xc]
call fcn.00488550
add dword [ebp + 0xc], edi
add esp, 0xc
add dword [ebx + 0x10], edi
add dword [ebp + 0x14], edi
sub dword [ebp + 0x10], edi
sub dword [ebx + 0x14], edi
jne 0x4694d1
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov ebx, dword [esi + 0x14]
mov edi, ebx
cmp ebx, dword [esi + 0xc]
je 0x46950e
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + 0x1c]
mov dl, byte [ecx + eax]
movzx eax, dl
mov dword [esp + 0x14], eax
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
mov byte [edi + eax], dl
mov edi, dword [esi + 0x14]
inc edi
cmp dword [esp + 0x14], 0
mov dword [esi + 0x14], edi
jne 0x469465
jmp 0x469516
mov dword [esp + 0x14], 1
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x46953f
cmp edi, ebx
jbe 0x46953f
mov edx, dword [esi + 8]
sub edi, ebx
add edx, ebx
jne 0x469530
xor eax, eax
jmp 0x46953c
mov ecx, dword [ebp + 0x30]
push edi
call fcn.00468990
add esp, 4
mov dword [ebp + 0x30], eax
cmp dword [esp + 0x14], 0
jne 0x469554
mov dword [esi + 0x20], 0
mov dword [esi + 4], 0x5b
cmp dword [esi + 4], 0x5b
jne 0x469658
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x24], 0
je 0x469651
mov ebx, dword [esi + 0x14]
mov edi, ebx
cmp edi, dword [esi + 0xc]
jne 0x4695e6
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x46959e
cmp edi, ebx
jbe 0x46959e
mov edx, dword [esi + 8]
sub edi, ebx
add edx, ebx
jne 0x46958f
xor eax, eax
jmp 0x46959b
mov ecx, dword [ebp + 0x30]
push edi
call fcn.00468990
add esp, 4
mov dword [ebp + 0x30], eax
mov ebx, dword [ebp + 0x1c]
mov ecx, ebx
call fcn.0046d9d0
mov edi, dword [ebp + 0x10]
cmp dword [ebx + 0x14], edi
cmovbe edi, dword [ebx + 0x14]
test edi, edi
je 0x4695dc
push edi
push dword [ebx + 0x10]
push dword [ebp + 0xc]
call fcn.00488550
add dword [ebp + 0xc], edi
add esp, 0xc
add dword [ebx + 0x10], edi
add dword [ebp + 0x14], edi
sub dword [ebp + 0x10], edi
sub dword [ebx + 0x14], edi
jne 0x4695dc
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov ebx, dword [esi + 0x14]
mov edi, ebx
cmp ebx, dword [esi + 0xc]
je 0x469619
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + 0x24]
mov dl, byte [ecx + eax]
movzx eax, dl
mov dword [esp + 0x14], eax
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
mov byte [edi + eax], dl
mov edi, dword [esi + 0x14]
inc edi
cmp dword [esp + 0x14], 0
mov dword [esi + 0x14], edi
jne 0x469570
jmp 0x469621
mov dword [esp + 0x14], 1
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x46964a
cmp edi, ebx
jbe 0x46964a
mov edx, dword [esi + 8]
sub edi, ebx
add edx, ebx
jne 0x46963b
xor eax, eax
jmp 0x469647
mov ecx, dword [ebp + 0x30]
push edi
call fcn.00468990
add esp, 4
mov dword [ebp + 0x30], eax
cmp dword [esp + 0x14], 0
jne 0x469658
mov dword [esi + 4], 0x67
cmp dword [esi + 4], 0x67
jne 0x4696ea
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x4696e3
mov eax, dword [esi + 0x14]
add eax, 2
cmp eax, dword [esi + 0xc]
jbe 0x4696b4
mov ebx, dword [ebp + 0x1c]
mov ecx, ebx
call fcn.0046d9d0
mov edi, dword [ebp + 0x10]
cmp dword [ebx + 0x14], edi
cmovbe edi, dword [ebx + 0x14]
test edi, edi
je 0x4696b4
push edi
push dword [ebx + 0x10]
push dword [ebp + 0xc]
call fcn.00488550
add dword [ebp + 0xc], edi
add esp, 0xc
add dword [ebx + 0x10], edi
add dword [ebp + 0x14], edi
sub dword [ebp + 0x10], edi
sub dword [ebx + 0x14], edi
jne 0x4696b4
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov edx, dword [esi + 0x14]
lea eax, [edx + 2]
cmp eax, dword [esi + 0xc]
ja 0x4696ea
mov ecx, dword [esi + 8]
movzx eax, byte [ebp + 0x30]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
movzx eax, byte [ebp + 0x31]
mov byte [edx + ecx], al
inc dword [esi + 0x14]
mov dword [ebp + 0x30], 0
mov dword [esi + 4], 0x71
cmp dword [esi + 0x14], 0
je 0x46978d
mov ebx, dword [ebp + 0x1c]
mov ecx, ebx
call fcn.0046d9d0
mov edi, dword [ebp + 0x10]
cmp dword [ebx + 0x14], edi
cmovbe edi, dword [ebx + 0x14]
test edi, edi
je 0x469732
push edi
push dword [ebx + 0x10]
push dword [ebp + 0xc]
call fcn.00488550
add dword [ebp + 0xc], edi
add esp, 0xc
add dword [ebx + 0x10], edi
add dword [ebp + 0x14], edi
sub dword [ebp + 0x10], edi
sub dword [ebx + 0x14], edi
jne 0x469732
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
cmp dword [ebp + 0x10], 0
je 0x469a4b
lea edi, [ebp + 4]
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 4]
cmp eax, 0x29a
jne 0x469756
cmp dword [edi], 0
jne 0x4697d9
cmp dword [edi], 0
jne 0x469774
cmp dword [esi + 0x74], 0
jne 0x469774
test ebx, ebx
je 0x469a52
cmp eax, 0x29a
je 0x4698fc
mov eax, dword [esi + 0x88]
cmp eax, 2
jne 0x4697ed
mov edx, ebx
mov ecx, esi
call fcn.0046ac90
jmp 0x46981c
cmp dword [ebp + 4], 0
lea edi, [ebp + 4]
jne 0x46973f
mov ecx, dword [esp + 0x18]
lea edi, [ebp + 4]
mov ebx, dword [esp + 0x10]
xor eax, eax
cmp ecx, 4
mov edx, 9
cmovg eax, edx
lea edx, [ecx + ecx]
sub edx, eax
xor ecx, ecx
cmp ebx, 4
mov eax, 9
cmovg ecx, eax
lea eax, [ebx + ebx]
sub eax, ecx
cmp eax, edx
jg 0x469743
lea edi, [ebp + 4]
cmp ebx, 4
je 0x469743
pop edi
pop ebx
pop esi
mov dword [ebp + 0x18], str.buffer_error
mov eax, 0xfffffffb
pop ebp
add esp, 0xc
ret
cmp eax, 3
jne 0x4697fd
mov edx, ebx
mov ecx, esi
call fcn.0046a970
jmp 0x46981c
mov eax, dword [esi + 0x84]
push ebx
push esi
lea eax, [eax + eax*2]
mov edi, dword [eax*4 + 0x4d5f18]
mov ecx, edi
call dword [0x4c83a0]
call edi
add esp, 8
cmp eax, 2
je 0x469826
cmp eax, 3
jne 0x46982d
mov dword [esi + 4], 0x29a
test eax, eax
je 0x469a45
cmp eax, 2
je 0x469a45
cmp eax, 1
jne 0x4698fc
cmp ebx, eax
jne 0x469854
mov ecx, esi
call fcn.0046da50
jmp 0x4698b0
cmp ebx, 5
je 0x4698b0
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.0046d890
add esp, 8
cmp ebx, 3
jne 0x4698b0
mov eax, dword [esi + 0x44]
xor edx, edx
mov ecx, dword [esi + 0x4c]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.004883f0
add esp, 0xc
cmp dword [esi + 0x74], 0
jne 0x4698b0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x16b4], 0
mov ebx, dword [ebp + 0x1c]
mov ecx, ebx
call fcn.0046d9d0
mov edi, dword [ebp + 0x10]
cmp dword [ebx + 0x14], edi
cmovbe edi, dword [ebx + 0x14]
test edi, edi
je 0x4698ee
push edi
push dword [ebx + 0x10]
push dword [ebp + 0xc]
call fcn.00488550
add dword [ebp + 0xc], edi
add esp, 0xc
add dword [ebx + 0x10], edi
add dword [ebp + 0x14], edi
sub dword [ebp + 0x10], edi
sub dword [ebx + 0x14], edi
jne 0x4698ee
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
cmp dword [ebp + 0x10], 0
je 0x469a4b
mov ebx, dword [esp + 0x10]
cmp ebx, 4
jne 0x469a52
mov eax, dword [esi + 0x18]
test eax, eax
jg 0x469917
pop edi
lea eax, [ebx - 3]
pop ebx
pop esi
pop ebp
add esp, 0xc
ret
cmp eax, 2
jne 0x4699a6
mov ecx, dword [esi + 0x14]
movzx eax, byte [ebp + 0x30]
mov edx, dword [esi + 8]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx eax, byte [ebp + 0x31]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx eax, byte [ebp + 0x32]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx eax, byte [ebp + 0x33]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx eax, byte [ebp + 8]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx eax, byte [ebp + 9]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx eax, byte [ebp + 0xa]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx eax, byte [ebp + 0xb]
mov byte [edx + ecx], al
jmp 0x4699e8
movzx ebx, word [ebp + 0x32]
mov eax, dword [esi + 0x14]
mov edx, ebx
mov ecx, dword [esi + 8]
shr edx, 8
mov byte [ecx + eax], dl
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], bl
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc edx
mov dword [esi + 0x14], edx
movzx ebx, word [ebp + 0x30]
mov ecx, ebx
shr ecx, 8
mov byte [edx + eax], cl
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
inc ecx
mov dword [esi + 0x14], ecx
mov byte [ecx + eax], bl
inc dword [esi + 0x14]
mov ebx, dword [ebp + 0x1c]
mov ecx, ebx
call fcn.0046d9d0
mov edi, dword [ebp + 0x10]
cmp dword [ebx + 0x14], edi
cmovbe edi, dword [ebx + 0x14]
test edi, edi
je 0x469a29
push edi
push dword [ebx + 0x10]
push dword [ebp + 0xc]
call fcn.00488550
add dword [ebp + 0xc], edi
add esp, 0xc
add dword [ebx + 0x10], edi
add dword [ebp + 0x14], edi
sub dword [ebp + 0x10], edi
sub dword [ebx + 0x14], edi
jne 0x469a29
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x18]
test eax, eax
jle 0x469a35
neg eax
mov dword [esi + 0x18], eax
pop edi
xor eax, eax
cmp dword [esi + 0x14], eax
pop ebx
pop esi
sete al
pop ebp
add esp, 0xc
ret
cmp dword [ebp + 0x10], 0
jne 0x469a52
mov dword [esi + 0x28], 0xffffffff
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
mov dword [ebp + 0x18], str.stream_error
pop esi
mov eax, 0xfffffffe
pop ebp
add esp, 0xc
ret