Function at 0x4630f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
mov edi, edi
movzx eax, word [esi]
cmp eax, 0x7f
jbe 0x46310d
mov eax, 0x7a
cmp byte [eax + 0x54c650], 0
je 0x46311b
add esi, 2
jmp 0x463100
mov dword [edi], esi
mov ecx, esi
mov ebx, 0x26
mov dword [ebp + 8], ecx
movzx edx, word [esi]
mov eax, edx
cmp eax, 0x7f
jbe 0x463136
mov eax, 0x7a
cmp byte [eax + 0x54c550], 0
je 0x4632e5
cmp edx, ebx
jne case.0x463162.36
movzx eax, word [esi + 2]
add eax, 0xffffffdd
cmp eax, 0x4e
ja case.0x463162.36
movzx eax, byte [eax + 0x463330]
jmp dword [eax*4 + 0x463318]
movzx eax, word [esi + 4]
cmp eax, 0x6d
jne 0x46318b
cmp word [esi + 6], 0x70
jne 0x46318b
cmp word [esi + 8], 0x3b
jne 0x46318b
mov word [ecx], bx
add ecx, 2
add esi, 0xa
jmp 0x463124
cmp eax, 0x70
jne case.0x463162.36
cmp word [esi + 6], 0x6f
jne case.0x463162.36
cmp word [esi + 8], 0x73
jne case.0x463162.36
cmp word [esi + 0xa], 0x3b
jne case.0x463162.36
mov eax, 0x27
mov word [ecx], ax
add ecx, 2
add esi, 0xc
jmp 0x463124
cmp word [esi + 4], 0x75
jne case.0x463162.36
cmp word [esi + 6], 0x6f
jne case.0x463162.36
cmp word [esi + 8], 0x74
jne case.0x463162.36
cmp word [esi + 0xa], 0x3b
jne case.0x463162.36
mov eax, 0x22
mov word [ecx], ax
add ecx, 2
add esi, 0xc
jmp 0x463124
cmp word [esi + 4], 0x74
jne case.0x463162.36
cmp word [esi + 6], 0x3b
jne case.0x463162.36
mov eax, 0x3e
mov word [ecx], ax
add ecx, 2
add esi, 8
jmp 0x463124
cmp word [esi + 4], 0x74
jne case.0x463162.36
cmp word [esi + 6], 0x3b
jne case.0x463162.36
mov eax, 0x3c
mov word [ecx], ax
add ecx, 2
add esi, 8
jmp 0x463124
xor ecx, ecx
cmp word [esi + 4], 0x78
jne 0x46328d
movzx eax, byte [esi + 6]
add esi, 6
mov al, byte [eax + 0x54c950]
cmp al, 0xff
je 0x4632b9
add esi, 2
movzx eax, al
shl ecx, 4
add ecx, eax
movzx eax, byte [esi]
mov al, byte [eax + 0x54c950]
cmp al, 0xff
jne 0x463273
jmp 0x4632b9
movzx eax, byte [esi + 4]
add esi, 4
mov al, byte [eax + 0x54c950]
cmp al, 0xff
je 0x4632b9
mov edi, edi
movzx eax, al
lea ecx, [ecx + ecx*4]
add esi, 2
lea ecx, [eax + ecx*2]
movzx eax, byte [esi]
mov al, byte [eax + 0x54c950]
cmp al, 0xff
jne 0x4632a0
push ecx
lea eax, [ebp + 8]
push eax
call fcn.0045fff0
add esp, 8
cmp word [esi], 0x3b
jne 0x4632f0
mov ecx, dword [ebp + 8]
add esi, 2
jmp 0x463127
mov word [ecx], dx
add ecx, 2
add esi, 2
jmp 0x463124
mov dword [edi], esi
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
call fcn.004a155a
push 0x57a9a8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], vtable.cptboost::property_tree::detail::cptboostrapidxml::parse_error.0
push eax
mov dword [ebp - 8], str.expected__
mov dword [ebp - 4], esi
call fcn.004a06b8
nop
pop ecx
xor al, byte [esi]
imul esi, dword [ecx], 0x32070046
inc esi
add byte [eax], dh
xor al, byte [esi]
enter 0x4631, 0
xlatb
xor al, byte [esi]
add byte [0x5050505], al
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215041
add eax, 84214277
add eax, 84214533
add eax, 1439433733
push ebp