Function at 0x831b80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
fld qword [0x893578]
fld qword [0x893578]
fld st(0)
fmul st(1)
fld st(0)
fmul qword [0x8b48f0]
fsub st(1)
fxch st(1)
fmul qword [0x8a1fe0]
fadd qword [0x8b48e8]
fdivp st(1)
faddp st(2)
fld st(1)
fcomp qword [0x8b48e0]
fnstsw ax
test ah, 0x41
jne 0x831bce
fld st(0)
fmul qword [0x8b48d8]
fsubp st(2)
fadd qword [0x893548]
fcom qword [0x8b48d0]
fnstsw ax
test ah, 1
jne 0x831b95
fxch st(1)
fst qword [ebp - 0x40]
fxch st(1)
fstp st(0)
fcomp qword [0x893578]
push ebx
push esi
push edi
fnstsw ax
test ah, 1
je 0x831c99
sub ch, byte [eax]
jae 0x831c34
push eax
inc ebp
xor eax, 0x6f793b68
inc ebp
arpl word [ecx + 0x3f], sp
sub esp, dword [ebx]
inc ebx
dec eax
push 0x3250483c
wait
movsb byte es:[edi], byte [esi]
cdq
movsb byte es:[edi], byte [esi]
mov dword [0x99a49cb0], eax
movsd dword es:[edi], dword [esi]
mov byte [0x9bafa2a7], al
scasd eax, dword es:[edi]
cmpsd dword [esi], dword es:[edi]
lodsb al, byte [esi]
mov dword [0x9ba8a1a8], eax
movsb byte es:[edi], byte [esi]
wait
lodsb al, byte [esi]
mov byte [0xa6a3a1ae], al
cmpsb byte [esi], byte es:[edi]
stosb byte es:[edi], al
wait
test eax, 0xa798a79f
movsb byte es:[edi], byte [esi]
cmpsd dword [esi], dword es:[edi]
wait
mov dl, 0xa3
stosb byte es:[edi], al
cmpsd dword [esi], dword es:[edi]
movsb byte es:[edi], byte [esi]
pushfd
mov al, 0xa1
mov cl, 0xa6
mov dword [0xb1a2a4a0], eax
sahf
movsb byte es:[edi], byte [esi]
cmpsd dword [esi], dword es:[edi]
mov al, 0xa1
movsb byte es:[edi], byte [esi]
lahf
stosd dword es:[edi], eax
lcall 0x9bae, 0xa7a99fb2
mov al, 0xa5
movsb byte es:[edi], byte [esi]
popfd
scasd eax, dword es:[edi]
lahf
cmpsb byte [esi], byte es:[edi]
mov dword [0x9fa99ca4], eax
mov al, 0x9c
mov cl, 0x9e
mov cl, 0x9f
movsb byte es:[edi], byte [esi]
mov byte [0x9caa9db0], al
stosb byte es:[edi], al
pushfd
mov al, 0x98
movsb byte es:[edi], byte [esi]
popfd
cmpsb byte [esi], byte es:[edi]
lcall 0x9db2, 0xa2aaa2b1
mov dword [0xaaa0ab9e], eax
mov al, byte [0xa7a99fb1]
mov dword [0xa79eab9a], eax
cdq
movsd dword es:[edi], dword [esi]
jmp 0x83282e
mov dword [ebp - 0x34], 0x831c16
mov dword [ebp - 0x38], 0x831bfe
xor eax, eax
mov byte [ebp + eax - 0x140], al
inc eax
cmp eax, 0x100
jb 0x831ca9
fld qword [ebp - 0x40]
mov byte [ebp - 0x14], 0
mov eax, 0xff
mov esi, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x1c], eax
mov ebx, 1
mov dword [ebp - 0x30], 0
cmp eax, ebx
jbe 0x831ce4
lea ebx, [ebx + ebx + 1]
cmp ebx, eax
jb 0x831cdc
cmp edi, 3
ja case.default.0x831ce9
jmp dword [edi*4 + 0x83288c]
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x140]
jmp 0x831d65
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x140]
shr eax, 8
jmp 0x831d65
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x140]
shr eax, 0x10
jmp 0x831d65
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x140]
shr eax, 0x18
jmp 0x831d65
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, 0x1c
mov byte [ebp - 0x14], cl
jb 0x831d78
xor edi, edi
add cl, 0x1c
mov byte [ebp - 0x14], cl
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov edx, esi
and edx, 0xff
and edx, ebx
inc eax
cmp eax, 0xb
mov dword [ebp - 0x30], eax
jbe 0x831d98
mov eax, edx
xor edx, edx
div dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, edx
jb 0x831ce4
je 0x831dd0
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 - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
jne 0x831ccc
mov edi, dword [ebp - 0x34]
mov dl, byte [ebp - 0x139]
and esi, 0xff
mov byte [ebp - 0x2c], dl
mov dl, byte [edi + 1]
mov bl, byte [ebp - 0x13d]
mov al, byte [ebp + esi - 0x140]
add dl, 0x5d
mov byte [ebp - 0x28], al
mov al, byte [edi]
add al, 8
mov cl, byte [ebp - 0x13b]
shl al, 4
or al, dl
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x28]
and eax, 0xff
fstp st(0)
mov dl, byte [ebp + eax - 0x140]
lea esi, [ebp + eax - 0x140]
mov byte [ebp - 0x10], 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 - 0x24], al
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [esi], bl
mov ebx, dword [ebp - 0x2c]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
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 - 0x14], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x140]
add edx, ebx
mov bl, byte [esi]
add edx, ebx
mov esi, dword [ebp - 0x14]
and edx, 0xff
xor ebx, ebx
mov bl, byte [ebp + edx - 0x140]
mov edx, dword [ebp - 0x1c]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x140]
add edx, esi
and edx, 0xff
xor bl, byte [ebp + edx - 0x140]
mov dl, byte [ebp - 1]
mov byte [ebp - 0x28], dl
xor bl, dl
xor edx, edx
mov dl, byte [edi + 2]
mov byte [ebp - 0x2c], bl
mov bl, byte [edi + 3]
add dl, 8
shl dl, 4
add bl, 0x5d
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea esi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
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 - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [esi], bl
mov ebx, dword [ebp - 0x2c]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
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 - 0x14], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
mov bl, byte [ebx]
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 bl, byte [ebp + edx - 0x140]
mov edx, dword [ebp - 0x1c]
mov esi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + esi - 0x140]
and ebx, 0xff
mov esi, 2
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x28], bl
xor dl, bl
mov byte [ebp - 0x2c], dl
movsx dx, dl
mov word [ebp - 0x1c0], dx
mov bl, byte [edi + 5]
xor edx, edx
add bl, 0x5d
mov dl, byte [edi + 4]
add dl, 8
shl dl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov dword [ebp - 0x38], 0x1c
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
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 - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x2c]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
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 - 0x14], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
mov bl, byte [ebx]
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 - 0x1c]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x140]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x28], bl
xor dl, bl
mov byte [ebp - 0x2c], dl
movsx dx, dl
mov word [ebp - 0x1be], dx
mov edx, dword [ebp - 0x34]
lea edi, [edx + 4]
lea edx, [ebp - 0x1be]
mov dword [ebp - 0x30], edx
jmp 0x83214e
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov bl, byte [edi + 3]
add edx, 2
add edi, 2
mov dword [ebp - 0x30], edx
add bl, 0x5d
mov dl, byte [edi]
mov dword [ebp - 0x3c], edi
add dl, 8
inc esi
shl dl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
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 - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x2c]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
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 - 0x14], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
mov bl, byte [ebx]
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 - 0x1c]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x140]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x28], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x2c], dl
jbe 0x83226d
mov edi, dword [ebp - 0x30]
movsx dx, dl
mov word [edi], dx
mov edx, dword [ebp - 0x38]
dec edx
mov dword [ebp - 0x38], edx
jne 0x83214b
mov edi, dword [ebp - 0x34]
inc esi
mov bl, byte [edi + esi*2]
mov dl, byte [edi + esi*2 + 1]
add bl, 8
add dl, 0x5d
shl bl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
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 - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x2c]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
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 - 0x14], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
mov bl, byte [ebx]
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 - 0x1c]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x140]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x28], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x2c], dl
jbe 0x83239c
movsx dx, dl
mov word [ebp + esi*2 - 0x1c2], dx
mov edx, dword [ebp - 0x34]
inc esi
mov bl, byte [edx + esi*2]
lea edi, [edx + esi*2]
add bl, 8
mov dl, byte [edi + 1]
add dl, 0x5d
shl bl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
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 - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x2c]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
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 - 0x14], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
mov bl, byte [ebx]
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 - 0x1c]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x140]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x28], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x2c], dl
jbe 0x8324b5
movsx dx, dl
mov word [ebp + esi*2 - 0x1c2], dx
lea ebx, [esi + 1]
cmp ebx, 0x3e
jge 0x83260c
mov edx, dword [ebp - 0x34]
lea edi, [edx + esi*2]
lea edx, [ebp + esi*2 - 0x1c2]
mov dword [ebp - 0x30], edx
mov edx, 0x3e
sub edx, ebx
mov dword [ebp - 0x38], edx
jmp 0x8324e0
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov bl, byte [edi + 3]
add edx, 2
add edi, 2
mov dword [ebp - 0x30], edx
add bl, 0x5d
mov dl, byte [edi]
mov dword [ebp - 0x3c], edi
add dl, 8
inc esi
shl dl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
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 - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x2c]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
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 - 0x14], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
mov bl, byte [ebx]
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 - 0x1c]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x140]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x28], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x2c], dl
jbe 0x8325ff
mov edi, dword [ebp - 0x30]
movsx dx, dl
mov word [edi], dx
mov edx, dword [ebp - 0x38]
dec edx
mov dword [ebp - 0x38], edx
jne 0x8324dd
mov edi, dword [ebp - 0x34]
inc esi
mov bl, byte [edi + esi*2]
mov dl, byte [edi + esi*2 + 1]
add bl, 8
add dl, 0x5d
shl bl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x140]
mov dl, byte [ebp + edx - 0x140]
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov bl, byte [ebp + edx - 0x140]
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 - 0x140]
lea edx, [ebp + edx - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x2c]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
and edx, 0xff
lea edx, [ebp + edx - 0x140]
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 - 0x14], edx
mov bl, byte [ebp + edx - 0x140]
add cl, bl
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
mov bl, byte [ebx]
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 - 0x1c]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x140]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x140]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x28], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x2c], dl
jbe 0x83272e
movsx dx, dl
mov word [ebp + esi*2 - 0x1c2], dx
mov edi, dword [ebp - 0x34]
inc esi
mov dl, byte [edi + esi*2 + 1]
mov bl, byte [edi + esi*2]
mov edi, dword [ebp - 0x28]
add bl, 8
and edi, 0xff
add dl, 0x5d
shl bl, 4
lea edi, [ebp + edi - 0x140]
or dl, bl
mov bl, byte [edi]
mov byte [ebp - 0x10], bl
mov ebx, dword [ebp - 0x18]
add al, byte [ebx]
mov byte [ebp - 0x24], al
mov al, byte [ebp - 8]
inc al
mov byte [ebp - 8], al
mov eax, dword [ebp - 0x24]
and eax, 0xff
mov bl, byte [ebp + eax - 0x140]
lea eax, [ebp + eax - 0x140]
mov byte [edi], bl
mov ebx, dword [ebp - 0x2c]
and ebx, 0xff
mov dword [ebp - 0x1c], eax
lea ebx, [ebp + ebx - 0x140]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [eax], bl
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
and eax, 0xff
lea eax, [ebp + eax - 0x140]
mov dword [ebp - 0x18], eax
mov al, byte [eax]
mov byte [ebx], al
mov ebx, dword [ebp - 0x18]
mov al, byte [ebp - 0x10]
mov byte [ebx], al
mov eax, dword [ebp - 0x10]
and eax, 0xff
add cl, byte [ebp + eax - 0x140]
test esi, esi
mov byte [ebp - 0x20], cl
jbe 0x832825
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0xc]
and ecx, 0xff
mov bl, byte [ebx]
mov cl, byte [ebp + ecx - 0x140]
add ecx, ebx
mov bl, byte [edi]
add ecx, ebx
xor ebx, ebx
and ecx, 0xff
mov bl, byte [ebp + ecx - 0x140]
mov ecx, dword [ebp - 0x1c]
mov cl, byte [ecx]
add ecx, eax
mov al, byte [ebp + ebx - 0x140]
and ecx, 0xff
xor al, byte [ebp + ecx - 0x140]
xor al, dl
movsx cx, al
mov word [ebp + esi*2 - 0x1c2], cx
mov word [ebp - 0x144], 0
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jle 0x83287c
mov esi, dword [ebp + 8]
call fcn.0084212c
lea edx, [ebp - 0x1c0]
mov edi, eax
push edx
call fcn.00841a07
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 0x832838
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