Function at 0x428550
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c2608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov ecx, dword [esp + 0x9c]
mov eax, dword [ecx]
push ebx
push ebp
push esi
push edi
lea edx, [esp + 0x88]
push edx
call dword [eax + 0x6c]
xor ebp, ebp
push ebp
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa0], ebp
call fcn.0043eaf0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x68]
mov edi, eax
mov eax, dword [esp + 0xb0]
push eax
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
mov dword [esp + 0x64], edi
call fcn.00494500
push eax
lea edx, [esp + 0x20]
push edx
call dword [0x4c72c4]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov esi, dword [esp + 0xa4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
lea ebx, [esi + esi]
mov eax, ebx
sub eax, ecx
add eax, edx
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xa0], 1
call fcn.00428c40
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, ebx
sub ecx, edx
add ecx, eax
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0xa0], 2
call fcn.00428c40
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x24]
inc ebx
lea ebp, [eax + eax + 1]
imul ebp, ebx
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x1c]
sub ebx, esi
add edx, esi
cmp ebx, edx
jge 0x4286fa
mov ecx, dword [esp + 0x20]
add eax, ecx
jmp 0x428660
mov esi, dword [esp + 0xa4]
mov edi, edi
mov edx, ebx
sub edx, dword [esp + 0x1c]
add edx, esi
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xa8]
mov esi, ecx
sub esi, edx
cmp esi, eax
jge 0x4286e4
jmp 0x428680
lea eax, [esp + 0x18]
push eax
push esi
push ebx
mov ecx, edi
mov dword [esp + 0x24], 0
call fcn.00494590
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x50]
call fcn.0043eaf0
mov edx, dword [esp + 0x18]
mov ecx, edx
shr edx, 0x18
add dword [eax], edx
mov edx, ecx
shr edx, 0x10
movzx edx, dl
add dword [eax + 4], edx
movzx edx, ch
add dword [eax + 8], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
and ecx, 0xff
add edx, ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xa8]
inc esi
add eax, ecx
cmp esi, eax
jl 0x428680
mov edx, dword [esp + 0xa4]
mov esi, dword [esp + 0x24]
inc ebx
add esi, edx
cmp ebx, esi
jl 0x428657
mov ecx, dword [esp + 0xac]
mov esi, dword [edi + 0xc]
mov eax, dword [ecx]
mov dword [esp + 0x64], esi
call dword [eax + 0x68]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
jge 0x428bb5
mov ebx, dword [esp + 0xa8]
lea eax, [ecx + ebx]
mov dword [esp + 0x3c], eax
mov eax, ecx
sub eax, ebx
dec eax
mov dword [esp + 0x34], eax
mov eax, esi
imul eax, ecx
add eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
jmp 0x428750
mov ecx, dword [esp + 0xa4]
mov ebx, eax
sub ebx, ecx
add eax, ecx
xor esi, esi
cmp ebx, eax
mov dword [esp + 0x18], ebx
jg 0x4288d0
jmp 0x428770
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
push ecx
push edx
push ebx
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.00494590
push esi
lea ecx, [esp + 0x50]
call fcn.0043eaf0
mov edx, dword [esp + 0x10]
mov ecx, edx
shr edx, 0x18
add dword [eax], edx
mov edx, ecx
shr edx, 0x10
movzx edx, dl
add dword [eax + 4], edx
movzx edx, ch
add dword [eax + 8], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
and ecx, 0xff
add edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x10]
push eax
push ecx
push ebx
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.00494590
push esi
lea ecx, [esp + 0x50]
call fcn.0043eaf0
mov edx, dword [esp + 0x10]
mov ecx, edx
shr edx, 0x18
sub dword [eax], edx
mov edx, ecx
shr edx, 0x10
movzx edx, dl
sub dword [eax + 4], edx
movzx edx, ch
sub dword [eax + 8], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
and ecx, 0xff
sub edx, ecx
test esi, esi
mov dword [eax + 0xc], edx
lea ecx, [esp + 0x40]
jne 0x42884c
push esi
call fcn.0043eaf0
push esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], eax
call fcn.0043eaf0
mov edx, dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
jmp 0x4288b5
push esi
call fcn.0043eaf0
lea ecx, [esi - 1]
push ecx
lea ecx, [esp + 0x44]
mov ebx, eax
call fcn.0043eaf0
mov edx, dword [eax]
mov dword [ebx], edx
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 8]
mov dword [ebx + 8], edx
mov eax, dword [eax + 0xc]
push esi
lea ecx, [esp + 0x44]
mov dword [ebx + 0xc], eax
call fcn.0043eaf0
push esi
lea ecx, [esp + 0x50]
mov ebx, eax
call fcn.0043eaf0
mov ecx, dword [eax]
mov edx, dword [ebx]
add edx, ecx
mov ecx, dword [ebx + 4]
mov dword [ebx], edx
mov edx, dword [eax + 4]
add ecx, edx
mov edx, dword [ebx + 8]
mov dword [ebx + 4], ecx
mov ecx, dword [eax + 8]
add edx, ecx
mov dword [ebx + 8], edx
mov edx, dword [eax + 0xc]
add dword [ebx + 0xc], edx
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa4]
inc ebx
add eax, ecx
inc esi
cmp ebx, eax
mov dword [esp + 0x18], ebx
jle 0x428770
lea edx, [esi - 1]
push edx
lea ecx, [esp + 0x44]
call fcn.0043eaf0
mov ebx, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x84], eax
mov eax, edx
xor edx, edx
div ebp
xor edx, edx
mov dword [esp + 0x80], ebx
mov ebx, eax
mov eax, ecx
div ebp
xor edx, edx
shl ebx, 8
mov ecx, eax
mov eax, dword [esp + 0x80]
div ebp
xor edx, edx
and ecx, 0xff
add ecx, ebx
shl ecx, 8
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x84]
div ebp
mov edx, dword [esp + 0x80]
and edx, 0xff
add ecx, edx
mov edx, dword [esp + 0x1c]
shl ecx, 8
and eax, 0xff
add ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
lea ebx, [eax + 1]
cmp ebx, ecx
mov dword [esp + 0x14], ebx
jge 0x428b80
mov ecx, dword [esp + 0x60]
mov eax, esi
sub eax, ecx
mov ecx, dword [esp + 0xa4]
add ebx, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], ebx
jmp 0x428990
mov ebx, dword [esp + 0x18]
jmp 0x428990
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x10]
push edx
push eax
push ebx
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.00494590
push esi
lea ecx, [esp + 0x50]
call fcn.0043eaf0
mov edx, dword [esp + 0x10]
mov ecx, edx
shr edx, 0x18
add dword [eax], edx
mov edx, ecx
shr edx, 0x10
movzx edx, dl
add dword [eax + 4], edx
movzx edx, ch
add dword [eax + 8], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x58], ecx
and ecx, 0xff
add edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x10]
push eax
push ecx
push ebx
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.00494590
push esi
lea ecx, [esp + 0x50]
call fcn.0043eaf0
mov edx, dword [esp + 0x10]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, edx
shr edx, 0x18
sub edi, edx
mov edx, ecx
shr edx, 0x10
movzx edx, dl
mov dword [eax], edi
mov edi, dword [eax + 8]
sub ebx, edx
movzx edx, ch
sub edi, edx
mov dword [esp + 0x58], ecx
mov dword [eax + 8], edi
mov edi, dword [eax + 0xc]
and ecx, 0xff
sub edi, ecx
push esi
lea ecx, [esp + 0x44]
mov dword [eax + 4], ebx
mov dword [eax + 0xc], edi
call fcn.0043eaf0
mov ecx, dword [esp + 0x60]
mov edi, eax
mov eax, dword [esp + 0x38]
lea edx, [ecx + eax - 1]
push edx
lea ecx, [esp + 0x44]
call fcn.0043eaf0
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
push esi
lea ecx, [esp + 0x44]
mov dword [edi + 0xc], edx
call fcn.0043eaf0
mov edi, eax
push esi
lea ecx, [esp + 0x50]
call fcn.0043eaf0
mov ecx, dword [eax]
mov edx, dword [edi]
mov ebx, dword [edi + 4]
add edx, ecx
mov dword [edi], edx
mov edx, dword [eax + 4]
add ebx, edx
mov edx, dword [edi + 8]
mov dword [edi + 4], ebx
mov ecx, dword [eax + 8]
mov ebx, dword [edi + 0xc]
add edx, ecx
mov dword [edi + 8], edx
mov edx, dword [eax + 0xc]
add ebx, edx
push esi
lea ecx, [esp + 0x44]
mov dword [edi + 0xc], ebx
call fcn.0043eaf0
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x78], edx
call fcn.0043eaf0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
sub edi, edx
mov edx, dword [esp + 0x70]
sub ebx, ecx
mov ecx, dword [eax + 8]
sub edx, ecx
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x74]
sub eax, edx
xor edx, edx
mov dword [esp + 0x74], eax
mov eax, edi
div ebp
xor edx, edx
mov edi, eax
mov eax, ebx
div ebp
xor edx, edx
shl edi, 8
mov ecx, eax
mov eax, dword [esp + 0x70]
div ebp
xor edx, edx
and ecx, 0xff
add ecx, edi
mov edi, dword [esp + 0x5c]
shl ecx, 8
mov ebx, eax
mov eax, dword [esp + 0x74]
div ebp
mov edx, dword [esp + 0x2c]
and ebx, 0xff
add ecx, ebx
mov ebx, dword [esp + 0x18]
shl ecx, 8
and eax, 0xff
add ecx, eax
mov eax, dword [esp + 0x14]
mov dword [edx + eax*4], ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
inc eax
inc ebx
inc esi
inc edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], edx
cmp eax, ecx
jl 0x428987
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
add esi, edx
mov edx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x34]
inc ebx
inc esi
cmp ecx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], esi
jl 0x428750
lea ecx, [esp + 0x40]
mov byte [esp + 0x9c], 1
call fcn.00422b70
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 0
call fcn.00422b70
mov eax, dword [esp + 0x90]
test eax, eax
mov dword [esp + 0x9c], 0xffffffff
je 0x428c1b
mov esi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec esi
mov edx, esi
test edx, edx
mov dword [eax], esi
jne 0x428c1b
mov al, byte [ecx + 8]
test al, al
je 0x428c09
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x428c1b
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret 0x10