Function at 0x460690
Capabilities:
Check if file exists
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478e40
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x46c
mov eax, dword [0x4902d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_IsWow64Process]
lea eax, [ebp - 0x41c]
push eax
push ecx
mov dword [ebp - 0x41c], 0
call esi
test eax, eax
jne 0x4609ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
movups xmm0, xmmword [0x4856e4]
mov cl, byte [0x485714]
mov esi, eax
mov byte [ebp - 0x444], cl
xor ecx, ecx
cmp dword [0x4931b8], 2
movups xmmword [ebp - 0x474], xmm0
movups xmm0, xmmword [0x4856f4]
movups xmmword [ebp - 0x464], xmm0
movups xmm0, xmmword [0x485704]
movups xmmword [ebp - 0x454], xmm0
jl 0x460890
movaps xmm0, xmmword [0x486210]
mov eax, 4
movaps xmm4, xmmword [0x4860d0]
movaps xmm3, xmmword [0x486500]
movaps xmm6, xmmword [0x486100]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x440], xmm0
mov edx, dword [ebp - 0x440]
movd xmm7, eax
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x474]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x474], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x470]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x470], xmm1
add ecx, 8
cmp ecx, 0x30
jl 0x460780
cmp ecx, 0x31
jge 0x4608bb
nop dword [eax + eax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x31
sub dl, al
add dl, 0x39
xor byte [ebp + ecx - 0x474], dl
inc ecx
cmp ecx, 0x31
jl 0x460890
push esi
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00461e50
xorps xmm0, xmm0
mov dword [ebp - 0x430], 0
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x42c], 0
add esp, 0xc
lea edx, [ecx + 1]
movups xmmword [ebp - 0x440], xmm0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460900
sub ecx, edx
lea eax, [ebp - 0x418]
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00437fe0
mov dword [ebp - 4], 0
mov eax, dword [0x490330]
cmp eax, dword [0x490334]
je 0x46095c
movups xmm0, xmmword [ebp - 0x440]
mov ecx, 0xf
mov byte [ebp - 0x440], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x430]
movq qword [eax + 0x10], xmm0
add dword [0x490330], 0x18
jmp 0x460974
lea ecx, [ebp - 0x440]
push ecx
push eax
mov ecx, 0x49032c
call fcn.00461e70
mov ecx, dword [ebp - 0x42c]
cmp ecx, 0x10
jb 0x4609aa
mov edx, dword [ebp - 0x440]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4609a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4609a0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047421c
add esp, 8
xor al, al
jmp 0x4609d7
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp - 0x420]
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00473fd7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret