Function at 0x51cc90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], ecx
mov edi, dword [0x62ce50]
cmp dword [ebp + 0x18], 0
je 0x51d617
mov dl, 7
mov eax, dword [ebp + 0x18]
call fcn.0042da94
lea eax, [ebp - 0x60]
xor edx, edx
call fcn.00517a60
push eax
lea eax, [ebp - 0x50]
xor edx, edx
call fcn.00517a60
pop edx
call fcn.0042ec24
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
call fcn.0042ec24
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
call fcn.0042ec24
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x51d617
lea eax, [ebp - 0x60]
xor edx, edx
call fcn.00517a4c
push eax
lea eax, [ebp - 0x50]
xor edx, edx
call fcn.00517a4c
pop edx
call fcn.0042ec24
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
call fcn.0042ec24
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
call fcn.0042ec24
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x51d617
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x50]
jle 0x51cd9f
cmp dword [ebp - 0x50], 0
jge 0x51cdba
mov eax, dword [ebp - 0x50]
neg eax
add dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
neg eax
sub dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x50], eax
jmp 0x51cdba
cmp dword [ebp - 0x60], 0
jge 0x51cdba
mov eax, dword [ebp - 0x60]
neg eax
add dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x60]
neg eax
sub dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x4c]
jle 0x51cddf
cmp dword [ebp - 0x4c], 0
jge 0x51cdfa
mov eax, dword [ebp - 0x4c]
neg eax
add dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
neg eax
sub dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
jmp 0x51cdfa
cmp dword [ebp - 0x5c], 0
jge 0x51cdfa
mov eax, dword [ebp - 0x5c]
neg eax
add dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x5c]
neg eax
sub dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp + 0xc], 0x1fffffff
je 0x51cf50
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov al, byte [ebp - 0x1c]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fld dword [0x51d620]
call fcn.00403310
fstp qword [ebp - 0x28]
wait
xor eax, eax
mov al, byte [ebp - 0x1b]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fld dword [0x51d620]
call fcn.00403310
fstp qword [ebp - 0x30]
wait
xor eax, eax
mov al, byte [ebp - 0x1a]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fld dword [0x51d620]
call fcn.00403310
fstp qword [ebp - 0x38]
wait
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x51cf50
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
call fcn.0042cb14
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x51cf44
inc eax
mov dword [ebp - 0x40], eax
xor esi, esi
mov al, byte [edi + 2]
mov cl, byte [ebx + esi*4]
cmp al, cl
jne 0x51ceac
cmp al, byte [ebx + esi*4 + 1]
jne 0x51ceac
cmp al, byte [ebx + esi*4 + 2]
je 0x51cf3a
xor eax, eax
mov al, byte [ebx + esi*4 + 2]
xor edx, edx
mov dl, byte [ebx + esi*4 + 1]
add eax, edx
xor edx, edx
mov dl, cl
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x1d], al
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x28]
call fcn.00402cd4
push edx
push eax
push 0
push 0xff
call fcn.0042ec2c
mov byte [ebx + esi*4 + 2], al
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x30]
call fcn.00402cd4
push edx
push eax
push 0
push 0xff
call fcn.0042ec2c
mov byte [ebx + esi*4 + 1], al
xor eax, eax
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x38]
call fcn.00402cd4
push edx
push eax
push 0
push 0xff
call fcn.0042ec2c
mov byte [ebx + esi*4], al
inc esi
dec dword [ebp - 0x40]
jne 0x51ce92
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x51ce71
cmp dword [ebp + 8], 0
je 0x51d2cf
mov eax, dword [ebp + 0x14]
cmp byte [eax + 0x10], 0
jne 0x51d0a7
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x51d617
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0042cb14
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
call fcn.0042cb14
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x51d096
inc eax
mov dword [ebp - 0x40], eax
xor esi, esi
mov ecx, dword [ebp - 0x50]
add ecx, esi
mov eax, dword [ebp - 0x60]
add eax, esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebx + eax*4 + 3]
mov edx, 0x64
sub edx, dword [ebp + 8]
imul edx
mov edi, 0x64
cdq
idiv edi
mov byte [ebp - 0x1d], al
lea eax, [ecx + ecx*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax + 2]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebx + edx*4 + 2]
sub edx, eax
xor eax, eax
mov al, byte [ebp - 0x1d]
imul edx, eax
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
movzx eax, byte [edi + eax + 2]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
mov byte [edi + eax + 2], dl
lea eax, [ecx + ecx*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax + 1]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebx + edx*4 + 1]
sub edx, eax
xor eax, eax
mov al, byte [ebp - 0x1d]
imul edx, eax
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
movzx eax, byte [edi + eax + 1]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
mov byte [edi + eax + 1], dl
lea eax, [ecx + ecx*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebx + edx*4]
sub edx, eax
xor eax, eax
mov al, byte [ebp - 0x1d]
imul edx, eax
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
movzx eax, byte [edi + eax]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax], dl
inc esi
dec dword [ebp - 0x40]
jne 0x51cfaf
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x51cf7d
jmp 0x51d617
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x51d617
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0042cb14
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
call fcn.0042cb14
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x51d2be
inc eax
mov dword [ebp - 0x40], eax
xor esi, esi
mov eax, dword [ebp - 0x60]
add eax, esi
mov dl, byte [ebx + eax*4 + 2]
mov byte [ebp - 0x1c], dl
mov dl, byte [ebx + eax*4]
mov byte [ebp - 0x1a], dl
mov dl, byte [ebx + eax*4 + 1]
mov byte [ebp - 0x1b], dl
cmp dword [ebp - 0x1c], 0xff00ff
je 0x51d1f2
mov ecx, dword [ebp - 0x50]
add ecx, esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebx + eax*4 + 3]
mov edx, 0x64
sub edx, dword [ebp + 8]
imul edx
mov edi, 0x64
cdq
idiv edi
mov byte [ebp - 0x1d], al
lea eax, [ecx + ecx*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax + 2]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebx + edx*4 + 2]
sub edx, eax
xor eax, eax
mov al, byte [ebp - 0x1d]
imul edx, eax
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
movzx eax, byte [edi + eax + 2]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
mov byte [edi + eax + 2], dl
lea eax, [ecx + ecx*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax + 1]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebx + edx*4 + 1]
sub edx, eax
xor eax, eax
mov al, byte [ebp - 0x1d]
imul edx, eax
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
movzx eax, byte [edi + eax + 1]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
mov byte [edi + eax + 1], dl
lea eax, [ecx + ecx*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebx + edx*4]
sub edx, eax
xor eax, eax
mov al, byte [ebp - 0x1d]
imul edx, eax
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
movzx eax, byte [edi + eax]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax], dl
jmp 0x51d2b4
cmp byte [ebp + 0x10], 0
je 0x51d2b4
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0xc]
cmp eax, edx
jle 0x51d2b4
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x50]
add edx, esi
cmp eax, edx
jle 0x51d2be
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0xc]
test eax, eax
jl 0x51d2be
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x50]
add eax, esi
test eax, eax
jl 0x51d2b4
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
call fcn.0042c9a4
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x50]
add edx, esi
call fcn.00428320
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x50]
add eax, esi
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 0x1c]
mov byte [edx + eax + 2], cl
mov eax, dword [ebp - 0x50]
add eax, esi
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 0x1b]
mov byte [edx + eax + 1], cl
mov eax, dword [ebp - 0x50]
add eax, esi
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 0x1a]
mov byte [edx + eax], cl
inc esi
dec dword [ebp - 0x40]
jne 0x51d0ef
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x51d0bd
jmp 0x51d617
mov eax, dword [ebp + 0x14]
cmp byte [eax + 0x10], 0
jne 0x51d408
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x51d617
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0042cb14
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
call fcn.0042cb14
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x51d3f7
inc eax
mov dword [ebp - 0x40], eax
xor esi, esi
mov ecx, dword [ebp - 0x50]
add ecx, esi
mov eax, dword [ebp - 0x60]
add eax, esi
mov dword [ebp - 0x18], eax
lea eax, [ecx + ecx*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax + 2]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebx + edx*4 + 2]
sub edx, eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebx + eax*4 + 3]
imul edx, eax
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
movzx eax, byte [edi + eax + 2]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
mov byte [edi + eax + 2], dl
lea eax, [ecx + ecx*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax + 1]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebx + edx*4 + 1]
sub edx, eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebx + eax*4 + 3]
imul edx, eax
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
movzx eax, byte [edi + eax + 1]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
mov byte [edi + eax + 1], dl
lea eax, [ecx + ecx*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebx + edx*4]
sub edx, eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebx + eax*4 + 3]
imul edx, eax
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
movzx eax, byte [edi + eax]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax], dl
inc esi
dec dword [ebp - 0x40]
jne 0x51d324
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x51d2f2
jmp 0x51d617
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x51d617
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0042cb14
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
call fcn.0042cb14
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x51d60b
inc eax
mov dword [ebp - 0x40], eax
xor esi, esi
mov eax, dword [ebp - 0x60]
add eax, esi
mov dl, byte [ebx + eax*4 + 2]
mov byte [ebp - 0x1c], dl
mov dl, byte [ebx + eax*4]
mov byte [ebp - 0x1a], dl
mov dl, byte [ebx + eax*4 + 1]
mov byte [ebp - 0x1b], dl
cmp dword [ebp - 0x1c], 0xff00ff
je 0x51d53f
mov ecx, dword [ebp - 0x50]
add ecx, esi
mov dword [ebp - 0x18], eax
lea eax, [ecx + ecx*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax + 2]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebx + edx*4 + 2]
sub edx, eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebx + eax*4 + 3]
imul edx, eax
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
movzx eax, byte [edi + eax + 2]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
mov byte [edi + eax + 2], dl
lea eax, [ecx + ecx*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax + 1]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebx + edx*4 + 1]
sub edx, eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebx + eax*4 + 3]
imul edx, eax
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
movzx eax, byte [edi + eax + 1]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
mov byte [edi + eax + 1], dl
lea eax, [ecx + ecx*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebx + edx*4]
sub edx, eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebx + eax*4 + 3]
imul edx, eax
lea eax, [ecx + ecx*2]
mov edi, dword [ebp - 8]
movzx eax, byte [edi + eax]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax], dl
jmp 0x51d601
cmp byte [ebp + 0x10], 0
je 0x51d601
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0xc]
cmp eax, edx
jle 0x51d601
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x50]
add edx, esi
cmp eax, edx
jle 0x51d60b
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0xc]
test eax, eax
jl 0x51d60b
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x50]
add eax, esi
test eax, eax
jl 0x51d601
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
call fcn.0042c9a4
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x50]
add edx, esi
call fcn.00428320
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x50]
add eax, esi
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 0x1c]
mov byte [edx + eax + 2], cl
mov eax, dword [ebp - 0x50]
add eax, esi
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 0x1b]
mov byte [edx + eax + 1], cl
mov eax, dword [ebp - 0x50]
add eax, esi
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 0x1a]
mov byte [edx + eax], cl
inc esi
dec dword [ebp - 0x40]
jne 0x51d450
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x51d41e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14