Function at 0x4908e0
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f89eb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x14c
mov eax, dword [0x681c40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x124], esi
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], esi
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x49096e
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
push 0x66c6ba
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00498e20
jmp 0x490b4d
cmp byte [0x681f02], 0
je 0x490a59
movaps xmm2, xmmword [0x673020]
mov eax, str.c4__3
movaps xmm1, xmmword [0x672f90]
movd xmm0, dword [eax]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [eax], xmm1
mov eax, 0x681ef0
movaps xmm1, xmmword [0x672fa0]
movd xmm0, dword [eax]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [eax], xmm1
mov eax, 0x681ef4
movaps xmm1, xmmword [0x672fb0]
movd xmm0, dword [eax]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [eax], xmm1
mov eax, 0x681ef8
movaps xmm1, xmmword [0x672fc0]
movd xmm0, dword [eax]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [eax], xmm1
mov eax, 0x10
lea ecx, [eax + 0x3f]
xor byte [eax + str.c4__3], cl
inc eax
cmp eax, 0x15
jb 0x490a43
mov byte [0x681f02], 0
push ecx
push 0x681f01
push str.c4__3
lea ecx, [ebp - 0x158]
call fcn.00498870
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x120]
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x128], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x490aa0
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.00498e20
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x13c]
mov ecx, esi
push eax
push dword [ebp - 0x124]
call fcn.0049a050
mov ecx, dword [ebp - 0x128]
cmp ecx, 0xf
jbe 0x490b11
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x490b07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490b3d
push ecx
push edx
call fcn.005f5c54
add esp, 8
mov ecx, dword [ebp - 0x144]
cmp ecx, 0xf
jbe 0x490b4d
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x490b43
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x490b43
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005f5c54
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005f582b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret