Function at 0x4f8840
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 [0x59bb80]
cmp dword [ebp + 0x18], 0
je 0x4f91c7
mov dl, 7
mov eax, dword [ebp + 0x18]
call fcn.00431140
lea eax, [ebp - 0x60]
xor edx, edx
call fcn.005126e8
push eax
lea eax, [ebp - 0x50]
xor edx, edx
call fcn.005126e8
pop edx
call fcn.00432414
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.00432414
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.00432414
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x4f91c7
lea eax, [ebp - 0x60]
xor edx, edx
call fcn.005126d4
push eax
lea eax, [ebp - 0x50]
xor edx, edx
call fcn.005126d4
pop edx
call fcn.00432414
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.00432414
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.00432414
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x4f91c7
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x50]
jle 0x4f894f
cmp dword [ebp - 0x50], 0
jge 0x4f896a
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 0x4f896a
cmp dword [ebp - 0x60], 0
jge 0x4f896a
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 0x4f898f
cmp dword [ebp - 0x4c], 0
jge 0x4f89aa
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 0x4f89aa
cmp dword [ebp - 0x5c], 0
jge 0x4f89aa
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 0x4f8b00
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 [0x4f91d0]
call fcn.00403374
fstp qword [ebp - 0x28]
wait
xor eax, eax
mov al, byte [ebp - 0x1b]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fld dword [0x4f91d0]
call fcn.00403374
fstp qword [ebp - 0x30]
wait
xor eax, eax
mov al, byte [ebp - 0x1a]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fld dword [0x4f91d0]
call fcn.00403374
fstp qword [ebp - 0x38]
wait
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x4f8b00
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.004301c0
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4f8af4
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 0x4f8a5c
cmp al, byte [ebx + esi*4 + 1]
jne 0x4f8a5c
cmp al, byte [ebx + esi*4 + 2]
je 0x4f8aea
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.00402d70
push edx
push eax
push 0
push 0xff
call fcn.0043241c
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.00402d70
push edx
push eax
push 0
push 0xff
call fcn.0043241c
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.00402d70
push edx
push eax
push 0
push 0xff
call fcn.0043241c
mov byte [ebx + esi*4], al
inc esi
dec dword [ebp - 0x40]
jne 0x4f8a42
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x4f8a21
cmp dword [ebp + 8], 0
je 0x4f8e7f
mov eax, dword [ebp + 0x14]
cmp byte [eax + 0x10], 0
jne 0x4f8c57
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x4f91c7
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.004301c0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
call fcn.004301c0
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4f8c46
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 0x4f8b5f
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x4f8b2d
jmp 0x4f91c7
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x4f91c7
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.004301c0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
call fcn.004301c0
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4f8e6e
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 0x4f8da2
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 0x4f8e64
cmp byte [ebp + 0x10], 0
je 0x4f8e64
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 0x4f8e64
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 0x4f8e6e
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0xc]
test eax, eax
jl 0x4f8e6e
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x50]
add eax, esi
test eax, eax
jl 0x4f8e64
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
call fcn.00430050
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.0042b2d8
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 0x4f8c9f
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x4f8c6d
jmp 0x4f91c7
mov eax, dword [ebp + 0x14]
cmp byte [eax + 0x10], 0
jne 0x4f8fb8
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x4f91c7
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.004301c0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
call fcn.004301c0
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4f8fa7
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 0x4f8ed4
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x4f8ea2
jmp 0x4f91c7
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x4f91c7
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.004301c0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
call fcn.004301c0
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4f91bb
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 0x4f90ef
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 0x4f91b1
cmp byte [ebp + 0x10], 0
je 0x4f91b1
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 0x4f91b1
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 0x4f91bb
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0xc]
test eax, eax
jl 0x4f91bb
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x50]
add eax, esi
test eax, eax
jl 0x4f91b1
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
call fcn.00430050
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.0042b2d8
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 0x4f9000
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x4f8fce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14