Function at 0x82de80
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
push ebx
push esi
push edi
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x187]
mov byte [ebp - 0x188], 0
mov byte [ebp - 0x288], 0
rep stosd dword es:[edi], eax
fld qword [0x89a578]
fld qword [0x89a578]
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x287]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
fld st(0)
fmul st(1)
fld st(0)
fmul qword [0x8b4638]
fsub st(1)
fxch st(1)
fmul qword [0x8aa0e0]
fadd qword [0x8aa5e8]
fdivp st(1)
faddp st(2)
fld st(1)
fcomp qword [0x8b4630]
fnstsw ax
test ah, 0x41
jne 0x82df0c
fld st(0)
fmul qword [0x8b4628]
fsubp st(2)
fadd qword [0x8a1410]
fcom qword [0x8b4620]
fnstsw ax
test ah, 1
jne 0x82ded3
fxch st(1)
fst qword [ebp - 0x54]
fxch st(1)
fstp st(0)
fcomp qword [0x89a578]
fnstsw ax
test ah, 1
je 0x82df71
dec edx
pop edx
and al, 0x47
ja 0x82df90
inc ebp
pop esp
jne 0x82df71
arpl word [esi + 0x32], sp
sub byte [edi + 0x7d], bl
arpl word [ebp + 0x2f], bx
pop ebx
imul ebx, dword [edx], 0xffffffb3
sbb eax, 0x24aa1ea9
mov dl, 0x16
stosd dword es:[edi], eax
push ss
mov bl, 0x21
mov bh, 0x19
mov ah, 0x22
stosb byte es:[edi], al
and dword [edi - 0x4dea49e7], ebp
push ss
lodsb al, byte [esi]
and dword [eax - 0x4fe750e6], edi
jmp 0x82eab7
mov dword [ebp - 0x38], 0x82df4c
mov dword [ebp - 0x34], 0x82df35
xor eax, eax
mov byte [ebp + eax - 0x164], al
inc eax
cmp eax, 0x100
jb 0x82df81
fld qword [ebp - 0x54]
mov byte [ebp - 0xc], 0
mov eax, 0xff
mov esi, dword [ebp - 0xc]
xor edi, edi
mov dword [ebp - 0x20], eax
jmp 0x82dfa8
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov ebx, 1
cmp eax, ebx
jbe 0x82dfbc
lea ebx, [ebx + ebx + 1]
cmp ebx, eax
jb 0x82dfb4
cmp edi, 3
ja case.default.0x82dfc1
jmp dword [edi*4 + 0x82ec88]
fld st(0)
and esi, 0xff
call fcn.00848444
mov cl, byte [ebp + esi - 0x164]
jmp 0x82e03d
fld st(0)
and esi, 0xff
call fcn.00848444
mov cl, byte [ebp + esi - 0x164]
shr eax, 8
jmp 0x82e03d
fld st(0)
and esi, 0xff
call fcn.00848444
mov cl, byte [ebp + esi - 0x164]
shr eax, 0x10
jmp 0x82e03d
fld st(0)
and esi, 0xff
call fcn.00848444
mov cl, byte [ebp + esi - 0x164]
shr eax, 0x18
jmp 0x82e03d
mov eax, dword [ebp - 0x34]
and esi, 0xff
mov cl, byte [eax + edi - 4]
mov al, byte [ebp + esi - 0x164]
add cl, al
inc edi
cmp edi, 0x1b
mov byte [ebp - 0xc], cl
jb 0x82e050
xor edi, edi
add cl, 0x1b
mov byte [ebp - 0xc], cl
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, esi
and edx, 0xff
and edx, ebx
inc eax
cmp eax, 0xb
mov dword [ebp - 0x1c], eax
jbe 0x82e070
mov eax, edx
xor edx, edx
div dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, edx
jb 0x82dfbc
je 0x82e0a8
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 - 0x20]
dec eax
mov dword [ebp - 0x20], eax
jne 0x82dfa6
mov edi, dword [ebp - 0x38]
mov dl, byte [ebp - 0x15d]
and esi, 0xff
mov byte [ebp - 0x28], dl
mov dl, byte [edi + 1]
mov bl, byte [ebp - 0x161]
mov al, byte [ebp + esi - 0x164]
add dl, 0x57
mov byte [ebp - 0x2c], al
mov al, byte [edi]
add al, 0xb
mov cl, byte [ebp - 0x15f]
shl al, 4
or al, dl
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x2c]
and eax, 0xff
fstp st(0)
mov dl, byte [ebp + eax - 0x164]
lea esi, [ebp + eax - 0x164]
mov byte [ebp - 0x10], 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 - 0x24], al
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [esi], bl
mov ebx, dword [ebp - 0x28]
and ebx, 0xff
mov dword [ebp - 0x20], edx
lea ebx, [ebp + ebx - 0x164]
mov dword [ebp - 0x14], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
and edx, 0xff
lea edx, [ebp + edx - 0x164]
mov dword [ebp - 0x18], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x10]
mov byte [ebx], dl
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x164]
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 - 0x164]
mov edx, dword [ebp - 0x20]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x164]
add edx, esi
and edx, 0xff
xor bl, byte [ebp + edx - 0x164]
mov dl, byte [ebp - 1]
mov byte [ebp - 0x2c], dl
xor bl, dl
mov dl, byte [edi + 3]
mov byte [ebp - 0x28], bl
add dl, 0x57
mov bl, byte [edi + 2]
add edi, 4
add bl, 0xb
shl bl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea esi, [ebp + edx - 0x164]
mov dl, byte [ebp + edx - 0x164]
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x18]
mov bl, byte [edx]
mov dl, byte [ebp - 8]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [esi], bl
mov ebx, dword [ebp - 0x28]
and ebx, 0xff
mov dword [ebp - 0x20], edx
lea ebx, [ebp + ebx - 0x164]
mov dword [ebp - 0x14], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
and edx, 0xff
lea edx, [ebp + edx - 0x164]
mov dword [ebp - 0x18], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x10]
mov byte [ebx], dl
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x164]
add edx, ebx
mov bl, byte [esi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
mov edx, dword [ebp - 0x20]
mov esi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0xc]
add ebx, edx
mov dl, byte [ebp + esi - 0x164]
and ebx, 0xff
mov esi, 2
xor dl, byte [ebp + ebx - 0x164]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x2c], bl
xor dl, bl
mov bl, byte [edi + 1]
mov byte [ebp - 0x28], dl
mov byte [ebp - 0x64], dl
xor edx, edx
add bl, 0x57
mov dl, byte [edi]
sub edx, 0x15
shl dl, 4
or bl, dl
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 1], bl
and edx, 0xff
lea edi, [ebp + edx - 0x164]
mov dword [ebp - 0x34], 4
mov dl, byte [edi]
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x18]
mov bl, byte [edx]
mov dl, byte [ebp - 8]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [edi], bl
mov ebx, dword [ebp - 0x28]
and ebx, 0xff
mov dword [ebp - 0x20], edx
lea ebx, [ebp + ebx - 0x164]
mov dword [ebp - 0x14], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
and edx, 0xff
lea edx, [ebp + edx - 0x164]
mov dword [ebp - 0x18], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x10]
mov byte [ebx], dl
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
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 - 0x20]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0xc]
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 - 0x2c], bl
xor dl, bl
mov byte [ebp - 0x28], dl
mov byte [ebp - 0x63], dl
mov edx, dword [ebp - 0x38]
lea edi, [edx + 4]
jmp 0x82e408
mov edi, dword [ebp - 0x50]
add edi, 2
xor edx, edx
mov dword [ebp - 0x50], edi
inc esi
mov dl, byte [edi]
mov dword [ebp - 0xc], edx
xor edx, edx
mov dl, byte [edi + 1]
mov edi, dword [ebp - 0xc]
add dl, 0x57
lea ebx, [edi - 0x15]
shl bl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x164]
mov dl, byte [ebp + edx - 0x164]
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x18]
mov bl, byte [edx]
mov dl, byte [ebp - 8]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [edi], bl
mov ebx, dword [ebp - 0x28]
and ebx, 0xff
mov dword [ebp - 0x20], edx
lea ebx, [ebp + ebx - 0x164]
mov dword [ebp - 0x14], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
and edx, 0xff
lea edx, [ebp + edx - 0x164]
mov dword [ebp - 0x18], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x10]
mov byte [ebx], dl
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
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 - 0x20]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0xc]
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 - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x28], dl
jbe 0x82e522
mov byte [ebp + esi - 0x65], dl
mov edx, dword [ebp - 0x34]
dec edx
mov dword [ebp - 0x34], edx
jne 0x82e405
mov edi, dword [ebp - 0x38]
inc esi
mov dl, byte [edi + esi*2]
mov bl, byte [edi + esi*2 + 1]
add dl, 0xb
add bl, 0x57
shl dl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x164]
mov dl, byte [ebp + edx - 0x164]
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
mov dl, byte [ebp - 8]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [edi], bl
mov ebx, dword [ebp - 0x28]
and ebx, 0xff
mov dword [ebp - 0x20], edx
lea ebx, [ebp + ebx - 0x164]
mov dword [ebp - 0x14], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
and edx, 0xff
lea edx, [ebp + edx - 0x164]
mov dword [ebp - 0x18], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x10]
mov byte [ebx], dl
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
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 - 0x20]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0xc]
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 - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x28], dl
jbe 0x82e649
mov byte [ebp + esi - 0x65], dl
mov edx, dword [ebp - 0x38]
inc esi
mov bl, byte [edx + esi*2 + 1]
lea edi, [edx + esi*2]
add bl, 0x57
mov dl, byte [edi]
add dl, 0xb
shl dl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x164]
mov dl, byte [ebp + edx - 0x164]
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x18]
mov bl, byte [edx]
mov dl, byte [ebp - 8]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [edi], bl
mov ebx, dword [ebp - 0x28]
and ebx, 0xff
mov dword [ebp - 0x20], edx
lea ebx, [ebp + ebx - 0x164]
mov dword [ebp - 0x14], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
and edx, 0xff
lea edx, [ebp + edx - 0x164]
mov dword [ebp - 0x18], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x10]
mov byte [ebx], dl
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
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 - 0x20]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0xc]
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 - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x28], dl
jbe 0x82e75a
mov byte [ebp + esi - 0x65], dl
lea ebx, [esi + 1]
cmp ebx, 0xf
jge 0x82e899
mov edx, dword [ebp - 0x38]
lea edi, [edx + esi*2]
mov edx, 0xf
sub edx, ebx
mov dword [ebp - 0x34], edx
jmp 0x82e77b
mov edi, dword [ebp - 0x50]
mov dl, byte [edi + 2]
mov bl, byte [edi + 3]
add edi, 2
add dl, 0xb
shl dl, 4
add bl, 0x57
mov dword [ebp - 0x50], edi
or dl, bl
inc esi
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x164]
mov dl, byte [ebp + edx - 0x164]
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x18]
mov bl, byte [edx]
mov dl, byte [ebp - 8]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [edi], bl
mov ebx, dword [ebp - 0x28]
and ebx, 0xff
mov dword [ebp - 0x20], edx
lea ebx, [ebp + ebx - 0x164]
mov dword [ebp - 0x14], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
and edx, 0xff
lea edx, [ebp + edx - 0x164]
mov dword [ebp - 0x18], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x10]
mov byte [ebx], dl
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
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 - 0x20]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0xc]
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 - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x28], dl
jbe 0x82e88c
mov byte [ebp + esi - 0x65], dl
mov edx, dword [ebp - 0x34]
dec edx
mov dword [ebp - 0x34], edx
jne 0x82e778
mov edi, dword [ebp - 0x38]
inc esi
mov dl, byte [edi + esi*2]
mov bl, byte [edi + esi*2 + 1]
add dl, 0xb
add bl, 0x57
shl dl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x164]
mov dl, byte [ebp + edx - 0x164]
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
mov dl, byte [ebp - 8]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [edi], bl
mov ebx, dword [ebp - 0x28]
and ebx, 0xff
mov dword [ebp - 0x20], edx
lea ebx, [ebp + ebx - 0x164]
mov dword [ebp - 0x14], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
and edx, 0xff
lea edx, [ebp + edx - 0x164]
mov dword [ebp - 0x18], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x10]
mov byte [ebx], dl
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
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 - 0x20]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0xc]
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 - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x28], dl
jbe 0x82e9b3
mov byte [ebp + esi - 0x65], dl
mov edi, dword [ebp - 0x38]
inc esi
xor edx, edx
mov dl, byte [edi + esi*2]
mov bl, byte [edi + esi*2 + 1]
add dl, 0xb
add bl, 0x57
shl dl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x164]
mov dl, byte [ebp + edx - 0x164]
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x18]
mov bl, byte [edx]
add al, bl
mov bl, byte [ebp - 8]
mov byte [ebp - 0x24], al
inc bl
mov eax, dword [ebp - 0x24]
mov byte [ebp - 8], bl
and eax, 0xff
mov dl, byte [ebp + eax - 0x164]
lea eax, [ebp + eax - 0x164]
mov byte [edi], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
lea edx, [ebp + edx - 0x164]
mov byte [eax], bl
mov ebx, dword [ebp - 8]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x164]
mov dword [ebp - 0x18], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov ebx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x10]
mov byte [ebx], dl
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov bl, byte [ebp + edx - 0x164]
add cl, bl
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 0x1c], cl
mov ecx, dword [ebp - 0x1c]
mov bl, byte [ebx]
and ecx, 0xff
mov cl, byte [ebp + ecx - 0x164]
add ecx, ebx
mov bl, byte [edi]
add ecx, ebx
xor ebx, ebx
and ecx, 0xff
mov bl, byte [ebp + ecx - 0x164]
mov cl, byte [eax]
add ecx, edx
mov dl, byte [ebp - 1]
mov al, byte [ebp + ebx - 0x164]
and ecx, 0xff
xor al, byte [ebp + ecx - 0x164]
xor al, dl
test esi, esi
jbe 0x82eab1
mov byte [ebp + esi - 0x65], al
mov byte [ebp - 0x55], 0
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dl, byte [0x8dc294]
lea ecx, [ebp - 0x188]
push 0xa
mov byte [eax], dl
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.00848deb
or ecx, 0xffffffff
mov edi, 0x8cf6c8
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x288]
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 - 0x288]
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x64]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
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 - 0x288]
and ecx, 3
push 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x188]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
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
push 3
and ecx, 3
lea eax, [ebp - 0x288]
push ebx
push eax
rep movsb byte es:[edi], byte [esi]
call dword [0x8de93c]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x50], esi
jne 0x82eb8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x4c], ecx
push ebx
mov dword [ebp - 0x48], ecx
push edx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], ecx
push 8
push eax
lea ecx, [ebp - 0x4c]
push 0xc
push ecx
push 0x2d1400
push esi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call dword [0x8de8e0]
test eax, eax
jne 0x82ebd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 8], eax
lea edi, [eax + 4]
push edi
call fcn.00848368
mov ecx, edi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
lea edx, [ebp - 0x4c]
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
push ecx
push ebx
push 0xc
push edx
push 0x2d1400
push esi
call dword [0x8de8e0]
test eax, eax
jne 0x82ec42
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov edi, eax
call fcn.00848320
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x82ec6d
lea edi, [eax + ebx]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
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, dword [ebp - 0x50]
push ebx
call fcn.00848320
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret