Function at 0x40c0e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x42bafc]
push ebx
push ebp
push esi
test eax, eax
push edi
mov byte [esp + 0x13], 0
jne 0x40c0fc
xor esi, esi
jmp 0x40c10c
mov esi, dword [esp + 0x23c]
mov ebx, 0x17
test esi, esi
jne 0x40c111
mov ebx, 2
mov ebp, dword [esp + 0x224]
push 0xc
push str.Start_Menu
push ebp
call fcn.0041b1f0
add esp, 0xc
test eax, eax
jne 0x40c154
mov al, byte [ebp + 0xc]
neg esi
sbb esi, esi
add ebp, 0xc
and esi, 0xb
add esi, 0xb
cmp al, 0x5c
mov ebx, esi
jne 0x40c143
inc ebp
cmp byte [ebp], 0
jne 0x40c1d0
xor ebp, ebp
jmp 0x40c1fb
push str.Startup
push ebp
call fcn.0041a830
add esp, 8
test eax, eax
jne 0x40c179
neg esi
sbb esi, esi
and esi, 0x11
add esi, 7
xor ebp, ebp
mov ebx, esi
jmp 0x40c1fb
push str.QuickLaunch
push ebp
call fcn.0041a830
add esp, 8
test eax, eax
jne 0x40c19b
neg esi
sbb esi, esi
and esi, 9
add esi, 0x1a
xor ebp, ebp
mov ebx, esi
jmp 0x40c1fb
push 9
push str.Desktop
push ebp
call fcn.0041b1f0
add esp, 0xc
test eax, eax
jne 0x40c1d0
mov al, byte [ebp + 9]
neg esi
sbb esi, esi
add ebp, 9
and esi, 9
add esi, 0x10
cmp al, 0x5c
mov ebx, esi
jne 0x40c1c6
inc ebp
cmp byte [ebp], 0
jne 0x40c1d0
xor ebp, ebp
jmp 0x40c1fb
test ebp, ebp
je 0x40c1fb
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
test esi, esi
jle 0x40c1fb
mov cl, byte [esp + 0x13]
cmp byte [eax + ebp], 0x5c
jne 0x40c1f2
inc cl
inc eax
cmp eax, esi
jl 0x40c1ea
mov byte [esp + 0x13], cl
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00401030
add esp, 8
test eax, eax
jne 0x40c364
cmp ebx, 0x1a
jne 0x40c27b
mov eax, dword [0x42bafc]
test eax, eax
jne 0x40c3a9
lea ecx, [esp + 0x14]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x14]
push edx
call fcn.004020b0
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
mov eax, dword [str.Application_Data]
mov ecx, dword [0x4266d8]
mov edx, dword [0x4266dc]
dec edi
mov dword [edi], eax
mov eax, dword [0x4266e0]
mov dword [edi + 4], ecx
mov cl, byte [0x4266e4]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov byte [edi + 0x10], cl
jmp 0x40c36e
cmp ebx, 0x23
jne 0x40c3a9
lea edx, [esp + 0x14]
push 0x1a
push edx
call fcn.00401030
add esp, 8
test eax, eax
mov eax, dword [0x42bafc]
jne 0x40c2f9
test eax, eax
jne 0x40c3a9
lea eax, [esp + 0x14]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x14]
push ecx
call fcn.004020b0
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
mov edx, dword [str.Application_Data]
mov eax, dword [0x4266d8]
mov ecx, dword [0x4266dc]
dec edi
mov dword [edi], edx
mov edx, dword [0x4266e0]
mov dword [edi + 4], eax
mov al, byte [0x4266e4]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov byte [edi + 0x10], al
jmp 0x40c36e
test eax, eax
je 0x40c3a9
lea ecx, [esp + 0x14]
push 0x5c
push ecx
call fcn.0041aa50
add esp, 8
test eax, eax
jne 0x40c328
mov cl, byte [eax + 0x4266d0]
mov byte [esp + eax + 0x14], cl
inc eax
test cl, cl
jne 0x40c314
jmp 0x40c3a9
lea edx, [esp + 0x14]
push 0x5c
push edx
mov byte [eax], 0
call fcn.0041aa50
add esp, 8
test eax, eax
jne 0x40c34f
mov cl, byte [eax + 0x4266d0]
mov byte [esp + eax + 0x14], cl
inc eax
test cl, cl
jne 0x40c33e
jmp 0x40c3a9
mov ecx, 0x4266b4
mov edx, eax
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x40c358
jmp 0x40c36e
cmp ebx, 0x1a
je 0x40c36e
cmp ebx, 0x23
jne 0x40c3a9
lea eax, [esp + 0x14]
push eax
call fcn.004020b0
xor eax, eax
mov edi, str.MicrosoftInternet_ExplorerQuick_Launch
or ecx, 0xffffffff
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebp, ebp
je 0x40c3eb
cmp byte [ebp], 0
je 0x40c3eb
lea eax, [esp + 0x14]
push eax
call fcn.004020b0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x14]
push eax
call fcn.004020f0
lea ecx, [esp + 0x18]
push ecx
call fcn.0041ad98
add esp, 8
test eax, eax
je 0x40c42f
lea edx, [esp + 0x14]
push edx
call fcn.004020b0
lea eax, [esp + 0x18]
push eax
call fcn.00402350
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041ad98
add esp, 0xc
test eax, eax
jne 0x40c5a9
lea edx, [esp + 0x14]
push edx
call fcn.004020b0
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x22c]
not ecx
dec ecx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x23c]
mov edx, dword [esp + 0x234]
mov ecx, ebp
push eax
mov eax, dword [esp + 0x234]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x23c]
push ecx
push edx
mov edx, dword [esp + 0x230]
lea ecx, [esp + 0x24]
push eax
push ecx
lea eax, [esp + 0x130]
push edx
push eax
call fcn.00407a30
add esp, 0x20
test eax, eax
jl 0x40c5a9
mov ebp, dword [esp + 0x240]
cmp ebp, 0xffffffff
je 0x40c594
mov eax, dword [0x42baf4]
test eax, eax
je 0x40c53f
lea ecx, [esp + 0x118]
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0041a830
add esp, 8
test eax, eax
je 0x40c53f
mov al, byte [esp + 0x118]
test al, al
je 0x40c547
mov edi, dword [esp + 0x228]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x118]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
jle 0x40c53f
sub ecx, edx
lea eax, [esp + ebx + 0x14]
lea esi, [esp + ecx + 0x118]
push esi
push eax
call fcn.0041a830
add esp, 8
test eax, eax
jne 0x40c53f
mov byte [esi - 1], al
jmp 0x40c547
mov byte [esp + 0x118], 0
test ebx, ebx
je 0x40c550
mov byte [esp + ebx + 0x13], 0
lea ecx, [esp + 0x13]
push 1
push ecx
push ebp
call fcn.004011a0
lea edx, [esp + 0x20]
push edx
push ebp
call fcn.0040c090
lea eax, [esp + 0x12c]
push eax
push ebp
call fcn.0040c090
lea ecx, [esp + ebx + 0x30]
push ecx
push ebp
call fcn.0040c090
add esp, 0x24
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
call section..text
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret