Function at 0x81de00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f0
push ebx
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x3ef]
mov byte [ebp - 0x3f0], 0
mov byte [ebp - 0x2f0], 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 - 0x2ef]
lea edx, [ebp - 0x3f0]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov edi, 0x8c4018
mov dword [ebp - 0x47], eax
or ecx, 0xffffffff
mov dword [ebp - 0x43], eax
xor ebx, ebx
mov dword [ebp - 0x3f], eax
mov byte [ebp - 0x48], 0
mov word [ebp - 0x3b], ax
mov dword [ebp - 0x4c], ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [ebp - 0x39], 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 0x81e9be
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x187]
mov byte [ebp - 0x188], 0
rep stosd dword es:[edi], eax
fld qword [0x882578]
fld qword [0x882578]
stosb byte es:[edi], al
xor edx, edx
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x1e8]
mov dword [ebp - 0x1f0], edx
mov dword [ebp - 0x1ec], edx
rep stosd dword es:[edi], eax
fld st(0)
fmul st(1)
fld st(0)
fmul qword [0x8a38e8]
fsub st(1)
fxch st(1)
fmul qword [0x893168]
fadd qword [0x895568]
fdivp st(1)
faddp st(2)
fld st(1)
fcomp qword [0x8a38e0]
fnstsw ax
test ah, 0x41
jne 0x81df03
fld st(0)
fmul qword [0x8a38d8]
fsubp st(2)
fadd qword [0x882548]
fcom qword [0x8a38d0]
fnstsw ax
test ah, 1
jne 0x81deca
fxch st(1)
fst qword [ebp - 0x54]
fxch st(1)
fstp st(0)
fcomp qword [0x882578]
fnstsw ax
test ah, 1
je 0x81df5e
dec ebx
and byte [edx + 0x62], bl
push esp
sub esi, dword [eax]
insb byte es:[edi], dx
and al, 0x32
jo 0x81dfa8
imul esi, dword [esi + edx*2], 0x44
pop ecx
pop esp
je 0x81df79
insb byte es:[edi], dx
xor eax, 0x564a6c59
push ebp
pop ebx
xor dword [ebp + 0x56], edx
mov dword [ebp - 0x5b705d6b], esp
xchg esi, eax
popfd
mov dword [edi + eax*4 - 0x165c6d59], esp
loope 0x81df64
add byte [eax], al
mov dword [ebp - 0x64], 0x81df4b
mov dword [ebp - 0x60], 0x81df2c
add bh, al
inc ebp
mov al, byte [0x81df2c]
xor eax, eax
mov byte [ebp + eax - 0x164], al
inc eax
cmp eax, 0x100
add byte [eax], al
jb 0x81df6e
fld qword [ebp - 0x54]
mov byte [ebp - 0x34], 0
mov eax, 0xff
mov esi, dword [ebp - 0x34]
xor edi, edi
mov dword [ebp - 0x30], eax
mov ebx, 1
mov dword [ebp - 0x38], 0
cmp eax, ebx
jbe 0x81dfa9
lea ebx, [ebx + ebx + 1]
cmp ebx, eax
jb 0x81dfa1
clc
cmp edi, 3
ja case.default.0x81dfae
jmp dword [edi*4 + 0x81e9d4]
fld st(0)
and esi, 0xff
call fcn.0082fed4
mov cl, byte [ebp + esi - 0x164]
jmp 0x81e02a
fld st(0)
and esi, 0xff
call fcn.0082fed4
mov cl, byte [ebp + esi - 0x164]
shr eax, 8
jmp 0x81e02a
fld st(0)
and esi, 0xff
call fcn.0082fed4
mov cl, byte [ebp + esi - 0x164]
shr eax, 0x10
jmp 0x81e02a
fld st(0)
and esi, 0xff
call fcn.0082fed4
mov cl, byte [ebp + esi - 0x164]
shr eax, 0x18
jmp 0x81e02a
mov ecx, dword [ebp - 0x60]
and esi, 0xff
mov cl, byte [ecx + edi - 4]
mov al, byte [ebp + esi - 0x164]
add cl, al
inc edi
cmp edi, 0x23
mov byte [ebp - 0x34], cl
jb 0x81e03d
xor edi, edi
add cl, 0x23
mov byte [ebp - 0x34], cl
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov edx, esi
and edx, 0xff
and edx, ebx
inc eax
cmp eax, 0xb
mov dword [ebp - 0x38], eax
jbe 0x81e05d
mov eax, edx
xor edx, edx
div dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, edx
jb 0x81dfa9
je 0x81e095
mov bl, byte [ebp + eax - 0x164]
lea edx, [ebp + edx - 0x164]
lea ecx, [ebp + eax - 0x164]
mov al, byte [edx]
xor bl, al
mov byte [ecx], bl
mov al, bl
mov bl, byte [edx]
xor bl, al
mov byte [edx], bl
mov al, byte [ecx]
mov dl, bl
xor al, dl
mov byte [ecx], al
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
jne 0x81df91
mov dl, byte [ebp - 0x15d]
and esi, 0xff
mov byte [ebp - 0x18], dl
mov bl, byte [ebp - 0x161]
mov al, byte [ebp + esi - 0x164]
mov esi, dword [ebp - 0x64]
mov byte [ebp - 0x1c], al
xor eax, eax
mov al, byte [esi]
mov dl, byte [esi + 1]
add al, 9
add dl, 0x63
shl al, 4
or al, dl
mov cl, byte [ebp - 0x15f]
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x1c]
and eax, 0xff
fstp st(0)
mov dl, byte [ebp + eax - 0x164]
lea edi, [ebp + eax - 0x164]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x163]
mov eax, edx
and eax, 0xff
mov al, byte [ebp + eax - 0x164]
add al, bl
inc dl
mov byte [ebp - 0x28], al
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x24], edx
lea ebx, [ebp + ebx - 0x164]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
and edx, 0xff
lea edx, [ebp + edx - 0x164]
mov dword [ebp - 0x14], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x14]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x164]
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 - 0x164]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x164]
add edx, edi
and edx, 0xff
xor bl, byte [ebp + edx - 0x164]
mov dl, byte [ebp - 1]
mov byte [ebp - 0x1c], dl
xor bl, dl
mov dl, byte [esi + 2]
mov byte [ebp - 0x18], bl
mov bl, byte [esi + 3]
add dl, 9
shl dl, 4
add bl, 0x63
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
lea edi, [ebp + edx - 0x164]
mov dl, byte [ebp + edx - 0x164]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x14]
mov bl, byte [edx]
mov dl, byte [ebp - 0xc]
add al, bl
inc dl
mov byte [ebp - 0x28], al
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x24], edx
lea ebx, [ebp + ebx - 0x164]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
and edx, 0xff
lea edx, [ebp + edx - 0x164]
mov dword [ebp - 0x14], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x14]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x164]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
mov edx, dword [ebp - 0x24]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x164]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x164]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x1c], bl
xor dl, bl
mov bl, byte [esi + 4]
mov byte [ebp - 0x18], dl
mov byte [ebp - 0x5c], dl
mov dl, byte [esi + 5]
add bl, 9
add dl, 0x63
shl bl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
lea edi, [ebp + edx - 0x164]
mov dl, byte [ebp + edx - 0x164]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x14]
mov bl, byte [edx]
mov dl, byte [ebp - 0xc]
add al, bl
inc dl
mov byte [ebp - 0x28], al
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x24], edx
lea ebx, [ebp + ebx - 0x164]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
and edx, 0xff
lea edx, [ebp + edx - 0x164]
mov dword [ebp - 0x14], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x14]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x164]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
mov edx, dword [ebp - 0x24]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x164]
and ebx, 0xff
lea edi, [ebp - 0x5c]
xor dl, byte [ebp + ebx - 0x164]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x1c], bl
xor dl, bl
mov bl, byte [esi + 6]
dec edi
mov byte [ebp - 0x18], dl
add bl, 9
mov dword [ebp - 0x38], edi
mov byte [edi + 2], dl
mov dl, byte [esi + 7]
add dl, 0x63
shl bl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
lea edi, [ebp + edx - 0x164]
mov dl, byte [ebp + edx - 0x164]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x14]
mov bl, byte [edx]
mov dl, byte [ebp - 0xc]
add al, bl
inc dl
mov byte [ebp - 0x28], al
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x24], edx
lea ebx, [ebp + ebx - 0x164]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
and edx, 0xff
lea edx, [ebp + edx - 0x164]
mov dword [ebp - 0x14], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x14]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x164]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
mov edx, dword [ebp - 0x24]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x164]
mov edi, dword [ebp - 0x38]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x164]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x1c], bl
xor dl, bl
mov bl, byte [esi + 8]
mov byte [ebp - 0x18], dl
mov byte [edi + 3], dl
mov dl, byte [esi + 9]
add bl, 9
add dl, 0x63
shl bl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
lea edi, [ebp + edx - 0x164]
mov dl, byte [ebp + edx - 0x164]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x14]
mov bl, byte [edx]
mov dl, byte [ebp - 0xc]
add al, bl
inc dl
mov byte [ebp - 0x28], al
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
and ebx, 0xff
lea ebx, [ebp + ebx - 0x164]
add esi, 0xa
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x50], esi
mov bl, byte [ebx]
mov dword [ebp - 0x30], 5
mov byte [edx], bl
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
and edx, 0xff
lea edx, [ebp + edx - 0x164]
mov dword [ebp - 0x14], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x14]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x164]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
mov edx, dword [ebp - 0x24]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x164]
mov edi, dword [ebp - 0x38]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x164]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x1c], bl
xor dl, bl
mov bl, byte [esi]
mov byte [ebp - 0x18], dl
mov byte [edi + 4], dl
mov dl, byte [esi + 1]
add bl, 9
add dl, 0x63
shl bl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
lea edi, [ebp + edx - 0x164]
mov dl, byte [ebp + edx - 0x164]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x14]
mov bl, byte [edx]
add al, bl
mov bl, byte [ebp - 0xc]
mov byte [ebp - 0x28], al
inc bl
mov edx, dword [ebp - 0x28]
mov byte [ebp - 0xc], bl
and edx, 0xff
lea esi, [ebp + edx - 0x164]
mov dword [ebp - 0x24], esi
mov dl, byte [esi]
mov byte [edi], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [esi], bl
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
and esi, 0xff
mov bl, byte [ebp + esi - 0x164]
lea esi, [ebp + esi - 0x164]
mov byte [edx], bl
mov dl, byte [ebp - 8]
mov byte [esi], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x164]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
mov edx, dword [ebp - 0x24]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x164]
mov edi, dword [ebp - 0x38]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x164]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x1c], bl
xor dl, bl
mov ebx, dword [ebp - 0x30]
mov byte [edi + 5], dl
mov edi, dword [ebp - 0x50]
mov byte [ebp - 0x18], dl
jmp 0x81e71a
mov edi, dword [ebp - 0x50]
mov dl, byte [edi + 3]
inc ebx
add edi, 2
mov dword [ebp - 0x30], ebx
add dl, 0x63
mov dword [ebp - 0x50], edi
mov bl, byte [edi]
add bl, 9
shl bl, 4
or dl, bl
mov bl, byte [ebp - 0xc]
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
lea edi, [ebp + edx - 0x164]
mov dl, byte [ebp + edx - 0x164]
mov byte [ebp - 8], dl
mov dl, byte [esi]
add al, dl
inc bl
mov byte [ebp - 0x28], al
mov byte [ebp - 0xc], bl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea esi, [ebp + edx - 0x164]
mov dword [ebp - 0x24], esi
mov dl, byte [esi]
mov byte [edi], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [esi], bl
mov esi, dword [ebp - 0xc]
and esi, 0xff
mov dword [ebp - 0x10], edx
mov bl, byte [ebp + esi - 0x164]
lea esi, [ebp + esi - 0x164]
mov byte [edx], bl
mov dl, byte [ebp - 8]
mov byte [esi], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x164]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
mov edx, dword [ebp - 0x24]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x164]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x164]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x1c], bl
xor dl, bl
mov ebx, dword [ebp - 0x30]
test ebx, ebx
mov byte [ebp - 0x18], dl
jbe 0x81e82b
mov edi, dword [ebp - 0x38]
mov byte [edi + ebx], dl
mov edx, dword [ebp - 0x14]
dec edx
mov dword [ebp - 0x14], edx
jne 0x81e717
mov ebx, dword [ebp - 0x4c]
mov byte [ebp - 0x56], 0
lea edi, [ebp - 0x5c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x2f0]
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 - 0x188]
push ecx
push ebx
call fcn.008307f2
or ecx, 0xffffffff
lea edi, [ebp - 0x188]
xor eax, eax
lea edx, [ebp - 0x2f0]
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 - 0x2f0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x8b76f0
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 - 0x2f0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x3f0]
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 - 0x1f0]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.008248a0
or ecx, 0xffffffff
lea edi, [ebp - 0x2f0]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [ebp - 0x1f0]
push ecx
lea ecx, [ebp - 0x2f0]
push ecx
push edx
call fcn.008248d0
lea eax, [ebp - 0x1f0]
push eax
call fcn.00824970
mov ecx, dword [ebp - 0x198]
mov eax, dword [ebp - 0x190]
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x3f0]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x44], edx
mov ecx, 0x40
lea edi, [ebp - 0x3f0]
lea edx, [ebp - 0x48]
rep stosd dword es:[edi], eax
push edx
call fcn.00824b60
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 - 0x3f0]
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 - 0x4c], ebx
rep movsb byte es:[edi], byte [esi]
jl 0x81de8a
lea ecx, [ebp - 0x48]
push ecx
call fcn.0081dd00
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret