Function at 0x4630a0
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 0x462e7d
mov eax, 0x7a
cmp byte [eax + 0x54c850], 0
je 0x462e8b
add esi, 2
jmp 0x462e70
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 0x462ea6
mov eax, 0x7a
cmp byte [eax + 0x54c750], 0
je 0x463055
cmp edx, ebx
jne case.0x462ed2.36
movzx eax, word [esi + 2]
add eax, 0xffffffdd
cmp eax, 0x4e
ja case.0x462ed2.36
movzx eax, byte [eax + 0x4630a0]
jmp dword [eax*4 + 0x463088]
movzx eax, word [esi + 4]
cmp eax, 0x6d
jne 0x462efb
cmp word [esi + 6], 0x70
jne 0x462efb
cmp word [esi + 8], 0x3b
jne 0x462efb
mov word [ecx], bx
add ecx, 2
add esi, 0xa
jmp 0x462e94
cmp eax, 0x70
jne case.0x462ed2.36
cmp word [esi + 6], 0x6f
jne case.0x462ed2.36
cmp word [esi + 8], 0x73
jne case.0x462ed2.36
cmp word [esi + 0xa], 0x3b
jne case.0x462ed2.36
mov eax, 0x27
mov word [ecx], ax
add ecx, 2
add esi, 0xc
jmp 0x462e94
cmp word [esi + 4], 0x75
jne case.0x462ed2.36
cmp word [esi + 6], 0x6f
jne case.0x462ed2.36
cmp word [esi + 8], 0x74
jne case.0x462ed2.36
cmp word [esi + 0xa], 0x3b
jne case.0x462ed2.36
mov eax, 0x22
mov word [ecx], ax
add ecx, 2
add esi, 0xc
jmp 0x462e94
cmp word [esi + 4], 0x74
jne case.0x462ed2.36
cmp word [esi + 6], 0x3b
jne case.0x462ed2.36
mov eax, 0x3e
mov word [ecx], ax
add ecx, 2
add esi, 8
jmp 0x462e94
cmp word [esi + 4], 0x74
jne case.0x462ed2.36
cmp word [esi + 6], 0x3b
jne case.0x462ed2.36
mov eax, 0x3c
mov word [ecx], ax
add ecx, 2
add esi, 8
jmp 0x462e94
xor ecx, ecx
cmp word [esi + 4], 0x78
jne 0x462ffd
movzx eax, byte [esi + 6]
add esi, 6
mov al, byte [eax + 0x54c950]
cmp al, 0xff
je 0x463029
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 0x462fe3
jmp 0x463029
movzx eax, byte [esi + 4]
add esi, 4
mov al, byte [eax + 0x54c950]
cmp al, 0xff
je 0x463029
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 0x463010
push ecx
lea eax, [ebp + 8]
push eax
call fcn.0045fff0
add esp, 8
cmp word [esi], 0x3b
jne 0x463060
mov ecx, dword [ebp + 8]
add esi, 2
jmp 0x462e97
mov word [ecx], dx
add ecx, 2
add esi, 2
jmp 0x462e94
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
leave
das
inc esi
add cl, bl
inc esi
add byte [edi + 0x2f], dh
inc esi
add byte [eax + 0x3800462f], ah
das
inc esi
add byte [edi + 0x30], al
inc esi
add byte [eax], al
add eax, 0x5050505
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