Function at 0x4151b0
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x4151d0
sar esi, 1
lea edi, [esp + 0x78]
push edi
push 0
push 0
push esi
push eax
push 0
call dword [0x44a2c4]
mov ebx, dword [esp + 0x78]
test ebx, ebx
jns 0x4151ff
mov eax, 0xffffffff
jmp 0x415202
lea eax, [ebx + ebx]
push eax
call fcn.00408810
add esp, 4
push edi
push ebx
mov ebx, eax
push eax
push esi
push dword [ebp + 0xc]
push 0
call dword [0x44a2c4]
mov dword [esp + 0x20], 0x63ae61dc
mov dword [esp + 0x24], 0x67f565c5
mov dword [esp + 0x28], 0x6b8a69fc
mov dword [esp + 0x2c], 0x6fcb6dda
mov dword [esp + 0x30], 0x53c151c2
mov dword [esp + 0x34], 0x57f955fd
mov dword [esp + 0x38], 0x5b5a59f6
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov byte [esp + 0x4c], 0
mov dword [esp + 0x94], 0
mov ecx, dword [esp + 0x94]
cmp ecx, 0x2c
ja 0x4152df
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x94]
movzx edx, byte [esp + edx + 0x20]
lea esi, [ecx + 0x10]
and esi, edx
add ecx, edx
add esi, esi
sub ecx, esi
add cl, 0xa0
mov edx, dword [esp + 0x94]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 0x94]
mov ecx, dword [esp + 0x94]
cmp ecx, 0x2d
jb 0x4152a0
lea edi, [esp + 0xc0]
lea edx, [esp + 0x20]
mov ecx, 7
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xdc]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esp + 0x78]
mov ecx, 1
sub ecx, eax
and ecx, 1
and eax, 0xfffffffe
sub eax, ecx
mov ecx, eax
add ecx, 0xe
mov dword [esp + 0x60], ebx
jns 0x415328
mov eax, 0xffffffff
jmp 0x41532d
add eax, eax
add eax, 0x1c
push eax
call fcn.00408810
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x60]
movzx ecx, word [eax]
mov eax, ebx
test cx, cx
je 0x415361
mov eax, dword [esp + 0x60]
lea edx, [eax + 2]
mov eax, ebx
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x415350
mov word [eax], 0
movzx ecx, word [esp + 0xc0]
test cx, cx
je 0x415391
lea edx, [esp + 0xc2]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x415380
mov word [eax], 0
lea eax, [esp + 0x68]
push 0x60
push 3
push 0x120089
push eax
push ebx
call fcn.0043af90
add esp, 0x14
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x4424e0]
mov ecx, 0x518bee91
xor ecx, dword [0x4424e8]
add eax, ecx
inc eax
jmp eax
cwde
add al, byte [eax]
add byte [eax - 0x74ffbbd4], dh
cmp eax, 0x442fa8
mov dword [esi + 0x168], edi
mov dword [esi + 0x294], 0x442fb0
mov dword [esi + 0x28c], 0x442cb0
mov edi, dword [0x442fbc]
mov dword [esi + 0x190], edi
mov dword [esi + 0x288], 0x442fc4
mov dword [esi + 0x280], 0x442cb0
mov edi, dword [0x442fd0]
mov dword [esi + 0x18c], edi
mov dword [esi + 0x27c], 0x442cb0
mov edi, dword [0x442fd8]
mov dword [esi + 0x188], edi
mov dword [esi + 0x278], 0x442cb0
mov edi, dword [0x442fe0]
mov dword [esi + 0x180], edi
mov dword [esi + 0x274], 0x442cb0
mov edi, dword [0x442fe8]
mov dword [esi + 0x17c], edi
mov dword [esi + 0x270], 0x442cb0
mov edi, dword [0x442ff0]
mov dword [esi + 0x178], edi
mov dword [esi + 0x26c], 0x442ff8
mov dword [esi + 0x264], 0x442cb0
mov edi, dword [0x443004]
mov dword [esi + 0x174], edi
mov dword [esi + 0x260], 0x442cb0
mov edi, dword [0x44300c]
mov dword [esi + 0x170], edi
mov dword [esi + 0x25c], 0x443014
mov dword [esi + 0x254], 0x443020
mov dword [esi + 0x24c], 0x442cb0
mov edi, dword [0x44302c]
mov dword [esi + 0x198], edi
mov dword [esi + 0x248], 0x443034
mov dword [esi + 0x240], 0x443040
mov dword [esi + 0x238], 0x442cb0
mov edi, dword [0x44304c]
mov dword [esi + 0x19c], edi
mov dword [esi + 0x234], 0x442cb0
mov edi, dword [0x443054]
mov dword [esi + 0x1a0], edi
mov dword [esi + 0x230], 0x44305c
xor byte [eax + eax - 0x39], al
xchg byte [eax], ch
add al, byte [eax]
add byte [eax - 0x74ffbbd4], dh
cmp eax, 0x443068
xor byte [eax + eax - 0x39], al
xchg byte [eax], ch
add al, byte [eax]
add byte [eax - 0x74ffbbd4], dh
cmp eax, 0x443068
mov dword [esi + 0x1a4], edi
mov dword [esi + 0x224], 0x442cb0
mov edi, dword [0x443070]
mov dword [esi + 0x1a8], edi
mov dword [esi + 0x220], 0x442cb0
mov edi, dword [0x443078]
mov dword [esi + 0x1ac], edi
mov dword [esi + 0x21c], 0x442cb0
mov edi, dword [0x443080]
mov dword [esi + 0x1b0], edi
mov dword [esi + 0x218], 0x442cb0
mov edi, dword [0x443088]
mov dword [esi + 0x1b4], edi
mov dword [esi + 0x214], 0x442cb0
mov edi, dword [0x443090]
mov dword [esi + 0x1b8], edi
mov dword [esi + 0x210], 0x442cb0
mov edi, dword [0x443098]
mov dword [esi + 0x1bc], edi
mov dword [esi + 0x20c], 0x4430a0
mov dword [esi + 0x204], 0x4430ac
mov dword [esi + 0x1fc], 0x4430b8
mov dword [esi + 0x1f4], 0x442cb0
mov edi, dword [0x4430c4]
mov dword [esi + 0x1c4], edi
mov dword [esi + 0x1f0], 0x442cb0
mov edi, dword [0x4430cc]
mov dword [esi + 0x1c8], edi
mov dword [esi + 0x1ec], 0x442cb0
mov edi, dword [0x4430d4]
mov dword [esi + 0x1cc], edi
mov dword [esi + 0x1e8], 0x442cb0
mov edi, dword [0x4430dc]
mov dword [esi + 0x1d0], edi
mov dword [esi + 0x1e4], 0x442cb0
mov edi, dword [0x4430e4]
mov dword [esi + 0x160], edi
mov dword [esi + 0x1e0], 0x442cb0
mov edi, dword [0x4430ec]
mov dword [esi + 0x164], edi
mov dword [esi + 0x1dc], 0x442cb0
mov edi, dword [0x4430f4]
mov dword [esi + 0x184], edi
mov dword [esi + 0x1d8], 0x442cb0
mov edi, dword [0x4430fc]
mov dword [esi + 0x194], edi
mov dword [esi + 0x1d4], 0x442cb0
mov edi, dword [0x443104]
mov dword [esi + 0x1c0], edi
jmp edx