Function at 0x465440
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b346
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x582654]
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 ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push str.vmp_5
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x154], 0
call dword [sym.imp.VMProtectSDK32.dll_VMProtectBegin]
test esi, esi
jne 0x4654b8
push esi
mov dword [ebx + 0x14], 0xf
mov ecx, ebx
mov dword [ebx + 0x10], esi
push 0x552a40
mov byte [ebx], 0
call fcn.00404940
jmp 0x4656fc
push 0x556d2c
push esi
call fcn.00527540
add esp, 8
test eax, eax
je 0x4654d7
push esi
mov ecx, ebx
call fcn.00406c50
jmp 0x4656fc
push 0
push 0x10
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x128]
call fcn.00406c50
push 4
push str..
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.00414b10
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
lea eax, [ebp - 0x128]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404820
call fcn.004657c0
mov edi, dword [ebp - 0x130]
xor eax, eax
mov esi, dword [ebp - 0x134]
mov ecx, edi
mov dword [ebp - 0x13c], eax
sub ecx, esi
mov eax, 0x2aaaaaab
add esp, 0x1c
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x138], eax
je 0x46567e
mov edi, esi
mov dword [ebp - 0x148], esi
nop dword [eax]
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x4655c2
mov eax, dword [edi]
mov dword [ebp - 0x144], eax
jmp 0x4655c8
mov dword [ebp - 0x144], edi
cmp ecx, 0x10
jb 0x4655d1
mov edx, dword [edi]
jmp 0x4655d3
mov edx, edi
mov eax, dword [edi + 0x10]
add eax, edx
cmp ecx, 0x10
jb 0x4655e7
mov ecx, dword [edi]
mov dword [ebp - 0x140], ecx
jmp 0x4655ef
mov ecx, edi
mov dword [ebp - 0x140], edi
mov ebx, eax
xor edx, edx
sub ebx, ecx
xor esi, esi
cmp ecx, eax
cmova ebx, edx
test ebx, ebx
je 0x465627
mov edi, dword [ebp - 0x140]
movsx eax, byte [esi + edi]
push eax
call fcn.00535819
mov ecx, dword [ebp - 0x144]
add esp, 4
mov byte [esi + ecx], al
inc esi
cmp esi, ebx
jne 0x465606
mov edi, dword [ebp - 0x148]
cmp dword [edi + 0x14], 0x10
jb 0x465631
mov eax, dword [edi]
jmp 0x465633
mov eax, edi
push dword [ebp - 0x150]
push eax
call fcn.00527540
add esp, 8
test eax, eax
jne 0x46571a
mov esi, dword [ebp - 0x13c]
add edi, 0x18
inc esi
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x13c], esi
cmp esi, dword [ebp - 0x138]
jb 0x4655b0
mov ebx, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x134]
mov edi, dword [ebp - 0x130]
push 0
mov dword [ebx + 0x14], 0xf
mov ecx, ebx
mov dword [ebx + 0x10], 0
push 0x552a40
mov byte [ebx], 0
call fcn.00404940
test esi, esi
je 0x4656de
push dword [ebp - 0x138]
lea eax, [ebp - 0x134]
push eax
push edi
push esi
call fcn.00406610
mov ecx, dword [ebp - 0x12c]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0x10
imul ecx
lea ecx, [ebp - 0x134]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00414d70
mov eax, dword [ebp - 0x114]
cmp eax, 0x10
jb 0x4656fc
inc eax
lea ecx, [ebp - 0x128]
push eax
push dword [ebp - 0x128]
call fcn.00404ab0
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.0052388c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x13c]
mov esi, dword [ebp - 0x14c]
mov ecx, esi
mov ebx, dword [ebp - 0x134]
push 0xffffffffffffffff
lea eax, [eax + eax*2]
push 0
lea eax, [ebx + eax*8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push eax
mov byte [esi], 0
call fcn.00404820
test ebx, ebx
je 0x465795
push dword [ebp - 0x138]
lea ecx, [ebp - 0x134]
push ecx
push dword [ebp - 0x130]
push ebx
call fcn.00406610
mov ecx, dword [ebp - 0x12c]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 0x10
imul ecx
lea ecx, [ebp - 0x134]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
call fcn.00414d70
mov eax, dword [ebp - 0x114]
cmp eax, 0x10
jb 0x4657b3
inc eax
lea ecx, [ebp - 0x128]
push eax
push dword [ebp - 0x128]
call fcn.00404ab0
mov eax, esi
jmp 0x4656fe