Function at 0x100079d1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012744
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0x40
call fcn.1000d575
add esp, 4
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x134], edx
cmp dword [ebp - 0x20], 0
jne 0x10007a3d
mov dword [ebp - 0x24], 0x20a
push 0x10013978
lea eax, [ebp - 0x24]
push eax
call fcn.1000db6a
push 0xf8
call fcn.1000d575
add esp, 4
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x138], eax
cmp dword [ebp - 0x28], 0
jne 0x10007a80
mov dword [ebp - 0x2c], 0x20a
push 0x10013978
lea ecx, [ebp - 0x2c]
push ecx
call fcn.1000db6a
push 0x60
call fcn.1000d575
add esp, 4
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
cmp dword [ebp - 0x30], 0
jne 0x10007abc
mov dword [ebp - 0x34], 0x20a
push 0x10013978
lea edx, [ebp - 0x34]
push edx
call fcn.1000db6a
push 0x18
call fcn.1000d575
add esp, 4
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x38]
mov dword [ecx + 4], edx
cmp dword [ebp - 0x38], 0
jne 0x10007af9
mov dword [ebp - 0x3c], 0x20a
push 0x10013978
lea eax, [ebp - 0x3c]
push eax
call fcn.1000db6a
mov dword [ebp - 0x14], 0
jmp 0x10007b0b
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x14
jae 0x10007b57
push 0x28
call fcn.1000d575
add esp, 4
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x40]
mov dword [ecx + eax*4 + 0x13c], edx
cmp dword [ebp - 0x40], 0
jne 0x10007b55
mov dword [ebp - 0x44], 0x20a
push 0x10013978
lea eax, [ebp - 0x44]
push eax
call fcn.1000db6a
jmp 0x10007b02
push 0x40
call fcn.1000d575
add esp, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x48]
mov dword [edx + 0x18c], eax
cmp dword [ebp - 0x48], 0
jne 0x10007b97
mov dword [ebp - 0x4c], 0x20a
push 0x10013978
lea ecx, [ebp - 0x4c]
push ecx
call fcn.1000db6a
push 0xf8
call fcn.1000d575
add esp, 4
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x190], ecx
cmp dword [ebp - 0x50], 0
jne 0x10007bda
mov dword [ebp - 0x54], 0x20a
push 0x10013978
lea edx, [ebp - 0x54]
push edx
call fcn.1000db6a
push 0x40
call fcn.1000d575
add esp, 4
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x58]
mov dword [ecx + 8], edx
cmp dword [ebp - 0x58], 0
jne 0x10007c17
mov dword [ebp - 0x5c], 0x20a
push 0x10013978
lea eax, [ebp - 0x5c]
push eax
call fcn.1000db6a
mov dword [ebp - 0x14], 0
jmp 0x10007c29
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 5
jae 0x10007c75
push 0x28
call fcn.1000d575
add esp, 4
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x60]
mov dword [ecx + eax*4 + 0x194], edx
cmp dword [ebp - 0x60], 0
jne 0x10007c73
mov dword [ebp - 0x64], 0x20a
push 0x10013978
lea eax, [ebp - 0x64]
push eax
call fcn.1000db6a
jmp 0x10007c20
push 0
push 0x24
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x10007ca1
mov dword [ebp - 0x68], 0x30e
push 0x10013978
lea edx, [ebp - 0x68]
push edx
call fcn.1000db6a
push 0x100165d8
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
jne 0x10007ccc
mov dword [ebp - 0x6c], 0x30a
push 0x10013978
lea ecx, [ebp - 0x6c]
push ecx
call fcn.1000db6a
mov edx, dword [ebp + 8]
add edx, 0xc
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10007486
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 9
je 0x10007d00
mov dword [ebp - 0x70], 0x10c
push 0x10013978
lea ecx, [ebp - 0x70]
push ecx
call fcn.1000db6a
push 0xc0de51a9
push 0x100048c0
mov ecx, dword [ebp + 8]
call fcn.10007380
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
add edx, 4
mov dword [ebp - 0x18], edx
push 0xc0dee2de
push 0x100048c0
mov ecx, dword [ebp + 8]
call fcn.10007380
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x128], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x128]
push eax
call fcn.1000d575
add esp, 4
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x74]
mov dword [edx + 0x114], eax
cmp dword [ebp - 0x74], 0
jne 0x10007d96
mov dword [ebp - 0x78], 0x20a
push 0x10013978
lea ecx, [ebp - 0x78]
push ecx
call fcn.1000db6a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x128]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x114]
push eax
call fcn.1000d240
add esp, 0xc
push 0xda1eda1e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x114]
push edx
mov ecx, dword [ebp + 8]
call fcn.10007380
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xbc]
mov dword [eax + 0x11c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x128]
push eax
call fcn.1000d575
add esp, 4
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x7c]
mov dword [edx + 0x118], eax
cmp dword [ebp - 0x7c], 0
jne 0x10007e2a
mov dword [ebp - 0x80], 0x20a
push 0x10013978
lea ecx, [ebp - 0x80]
push ecx
call fcn.1000db6a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [eax], 0xcccccccc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [edx + 0x20], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ecx + 0x24], 0
jmp 0x10007e69
mov dword [ebp - 4], 0xffffffff
mov eax, 9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4