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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3e4
push ebx
push esi
push edi
mov esi, 0x401c50
mov dword [esp + 0x5c], ecx
lea edi, [esp + 0x60]
mov dword [esp + 0x18], 0xe6de74b0
xor ebx, ebx
mov dword [esp + 0x1c], 0x6cc75a61
mov dword [esp + 0x20], 0x710e6008
mov edx, ebx
movsd dword es:[edi], dword [esi]
mov eax, ebx
mov dword [esp + 0x24], 0x24c5eec5
mov dword [esp + 0x28], 0xbef4060f
mov dword [esp + 0x2c], 0x99b76fef
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], 0xfd507bc1
mov dword [esp + 0x34], 0x95615700
mov dword [esp + 0x38], 0xf4cff0ca
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x3c], 0x605179d4
mov dword [esp + 0x40], 0x8dfc9f05
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0xa8], al
inc eax
cmp eax, 0x100
jb 0x40ef24
mov eax, ebx
cmp byte [0x44a280], al
je 0x40ef4d
inc eax
cmp eax, 0x24e6
jl 0x40ef98
cmp byte [eax + 0x44a280], dl
jne 0x40ef3d
mov esi, dword [0x44a2c8]
add esi, 0x578b08f2
mov edi, ebx
mov cl, byte [esp + edi + 0xa8]
mov eax, edi
and eax, 0xf
mov byte [esp + 0xf], cl
movzx ecx, cl
movzx eax, byte [esp + eax + 0x60]
add eax, edx
add ecx, eax
mov eax, 0x401fa8
movzx edx, cl
mov ecx, ebx
mov dword [esp + 0x10], edx
inc ecx
lea eax, [eax + 2]
cmp ecx, 0x160e
je 0x40efad
cmp word [eax], bx
jne 0x40ef85
jmp 0x40efbc
call fcn.0040cdc6
mov esi, dword [0x44a2c8]
mov edx, ebx
add esi, 0x4b42da83
jmp 0x40ef53
call fcn.0040cdc6
mov edx, dword [esp + 0x10]
and esi, 0x1ba11b5f
mov eax, esi
or eax, 0x906c80da
mov dword [esp + 0x4c], eax
mov al, byte [esp + edx + 0xa8]
mov byte [esp + edi + 0xa8], al
inc edi
mov al, byte [esp + 0xf]
mov byte [esp + edx + 0xa8], al
cmp edi, 0x100
jb 0x40ef5b
mov edi, ebx
mov esi, ebx
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0xa8]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
mov al, byte [esp + ebx + 0xa8]
mov byte [esp + edi + 0xa8], al
mov byte [esp + ebx + 0xa8], cl
movzx eax, byte [esp + edi + 0xa8]
add eax, edx
movzx eax, al
mov al, byte [esp + eax + 0xa8]
xor al, byte [esp + esi + 0x18]
mov byte [esp + esi + 0x78], al
inc esi
cmp esi, 0x2c
jb 0x40eff1
push 5
pop ecx
mov esi, 0x401c64
mov dword [esp + 0x14], 0x77721b3c
lea edi, [esp + 0x60]
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0xa4], bl
mov eax, ebx
movsw word es:[edi], word [esi]
mov edi, ebx
mov byte [esp + eax + 0xa8], al
inc eax
cmp eax, 0x100
jb 0x40f063
mov esi, ebx
xor edx, edx
mov bl, byte [esp + esi + 0xa8]
push 0x15
mov eax, esi
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [esp + edx + 0x60]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0xa8]
mov byte [esp + esi + 0xa8], al
inc esi
mov byte [esp + edi + 0xa8], bl
cmp esi, 0x100
jb 0x40f074
mov edi, dword [esp + 0x4c]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov esi, ebx
lea eax, [ebx + 1]
movzx ebx, al
or edi, 0xbc124bc2
mov cl, byte [esp + ebx + 0xa8]
mov eax, dword [esp + 0x10]
movzx edx, cl
add eax, edx
movzx eax, al
mov dword [esp + 0x10], eax
mov al, byte [esp + eax + 0xa8]
mov byte [esp + ebx + 0xa8], al
mov eax, dword [esp + 0x10]
mov byte [esp + eax + 0xa8], cl
lea eax, [edi - 0x708e3190]
mov dword [0x44a2c8], eax
movzx eax, byte [esp + ebx + 0xa8]
add eax, edx
movzx eax, al
mov al, byte [esp + eax + 0xa8]
xor al, byte [esp + esi + 0x14]
mov byte [esp + esi + 0x44], al
inc esi
cmp esi, 4
jb 0x40f0bd
mov dword [esp + 0x4c], 0x23
xor ebx, ebx
mov dword [esp + 0x50], 0x19
mov eax, ebx
mov dword [esp + 0x54], 0x53
mov dword [esp + 0x58], 0xffffff33
movups xmm1, xmmword [esp + 0x4c]
push 0xc
mov dword [0x44a2c4], edi
movaps xmm0, xmm1
mov byte [esp + 0x4c], bl
psrldq xmm0, 8
paddd xmm1, xmm0
mov dword [esp + 0x50], 0x38
movups xmm0, xmm1
mov dword [esp + 0x54], 0xffffffbc
psrldq xmm0, 4
paddd xmm1, xmm0
movd edx, xmm1
pop ecx
add edx, 0x3e
add ecx, dword [esp + eax*4 + 0x4c]
inc eax
cmp eax, 2
jl 0x40f18b
push 0xd
pop eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x50], 0x20
mov dword [esp + 0x54], 0xffffffe5
sub eax, dword [esp + ebx*4 + 0x4c]
inc ebx
cmp ebx, 3
jl 0x40f1b0
push eax
lea eax, [esp + 0xac]
mov dword [esp + 0xac], 0x348
push eax
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.0041d4e5
mov edx, eax
lea ecx, [esp + 0x88]
call fcn.0041d4c4
call eax
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0xec]
call fcn.00434a4c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret