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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push esi
push edi
push ebx
sub esp, 0xb24
mov ecx, dword [ebp + 8]
pxor xmm1, xmm1
mov dword [esp + 0x268], ecx
mov eax, dword [0x52cfb4]
xor eax, esp
mov dword [esp + 0xb1c], eax
mov edx, dword [ecx + 0x50]
mov eax, dword [ecx + 0x4c]
mov dword [esp + 0x1c8], edx
mov dword [esp + 0x264], eax
movdqu xmmword [esp + 0xa60], xmm1
movq qword [esp + 0x20], xmm1
movups xmm0, xmmword [0x4ca500]
movups xmmword [esp + 0xa70], xmm0
mov dword [esp + 0x1b8], 0x1e01
cmp dword [esp + 0x1c8], 0
jle 0x483fee
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov ebx, dword [ecx + 0x34]
mov dword [esp + 0x1cc], eax
xor eax, eax
mov dword [esp + 0x1c], ebx
xor ecx, ecx
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x264]
mov esi, dword [esp + 0x1c8]
mov edi, dword [esp + 0x268]
mov dword [esp + eax*4 + 0x20], 0
lea edx, [edi + ecx]
test ebx, ebx
jg 0x47ff56
inc eax
add ecx, 0x2908
cmp eax, esi
jb 0x47fea7
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x1c8], 1
jle 0x47ff35
mov dword [esp + 0x1b4], 0x1e01
mov ecx, 2
cmp dword [esp + 0x1c8], 2
jg 0x47fef1
xor edi, edi
jmp 0x47ff17
xor edi, edi
mov dword [esp + 0x1bc], edi
mov dword [esp + 0x10], edx
inc ecx
cmp ecx, dword [esp + 0x1c8]
jl 0x480156
mov edi, dword [esp + 0x1bc]
pxor xmm1, xmm1
xor esi, esi
mov dword [esp + 0x1bc], edi
xor eax, eax
mov ecx, dword [esp + 0x264]
mov ebx, dword [esp + 0x1c8]
jmp 0x480857
xor edi, edi
lea edx, [esp + 0x1b4]
mov dword [edx], 0
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [edx + 8], edi
jmp 0x48083a
mov esi, dword [esp + 0x264]
xor edi, edi
shr esi, 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x1b4], 0x1e01
mov dword [esp + 0x34], esi
jmp 0x47ff7e
mov dword [esp + eax*4 + 0x20], 0
mov edx, dword [esp + 0x1cc]
cmp dword [esp + 0x34], 0
lea ebx, [edx + eax*8]
je 0x483fe4
xor ecx, ecx
lea esi, [esp + eax*8 + 0xa60]
mov dword [esp + 0x18], esi
lea esi, [esp + eax*8 + 0xa70]
mov dword [esp + 0x14], esi
xor edx, edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
mov ebx, dword [eax + ecx*8]
add edi, ebx
mov dword [esi + ecx*8], ebx
mov ebx, dword [esp + 0x14]
mov eax, dword [eax + ecx*8 + 4]
add edx, eax
mov dword [esp + 0x1bc], edi
xor edi, edi
mov dword [ebx + ecx*8], edi
mov dword [esi + ecx*8 + 4], eax
mov dword [ebx + ecx*8 + 4], edi
inc ecx
mov edi, dword [esp + 0x1bc]
cmp ecx, dword [esp + 0x34]
jb 0x47ffb5
mov ebx, dword [esp + 0x40]
add edi, edx
mov eax, dword [esp + 0x30]
lea edx, [ecx + ecx + 1]
lea ecx, [edx - 1]
cmp ecx, dword [esp + 0x264]
jae 0x480035
mov ecx, dword [esp + 0x1cc]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + eax*8 - 4]
lea esi, [esp + edx*4 + 0xa60]
mov dword [esi + eax*8 - 4], ecx
lea edx, [esp + edx*4 + 0xa70]
mov dword [edx + eax*8 - 4], 0
add edi, ecx
mov dword [esp + 0x28], 0
lea ecx, [eax + eax*8]
mov edx, dword [esp + eax*4 + 0x20]
lea esi, [esp + ecx*8 + 0x9d0]
mov dword [esp + 0x48], esi
lea esi, [esp + ecx*8 + 0x9d8]
mov dword [esp + 0x50], esi
lea esi, [esp + ecx*8 + 0x9d4]
mov dword [esp + 0x4c], esi
lea esi, [esp + ecx*8 + 0x9dc]
mov dword [esp + 0x2c], esi
lea esi, [esp + ecx*8 + 0x9cc]
shl ecx, 9
add ecx, dword [ebp + 0xc]
mov dword [esp + 0x38], esi
cmp dword [esp + 0x1c], 0
jl 0x483f47
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1bc], edi
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
lea esi, [ebx*4]
mov edi, dword [esp + 0x48]
add edx, dword [eax + ebx*4]
lea eax, [esi + esi*8]
mov dword [edi + eax], 0x47e390
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x268]
mov dword [edi + eax], esi
imul edi, ebx, 0x1484
mov esi, dword [esp + 0x3c]
lea esi, [esi + edi + 0x134]
mov dword [ecx + eax], esi
mov esi, dword [esp + 0x4c]
lea edi, [ebx + ebx*8]
shl edi, 8
add edi, dword [esp + 0x44]
mov dword [esi + eax], edi
mov edi, dword [ecx + eax]
cmp dword [edi + 0x12b4], 2
je 0x48010f
mov esi, dword [esp + 0x38]
mov dword [esi + eax], 0x47f5e0
jmp 0x48011a
mov esi, dword [esp + 0x38]
mov dword [esi + eax], 0x47e980
inc ebx
cmp ebx, dword [esp + 0x264]
jb 0x4800a7
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x1bc]
mov dword [esp + eax*4 + 0x20], edx
inc eax
add dword [esp + 0x3c], 0x2908
cmp eax, dword [esp + 0x1c8]
jb 0x47ff76
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x1bc], edi
cmp dword [esp + 0x264], 0
jle 0x47fefe
mov eax, dword [esp + 0x1cc]
xor edx, edx
movdqu xmm1, xmmword [0x4ca540]
lea esi, [ecx + ecx*8]
movss xmm0, dword [0x4ca55c]
lea edi, [esp + esi*8 + 0x9cc]
lea ebx, [eax + ecx*8]
imul eax, ecx, 0x138
mov dword [esp + 0x58], ebx
lea ebx, [esp + eax + 0x4ec]
mov dword [esp + 0x38], edi
lea edi, [esp + eax + 0x75c]
mov dword [esp + 0x3c], ebx
add eax, dword [esp + 0x10]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
cmp dword [eax + edx*4], 0
jle 0x4806f1
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
lea ebx, [edx + ecx]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x44], 0xffffffff
lea ecx, [edi + eax]
mov dword [esp + 0x68], ecx
lea edx, [esi + eax]
mov esi, dword [esp + 0x28]
mov ecx, dword [ebx + 0x10]
mov edi, dword [ebx + 8]
mov dword [esp + 0x74], edi
add eax, esi
mov esi, dword [ecx + 0x1458]
mov dword [esp + 0x70], esi
xor esi, esi
mov edi, dword [ecx + 0x1300]
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
xor ebx, ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x6c], edx
movss xmm1, dword [0x4ca55c]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
pxor xmm0, xmm0
mov eax, dword [esp + 0x74]
mov edi, dword [ecx + ebx*4 + 0x1308]
mov ecx, dword [esp + 0x88]
sub edx, ecx
inc edx
cmp edx, edi
lea ecx, [eax + ecx*4]
mov dword [esp + 0x84], edi
cmovae edx, edi
mov eax, edx
shr eax, 2
mov dword [esp + 0x80], edx
and edx, 3
mov dword [esp + 0x7c], ecx
lea edi, [eax - 1]
test eax, eax
je 0x4802d6
movss xmm2, dword [ecx]
mov eax, edi
movss xmm3, dword [ecx + 4]
dec edi
movss xmm5, dword [ecx + 8]
maxss xmm2, xmm0
movss xmm4, dword [ecx + 0xc]
add ecx, 0x10
movaps xmm0, xmm4
maxss xmm3, xmm2
maxss xmm5, xmm3
comiss xmm0, xmm5
ja 0x4802d2
movaps xmm0, xmm5
test eax, eax
ja 0x4802a2
cmp edx, 3
je 0x4802e7
cmp edx, 2
je 0x4802f6
cmp edx, 1
je 0x480305
jmp 0x480313
movss xmm2, dword [ecx + 8]
movaps xmm3, xmm0
movaps xmm0, xmm2
invalid
invalid
pop edi