Function at 0x46f590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4decee
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x520078]
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 + 0x10]
lea ecx, [ebp - 0xa4]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push eax
mov dword [ebp - 0xa8], 0
call fcn.0046d870
add esp, 4
mov esi, eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 0
push eax
call fcn.0046fcd0
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00468d50
add esp, 4
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x46f622
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.004176a0
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x46f659
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.004176a0
push 1
push 0x502fe0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
call fcn.00420c20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
push 2
push 0x4f8bf0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00420c20
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.0046d600
mov eax, dword [ebp - 0x30]
add esp, 4
cmp eax, 0x10
jb 0x46f6e5
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004176a0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x46f710
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.004176a0
push 0x20
push 0x40
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
call fcn.00466220
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 7
push eax
mov edx, 0x502fe0
lea ecx, [ebp - 0x74]
call fcn.00430030
add esp, 4
mov esi, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
push 1
push 0x502fe0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00420c20
push esi
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.0046d600
mov eax, dword [ebp - 0x30]
add esp, 4
cmp eax, 0x10
jb 0x46f795
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004176a0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x46f7bc
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.004176a0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
cmp eax, 0x10
jb 0x46f7e7
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.004176a0
push dword [ebp - 0x18]
call fcn.00494103
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 0xa
xor edx, edx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x46f828
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, edx
cmovae ecx, dword [ebp - 0x28]
and eax, 0xf
mov al, byte [eax + 0x50303c]
xor al, byte [ecx + edx]
mov byte [edx + esi], al
inc edx
mov eax, dword [ebp - 0x18]
cmp edx, eax
jb 0x46f804
add eax, esi
lea ecx, [ebp - 0x74]
push eax
mov edx, esi
call fcn.00430090
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
push 1
push 0x502fe4
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00420c20
push edi
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
mov ecx, ebx
call fcn.00468d50
mov eax, dword [ebp - 0x30]
add esp, 4
cmp eax, 0x10
jb 0x46f886
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004176a0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x46f8ad
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.004176a0
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
test esi, esi
je 0x46f8cc
push esi
call fcn.00493c71
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x46f8e1
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004176a0
mov eax, ebx
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.00493bec
mov esp, ebp
pop ebp
ret 0xc