Function at 0x467250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568620
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5bf094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edi
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
add esi, 0x84
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.00418090
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], edi
mov ecx, edx
cmp eax, 0x10
jae 0x4672b5
lea ecx, [ebp - 0x2c]
add ecx, dword [ebp - 0x1c]
cmp eax, 0x10
mov eax, edx
jae 0x4672c2
lea eax, [ebp - 0x2c]
cmp eax, ecx
je 0x4672d3
cmp byte [eax], 0x31
jne 0x4672ce
mov byte [eax], 0x30
inc eax
cmp eax, ecx
jne 0x4672c6
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x50], esp
push str.mrseed
lea eax, [ebp - 0x2c]
push eax
push edx
call fcn.00464fe0
lea ecx, [ebp - 0x48]
add esp, 0xc
push ecx
call fcn.00465290
add esp, 0x20
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004115a0
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 0
jb 0x46731c
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b8946
add esp, 4
or edx, 0xffffffff
xor ebx, ebx
xor eax, eax
test dl, 1
je 0x467338
mov ecx, 0x1f
sub ecx, eax
mov esi, 1
shl esi, cl
or ebx, esi
inc eax
shr edx, 1
cmp eax, 0x20
jb 0x467323
call fcn.00464680
mov ecx, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x467355
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea edx, [ecx + eax]
cmp ecx, edx
jae 0x467376
nop
mov al, byte [ecx]
xor al, bl
movzx eax, al
shr ebx, 8
xor ebx, dword [eax*4 + 0x5c1c78]
inc ecx
cmp ecx, edx
jb 0x467360
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x48]
not ebx
push edx
mov dword [ebp - 0x4c], ebx
call fcn.00466960
add esp, 8
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004115a0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], esi
jb 0x4673ad
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b8946
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0xffffffffffffffff
push edi
lea edx, [ebp - 0x2c]
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edi
push edx
mov byte [ecx], 0
call fcn.004025c0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.0055b050
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0055b310
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004115a0
mov ebx, 0x10
cmp dword [ebp - 0x34], ebx
jb 0x467411
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b8946
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 0
call fcn.0055b070
call dword [sym.imp.KERNEL32.dll_GetACP]
mov esi, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.00416540
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jb 0x46744f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b8946
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b92b7
mov esp, ebp
pop ebp
ret 4