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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x19a91810]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
xor edi, edi
lea eax, [esp + 0x88]
push 0x40
push edi
xor esi, esi
mov dword [esp + 0x54], edi
push eax
mov dword [esp + 0x54], esi
call fcn.10003da1
fld dword [0x19b9d1b8]
add esp, 0xc
fadd qword [0x19a891e8]
call 0x10039a60
mov ecx, eax
cmp ecx, 0xa
jge 0x1000a32e
mov dword [esp + 0x24], 0x96
jmp 0x1000a34e
cmp ecx, 0xc
jle 0x1000a33d
mov dword [esp + 0x24], 0x14
jmp 0x1000a34e
mov eax, 0xe
sub eax, ecx
lea ecx, [eax + eax*4]
shl ecx, 2
mov dword [esp + 0x24], ecx
fld dword [0x19b9d1bc]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x1000a367
mov dword [esp + 0x24], 0x50
movzx eax, word [0x19b9d086]
sub eax, 0xe
mov dword [esp + 0x5c], eax
cmp eax, 0xe
jle 0x1000a83a
movzx eax, word [0x19b9d084]
mov edx, 0x10
mov ecx, dword [esp + 0x5c]
mov esi, 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x38], esi
jmp 0x1000a3a0
mov ebx, 0xa
mov dword [esp + 0x2c], ebx
cmp eax, ebx
jle 0x1000a812
movzx ecx, word [0x19b9d07e]
lea edi, [edx - 2]
movzx eax, word [0x19b9d07a]
sar edi, cl
imul edi, eax
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x58], edi
lea edi, [esi - 8]
and edi, 0x1c
mov dword [esp + 0x3c], edi
lea edi, [edx - 1]
sar edi, cl
imul edi, eax
mov dword [esp + 0x50], edi
lea edi, [esi - 4]
and edi, 0x1c
mov dword [esp + 0x28], edi
mov edi, edx
sar edi, cl
inc edx
imul edi, eax
sar edx, cl
imul edx, eax
lea eax, [esi + 4]
mov dword [esp + 0x34], edi
mov edi, esi
and edi, 0x1c
and eax, 0x1c
mov dword [esp + 0x44], eax
mov eax, 0xffffffec
mov dword [esp + 0x40], edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x18], eax
jmp 0x1000a430
mov ecx, dword [esp + 0x3c]
and eax, 2
mov edx, dword [0x19b9d090]
mov esi, 0xfffffffe
mov dword [esp + 0x1c], eax
sub esi, dword [esp + 0x30]
lea ecx, [ecx + eax]
mov edi, dword [esp + 0x1c]
shr edx, cl
and esi, 2
movzx ecx, word [0x19b9d07e]
and edx, 3
mov eax, dword [esp + 0x58]
sar ebx, cl
mov ecx, dword [0x19b9d06c]
add eax, ebx
lea eax, [edx + eax*4]
movzx eax, word [ecx + eax*2]
mov dword [esp + edx*4 + 0x68], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [0x19b9d090]
mov eax, dword [esp + 0x2c]
inc eax
lea ecx, [ecx + esi]
shr edx, cl
movzx ecx, word [0x19b9d07e]
and edx, 3
sar eax, cl
mov ecx, dword [0x19b9d06c]
mov dword [esp + 0x20], eax
add eax, dword [esp + 0x58]
lea eax, [edx + eax*4]
movzx eax, word [ecx + eax*2]
mov ecx, dword [esp + 0x18]
mov dword [esp + edx*4 + 0x68], eax
add ecx, 4
mov edx, dword [0x19b9d090]
and ecx, 2
add ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
shr edx, cl
add eax, ebx
mov ecx, dword [0x19b9d06c]
and edx, 3
lea eax, [edx + eax*4]
movzx edx, word [ecx + eax*2]
mov ecx, dword [esp + 0x18]
mov eax, dword [0x19b9d090]
add ecx, 4
and ecx, 2
add ecx, dword [esp + 0x28]
shr eax, cl
mov ecx, dword [esp + 0x18]
and eax, 3
add ecx, 2
and ecx, 2
add ecx, dword [esp + 0x28]
mov dword [esp + eax*4 + 0x68], edx
mov edx, dword [0x19b9d090]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x50]
shr edx, cl
mov ecx, dword [0x19b9d06c]
and edx, 3
lea eax, [edx + eax*4]
movzx edx, word [ecx + eax*2]
mov ecx, dword [esp + 0x18]
mov eax, dword [0x19b9d090]
add ecx, 2
and ecx, 2
add ecx, dword [esp + 0x28]
shr eax, cl
mov ecx, dword [esp + 0x40]
and eax, 3
mov dword [esp + eax*4 + 0x68], edx
lea ecx, [ecx + edi]
mov edx, dword [0x19b9d090]
mov eax, dword [esp + 0x34]
shr edx, cl
and edx, 3
add eax, ebx
mov ecx, dword [0x19b9d06c]
lea eax, [edx + eax*4]
movzx eax, word [ecx + eax*2]
mov ecx, dword [esp + 0x40]
mov dword [esp + edx*4 + 0x78], eax
mov edx, dword [0x19b9d090]
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x20]
lea ecx, [ecx + esi]
shr edx, cl
mov ecx, dword [0x19b9d06c]
and edx, 3
lea eax, [edx + eax*4]
movzx eax, word [ecx + eax*2]
mov dword [esp + edx*4 + 0x78], eax
mov eax, dword [esp + 0x18]
mov edx, dword [0x19b9d090]
lea ecx, [eax + 4]
lea esi, [eax + 2]
and ecx, 2
add ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
shr edx, cl
add eax, ebx
mov ecx, dword [0x19b9d06c]
and edx, 3
mov ebx, dword [esp + 0x44]
lea eax, [edx + eax*4]
movzx edx, word [ecx + eax*2]
lea ecx, [esi - 2]
mov eax, dword [0x19b9d090]
and ecx, 2
add ecx, ebx
and esi, 2
shr eax, cl
mov ecx, dword [esp + 0x18]
and eax, 3
add ecx, 2
and ecx, 2
add ecx, ebx
mov dword [esp + eax*4 + 0x78], edx
mov edx, dword [0x19b9d090]
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x20]
shr edx, cl
mov ecx, dword [0x19b9d06c]
and edx, 3
lea eax, [edx + eax*4]
movzx edx, word [ecx + eax*2]
lea ecx, [ebx + esi]
mov eax, dword [0x19b9d090]
shr eax, cl
and eax, 3
mov dword [esp + eax*4 + 0x78], edx
xor eax, eax
jmp 0x1000a630
mov ecx, dword [esp + eax*4 + 0x68]
cmp ecx, 0x96
jl 0x1000a7dc
cmp ecx, 0x5dc
jg 0x1000a7dc
inc eax
cmp eax, 8
jl 0x1000a630
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x68]
sub eax, dword [esp + ecx*4 + 0x78]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x32
jg 0x1000a7dc
inc ecx
cmp ecx, 4
jl 0x1000a654
lea eax, [esp + 0x60]
xor ebx, ebx
mov dword [esp + 0x1c], eax
lea esi, [esp + 0x68]
lea eax, [esp + 0xcc]
mov dword [esp + 0x20], eax
lea esp, [esp]
xor edi, edi
mov eax, dword [esi + 4]
mov ecx, edi
sub eax, dword [esi]
add edi, 2
shl eax, 0xa
cdq
idiv dword [esi]
sar ecx, 1
add esi, 8
add ecx, ebx
mov dword [esp + ecx*4 + 0xcc], eax
cmp edi, 4
jl 0x1000a692
push dword [esp + 0x24]
mov edi, dword [esp + 0x24]
push edi
call fcn.1000ab10
mov ecx, dword [esp + 0x24]
add ebx, 2
add edi, 8
add esp, 8
mov dword [esp + 0x20], edi
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x1c], ecx
cmp ebx, 4
jl 0x1000a690
mov eax, dword [esp + 0x60]
mov ebx, eax
mov esi, dword [esp + 0x64]
or ebx, esi
mov dword [esp + 0x1c], ebx
cmp ebx, 1
jg 0x1000a7dc
test eax, eax
je 0x1000a733
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xd0]
add ecx, 0x400
imul ecx, dword [esp + 0x68]
add edx, 0x400
imul edx, dword [esp + 0x70]
sar ecx, 0xa
sar edx, 0xa
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], edx
jmp 0x1000a73b
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
test esi, esi
je 0x1000a779
mov esi, dword [esp + 0xd4]
mov edi, dword [esp + 0xd8]
add esi, 0x400
imul esi, dword [esp + 0x78]
add edi, 0x400
imul edi, dword [esp + 0x80]
sar esi, 0xa
sar edi, 0xa
mov dword [esp + 0x7c], esi
mov dword [esp + 0x84], edi
jmp 0x1000a784
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x7c]
mov eax, ebx
mov ebx, dword [esp + 0x68]
shl eax, 5
add dword [esp + eax + 0x8c], ecx
add dword [esp + eax + 0x88], ebx
mov ecx, dword [esp + 0x70]
add dword [esp + eax + 0x90], ecx
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x1c]
add dword [esp + eax + 0x98], ecx
mov ecx, dword [esp + 0x80]
add dword [esp + eax + 0x94], edx
add dword [esp + eax + 0x9c], esi
add dword [esp + eax + 0xa0], ecx
add dword [esp + eax + 0xa4], edi
inc dword [esp + ebx*4 + 0x48]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
add ebx, 2
movzx ecx, word [0x19b9d084]
sub eax, 4
add dword [esp + 0x30], 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], eax
cmp ebx, ecx
jl 0x1000a430
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
add edx, 4
add esi, 0x10
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], edx
lea eax, [edx - 2]
cmp eax, ecx
movzx eax, word [0x19b9d084]
jl 0x1000a3a0
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov eax, edi
or eax, esi
je 0x1000a8f0
imul eax, esi, 0xc8
xor ecx, ecx
cmp eax, edi
setl cl
shl ecx, 5
mov eax, dword [esp + ecx + 0x98]
add eax, dword [esp + ecx + 0x88]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fld1
fld st(0)
mov eax, dword [esp + ecx + 0x9c]
fdivrp st(2)
fxch st(1)
add eax, dword [esp + ecx + 0x8c]
mov dword [esp + 0x10], eax
fstp dword [0x19b7af10]
fild dword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fdivr st(1)
mov eax, dword [esp + ecx + 0xa0]
add eax, dword [esp + ecx + 0x90]
mov dword [esp + 0x10], eax
fstp dword [0x19b7af14]
fild dword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fdivr st(1)
mov eax, dword [esp + ecx + 0xa4]
add eax, dword [esp + ecx + 0x94]
mov dword [esp + 0x10], eax
fstp dword [0x19b7af18]
fild dword [esp + 0x10]
fstp qword [esp + 0x10]
fdiv qword [esp + 0x10]
fstp dword [0x19b7af1c]
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10007d50
mov esp, ebp
pop ebp
ret