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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd50
push ebx
mov dword [ebp - 0x98], eax
mov eax, 0x5ecd80
call fcn.005d0a3c
mov word [ebp - 0x84], 0xc
xor edx, edx
mov dword [ebp - 4], edx
inc dword [ebp - 0x78]
mov word [ebp - 0x84], 0x18
mov word [ebp - 0x84], 0x24
push 1
push 0
lea ecx, [ebp - 0x99]
push ecx
call fcn.005d051b
add esp, 0xc
lea eax, [ebp - 0x99]
mov dl, byte [eax]
push edx
xor ecx, ecx
mov dword [ebp - 8], ecx
lea eax, [ebp - 8]
push eax
inc dword [ebp - 0x78]
xor edx, edx
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x10]
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x388]
mov eax, dword [ecx + 0x110]
call fcn.00469620
lea edx, [ebp - 0x10]
push dword [edx]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x388]
mov eax, dword [ecx + 0x110]
call fcn.004695e0
lea edx, [ebp - 0xc]
push dword [edx]
mov edx, 0x5eb485
lea eax, [ebp - 0x14]
call fcn.005de4c0
inc dword [ebp - 0x78]
mov ecx, dword [eax]
pop eax
pop edx
call fcn.0046f788
dec dword [ebp - 0x78]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005de650
mov word [ebp - 0x84], 0x18
push 1
push 0x17
lea ecx, [ebp - 0x2b0]
push ecx
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathW
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x4e8]
mov eax, dword [ebp - 0x98]
call fcn.004123f0
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x500], 2
jge 0x40bf6e
mov word [ebp - 0x84], 0x30
mov edx, 0x5eb486
lea eax, [ebp - 0x1c]
call fcn.005de4c0
push eax
inc dword [ebp - 0x78]
lea edx, [ebp - 0x2b0]
lea eax, [ebp - 0x18]
call fcn.005de5ec
inc dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
inc dword [ebp - 0x78]
pop edx
call fcn.005de6a0
lea eax, [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 0x24]
inc dword [ebp - 0x78]
mov edx, dword [ebp - 0x98]
add edx, 0x4e8
call fcn.005de6a0
lea eax, [ebp - 0x24]
push eax
mov edx, 0x5eb498
lea eax, [ebp - 0x28]
call fcn.005de4c0
inc dword [ebp - 0x78]
lea edx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2c]
inc dword [ebp - 0x78]
pop eax
call fcn.005de6a0
lea eax, [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x30], edx
lea ecx, [ebp - 0x30]
inc dword [ebp - 0x78]
lea edx, [ebp - 8]
call fcn.005de6a0
lea eax, [ebp - 0x30]
push eax
mov edx, 0x5eb49a
lea eax, [ebp - 0x34]
call fcn.005de4c0
inc dword [ebp - 0x78]
lea edx, [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x38]
inc dword [ebp - 0x78]
pop eax
call fcn.005de6a0
lea edx, [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.005de678
dec dword [ebp - 0x78]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.005de650
jmp 0x40c17b
mov word [ebp - 0x84], 0x3c
mov edx, 0x5eb49f
lea eax, [ebp - 0x40]
call fcn.005de4c0
push eax
inc dword [ebp - 0x78]
lea edx, [ebp - 0x2b0]
lea eax, [ebp - 0x3c]
call fcn.005de5ec
inc dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x44]
inc dword [ebp - 0x78]
pop edx
call fcn.005de6a0
lea eax, [ebp - 0x44]
xor edx, edx
mov dword [ebp - 0x48], edx
lea ecx, [ebp - 0x48]
inc dword [ebp - 0x78]
mov edx, dword [ebp - 0x98]
add edx, 0x4e8
call fcn.005de6a0
lea eax, [ebp - 0x48]
push eax
mov edx, 0x5eb4b1
lea eax, [ebp - 0x4c]
call fcn.005de4c0
inc dword [ebp - 0x78]
lea edx, [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x50]
inc dword [ebp - 0x78]
pop eax
call fcn.005de6a0
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x500]
mov dword [ebp - 0xa0], eax
xor edx, edx
mov dword [ebp - 0x54], edx
push dword [ebp - 0xa0]
push 0x5eb4bc
lea ecx, [ebp - 0x54]
push ecx
call fcn.005de798
add esp, 0xc
lea edx, [ebp - 0x54]
inc dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x58]
inc dword [ebp - 0x78]
pop eax
call fcn.005de6a0
lea edx, [ebp - 0x58]
push edx
mov edx, 0x5eb4b3
lea eax, [ebp - 0x5c]
call fcn.005de4c0
inc dword [ebp - 0x78]
lea edx, [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x60]
inc dword [ebp - 0x78]
pop eax
call fcn.005de6a0
lea eax, [ebp - 0x60]
xor edx, edx
mov dword [ebp - 0x64], edx
lea ecx, [ebp - 0x64]
inc dword [ebp - 0x78]
lea edx, [ebp - 8]
call fcn.005de6a0
lea eax, [ebp - 0x64]
push eax
mov edx, 0x5eb4b6
lea eax, [ebp - 0x68]
call fcn.005de4c0
inc dword [ebp - 0x78]
lea edx, [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x6c]
inc dword [ebp - 0x78]
pop eax
call fcn.005de6a0
lea edx, [ebp - 0x6c]
lea eax, [ebp - 4]
call fcn.005de678
dec dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.005de650
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00468f3c
test al, al
jne 0x40c25c
push 0x5eb4c2
push 0
push 1
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x388]
add eax, 0x110
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
cmp dword [edx], 0
je 0x40c1c2
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ecx]
jmp 0x40c1c7
mov eax, 0x5eb4ca
push eax
push 0
mov word [ebp - 0x84], 0x48
xor edx, edx
mov dword [ebp - 0x70], edx
lea edx, [ebp - 0x70]
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x388]
mov eax, dword [ecx + 0x110]
call fcn.004694c4
cmp dword [ebp - 0x70], 0
je 0x40c200
mov ecx, dword [ebp - 0x70]
jmp 0x40c205
mov ecx, 0x5eb4c8
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x388]
add edx, 0x110
mov dword [ebp - 0xa4], edx
mov ebx, dword [ebp - 0xa4]
cmp dword [ebx], 0
je 0x40c232
mov eax, dword [ebp - 0xa4]
mov edx, dword [eax]
jmp 0x40c237
mov edx, 0x5eb4c6
cmp dword [ebp - 4], 0
je 0x40c242
mov eax, dword [ebp - 4]
jmp 0x40c247
mov eax, 0x5eb4c4
call fcn.00402b48
dec dword [ebp - 0x78]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x78]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005de650
mov ecx, dword [ebp - 0x94]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret