Function at 0x40c000
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563eab
mov eax, dword fs:[0]
push eax
sub esp, 0x3dc
mov eax, dword [0x5db100]
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 - 0x3b4], esi
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x28
mov dword [ebp - 0x3b0], 0
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0
mov dword [ebp - 0x3e8], esi
call edi
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x380], 0xf
mov dword [ebp - 0x384], 0
mov byte [ebp - 0x394], 0
jne 0x40c08b
xor ecx, ecx
jmp 0x40c09d
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c094
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x394]
call fcn.004043a0
push 2
push ecx
push 0x5cdd6c
lea ecx, [ebp - 0x394]
mov dword [ebp - 4], 1
call fcn.00415410
push eax
push 0
lea eax, [ebp - 0x3ac]
push eax
lea ecx, [ebp - 0x394]
call fcn.00402590
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
push 0
push 0
push 0x26
push 0
call edi
cmp byte [ebp - 0x218], 0
mov dword [ebp - 0x350], 0xf
mov dword [ebp - 0x354], 0
mov byte [ebp - 0x364], 0
jne 0x40c11c
xor ecx, ecx
jmp 0x40c12e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c125
sub ecx, edx
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x364]
call fcn.004043a0
lea eax, [ebp - 0x31c]
mov byte [ebp - 4], 3
push eax
push 0
push 0
push 0x2a
push 0
call edi
cmp byte [ebp - 0x31c], 0
mov dword [ebp - 0x338], 0xf
mov dword [ebp - 0x33c], 0
mov byte [ebp - 0x34c], 0
jne 0x40c17e
xor ecx, ecx
jmp 0x40c190
lea ecx, [ebp - 0x31c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c187
sub ecx, edx
push ecx
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x34c]
call fcn.004043a0
mov byte [ebp - 4], 4
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x5cddd8
lea edx, [ebp - 0x3ac]
mov dword [ebp - 0x3b0], 1
lea ecx, [ebp - 0x334]
call fcn.00417090
add esp, 4
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.004117f0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x320]
cmp eax, 0x10
jb 0x40c21a
inc eax
lea ecx, [ebp - 0x334]
push eax
push dword [ebp - 0x334]
call fcn.00404a80
push 0
push 0x5c9f81
lea ecx, [ebp - 0x3e4]
mov dword [ebp - 0x3d0], 0xf
mov dword [ebp - 0x3d4], 0
mov byte [ebp - 0x3e4], 0
call fcn.004043a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3cc]
push 6
push str.__x86_
mov dword [ebp - 0x3b8], 0xf
mov dword [ebp - 0x3bc], 0
mov byte [ebp - 0x3cc], 0
call fcn.004043a0
lea eax, [ebp - 0x3e4]
mov byte [ebp - 4], 7
push 0x5cddd8
push eax
lea edx, [ebp - 0x3cc]
lea ecx, [ebp - 0x364]
call fcn.0040bfa0
add esp, 4
lea ecx, [ebp - 0x334]
mov edx, eax
call fcn.00417090
add esp, 4
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004117f0
mov eax, dword [ebp - 0x320]
cmp eax, 0x10
jb 0x40c2d6
inc eax
lea ecx, [ebp - 0x334]
push eax
push dword [ebp - 0x334]
call fcn.00404a80
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x320], 0xf
mov dword [ebp - 0x324], 0
mov byte [ebp - 0x334], 0
cmp eax, 0x10
jb 0x40c30f
inc eax
lea ecx, [ebp - 0x3cc]
push eax
push dword [ebp - 0x3cc]
call fcn.00404a80
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x3b8], 0xf
mov dword [ebp - 0x3bc], 0
mov byte [ebp - 0x3cc], 0
cmp eax, 0x10
jb 0x40c34c
inc eax
lea ecx, [ebp - 0x3e4]
push eax
push dword [ebp - 0x3e4]
call fcn.00404a80
push 0x5cddd8
lea edx, [ebp - 0x34c]
lea ecx, [ebp - 0x334]
call fcn.00417090
add esp, 4
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.004117f0
mov eax, dword [ebp - 0x320]
cmp eax, 0x10
jb 0x40c38f
inc eax
lea ecx, [ebp - 0x334]
push eax
push dword [ebp - 0x334]
call fcn.00404a80
mov dword [ebp - 0x320], 0xf
mov dword [ebp - 0x324], 0
mov byte [ebp - 0x334], 0
mov dword [ebp - 0x368], 0xf
mov dword [ebp - 0x36c], 0
mov byte [ebp - 0x37c], 0
sub esp, 0x28
mov byte [ebp - 4], 0xb
mov eax, esp
lea ecx, [ebp - 0x37c]
mov dword [eax], vtable.std::_Func_impl_class__lambda_fc41d9313179dfa39bac3c74b9a3242f___class_std::allocator_int___void__char_const__.0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
call fcn.0040a750
mov eax, dword [ebp - 0x368]
add esp, 0x28
cmp eax, 0x10
jb 0x40c409
inc eax
lea ecx, [ebp - 0x37c]
push eax
push dword [ebp - 0x37c]
call fcn.00404a80
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x368], 0xf
mov dword [ebp - 0x36c], 0
mov byte [ebp - 0x37c], 0
cmp eax, 0x10
jb 0x40c442
inc eax
lea ecx, [ebp - 0x34c]
push eax
push dword [ebp - 0x34c]
call fcn.00404a80
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x338], 0xf
mov dword [ebp - 0x33c], 0
mov byte [ebp - 0x34c], 0
cmp eax, 0x10
jb 0x40c47b
inc eax
lea ecx, [ebp - 0x364]
push eax
push dword [ebp - 0x364]
call fcn.00404a80
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x350], 0xf
mov dword [ebp - 0x354], 0
mov byte [ebp - 0x364], 0
cmp eax, 0x10
jb 0x40c4b4
inc eax
lea ecx, [ebp - 0x3ac]
push eax
push dword [ebp - 0x3ac]
call fcn.00404a80
mov ecx, dword [ebp - 0x380]
mov dword [ebp - 0x398], 0xf
mov dword [ebp - 0x39c], 0
mov byte [ebp - 0x3ac], 0
cmp ecx, 0x10
jb 0x40c4ed
inc ecx
push ecx
push dword [ebp - 0x394]
lea ecx, [ebp - 0x394]
call fcn.00404a80
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.00448b50
mov esp, ebp
pop ebp
ret