Function at 0x401a60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
lea esi, [eax + 0x64]
push esi
mov dword [ebp - 0x54], esi
call fcn.00848368
mov ebx, eax
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x19b]
mov byte [ebp - 0x19c], 0
mov byte [ebp - 0x40], al
rep stosd dword es:[edi], eax
fld qword [0x89a578]
fld qword [0x89a578]
mov ecx, esi
mov edi, ebx
mov edx, ecx
mov byte [ebp - 0x3f], al
shr ecx, 2
mov byte [ebp - 0x3e], al
mov byte [ebp - 0x3d], al
mov byte [ebp - 0x3c], al
mov byte [ebp - 0x3b], al
mov byte [ebp - 0x3a], al
mov byte [ebp - 0x39], al
mov byte [ebp - 0x38], al
mov byte [ebp - 0x37], al
mov byte [ebp - 0x36], al
mov byte [ebp - 0x35], al
mov byte [ebp - 0x34], al
mov byte [ebp - 0x33], al
mov byte [ebp - 0x32], al
mov byte [ebp - 0x31], al
mov dword [ebp - 0x2c], eax
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [ebp + 8]
and ecx, 3
mov esi, edx
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0xc]
mov edi, ebx
mov eax, ecx
mov dword [ebp - 0x4c], ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, eax
mov edi, edx
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea edx, [esi + 0xf]
shr edx, 4
and ecx, 3
shl edx, 4
rep stosb byte es:[edi], al
mov dword [ebp - 0x50], edx
fld st(0)
fmul st(1)
fld st(0)
fmul qword [0x89a570]
fsub st(1)
fxch st(1)
fmul qword [0x89a568]
fadd qword [0x89a560]
fdivp st(1)
faddp st(2)
fld st(1)
fcomp qword [0x89a558]
fnstsw ax
test ah, 0x41
jne 0x401b5d
fld st(0)
fmul qword [0x89a550]
fsubp st(2)
fadd qword [0x89a548]
fcom qword [0x89a540]
fnstsw ax
test ah, 1
jne 0x401b24
fxch st(1)
fst qword [ebp - 0x48]
fxch st(1)
fstp st(0)
fcomp qword [0x89a578]
fnstsw ax
test ah, 1
je 0x401be8
sbb ecx, dword [eax - 0x79d57bdd]
test dword es:[edi], ebx
invalid
mov dword [ebp - 0x28], 0x401b86
mov dword [ebp - 0x30], 0x401bc8
xor eax, eax
mov byte [ebp + eax - 0x154], al
inc eax
cmp eax, 0x100
jb 0x401bf8
fld qword [ebp - 0x48]
mov byte [ebp + 0xc], 0
mov eax, 0xff
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp + 8], eax
mov ebx, 1
mov dword [ebp - 0xc], 0
cmp eax, ebx
jbe 0x401c33
lea ebx, [ebx + ebx + 1]
cmp ebx, eax
jb 0x401c2b
cmp edi, 3
ja case.default.0x401c38
jmp dword [edi*4 + 0x4028c8]
fld st(0)
and esi, 0xff
call fcn.00848444
mov cl, byte [ebp + esi - 0x154]
jmp 0x401cb4
fld st(0)
and esi, 0xff
call fcn.00848444
mov cl, byte [ebp + esi - 0x154]
shr eax, 8
jmp 0x401cb4
fld st(0)
and esi, 0xff
call fcn.00848444
mov cl, byte [ebp + esi - 0x154]
shr eax, 0x10
jmp 0x401cb4
fld st(0)
and esi, 0xff
call fcn.00848444
mov cl, byte [ebp + esi - 0x154]
shr eax, 0x18
jmp 0x401cb4
mov eax, dword [ebp - 0x30]
and esi, 0xff
mov cl, byte [eax + edi - 4]
mov al, byte [ebp + esi - 0x154]
add cl, al
inc edi
cmp edi, 0x1f
mov byte [ebp + 0xc], cl
jb 0x401cc7
xor edi, edi
add cl, 0x1f
mov byte [ebp + 0xc], cl
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov edx, esi
and edx, 0xff
and edx, ebx
inc eax
cmp eax, 0xb
mov dword [ebp - 0xc], eax
jbe 0x401ce7
mov eax, edx
xor edx, edx
div dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, edx
jb 0x401c33
je 0x401d1f
mov bl, byte [ebp + eax - 0x154]
lea edx, [ebp + edx - 0x154]
lea ecx, [ebp + eax - 0x154]
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 + 8]
dec eax
mov dword [ebp + 8], eax
jne 0x401c1b
mov edi, dword [ebp - 0x28]
mov dl, byte [ebp - 0x14d]
and esi, 0xff
mov byte [ebp - 0x18], dl
mov dl, byte [edi + 1]
mov bl, byte [ebp - 0x151]
mov al, byte [ebp + esi - 0x154]
add dl, 0x7e
mov byte [ebp - 0x20], al
mov al, byte [edi]
add al, 5
mov cl, byte [ebp - 0x14f]
shl al, 4
or al, dl
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x20]
and eax, 0xff
fstp st(0)
mov dl, byte [ebp + eax - 0x154]
lea esi, [ebp + eax - 0x154]
mov byte [ebp + 8], dl
mov edx, dword [ebp - 0x153]
mov eax, edx
and eax, 0xff
mov al, byte [ebp + eax - 0x154]
add al, bl
inc dl
mov byte [ebp - 0x14], al
mov byte [ebp + 0xc], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
lea edx, [ebp + edx - 0x154]
mov byte [esi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x154]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x154]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp + 8]
mov byte [ebx], dl
mov edx, dword [ebp + 8]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x154]
add cl, bl
mov bl, byte [esi]
mov esi, dword [ebp - 4]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov dl, byte [ebp + edx - 0x154]
add edx, ebx
mov bl, byte [esi]
add edx, ebx
mov esi, dword [ebp - 0xc]
and edx, 0xff
xor ebx, ebx
mov bl, byte [ebp + edx - 0x154]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x154]
add edx, esi
and edx, 0xff
xor bl, byte [ebp + edx - 0x154]
mov dl, byte [ebp - 0x1c]
mov byte [ebp - 0x20], dl
xor bl, dl
mov dl, byte [edi + 3]
mov byte [ebp - 0x18], bl
add dl, 0x7e
mov bl, byte [edi + 2]
add edi, 4
add bl, 5
shl bl, 4
or dl, bl
mov byte [ebp - 0x1c], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea esi, [ebp + edx - 0x154]
mov dl, byte [ebp + edx - 0x154]
mov byte [ebp + 8], dl
mov edx, dword [ebp - 8]
mov bl, byte [edx]
mov dl, byte [ebp + 0xc]
add al, bl
inc dl
mov byte [ebp - 0x14], al
mov byte [ebp + 0xc], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
lea edx, [ebp + edx - 0x154]
mov byte [esi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x154]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x154]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp + 8]
mov byte [ebx], dl
mov edx, dword [ebp + 8]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x154]
add cl, bl
mov bl, byte [esi]
mov esi, dword [ebp - 4]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov dl, byte [ebp + edx - 0x154]
add edx, ebx
mov bl, byte [esi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
mov edx, dword [ebp - 0x10]
mov esi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0xc]
add ebx, edx
mov dl, byte [ebp + esi - 0x154]
and ebx, 0xff
mov esi, 2
xor dl, byte [ebp + ebx - 0x154]
mov bl, byte [ebp - 0x1c]
mov byte [ebp - 0x20], bl
xor dl, bl
mov bl, byte [edi + 1]
mov byte [ebp - 0x18], dl
mov byte [ebp - 0x178], dl
mov dl, byte [edi]
add bl, 0x7e
add dl, 5
shl dl, 4
or dl, bl
mov byte [ebp - 0x1c], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea edi, [ebp + edx - 0x154]
mov dl, byte [edi]
mov dword [ebp - 0x30], 0xc
mov byte [ebp + 8], dl
mov edx, dword [ebp - 8]
mov bl, byte [edx]
mov dl, byte [ebp + 0xc]
add al, bl
inc dl
mov byte [ebp - 0x14], al
mov byte [ebp + 0xc], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
lea edx, [ebp + edx - 0x154]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x154]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x154]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp + 8]
mov byte [ebx], dl
mov edx, dword [ebp + 8]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x154]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 4]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov dl, byte [ebp + edx - 0x154]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
mov edx, dword [ebp - 0x10]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0xc]
add ebx, edx
mov dl, byte [ebp + edi - 0x154]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x154]
mov bl, byte [ebp - 0x1c]
mov byte [ebp - 0x20], bl
xor dl, bl
mov byte [ebp - 0x18], dl
mov byte [ebp - 0x177], dl
mov edx, dword [ebp - 0x28]
lea edi, [edx + 4]
jmp 0x402083
mov edi, dword [ebp - 0x44]
mov bl, byte [edi + 2]
mov dl, byte [edi + 3]
add edi, 2
add bl, 5
add dl, 0x7e
mov dword [ebp - 0x44], edi
shl bl, 4
or dl, bl
inc esi
mov byte [ebp - 0x1c], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea edi, [ebp + edx - 0x154]
mov dl, byte [ebp + edx - 0x154]
mov byte [ebp + 8], dl
mov edx, dword [ebp - 8]
mov bl, byte [edx]
mov dl, byte [ebp + 0xc]
add al, bl
inc dl
mov byte [ebp - 0x14], al
mov byte [ebp + 0xc], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
lea edx, [ebp + edx - 0x154]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x154]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x154]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp + 8]
mov byte [ebx], dl
mov edx, dword [ebp + 8]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x154]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 4]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov dl, byte [ebp + edx - 0x154]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
mov edx, dword [ebp - 0x10]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0xc]
add ebx, edx
mov dl, byte [ebp + edi - 0x154]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x154]
mov bl, byte [ebp - 0x1c]
mov byte [ebp - 0x20], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x18], dl
jbe 0x402197
mov byte [ebp + esi - 0x179], dl
mov edx, dword [ebp - 0x30]
dec edx
mov dword [ebp - 0x30], edx
jne 0x402080
mov edi, dword [ebp - 0x28]
inc esi
mov dl, byte [edi + esi*2]
mov bl, byte [edi + esi*2 + 1]
add dl, 5
add bl, 0x7e
shl dl, 4
or dl, bl
mov byte [ebp - 0x1c], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea edi, [ebp + edx - 0x154]
mov dl, byte [ebp + edx - 0x154]
mov byte [ebp + 8], dl
mov edx, dword [ebp + 0xc]
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
mov dl, byte [ebp + 0xc]
add al, bl
inc dl
mov byte [ebp - 0x14], al
mov byte [ebp + 0xc], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
lea edx, [ebp + edx - 0x154]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x154]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x154]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp + 8]
mov byte [ebx], dl
mov edx, dword [ebp + 8]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x154]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 4]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov dl, byte [ebp + edx - 0x154]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
mov edx, dword [ebp - 0x10]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0xc]
add ebx, edx
mov dl, byte [ebp + edi - 0x154]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x154]
mov bl, byte [ebp - 0x1c]
mov byte [ebp - 0x20], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x18], dl
jbe 0x4022c1
mov byte [ebp + esi - 0x179], dl
mov edx, dword [ebp - 0x28]
inc esi
mov bl, byte [edx + esi*2 + 1]
lea edi, [edx + esi*2]
add bl, 0x7e
mov dl, byte [edi]
add dl, 5
shl dl, 4
or dl, bl
mov byte [ebp - 0x1c], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea edi, [ebp + edx - 0x154]
mov dl, byte [ebp + edx - 0x154]
mov byte [ebp + 8], dl
mov edx, dword [ebp - 8]
mov bl, byte [edx]
mov dl, byte [ebp + 0xc]
add al, bl
inc dl
mov byte [ebp - 0x14], al
mov byte [ebp + 0xc], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
lea edx, [ebp + edx - 0x154]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x154]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x154]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp + 8]
mov byte [ebx], dl
mov edx, dword [ebp + 8]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x154]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 4]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov dl, byte [ebp + edx - 0x154]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
mov edx, dword [ebp - 0x10]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0xc]
add ebx, edx
mov dl, byte [ebp + edi - 0x154]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x154]
mov bl, byte [ebp - 0x1c]
mov byte [ebp - 0x20], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x18], dl
jbe 0x4023d5
mov byte [ebp + esi - 0x179], dl
lea ebx, [esi + 1]
cmp ebx, 0x1f
jge 0x402517
mov edx, dword [ebp - 0x28]
lea edi, [edx + esi*2]
mov edx, 0x1f
sub edx, ebx
mov dword [ebp - 0x30], edx
jmp 0x4023f6
mov edi, dword [ebp - 0x44]
mov bl, byte [edi + 2]
mov dl, byte [edi + 3]
add edi, 2
add bl, 5
add dl, 0x7e
mov dword [ebp - 0x44], edi
shl bl, 4
or dl, bl
inc esi
mov byte [ebp - 0x1c], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea edi, [ebp + edx - 0x154]
mov dl, byte [ebp + edx - 0x154]
mov byte [ebp + 8], dl
mov edx, dword [ebp - 8]
mov bl, byte [edx]
mov dl, byte [ebp + 0xc]
add al, bl
inc dl
mov byte [ebp - 0x14], al
mov byte [ebp + 0xc], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
lea edx, [ebp + edx - 0x154]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x154]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x154]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp + 8]
mov byte [ebx], dl
mov edx, dword [ebp + 8]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x154]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 4]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov dl, byte [ebp + edx - 0x154]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
mov edx, dword [ebp - 0x10]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0xc]
add ebx, edx
mov dl, byte [ebp + edi - 0x154]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x154]
mov bl, byte [ebp - 0x1c]
mov byte [ebp - 0x20], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x18], dl
jbe 0x40250a
mov byte [ebp + esi - 0x179], dl
mov edx, dword [ebp - 0x30]
dec edx
mov dword [ebp - 0x30], edx
jne 0x4023f3
mov edi, dword [ebp - 0x28]
inc esi
xor edx, edx
mov dl, byte [edi + esi*2]
mov bl, byte [edi + esi*2 + 1]
add dl, 5
add bl, 0x7e
shl dl, 4
or dl, bl
mov byte [ebp - 0x1c], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea edi, [ebp + edx - 0x154]
mov dl, byte [ebp + edx - 0x154]
mov byte [ebp + 8], dl
mov edx, dword [ebp + 0xc]
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
mov dl, byte [ebp + 0xc]
add al, bl
inc dl
mov byte [ebp - 0x14], al
mov byte [ebp + 0xc], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
lea edx, [ebp + edx - 0x154]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x154]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x154]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp + 8]
mov byte [ebx], dl
mov edx, dword [ebp + 8]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x154]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 4]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov dl, byte [ebp + edx - 0x154]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
mov edx, dword [ebp - 0x10]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0xc]
add ebx, edx
mov dl, byte [ebp + edi - 0x154]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x154]
mov bl, byte [ebp - 0x1c]
mov byte [ebp - 0x20], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x18], dl
jbe 0x402636
mov byte [ebp + esi - 0x179], dl
mov edi, dword [ebp - 0x28]
inc esi
xor edx, edx
xor ebx, ebx
mov dl, byte [edi + esi*2]
mov bl, byte [edi + esi*2 + 1]
add dl, 5
sub ebx, 0x82
shl dl, 4
or dl, bl
mov byte [ebp - 0x1c], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea edi, [ebp + edx - 0x154]
mov dl, byte [ebp + edx - 0x154]
mov byte [ebp + 8], dl
mov edx, dword [ebp - 8]
mov bl, byte [edx]
mov dl, byte [ebp + 0xc]
add al, bl
inc dl
mov byte [ebp - 0x14], al
mov byte [ebp + 0xc], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
lea edx, [ebp + edx - 0x154]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x154]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x154]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp + 8]
mov byte [ebx], dl
mov edx, dword [ebp + 8]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x154]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 4]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov dl, byte [ebp + edx - 0x154]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x154]
mov edx, dword [ebp - 0x10]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0xc]
add ebx, edx
mov dl, byte [ebp + edi - 0x154]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x154]
mov bl, byte [ebp - 0x1c]
xor dl, bl
test esi, esi
mov byte [ebp - 0x18], dl
jbe 0x40274c
mov byte [ebp + esi - 0x179], dl
mov edi, dword [ebp - 0x28]
inc esi
xor ebx, ebx
xor edx, edx
mov bl, byte [edi + esi*2 + 1]
mov dl, byte [edi + esi*2]
mov edi, ebx
sub edx, 0x1b
sub edi, 0x82
mov dword [ebp - 0x44], edi
mov edi, dword [ebp - 0x1c]
and edi, 0xff
mov bl, byte [ebp + edi - 0x154]
lea edi, [ebp + edi - 0x154]
mov byte [ebp + 8], bl
mov ebx, dword [ebp - 8]
add al, byte [ebx]
mov byte [ebp - 0x14], al
mov al, byte [ebp + 0xc]
inc al
mov byte [ebp + 0xc], al
mov eax, dword [ebp - 0x14]
and eax, 0xff
mov bl, byte [ebp + eax - 0x154]
lea eax, [ebp + eax - 0x154]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x10], eax
lea ebx, [ebp + ebx - 0x154]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [eax], bl
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
and eax, 0xff
test esi, esi
lea eax, [ebp + eax - 0x154]
mov dword [ebp - 8], eax
mov al, byte [eax]
mov byte [ebx], al
mov ebx, dword [ebp - 8]
mov al, byte [ebp + 8]
mov byte [ebx], al
jbe 0x402850
mov eax, dword [ebp + 8]
and eax, 0xff
shl dl, 4
mov bl, byte [ebp + eax - 0x154]
add bl, cl
and ebx, 0xff
mov cl, byte [ebp + ebx - 0x154]
mov bl, byte [edi]
mov edi, dword [ebp - 4]
add ecx, ebx
mov bl, byte [edi]
add ecx, ebx
xor ebx, ebx
and ecx, 0xff
mov bl, byte [ebp + ecx - 0x154]
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx]
add ecx, eax
mov al, byte [ebp + ebx - 0x154]
and ecx, 0xff
mov bl, byte [ebp + ecx - 0x154]
xor al, bl
mov bl, byte [ebp - 0x44]
or dl, bl
xor al, dl
mov byte [ebp + esi - 0x179], al
mov edx, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x4c]
mov byte [ebp - 0x158], 0
mov ecx, 8
lea esi, [ebp - 0x178]
lea edi, [ebp - 0x19c]
lea eax, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x10]
push ecx
push eax
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x19c]
push ecx
push eax
push edx
push ebx
movsb byte es:[edi], byte [esi]
call section..text
mov ecx, dword [ebp - 0x54]
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x2c]
push eax
push esi
call fcn.00401870
push ebx
mov edi, eax
call fcn.00848320
push esi
call fcn.00848320
add esp, 0x28
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret