Function at 0x401000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x4462e0
push 0x48
call fcn.0042836c
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0xcc], edx
push 0x1000
call fcn.0042836c
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0xd0], ecx
cmp dword [ebp + 8], 0
jne 0x401056
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [ebp + 8], eax
push 0x63
mov ecx, dword [ebp + 8]
push ecx
push 0x64
mov edx, dword [ebp - 0x28]
add edx, 4
push edx
call fcn.0042827e
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov word [ecx + 0xca], ax
mov edx, dword [ebp - 0x28]
add edx, 4
push edx
call fcn.00428264
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x40109d
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x12
jge 0x4010be
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0xcc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx*4 + section..data]
mov dword [edx + eax*4], ecx
jmp 0x401094
mov dword [ebp - 8], 0
jmp 0x4010d0
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 4
jge 0x40111a
mov dword [ebp - 0x1c], 0
jmp 0x4010e8
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x401118
mov ecx, dword [ebp - 8]
shl ecx, 0xa
mov edx, dword [ebp - 8]
shl edx, 0xa
mov eax, dword [ebp - 0x28]
add edx, dword [eax + 0xd0]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ecx + esi*4 + 0x451048]
mov dword [edx + eax*4], ecx
jmp 0x4010df
jmp 0x4010c7
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
jmp 0x401133
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x12
jge 0x401213
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
movzx edx, word [ecx + eax*2 + 4]
and edx, 0xff
shl edx, 0x18
mov eax, dword [ebp - 0xc]
and eax, 0xffffff
or eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
add eax, 1
cdq
idiv dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
movzx edx, word [ecx + edx*2 + 4]
and edx, 0xff
shl edx, 0x10
mov eax, dword [ebp - 0xc]
and eax, 0xff00ffff
or eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
add eax, 2
cdq
idiv dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
movzx edx, word [ecx + edx*2 + 4]
and edx, 0xff
shl edx, 8
mov eax, dword [ebp - 0xc]
and eax, 0xffff00ff
or eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
add eax, 3
cdq
idiv dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
movzx edx, word [ecx + edx*2 + 4]
and edx, 0xff
mov eax, dword [ebp - 0xc]
and eax, 0xffffff00
or eax, edx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xcc]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + ecx*4]
xor edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xcc]
mov eax, dword [ebp - 8]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x1c]
add eax, 4
cdq
idiv dword [ebp - 4]
mov dword [ebp - 0x1c], edx
jmp 0x40112a
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
jmp 0x401233
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x12
jge 0x401270
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.00401550
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0xcc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [edx + eax*4], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xcc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + ecx*4 + 4], edx
jmp 0x40122a
mov dword [ebp - 8], 0
jmp 0x401282
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x4012e8
mov dword [ebp - 0x1c], 0
jmp 0x40129a
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x4012e6
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.00401550
mov ecx, dword [ebp - 8]
shl ecx, 0xa
mov edx, dword [ebp - 0x28]
add ecx, dword [edx + 0xd0]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 8]
shl eax, 0xa
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0xd0]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword [eax + edx*4 + 4], ecx
jmp 0x401291
jmp 0x401279
mov eax, dword [ebp - 0x28]
pop esi
mov esp, ebp
pop ebp
ret 4