Function at 0x62c080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40
call fcn.004c03f0
push esi
mov eax, dword [ebp + 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
jmp 0x62c0c5
mov edx, dword [ebp - 0x10]
add edx, 1
mov eax, dword [ebp - 0xc]
adc eax, 0
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
push 0
push 0x20
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c1080
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x2c]
ja 0x62c15b
jb 0x62c0ee
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x30]
jae 0x62c15b
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
mov edx, dword [ebp - 4]
mov dword [edx], ecx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
shl edx, 8
mov eax, dword [ebp - 4]
or edx, dword [eax]
mov ecx, dword [ebp - 4]
mov dword [ecx], edx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
shl ecx, 0x10
mov edx, dword [ebp - 4]
or ecx, dword [edx]
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx]
shl eax, 0x18
mov ecx, dword [ebp - 4]
or eax, dword [ecx]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x62c0aa
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0
jmp 0x62c19f
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov edx, dword [ebp - 0xc]
adc edx, 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
push 0
push 0x20
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004c1080
push 0
push 4
push edx
push eax
call fcn.004c1080
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0x18]
ja 0x62c1e9
jb 0x62c1b1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x14]
jae 0x62c1e9
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0x20
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004c1080
push 0
push 4
push edx
push eax
call fcn.004c1080
mov edx, dword [ebp - 4]
sub edx, eax
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0062c470
add esp, 0x10
jmp 0x62c16b
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x14]
sub eax, 1
mov ecx, dword [ebp + 0x18]
sbb ecx, 0
push 0
push 0x20
push ecx
push eax
call fcn.004c1080
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push edx
push eax
call fcn.004c1080
push 0
push 4
push edx
push eax
call fcn.004c1080
add eax, dword [ebp + 0x24]
push eax
mov edx, dword [ebp + 0x1c]
push edx
call fcn.0062c470
add esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
jmp 0x62c254
mov eax, dword [ebp - 0x10]
add eax, 1
mov ecx, dword [ebp - 0xc]
adc ecx, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0x18]
ja 0x62c38b
jb 0x62c26e
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x14]
jae 0x62c38b
push 0
push 2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004c1080
sub eax, 1
sbb edx, 0
push 0
push 0x10
push edx
push eax
call fcn.004c1080
push 0
push 4
push edx
push eax
call fcn.004c1080
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + eax]
xor eax, eax
mov ecx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
push eax
push edx
call fcn.004c4ca0
mov dword [ebp - 0x24], eax
push 0
push 0x20
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c1080
mov ecx, dword [ebp - 0x24]
xor esi, esi
push esi
push ecx
push edx
push eax
call fcn.004c1080
push 0
push 4
push edx
push eax
call fcn.004c1080
add eax, dword [ebp + 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x62c307
mov edx, dword [ebp - 0x20]
add edx, 1
mov eax, dword [ebp - 0x1c]
adc eax, 0
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
push 0
push 0x20
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004c1080
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x34]
ja 0x62c36e
jb 0x62c330
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x38]
jae 0x62c36e
push 0
push 4
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.004c1080
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 4]
mov esi, dword [ecx + eax]
xor esi, dword [edx]
push 0
push 4
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004c1080
mov edx, dword [ebp + 0x20]
mov dword [edx + eax], esi
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
jmp 0x62c2f5
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.0062c470
add esp, 0x10
jmp 0x62c242
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
jmp 0x62c3b3
mov eax, dword [ebp - 0x10]
add eax, 1
mov ecx, dword [ebp - 0xc]
adc ecx, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
push 0
push 0x20
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c1080
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x3c]
ja 0x62c468
jb 0x62c3e4
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x40]
jae 0x62c468
push 0
push 4
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004c1080
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + eax]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
and ecx, 0xff
mov edx, dword [ebp - 0x14]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x28]
shr ecx, 8
and ecx, 0xff
mov edx, dword [ebp - 0x14]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x28]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ebp - 0x14]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x28]
shr ecx, 0x18
and ecx, 0xff
mov edx, dword [ebp - 0x14]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x62c3a1
pop esi
mov esp, ebp
pop ebp
ret