Function at 0x826760
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e4
push ebx
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x3e3]
mov byte [ebp - 0x3e4], 0
mov byte [ebp - 0x2e4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x2e3]
lea edx, [ebp - 0x3e4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov edi, 0x8cd018
mov dword [ebp - 0x4b], eax
or ecx, 0xffffffff
mov dword [ebp - 0x47], eax
xor ebx, ebx
mov dword [ebp - 0x43], eax
mov byte [ebp - 0x4c], 0
mov word [ebp - 0x3f], ax
mov dword [ebp - 0x50], ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [ebp - 0x3d], al
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 8]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jle 0x8272c2
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x17b]
mov byte [ebp - 0x17c], 0
rep stosd dword es:[edi], eax
fld qword [0x88b578]
fld qword [0x88b578]
stosb byte es:[edi], al
xor edx, edx
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x1dc]
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1e0], edx
rep stosd dword es:[edi], eax
fld st(0)
fmul st(1)
fld st(0)
fmul qword [0x8ac9a8]
fsub st(1)
fxch st(1)
fmul qword [0x89a940]
fadd qword [0x89aae0]
fdivp st(1)
faddp st(2)
fld st(1)
fcomp qword [0x8ac9a0]
fnstsw ax
test ah, 0x41
jne 0x826863
fld st(0)
fmul qword [0x8ac998]
fsubp st(2)
fadd qword [0x88b548]
fcom qword [0x8ac990]
fnstsw ax
test ah, 1
jne 0x82682a
fxch st(1)
fst qword [ebp - 0x30]
fxch st(1)
fstp st(0)
fcomp qword [0x88b578]
fnstsw ax
test ah, 1
je 0x8268b7
and dword [edx - 0x7ee07ad7], eax
push ds
sbb dword [esi], 0xffffff83
and eax, 0x628b2789
je 0x8268f6
pop ecx
push ebp
arpl word [ebx], sp
sub edx, dword [edx + 0x59]
xor edx, dword [ebp + 0x7a]
and dh, byte [esi]
pushal
xor dword [edx], esi
and byte [ecx], bh
and al, 0x68
dec esp
jmp 0x827143
mov dword [ebp - 0x58], 0x82688c
mov dword [ebp - 0x54], 0x82689a
xor eax, eax
mov byte [ebp + eax - 0x158], al
inc eax
cmp eax, 0x100
jb 0x8268c7
fld qword [ebp - 0x30]
mov byte [ebp - 0x34], 0
mov eax, 0xff
mov esi, dword [ebp - 0x34]
xor edi, edi
mov dword [ebp - 0x14], eax
mov ebx, 1
mov dword [ebp - 0x2c], 0
cmp eax, ebx
jbe 0x826902
lea ebx, [ebx + ebx + 1]
cmp ebx, eax
jb 0x8268fa
cmp edi, 3
ja case.default.0x826907
jmp dword [edi*4 + 0x8272d8]
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x158]
jmp 0x826983
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x158]
shr eax, 8
jmp 0x826983
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x158]
shr eax, 0x10
jmp 0x826983
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x158]
shr eax, 0x18
jmp 0x826983
mov ecx, dword [ebp - 0x54]
and esi, 0xff
mov cl, byte [ecx + edi - 4]
mov al, byte [ebp + esi - 0x158]
add cl, al
inc edi
cmp edi, 0x1c
mov byte [ebp - 0x34], cl
jb 0x826996
xor edi, edi
add cl, 0x1c
mov byte [ebp - 0x34], cl
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
mov edx, esi
and edx, 0xff
and edx, ebx
inc eax
cmp eax, 0xb
mov dword [ebp - 0x2c], eax
jbe 0x8269b6
mov eax, edx
xor edx, edx
div dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, edx
jb 0x826902
je 0x8269f6
mov cl, byte [ebp + edx - 0x158]
lea eax, [ebp + edx - 0x158]
mov edx, dword [ebp - 0x14]
mov bl, byte [ebp + edx - 0x158]
lea edx, [ebp + edx - 0x158]
xor bl, cl
mov byte [edx], bl
mov cl, bl
mov bl, byte [eax]
xor bl, cl
mov byte [eax], bl
mov cl, byte [edx]
mov al, bl
xor cl, al
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
jne 0x8268ea
mov dl, byte [ebp - 0x151]
and esi, 0xff
mov byte [ebp - 0x18], dl
xor edx, edx
mov al, byte [ebp + esi - 0x158]
mov esi, dword [ebp - 0x58]
mov byte [ebp - 0x28], al
xor eax, eax
mov al, byte [esi]
mov dl, byte [esi + 1]
add al, 2
sub dl, 0x7c
shl al, 4
or al, dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov byte [ebp - 0x20], al
mov bl, byte [ebp - 0x155]
mov cl, byte [ebp - 0x153]
mov al, byte [ebp + edx - 0x158]
lea edi, [ebp + edx - 0x158]
mov edx, dword [ebp - 0x157]
mov byte [ebp - 4], al
mov eax, edx
and eax, 0xff
fstp st(0)
mov al, byte [ebp + eax - 0x158]
add al, bl
inc dl
mov byte [ebp - 0x1c], al
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x158]
lea edx, [ebp + edx - 0x158]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x158]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
and edx, 0xff
lea edx, [ebp + edx - 0x158]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x158]
add cl, bl
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x158]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
mov edi, dword [ebp - 0x2c]
and edx, 0xff
xor ebx, ebx
mov bl, byte [ebp + edx - 0x158]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x158]
add edx, edi
and edx, 0xff
xor bl, byte [ebp + edx - 0x158]
mov dl, byte [ebp - 0x20]
mov byte [ebp - 0x28], dl
xor bl, dl
mov byte [ebp - 0x18], bl
mov dl, byte [esi + 2]
mov bl, byte [esi + 3]
add dl, 2
sub bl, 0x7c
shl dl, 4
or dl, bl
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x158]
mov dl, byte [ebp + edx - 0x158]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 8]
add al, bl
inc dl
mov byte [ebp - 0x1c], al
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x158]
lea edx, [ebp + edx - 0x158]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x158]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
and edx, 0xff
lea edx, [ebp + edx - 0x158]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x158]
add cl, bl
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x158]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x158]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x158]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x158]
mov bl, byte [ebp - 0x20]
mov byte [ebp - 0x28], bl
xor dl, bl
mov bl, byte [esi + 5]
mov byte [ebp - 0x18], dl
mov byte [ebp - 0x3c], dl
mov dl, byte [esi + 4]
sub bl, 0x7c
add dl, 2
shl dl, 4
or dl, bl
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x158]
mov dl, byte [edi]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 8]
add al, bl
inc dl
mov byte [ebp - 0x1c], al
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x158]
lea edx, [ebp + edx - 0x158]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x158]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
and edx, 0xff
lea edx, [ebp + edx - 0x158]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x158]
add cl, bl
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x158]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x158]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x158]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x158]
mov bl, byte [ebp - 0x20]
mov byte [ebp - 0x28], bl
xor dl, bl
mov bl, byte [esi + 7]
mov byte [ebp - 0x18], dl
mov byte [ebp - 0x3b], dl
mov dl, byte [esi + 6]
sub bl, 0x7c
add dl, 2
shl dl, 4
or dl, bl
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x158]
mov dl, byte [ebp + edx - 0x158]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 8]
add al, bl
inc dl
mov byte [ebp - 0x1c], al
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x158]
lea edx, [ebp + edx - 0x158]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x158]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
and edx, 0xff
lea edx, [ebp + edx - 0x158]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x158]
add cl, bl
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x158]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x158]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x158]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x158]
mov bl, byte [ebp - 0x20]
mov byte [ebp - 0x28], bl
xor dl, bl
mov bl, byte [esi + 9]
mov byte [ebp - 0x18], dl
mov byte [ebp - 0x3a], dl
mov dl, byte [esi + 8]
sub bl, 0x7c
add dl, 2
shl dl, 4
or dl, bl
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x158]
mov dl, byte [ebp + edx - 0x158]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 8]
add al, bl
inc dl
mov byte [ebp - 0x1c], al
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x158]
lea edx, [ebp + edx - 0x158]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x158]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
and edx, 0xff
lea edx, [ebp + edx - 0x158]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x158]
add cl, bl
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x158]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x158]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x158]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x158]
mov bl, byte [ebp - 0x20]
mov byte [ebp - 0x28], bl
xor dl, bl
mov bl, byte [esi + 0xb]
mov byte [ebp - 0x18], dl
mov byte [ebp - 0x39], dl
mov dl, byte [esi + 0xa]
sub bl, 0x7c
add dl, 2
shl dl, 4
or dl, bl
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x158]
mov dl, byte [ebp + edx - 0x158]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 8]
add al, bl
inc dl
mov byte [ebp - 0x1c], al
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x158]
lea edx, [ebp + edx - 0x158]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x158]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
and edx, 0xff
lea edx, [ebp + edx - 0x158]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov dl, byte [ebp - 4]
mov ebx, dword [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x158]
add cl, bl
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x158]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x158]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x158]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x158]
mov bl, byte [ebp - 0x20]
xor dl, bl
mov byte [ebp - 0x18], dl
mov byte [ebp - 0x38], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea edi, [ebp + edx - 0x158]
mov dl, byte [ebp + edx - 0x158]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
add al, bl
mov bl, byte [ebp - 8]
mov byte [ebp - 0x1c], al
inc bl
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 8], bl
and eax, 0xff
mov dl, byte [ebp + eax - 0x158]
lea eax, [ebp + eax - 0x158]
mov byte [edi], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov bl, byte [ebp + edx - 0x158]
lea edx, [ebp + edx - 0x158]
mov byte [eax], bl
mov ebx, dword [ebp - 8]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x158]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
mov bl, byte [esi + 0xd]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov dl, byte [esi + 0xc]
mov esi, dword [ebp - 0x2c]
add dl, 2
shl dl, 4
sub bl, 0x7c
or dl, bl
mov bl, byte [ebp + esi - 0x158]
mov esi, dword [ebp - 0x10]
add bl, cl
and ebx, 0xff
mov cl, byte [ebp + ebx - 0x158]
mov bl, byte [esi]
add ecx, ebx
mov bl, byte [edi]
add ecx, ebx
mov al, byte [eax]
mov edi, dword [ebp - 0x2c]
and ecx, 0xff
xor ebx, ebx
add eax, edi
mov byte [ebp - 0x36], 0
mov bl, byte [ebp + ecx - 0x158]
and eax, 0xff
mov cl, byte [ebp + ebx - 0x158]
mov ebx, dword [ebp - 0x50]
xor dl, cl
mov cl, byte [ebp + eax - 0x158]
xor dl, cl
mov byte [ebp - 0x37], dl
lea edi, [ebp - 0x3c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x2e4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xa
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x17c]
push ecx
push ebx
call fcn.0083a112
or ecx, 0xffffffff
lea edi, [ebp - 0x17c]
xor eax, eax
lea edx, [ebp - 0x2e4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x2e4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x8c06f0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x2e4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x3e4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x1e4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0082da50
or ecx, 0xffffffff
lea edi, [ebp - 0x2e4]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [ebp - 0x1e4]
push ecx
lea ecx, [ebp - 0x2e4]
push ecx
push edx
call fcn.0082da80
lea eax, [ebp - 0x1e4]
push eax
call fcn.0082db20
mov ecx, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x184]
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x3e4]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x48], edx
mov ecx, 0x40
lea edi, [ebp - 0x3e4]
lea edx, [ebp - 0x4c]
rep stosd dword es:[edi], eax
push edx
call fcn.0082dd10
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x3e4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 8]
and ecx, 3
inc ebx
cmp ebx, eax
mov dword [ebp - 0x50], ebx
rep movsb byte es:[edi], byte [esi]
jl 0x8267ea
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00826660
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret