Function at 0x100624b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov dword [esp], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], edx
lea edx, [esp + 4]
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
lea ecx, [esp + 8]
add eax, dword [ebp + 8]
adc esi, dword [ebp + 0xc]
push 4
push 0x3713cc8
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push eax
call fcn.10065590
add esp, 0x18
xor ebx, ebx
lea esi, [0x371397d]
lea edx, [0x371397e]
mov eax, 0xfffffff9
mov dword [esp + 0x20], 0
nop dword [eax]
movzx ecx, byte [esi]
mov esi, edx
mov edx, ecx
add dl, 0xd0
cmp dl, 0xa
jb 0x10062535
or cl, 0x20
mov edx, ecx
add dl, 0x9f
cmp dl, 6
jae 0x100626d3
add cl, 0xa9
mov edx, ecx
mov ecx, ebx
movzx edi, dl
lea edx, [esi + 1]
shl ecx, 4
or edi, ecx
test eax, eax
cmove edx, esi
je 0x10062556
shld dword [esp + 0x20], ebx, 4
inc eax
test esi, esi
mov ebx, edi
jne 0x10062510
cmp dword [esp + 8], 0
je 0x100625a8
mov esi, dword [esp + 0x14]
movsd xmm0, qword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [0x3716000]
xor edi, 0x5d
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], esi
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x40], ebx
push 4
push 8
push 0x3715820
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x44], 0
je 0x100625df
lea ecx, [esp + 0x3c]
call fcn.10005180
xor eax, eax
jmp 0x100625e8
mov eax, dword [esp + 0x10]
xor ebx, ebx
or eax, dword [esp + 0x14]
je 0x10062609
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp]
xor edx, edx
mov edi, dword [ebp + 0x10]
shl edx, 4
mov dword [esi + 8], 3
mov edx, dword [edi + edx + 8]
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ecx
mov dword [esi], ebx
jmp 0x10062601
mov eax, dword [esp + 0x48]
mov dword [eax], esi
mov dword [eax + 4], ebx
mov ecx, dword [esp]
movaps xmm0, xmmword [esp + 0x20]
mov edx, 1
movlps qword [ecx + 4], xmm0
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], eax
mov dword [ecx], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea edx, [esp + 4]
lea ecx, [esp + 8]
add esi, dword [eax + 0x10]
adc edi, dword [eax + 0x14]
push 4
push 0x3713cc8
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push esi
call fcn.10065590
add esp, 0x18
xor ebx, ebx
lea edx, [0x371397d]
lea esi, [0x371397e]
mov eax, 0xfffffff9
mov dword [esp + 0x20], 0
movzx ecx, byte [edx]
mov edx, esi
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x10062671
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 5
ja 0x100626d3
add cl, 0xa9
mov ch, cl
mov esi, ebx
movzx edi, ch
shl esi, 4
or edi, esi
lea esi, [edx + 1]
test eax, eax
cmove esi, edx
je 0x10062692
shld dword [esp + 0x20], ebx, 4
inc eax
test edx, edx
mov ebx, edi
jne 0x10062650
cmp dword [esp + 8], 0
jne 0x1006255d
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x14]
je 0x100626be
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp]
mov edx, 1
xor ebx, ebx
jmp 0x100625c1
mov eax, dword [esp]
mov dword [eax + 8], 6
mov dword [eax], 0
jmp 0x10062601
mov ecx, 0x3714230
mov edx, 0xe
push 0x370de30
call fcn.100091f0
add esp, 4
ud2