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

Disassembly:
sub esp, 0x54
push esi
push edi
mov edi, ecx
fld dword [edi + 4]
fadd qword [0x552540]
call fcn.00533a88
fld dword [edi + 4]
fld st(0)
fmul st(1)
mov esi, eax
fadd qword [0x552540]
call fcn.00533a88
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
test eax, eax
fstp st(0)
mov dword [esp + 0x10], 0
jle 0x52d79b
mov eax, dword [esp + 0x7c]
push ebx
dec eax
push ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x36]
mov ecx, 3
mov byte [eax - 2], 0
mov byte [eax - 1], 0
mov byte [eax], 0
mov byte [eax + 1], 0xff
add eax, 4
dec ecx
jne 0x52d3ee
xor ebx, ebx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov edi, dword [ebp]
add ecx, ebx
lea eax, [edx - 1]
push ecx
push eax
mov ecx, ebp
call dword [edi + 0x50]
push eax
lea eax, [esp + 0x2c]
push eax
mov ecx, ebp
call dword [edi + 0x4c]
mov ecx, dword [eax]
mov dword [esp + ebx*4 + 0x34], ecx
inc ebx
cmp ebx, 3
jl 0x52d405
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
and eax, 0xff
mov ecx, dword [esp + 0x34]
imul eax, esi
and edx, 0xff
and ecx, 0xff
add eax, edx
mov edx, dword [esp + 0x3d]
add eax, ecx
mov ecx, dword [esp + 0x35]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x39]
and eax, 0xff
and edx, 0xff
imul eax, esi
add eax, edx
and ecx, 0xff
add eax, ecx
mov edx, dword [esp + 0x3e]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3a]
and eax, 0xff
mov ecx, dword [esp + 0x36]
imul eax, esi
and edx, 0xff
and ecx, 0xff
add eax, edx
mov edx, dword [esp + 0x3f]
add eax, ecx
mov ecx, dword [esp + 0x37]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3b]
and eax, 0xff
and edx, 0xff
imul eax, esi
add eax, edx
and ecx, 0xff
add eax, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
test eax, eax
jle 0x52d773
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
add eax, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
xor edi, edi
inc edx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x20]
mov ebx, dword [ebp]
add eax, edi
push eax
push ecx
mov ecx, ebp
call dword [ebx + 0x50]
lea edx, [esp + 0x2c]
push eax
push edx
mov ecx, ebp
call dword [ebx + 0x4c]
mov eax, dword [eax]
mov dword [esp + edi*4 + 0x34], eax
inc edi
cmp edi, 3
jl 0x52d511
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x39]
and edi, 0xff
mov ecx, dword [esp + 0x3c]
imul edi, esi
mov edx, dword [esp + 0x34]
and eax, 0xff
imul eax, esi
and ecx, 0xff
and edx, 0xff
add edi, ecx
mov ecx, dword [esp + 0x3d]
add edi, edx
mov edx, dword [esp + 0x35]
and ecx, 0xff
and edx, 0xff
add eax, ecx
mov ecx, dword [esp + 0x3e]
add eax, edx
mov edx, dword [esp + 0x36]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3a]
and eax, 0xff
and ecx, 0xff
imul eax, esi
add eax, ecx
and edx, 0xff
add eax, edx
mov ecx, dword [esp + 0x3f]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3b]
and eax, 0xff
mov edx, dword [esp + 0x37]
imul eax, esi
and ecx, 0xff
and edx, 0xff
add eax, ecx
add eax, edx
xor ebx, ebx
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp]
add ecx, ebx
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x28], eax
call dword [eax + 0x50]
mov edx, dword [esp + 0x20]
push eax
lea eax, [esp + 0x34]
mov ecx, ebp
push eax
call dword [edx + 0x4c]
mov eax, dword [eax]
mov dword [esp + ebx*4 + 0x34], eax
inc ebx
cmp ebx, 3
jl 0x52d5de
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x3f]
and edx, 0xff
mov ebp, dword [esp + 0x60]
mov ecx, dword [eax]
mov eax, dword [esp + 0x37]
and eax, 0xff
mov ebx, ecx
add edx, eax
mov eax, dword [esp + 0x3b]
imul edx, esi
and eax, 0xff
add ebp, edx
imul eax, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
add eax, ebp
mov ebp, dword [esp + 0x10]
add eax, edx
cdq
mov dword [esp + 0x20], ecx
lea ecx, [ebp + esi*4 + 4]
idiv ecx
mov ecx, dword [esp + 0x3e]
mov edx, dword [esp + 0x36]
and ecx, 0xff
and edx, 0xff
add ecx, edx
mov edx, dword [esp + 0x5c]
imul ecx, esi
add edx, ecx
mov ecx, ebp
lea ecx, [ecx + esi*4 + 4]
push eax
mov eax, dword [esp + 0x3e]
and eax, 0xff
imul eax, ebp
add eax, edx
mov edx, dword [esp + 0x50]
add eax, edx
cdq
idiv ecx
mov edx, dword [esp + 0x41]
mov ecx, dword [esp + 0x5c]
and edx, 0xff
push eax
mov eax, dword [esp + 0x3d]
and eax, 0xff
add edx, eax
mov eax, dword [esp + 0x41]
imul edx, esi
and eax, 0xff
add ecx, edx
imul eax, ebp
mov edx, dword [esp + 0x50]
add eax, ecx
add eax, edx
mov ecx, ebp
cdq
lea ecx, [ecx + esi*4 + 4]
idiv ecx
mov edx, dword [esp + 0x44]
mov ecx, edi
and edx, 0xff
push eax
mov eax, dword [esp + 0x40]
and eax, 0xff
add edx, eax
mov eax, dword [esp + 0x44]
imul edx, esi
and eax, 0xff
add ecx, edx
imul eax, ebp
add eax, ecx
mov ecx, dword [esp + 0x50]
add eax, ecx
mov ecx, ebp
cdq
lea ecx, [ecx + esi*4 + 4]
mov ebp, dword [esp + 0x74]
idiv ecx
push eax
mov ecx, ebp
call dword [ebx + 0x38]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x70]
push edx
lea ecx, [ebx + eax]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, ebp
call dword [eax + 0x58]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x74]
inc ebx
add ecx, 2
cmp ebx, eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ecx
jl 0x52d506
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x78]
inc eax
add edx, 2
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x84], edx
jl 0x52d3e5
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x54
ret 0x28