Function at 0x82d5a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
fld qword [0x88f578]
fld qword [0x88f578]
fld st(0)
fmul st(1)
fld st(0)
fmul qword [0x8b0828]
fsub st(1)
fxch st(1)
fmul qword [0x89da98]
fadd qword [0x89db98]
fdivp st(1)
faddp st(2)
fld st(1)
fcomp qword [0x8b0820]
fnstsw ax
test ah, 0x41
jne 0x82d5ee
fld st(0)
fmul qword [0x8b0818]
fsubp st(2)
fadd qword [0x88f548]
fcom qword [0x8b0810]
fnstsw ax
test ah, 1
jne 0x82d5b5
fxch st(1)
fst qword [ebp - 0x40]
fxch st(1)
fstp st(0)
fcomp qword [0x88f578]
push ebx
push esi
push edi
fnstsw ax
test ah, 1
je 0x82d6c1
inc eax
imul esi, dword [esi], 0x615a2864
pop ecx
cmp dword [edi + 0x64], ebx
sub esp, dword [esi + 0x50]
inc edi
push esp
sub al, 0x49
jae 0x82d655
imul esp, dword [ecx + 0x3d], 0x5d443f5a
push 0x35
bound eax, qword [edx - 0x74ab73b3]
push esp
or dword [ebx - 0x74], 0x54
jg 0x82d69e
or byte [ebp + ecx*4 + 0x56], 0x80
push ecx
or dword [edi - 0x7d], 0x834f8848
push ebp
or byte [edi + eax*4 + 0x4b], 0x8b
dec edi
adc dword [ebp - 0x7e], 0x4c
xchg dword [ebx - 0x75], ecx
push ebp
adc dword [edx - 0x7c], 0x52
mov edx, dword [ebp - 0x74]
dec ecx
mov dword [edi - 0x80], eax
dec ecx
mov word [edx + eax*4 + 0x56], cs
jle 0x82d6bc
mov dword [esp + eax*4 + 0x52], edx
adc byte [edx - 0x7f], 0x50
xchg dword [ecx - 0x7e], edx
dec esi
mov cl, byte [esi - 0x77]
inc edi
mov dword [ebx - 0x77], edx
push ebp
test byte [ebp - 0x77], dl
push ebx
or dword [eax + eax*4 + 0x50], 0x4d855585
or byte [edx - 0x74], 0x51
mov dword [ebp - 0x78], ecx
push esp
mov word [edx - 0x7b], cs
dec ecx
mov dl, byte [eax - 0x79]
push esi
xchg byte [edi - 0x77], cl
push eax
test byte [edx - 0x79], cl
dec ebx
mov word [ebx - 0x7c], cs
push ebx
adc dword [ebp + eax*4 + 0x56], 0xffffff86
xchg dword [esi - 0x7a], edx
dec edi
mov dword [eax - 0x7c], edx
dec edx
xchg dword [ebx - 0x74], ecx
dec ebx
test byte [ebx - 0x7d], dl
push esp
test dword [esi - 0x7a], edx
dec eax
jle 0x82d6fb
xchg byte [ebx - 0x80], dl
push edx
test byte [edx - 0x79], cl
push eax
jmp 0x82e4ab
mov dword [ebp - 0x30], 0x82d63e
mov dword [ebp - 0x38], 0x82d61e
xor eax, eax
mov byte [ebp + eax - 0x140], al
inc eax
cmp eax, 0x100
jb 0x82d6d1
fld qword [ebp - 0x40]
mov byte [ebp - 0x14], 0
mov eax, 0xff
mov esi, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x18], eax
mov ebx, 1
mov dword [ebp - 0x34], 0
cmp eax, ebx
jbe 0x82d70c
int3
lea ebx, [ebx + ebx + 1]
cmp ebx, eax
jb 0x82d704
cmp edi, 3
ja case.default.0x82d711
jmp dword [edi*4 + 0x82e50c]
fld st(0)
and esi, 0xff
call fcn.0083dce4
mov cl, byte [ebp + esi - 0x140]
jmp 0x82d78d
fld st(0)
and esi, 0xff
call fcn.0083dce4
mov cl, byte [ebp + esi - 0x140]
shr eax, 8
jmp 0x82d78d
fld st(0)
and esi, 0xff
call fcn.0083dce4
mov cl, byte [ebp + esi - 0x140]
shr eax, 0x10
jmp 0x82d78d
fld st(0)
and esi, 0xff
call fcn.0083dce4
mov cl, byte [ebp + esi - 0x140]
shr eax, 0x18
jmp 0x82d78d
mov eax, dword [ebp - 0x38]
and esi, 0xff
mov cl, byte [eax + edi - 4]
mov al, byte [ebp + esi - 0x140]
add cl, al
inc edi
cmp edi, 0x24
mov byte [ebp - 0x14], cl
jb 0x82d7a0
xor edi, edi
add cl, 0x24
mov byte [ebp - 0x14], cl
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov edx, esi
and edx, 0xff
and edx, ebx
inc eax
cmp eax, 0xb
mov dword [ebp - 0x34], eax
jbe 0x82d7c0
mov eax, edx
xor edx, edx
div dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, edx
jb 0x82d70c
je 0x82d7f8
mov bl, byte [ebp + eax - 0x140]
lea edx, [ebp + edx - 0x140]
lea ecx, [ebp + eax - 0x140]
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 - 0x18]
dec eax
mov dword [ebp - 0x18], eax
jne 0x82d6f4
mov dl, byte [ebp - 0x139]
and esi, 0xff
mov byte [ebp - 0x24], dl
xor edx, edx
mov al, byte [ebp + esi - 0x140]
mov bl, byte [ebp - 0x13d]
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 0x30]
mov cl, byte [ebp - 0x13b]
mov dl, byte [eax + 1]
mov esi, edx
xor edx, edx
mov dl, byte [eax]
mov eax, edx
lea edx, [esi - 0x47]
sub eax, 0x7e
shl al, 4
or al, dl
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 0x2c]
and eax, 0xff
fstp st(0)
mov dl, byte [ebp + eax - 0x140]
lea esi, [ebp + eax - 0x140]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x13f]
mov eax, edx
and eax, 0xff
mov al, byte [ebp + eax - 0x140]
add al, bl
inc dl
mov byte [ebp - 0x20], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
mov byte [esi], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 4]
and ebx, 0xff
mov dword [ebp - 0xc], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov bl, byte [esi]
mov esi, dword [ebp - 0xc]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x140]
add edx, ebx
mov bl, byte [esi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov esi, 1
mov bl, byte [ebp + edx - 0x140]
mov dl, byte [edi]
mov edi, dword [ebp - 0x1c]
mov bl, byte [ebp + ebx - 0x140]
add edx, edi
and edx, 0xff
xor bl, byte [ebp + edx - 0x140]
mov dl, byte [ebp - 0x28]
mov byte [ebp - 0x2c], dl
xor bl, dl
mov byte [ebp - 0x24], bl
mov edx, dword [ebp - 0x30]
xor ebx, ebx
mov dword [ebp - 0x38], 0x1b
mov bl, byte [edx + 3]
lea edi, [edx + 2]
sub ebx, 0x47
mov dl, byte [edi]
add dl, 2
shl dl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov dl, byte [ebp - 4]
add al, bl
inc dl
mov byte [ebp - 0x20], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 0xc]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x140]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x140]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x2c], bl
xor dl, bl
mov byte [ebp - 0x24], dl
movsx dx, dl
mov word [ebp - 0x1c0], dx
mov edx, dword [ebp - 0x30]
lea edi, [edx + 2]
lea edx, [ebp - 0x1c0]
mov dword [ebp - 0x34], edx
jmp 0x82da71
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
mov dl, byte [edi + 2]
add edi, 2
add ebx, 2
mov dword [ebp - 0x34], ebx
xor ebx, ebx
mov bl, byte [edi + 1]
add dl, 2
sub ebx, 0x47
mov dword [ebp - 0x3c], edi
shl dl, 4
or dl, bl
inc esi
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov dl, byte [ebp - 4]
add al, bl
inc dl
mov byte [ebp - 0x20], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 0xc]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x140]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x140]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x82db93
mov edi, dword [ebp - 0x34]
movsx dx, dl
mov word [edi], dx
mov edx, dword [ebp - 0x38]
dec edx
mov dword [ebp - 0x38], edx
jne 0x82da6e
mov edi, dword [ebp - 0x30]
inc esi
xor edx, edx
xor ebx, ebx
mov dl, byte [edi + esi*2]
mov bl, byte [edi + esi*2 + 1]
sub edx, 0x7e
sub ebx, 0x47
shl edx, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
mov dl, byte [ebp - 4]
add al, bl
inc dl
mov byte [ebp - 0x20], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 0xc]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x140]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x140]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x82dcc6
movsx dx, dl
mov word [ebp + esi*2 - 0x1c2], dx
mov edi, dword [ebp - 0x30]
inc esi
mov dl, byte [edi + esi*2]
mov bl, byte [edi + esi*2 + 1]
add dl, 2
sub bl, 0x47
shl dl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov dl, byte [ebp - 4]
add al, bl
inc dl
mov byte [ebp - 0x20], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 0xc]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x140]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x140]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x82dddd
movsx dx, dl
mov word [ebp + esi*2 - 0x1c2], dx
mov edx, dword [ebp - 0x30]
inc esi
xor ebx, ebx
mov bl, byte [edx + esi*2 + 1]
lea edi, [edx + esi*2]
sub ebx, 0x47
mov dl, byte [edi]
add dl, 2
shl dl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov dl, byte [ebp - 4]
add al, bl
inc dl
mov byte [ebp - 0x20], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 0xc]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x140]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x140]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x82def8
movsx dx, dl
mov word [ebp + esi*2 - 0x1c2], dx
lea ebx, [esi + 1]
cmp ebx, 0x3c
jge 0x82e053
mov edx, dword [ebp - 0x30]
lea edi, [edx + esi*2]
lea edx, [ebp + esi*2 - 0x1c2]
mov dword [ebp - 0x34], edx
mov edx, 0x3c
sub edx, ebx
mov dword [ebp - 0x38], edx
jmp 0x82df23
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
add edi, 2
add edx, 2
xor ebx, ebx
mov bl, byte [edi + 1]
mov dword [ebp - 0x34], edx
xor edx, edx
sub ebx, 0x47
mov dl, byte [edi]
mov dword [ebp - 0x3c], edi
sub edx, 0x7e
inc esi
shl dl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov dl, byte [ebp - 4]
add al, bl
inc dl
mov byte [ebp - 0x20], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 0xc]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x140]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x140]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x82e046
mov edi, dword [ebp - 0x34]
movsx dx, dl
mov word [edi], dx
mov edx, dword [ebp - 0x38]
dec edx
mov dword [ebp - 0x38], edx
jne 0x82df20
mov edi, dword [ebp - 0x30]
inc esi
mov dl, byte [edi + esi*2]
mov bl, byte [edi + esi*2 + 1]
add dl, 2
sub bl, 0x47
shl dl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
mov dl, byte [ebp - 4]
add al, bl
inc dl
mov byte [ebp - 0x20], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 0xc]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x140]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x140]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x82e175
movsx dx, dl
mov word [ebp + esi*2 - 0x1c2], dx
mov edi, dword [ebp - 0x30]
inc esi
mov dl, byte [edi + esi*2]
mov bl, byte [edi + esi*2 + 1]
add dl, 2
sub bl, 0x47
shl dl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov dl, byte [ebp - 4]
add al, bl
inc dl
mov byte [ebp - 0x20], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 0xc]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x140]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x140]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x82e28c
movsx dx, dl
mov word [ebp + esi*2 - 0x1c2], dx
mov edi, dword [ebp - 0x30]
inc esi
mov dl, byte [edi + esi*2]
mov bl, byte [edi + esi*2 + 1]
add dl, 2
sub bl, 0x47
shl dl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov dl, byte [ebp - 4]
add al, bl
inc dl
mov byte [ebp - 0x20], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 0xc]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x140]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x140]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 0x28]
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x82e3a0
movsx dx, dl
mov word [ebp + esi*2 - 0x1c2], dx
mov edx, dword [ebp - 0x28]
inc esi
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
add al, bl
mov bl, byte [ebp - 4]
mov byte [ebp - 0x20], al
inc bl
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], bl
and eax, 0xff
mov dl, byte [ebp + eax - 0x140]
lea eax, [ebp + eax - 0x140]
mov byte [edi], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [eax], bl
mov ebx, dword [ebp - 4]
and ebx, 0xff
mov dword [ebp - 0xc], edx
test esi, esi
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
jbe 0x82e4a2
mov edx, dword [ebp - 8]
mov al, byte [eax]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x30]
mov bl, byte [edx + esi*2]
mov dl, byte [edx + esi*2 + 1]
add bl, 2
sub dl, 0x47
shl bl, 4
or bl, dl
mov edx, dword [ebp - 0x1c]
mov dl, byte [ebp + edx - 0x140]
add dl, cl
and edx, 0xff
mov cl, byte [ebp + edx - 0x140]
mov dl, byte [edi]
add ecx, edx
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x1c]
mov dl, byte [edx]
add eax, edi
add ecx, edx
xor edx, edx
and ecx, 0xff
and eax, 0xff
mov dl, byte [ebp + ecx - 0x140]
mov cl, byte [ebp + edx - 0x140]
xor bl, cl
mov cl, byte [ebp + eax - 0x140]
xor bl, cl
movsx cx, bl
mov word [ebp + esi*2 - 0x1c2], cx
mov word [ebp - 0x144], 0
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jle 0x82e4f9
mov esi, dword [ebp + 8]
call fcn.0083e72c
lea edx, [ebp - 0x1c0]
mov edi, eax
push edx
call fcn.0083e007
mov ecx, eax
add esp, 4
dec ecx
mov eax, edi
xor edx, edx
add esi, 2
div ecx
dec ebx
mov dx, word [ebp + edx*2 - 0x1c0]
mov word [esi - 2], dx
jne 0x82e4b5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
mov word [eax + ecx*2], 0
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
pop edi
pop esi
mov word [edx + ebx*2], 0
pop ebx
mov esp, ebp
pop ebp
ret