Function at 0x478460
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee57a
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x194], esi
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x198], 0
mov ecx, dword [eax]
mov eax, dword [0x52eae4]
cmp eax, dword [ecx + 4]
jle 0x4784fe
push 0x52eae4
call fcn.004a06ac
add esp, 4
cmp dword [0x52eae4], 0xffffffff
jne 0x4784fe
push 0x507250
mov ecx, 0x52eae8
mov dword [ebp - 4], 0
call fcn.00409bf0
push 0x4f1380
call fcn.004a0a03
push 0x52eae4
mov dword [ebp - 4], 0xffffffff
call fcn.004a066d
add esp, 8
cmp dword [0x52eaf8], 0
jne 0x47896f
push 0
push 0x1a
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov dword [ebp - 0x148], 0x1f3a227e
mov dword [ebp - 0x144], 0x3d5e1f0a
mov dword [ebp - 0x140], 0x1b161d1f
mov word [ebp - 0x13c], 0x22
mov dword [ebp - 4], 1
mov dword [ebp - 0x128], 0x43717a26
mov dword [ebp - 0x124], 0x40405344
mov byte [ebp - 0x120], 0
mov byte [ebp - 4], 2
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x17c], 0xf
mov dword [ebp - 0x180], 0
mov byte [ebp - 0x190], 0
jne 0x478593
xor ecx, ecx
jmp 0x4785a9
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4785a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x190]
call fcn.00409af0
mov byte [ebp - 4], 3
mov cl, byte [ebp - 0x128]
movzx eax, byte [ebp - 0x127]
xor al, cl
mov byte [ebp - 0x118], 0
mov byte [ebp - 0x11f], al
movzx eax, byte [ebp - 0x126]
xor al, cl
mov byte [ebp - 0x11e], al
movzx eax, byte [ebp - 0x125]
xor al, cl
mov byte [ebp - 0x11d], al
movzx eax, byte [ebp - 0x124]
xor al, cl
mov byte [ebp - 0x11c], al
movzx eax, byte [ebp - 0x123]
xor al, cl
mov byte [ebp - 0x11b], al
movzx eax, byte [ebp - 0x122]
xor al, cl
mov byte [ebp - 0x11a], al
movzx eax, byte [ebp - 0x121]
xor al, cl
mov byte [ebp - 0x119], al
lea eax, [ebp - 0x11f]
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00407900
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 4
xor ecx, ecx
nop dword [eax + eax]
movzx eax, byte [ebp + ecx - 0x147]
xor al, byte [ebp - 0x148]
mov byte [ebp + ecx - 0x13a], al
movzx eax, byte [ebp + ecx - 0x146]
xor al, byte [ebp - 0x148]
mov byte [ebp + ecx - 0x139], al
movzx eax, byte [ebp + ecx - 0x145]
xor al, byte [ebp - 0x148]
mov byte [ebp + ecx - 0x138], al
movzx eax, byte [ebp + ecx - 0x144]
xor al, byte [ebp - 0x148]
mov byte [ebp + ecx - 0x137], al
movzx eax, byte [ebp + ecx - 0x143]
xor al, byte [ebp - 0x148]
mov byte [ebp + ecx - 0x136], al
movzx eax, byte [ebp + ecx - 0x142]
xor al, byte [ebp - 0x148]
mov byte [ebp + ecx - 0x135], al
add ecx, 6
cmp ecx, 0xc
jb 0x478660
lea eax, [ebp - 0x13a]
mov byte [ebp - 0x12e], 0
push eax
push edx
lea eax, [ebp - 0x178]
push eax
call fcn.00407900
add esp, 0xc
mov edi, eax
cmp edi, 0x52eae8
je 0x478754
mov eax, dword [0x52eafc]
cmp eax, 0x10
jb 0x47872e
inc eax
mov ecx, 0x52eae8
push eax
push dword [0x52eae8]
call fcn.004099a0
push edi
mov ecx, 0x52eae8
mov dword [0x52eafc], 0xf
mov dword [0x52eaf8], 0
mov byte [0x52eae8], 0
call fcn.00407660
mov eax, dword [ebp - 0x164]
cmp eax, 0x10
jb 0x478772
inc eax
lea ecx, [ebp - 0x178]
push eax
push dword [ebp - 0x178]
call fcn.004099a0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x164], 0xf
mov dword [ebp - 0x168], 0
mov byte [ebp - 0x178], 0
cmp eax, 0x10
jb 0x4787ab
inc eax
lea ecx, [ebp - 0x160]
push eax
push dword [ebp - 0x160]
call fcn.004099a0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x14c], 0xf
mov dword [ebp - 0x150], 0
mov byte [ebp - 0x160], 0
cmp eax, 0x10
jb 0x4787e4
inc eax
lea ecx, [ebp - 0x190]
push eax
push dword [ebp - 0x190]
call fcn.004099a0
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0xffffffff
push 0
push eax
call fcn.004c339f
add esp, 8
cmp eax, 0xffffffff
jne 0x47896f
mov dword [ebp - 0x128], 0x90b096a
mov dword [ebp - 0x124], 0x36190f02
mov byte [ebp - 0x120], 0
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 6
call fcn.00418a40
mov edx, eax
mov byte [ebp - 4], 7
mov cl, byte [ebp - 0x128]
movzx eax, byte [ebp - 0x127]
xor al, cl
mov byte [ebp - 0x118], 0
mov byte [ebp - 0x11f], al
movzx eax, byte [ebp - 0x126]
xor al, cl
mov byte [ebp - 0x11e], al
movzx eax, byte [ebp - 0x125]
xor al, cl
mov byte [ebp - 0x11d], al
movzx eax, byte [ebp - 0x124]
xor al, cl
mov byte [ebp - 0x11c], al
movzx eax, byte [ebp - 0x123]
xor al, cl
mov byte [ebp - 0x11b], al
movzx eax, byte [ebp - 0x122]
xor al, cl
mov byte [ebp - 0x11a], al
movzx eax, byte [ebp - 0x121]
xor al, cl
mov byte [ebp - 0x119], al
lea eax, [ebp - 0x11f]
push eax
push edx
lea eax, [ebp - 0x160]
push eax
call fcn.00407900
add esp, 0xc
mov edi, eax
cmp edi, 0x52eae8
je 0x478911
mov eax, dword [0x52eafc]
cmp eax, 0x10
jb 0x4788eb
inc eax
mov ecx, 0x52eae8
push eax
push dword [0x52eae8]
call fcn.004099a0
push edi
mov ecx, 0x52eae8
mov dword [0x52eafc], 0xf
mov dword [0x52eaf8], 0
mov byte [0x52eae8], 0
call fcn.00407660
mov eax, dword [ebp - 0x14c]
cmp eax, 0x10
jb 0x47892f
inc eax
lea ecx, [ebp - 0x160]
push eax
push dword [ebp - 0x160]
call fcn.004099a0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x14c], 0xf
mov dword [ebp - 0x150], 0
mov byte [ebp - 0x160], 0
cmp eax, 0x10
jb 0x478968
inc eax
lea ecx, [ebp - 0x178]
push eax
push dword [ebp - 0x178]
call fcn.004099a0
mov dword [ebp - 4], 0xffffffff
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x52eae8
mov byte [esi], 0
call fcn.00409690
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a04d5
mov esp, ebp
pop ebp
ret