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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4395a5
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x44cc80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x238], esi
mov edi, edx
xor ebx, ebx
push ebx
push str.COperateFile::UninstallProc
lea eax, [ebp - 0x264]
push eax
call fcn.00405b00
add esp, 0xc
mov dword [ebp - 4], ebx
mov word [ebp - 0x220], bx
push 0x206
push ebx
lea ecx, [ebp - 0x21e]
push ecx
call fcn.004250c0
add esp, 0xc
lea ecx, [ebp - 0x224]
call fcn.00404d50
mov byte [ebp - 4], 1
mov ebx, 2
mov byte [ebp - 4], bl
lea edx, [ebp - 0x22c]
push edx
push edi
call fcn.00414a30
mov byte [ebp - 4], 3
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
sete byte [ebp - 0x225]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x22c]
call fcn.00405f60
cmp byte [ebp - 0x225], 0
je 0x407c35
lea ecx, [ebp - 0x22c]
push ecx
push edi
call fcn.00401000
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.00404a30
mov ecx, eax
call fcn.00406770
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x22c]
call fcn.00405f60
mov dword [ebp - 0x254], 0x8080000c
push 0x44729c
lea edx, [ebp - 0x254]
push edx
call fcn.00426b1b
lea eax, [ebp - 0x22c]
push eax
push edi
call fcn.00414c10
mov byte [ebp - 4], 5
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
setne byte [ebp - 0x225]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x22c]
call fcn.00405f60
cmp byte [ebp - 0x225], 0
je 0x407d9d
lea edx, [ebp - 0x22c]
push edx
push edi
call fcn.00414c10
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x224]
call fcn.00404a50
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x22c]
call fcn.00405f60
lea ecx, [ebp - 0x224]
call fcn.00404a30
push esi
mov ecx, eax
call fcn.00409270
mov dword [ebp - 0x230], eax
cmp eax, 0x800000
je 0x407cd0
mov dword [ebp - 0x250], eax
push 0x44729c
lea eax, [ebp - 0x250]
push eax
call fcn.00426b1b
lea esi, [ebp - 0x224]
call fcn.00403850
push eax
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, esi
call fcn.00403990
mov byte [ebp - 4], 7
push eax
mov ecx, esi
call fcn.00404a50
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x22c]
call fcn.00405f60
push 0
push 0x17
lea edx, [ebp - 0x220]
push edx
push 0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00404a30
push eax
call fcn.00423cb2
add esp, 0xc
test eax, eax
je 0x407d54
push 0
push ebx
lea edx, [ebp - 0x220]
push edx
push 0
call esi
lea ecx, [ebp - 0x224]
call fcn.00404a30
mov ecx, dword [ebp - 0x238]
push ecx
lea edx, [ebp - 0x220]
mov ecx, eax
call fcn.00409390
mov dword [ebp - 0x230], eax
cmp eax, 0x800000
je 0x407d97
mov dword [ebp - 0x25c], eax
push 0x44729c
lea edx, [ebp - 0x25c]
push edx
call fcn.00426b1b
mov esi, dword [ebp - 0x238]
lea eax, [ebp - 0x22c]
push eax
push edi
call fcn.00414b20
mov byte [ebp - 4], 8
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
setne byte [ebp - 0x225]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x22c]
call fcn.00405f60
cmp byte [ebp - 0x225], 0
je 0x407f00
lea edx, [ebp - 0x22c]
push edx
push edi
call fcn.00414b20
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x224]
call fcn.00404a50
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x22c]
call fcn.00405f60
lea ecx, [ebp - 0x224]
call fcn.00404a30
push esi
mov ecx, eax
call fcn.00409270
mov dword [ebp - 0x230], eax
cmp eax, 0x800000
je 0x407e38
mov dword [ebp - 0x23c], eax
push 0x44729c
lea eax, [ebp - 0x23c]
push eax
call fcn.00426b1b
lea esi, [ebp - 0x224]
call fcn.00403850
push eax
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, esi
call fcn.00403990
mov byte [ebp - 4], 0xa
push eax
mov ecx, esi
call fcn.00404a50
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x22c]
call fcn.00405f60
push 0
push 0x19
lea edx, [ebp - 0x220]
push edx
push 0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00404a30
push eax
call fcn.00423cb2
add esp, 0xc
test eax, eax
je 0x407ebd
push 0
push 0x10
lea edx, [ebp - 0x220]
push edx
push 0
call esi
lea ecx, [ebp - 0x224]
call fcn.00404a30
mov ecx, dword [ebp - 0x238]
push ecx
lea edx, [ebp - 0x220]
mov ecx, eax
call fcn.00409390
mov dword [ebp - 0x230], eax
cmp eax, 0x800000
je 0x407f00
mov dword [ebp - 0x248], eax
push 0x44729c
lea edx, [ebp - 0x248]
push edx
call fcn.00426b1b
lea eax, [ebp - 0x234]
push eax
push edi
call fcn.00414a30
mov esi, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x258]
push ecx
push edi
call fcn.00414690
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 0xc
mov ecx, esi
call fcn.00404a30
push eax
mov ecx, dword [ebp - 0x22c]
call fcn.00404a30
push eax
push 0x43fe0c
lea edx, [ebp - 0x224]
push edx
call fcn.00409c70
add esp, 0x10
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x258]
call fcn.00405f60
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x234]
call fcn.00405f60
lea ecx, [ebp - 0x224]
call fcn.00404a30
push eax
push str.Target_Path_____s_
push 7
lea eax, [ebp - 0x264]
push eax
call fcn.00404dc0
add esp, 0x10
lea ecx, [ebp - 0x224]
call fcn.00404a30
push eax
mov ecx, dword [ebp - 0x238]
call fcn.00408ac0
mov dword [ebp - 0x230], eax
cmp eax, 0x800000
je 0x407fcc
mov dword [ebp - 0x240], eax
push 0x44729c
lea ecx, [ebp - 0x240]
push ecx
call fcn.00426b1b
lea esi, [ebp - 0x224]
call fcn.00403850
push eax
lea edx, [ebp - 0x234]
push edx
mov ecx, esi
call fcn.00403990
mov byte [ebp - 4], 0xd
push eax
mov ecx, esi
call fcn.00404a50
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x234]
call fcn.00405f60
lea eax, [ebp - 0x234]
push eax
push edi
call fcn.00414690
mov byte [ebp - 4], 0xe
mov ecx, eax
call fcn.00404a30
mov esi, eax
lea ecx, [ebp - 0x224]
call fcn.00404a30
mov ecx, dword [ebp - 0x238]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00409390
mov esi, eax
mov dword [ebp - 0x230], esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x234]
call fcn.00405f60
cmp esi, 0x800000
je 0x40806a
mov dword [ebp - 0x244], esi
push 0x44729c
lea edx, [ebp - 0x244]
push edx
call fcn.00426b1b
lea eax, [ebp - 0x234]
push eax
push edi
call fcn.00401000
mov byte [ebp - 4], 0xf
mov ecx, eax
call fcn.00404a30
push eax
lea ecx, [ebp - 0x224]
call fcn.00405ee0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x234]
call fcn.00405f60
lea ecx, [ebp - 0x224]
call fcn.00404a30
mov ecx, dword [ebp - 0x238]
push ecx
mov ecx, eax
call fcn.00409270
mov esi, eax
mov dword [ebp - 0x230], esi
cmp esi, 0x800000
je 0x4080dc
mov dword [ebp - 0x24c], esi
push 0x44729c
lea edx, [ebp - 0x24c]
push edx
call fcn.00426b1b
mov dword [ebp - 4], 1
jmp 0x408122
push esi
push str.return_DWORD__d__n
push ebx
lea edx, [ebp - 0x264]
push edx
call fcn.00404dc0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00405f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.00405a70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004237ad
mov esp, ebp
pop ebp
ret