Function at 0x411313
Capabilities:
Get common file path
Get program files directory
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push edi
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x210], 0
mov byte [ebp - 0x208], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x208]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [ebp - 0x21c]
cmp dword [edx + 0x434], 0
jne 0x4113b3
push 0
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x4113b3
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x4113c3
xor eax, eax
jmp 0x411ee1
push 0
push 0x16
lea ecx, [ebp - 0x208]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x411495
lea edx, [ebp - 0x208]
push edx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jbe 0x411495
push 0x4c2628
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x411495
mov ecx, dword [ebp - 0x218]
lea edx, [ebp - 0x208]
sub ecx, edx
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp - 0x214]
mov byte [ebp + eax - 0x208], 0
mov ecx, dword [ebp - 0x21c]
cmp dword [ecx + 0x434], 0
je 0x411449
jmp 0x411495
lea edx, [ebp - 0x208]
push edx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x41145e
jmp 0x411495
push 0
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x41147f
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x41148f
xor eax, eax
jmp 0x411ee1
xor ecx, ecx
test ecx, ecx
jne 0x411438
push 0x4c2634
push 0x104
lea edx, [ebp - 0x208]
push edx
call fcn.00409000
mov dword [ebp - 0x20c], 0
jmp 0x4114c6
mov eax, dword [ebp - 0x20c]
add eax, 1
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0x1a
jge 0x411557
mov ecx, dword [ebp - 0x20c]
add ecx, 0x41
mov byte [ebp - 0x208], cl
lea edx, [ebp - 0x208]
push edx
call fcn.0042b650
add esp, 4
test eax, eax
je 0x411552
mov eax, dword [ebp - 0x21c]
cmp dword [eax + 0x434], 0
je 0x411506
jmp 0x411552
lea ecx, [ebp - 0x208]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x41151b
jmp 0x411552
push 0
lea edx, [ebp - 0x208]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x41153c
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x41154c
xor eax, eax
jmp 0x411ee1
xor eax, eax
test eax, eax
jne 0x4114f5
jmp 0x4114b7
lea ecx, [ebp - 0x104]
push ecx
push 0x104
lea edx, [ebp - 0x208]
push edx
call fcn.00409000
mov eax, dword [ebp - 0x21c]
cmp dword [eax + 0x434], 0
je 0x411580
jmp 0x4115cc
lea ecx, [ebp - 0x208]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411595
jmp 0x4115cc
push 0
lea edx, [ebp - 0x208]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x4115b6
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x4115c6
xor eax, eax
jmp 0x411ee1
xor eax, eax
test eax, eax
jne 0x41156f
lea ecx, [ebp - 0x104]
push ecx
push str._s_system32drivers_
push 0x104
lea edx, [ebp - 0x208]
push edx
call fcn.0040a150
add esp, 0x10
mov eax, dword [ebp - 0x21c]
cmp dword [eax + 0x434], 0
je 0x4115fd
jmp 0x411649
lea ecx, [ebp - 0x208]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411612
jmp 0x411649
push 0
lea edx, [ebp - 0x208]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x411633
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x411643
xor eax, eax
jmp 0x411ee1
xor eax, eax
test eax, eax
jne 0x4115ec
lea ecx, [ebp - 0x104]
push ecx
push str._s_system32_
push 0x104
lea edx, [ebp - 0x208]
push edx
call fcn.0040a150
add esp, 0x10
mov eax, dword [ebp - 0x21c]
cmp dword [eax + 0x434], 0
je 0x41167a
jmp 0x4116c6
lea ecx, [ebp - 0x208]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x41168f
jmp 0x4116c6
push 0
lea edx, [ebp - 0x208]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x4116b0
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x4116c0
xor eax, eax
jmp 0x411ee1
xor eax, eax
test eax, eax
jne 0x411669
lea ecx, [ebp - 0x104]
push ecx
push str._s_system_
push 0x104
lea edx, [ebp - 0x208]
push edx
call fcn.0040a150
add esp, 0x10
mov eax, dword [ebp - 0x21c]
cmp dword [eax + 0x434], 0
je 0x4116f7
jmp 0x411743
lea ecx, [ebp - 0x208]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x41170c
jmp 0x411743
push 0
lea edx, [ebp - 0x208]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x41172d
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x41173d
xor eax, eax
jmp 0x411ee1
xor eax, eax
test eax, eax
jne 0x4116e6
lea ecx, [ebp - 0x104]
push ecx
push 0x4c266c
push 0x104
lea edx, [ebp - 0x208]
push edx
call fcn.0040a150
add esp, 0x10
mov eax, dword [ebp - 0x21c]
cmp dword [eax + 0x434], 0
je 0x411774
jmp 0x4117c0
lea ecx, [ebp - 0x208]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411789
jmp 0x4117c0
push 0
lea edx, [ebp - 0x208]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x4117aa
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x4117ba
xor eax, eax
jmp 0x411ee1
xor eax, eax
test eax, eax
jne 0x411763
lea ecx, [ebp - 0x104]
push ecx
push str._sinf_
push 0x104
lea edx, [ebp - 0x208]
push edx
call fcn.0040a150
add esp, 0x10
mov eax, dword [ebp - 0x21c]
cmp dword [eax + 0x434], 0
je 0x4117f1
jmp 0x41183d
lea ecx, [ebp - 0x208]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411806
jmp 0x41183d
push 0
lea edx, [ebp - 0x208]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x411827
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x411837
xor eax, eax
jmp 0x411ee1
xor eax, eax
test eax, eax
jne 0x4117e0
lea ecx, [ebp - 0x104]
push ecx
push str._s_system32dllcache_
push 0x104
lea edx, [ebp - 0x208]
push edx
call fcn.0040a150
add esp, 0x10
mov eax, dword [ebp - 0x21c]
cmp dword [eax + 0x434], 0
je 0x41186e
jmp 0x4118ba
lea ecx, [ebp - 0x208]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411883
jmp 0x4118ba
push 0
lea edx, [ebp - 0x208]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x4118a4
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x4118b4
xor eax, eax
jmp 0x411ee1
xor eax, eax
test eax, eax
jne 0x41185d
mov byte [ebp - 0x208], 0
push 0
push 0x1a
lea ecx, [ebp - 0x208]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x4118da
jmp 0x411926
lea edx, [ebp - 0x208]
push edx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x4118ef
jmp 0x411926
push 0
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x411910
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x411920
xor eax, eax
jmp 0x411ee1
xor ecx, ecx
test ecx, ecx
jne 0x4118ba
mov byte [ebp - 0x208], 0
push 0
push 0x23
lea edx, [ebp - 0x208]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x411946
jmp 0x411992
lea eax, [ebp - 0x208]
push eax
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x41195b
jmp 0x411992
push 0
lea ecx, [ebp - 0x208]
push ecx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x41197c
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x41198c
xor eax, eax
jmp 0x411ee1
xor edx, edx
test edx, edx
jne 0x411926
mov byte [ebp - 0x208], 0
push 0
push 0x2e
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x4119b2
jmp 0x4119fe
lea ecx, [ebp - 0x208]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x4119c7
jmp 0x4119fe
push 0
lea edx, [ebp - 0x208]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x4119e8
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x4119f8
xor eax, eax
jmp 0x411ee1
xor eax, eax
test eax, eax
jne 0x411992
mov byte [ebp - 0x208], 0
push 0
push 0x1f
lea ecx, [ebp - 0x208]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x411a1e
jmp 0x411a6a
lea edx, [ebp - 0x208]
push edx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411a33
jmp 0x411a6a
push 0
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x411a54
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x411a64
xor eax, eax
jmp 0x411ee1
xor ecx, ecx
test ecx, ecx
jne 0x4119fe
mov byte [ebp - 0x208], 0
push 0
push 0x16
lea edx, [ebp - 0x208]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x411a8a
jmp 0x411ad6
lea eax, [ebp - 0x208]
push eax
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411a9f
jmp 0x411ad6
push 0
lea ecx, [ebp - 0x208]
push ecx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x411ac0
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x411ad0
xor eax, eax
jmp 0x411ee1
xor edx, edx
test edx, edx
jne 0x411a6a
mov byte [ebp - 0x208], 0
push 0
push 0x18
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x411af6
jmp 0x411b42
lea ecx, [ebp - 0x208]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411b0b
jmp 0x411b42
push 0
lea edx, [ebp - 0x208]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x411b2c
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x411b3c
xor eax, eax
jmp 0x411ee1
xor eax, eax
test eax, eax
jne 0x411ad6
mov byte [ebp - 0x208], 0
push 0
push 0
lea ecx, [ebp - 0x208]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x411b62
jmp 0x411bae
lea edx, [ebp - 0x208]
push edx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411b77
jmp 0x411bae
push 0
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x411b98
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x411ba8
xor eax, eax
jmp 0x411ee1
xor ecx, ecx
test ecx, ecx
jne 0x411b42
mov byte [ebp - 0x208], 0
push 0
push 0x10
lea edx, [ebp - 0x208]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x411bce
jmp 0x411c1a
lea eax, [ebp - 0x208]
push eax
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411be3
jmp 0x411c1a
push 0
lea ecx, [ebp - 0x208]
push ecx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x411c04
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x411c14
xor eax, eax
jmp 0x411ee1
xor edx, edx
test edx, edx
jne 0x411bae
mov byte [ebp - 0x208], 0
push 0
push 0x17
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x411c3a
jmp 0x411c86
lea ecx, [ebp - 0x208]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411c4f
jmp 0x411c86
push 0
lea edx, [ebp - 0x208]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x411c70
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x411c80
xor eax, eax
jmp 0x411ee1
xor eax, eax
test eax, eax
jne 0x411c1a
mov byte [ebp - 0x208], 0
push 0
push 6
lea ecx, [ebp - 0x208]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x411ca6
jmp 0x411cf2
lea edx, [ebp - 0x208]
push edx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411cbb
jmp 0x411cf2
push 0
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x411cdc
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x411cec
xor eax, eax
jmp 0x411ee1
xor ecx, ecx
test ecx, ecx
jne 0x411c86
mov byte [ebp - 0x208], 0
push 0
push 0x1c
lea edx, [ebp - 0x208]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x411d12
jmp 0x411d5e
lea eax, [ebp - 0x208]
push eax
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411d27
jmp 0x411d5e
push 0
lea ecx, [ebp - 0x208]
push ecx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x411d48
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x411d58
xor eax, eax
jmp 0x411ee1
xor edx, edx
test edx, edx
jne 0x411cf2
mov byte [ebp - 0x208], 0
push 0
push 5
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x411d7e
jmp 0x411dca
lea ecx, [ebp - 0x208]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411d93
jmp 0x411dca
push 0
lea edx, [ebp - 0x208]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x411db4
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x411dc4
xor eax, eax
jmp 0x411ee1
xor eax, eax
test eax, eax
jne 0x411d5e
mov byte [ebp - 0x208], 0
push 0
push 0x2b
lea ecx, [ebp - 0x208]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x411dea
jmp 0x411e36
lea edx, [ebp - 0x208]
push edx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411dff
jmp 0x411e36
push 0
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x411e20
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x411e30
xor eax, eax
jmp 0x411ee1
xor ecx, ecx
test ecx, ecx
jne 0x411dca
mov byte [ebp - 0x208], 0
push 0
push 2
lea edx, [ebp - 0x208]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x411e56
jmp 0x411e9c
lea eax, [ebp - 0x208]
push eax
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x411e6b
jmp 0x411e9c
push 0
lea ecx, [ebp - 0x208]
push ecx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x411e89
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x411e96
xor eax, eax
jmp 0x411ee1
xor edx, edx
test edx, edx
jne 0x411e36
push 0
push 0x26
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x411ed1
push 1
lea ecx, [ebp - 0x208]
push ecx
mov ecx, dword [ebp - 0x21c]
call fcn.0040bbc8
cmp eax, 0xffffffff
jne 0x411ed1
or eax, 0xffffffff
jmp 0x411ee1
call fcn.00435f76
test eax, eax
je 0x411ede
xor eax, eax
jmp 0x411ee1
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret