Function at 0x100072c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x1004f5f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x17c], ecx
mov ecx, dword [ebp - 0x17c]
call fcn.1000c630
push 0
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.1001b6bc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100073ac
call fcn.1000da88
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002eb0
mov dword [ebp - 4], 0
push 0x65
call fcn.10019756
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10007345
jmp 0x10007353
push 0x65
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x1c]
call fcn.10009c40
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x24], ecx
xor edx, edx
cmp dword [ebp - 0x24], 0
sete dl
movzx eax, dl
test eax, eax
jne 0x1000739d
push 0
push 0
push 0x800
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
push 0x10
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10002f00
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ecx + 0x26c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
push 1
push 0x80
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax + 0x26c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
push 0
push 0x80
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
call fcn.1002abdb
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
call fcn.100050b0
mov ecx, dword [ebp - 0x17c]
mov word [ecx + 0x264], ax
lea ecx, [ebp - 0x18]
call fcn.10005140
mov edx, dword [ebp - 0x17c]
mov word [edx + 0x266], ax
lea ecx, [ebp - 0x18]
call fcn.10005010
mov ecx, dword [ebp - 0x17c]
mov word [ecx + 0x268], ax
mov ecx, dword [ebp - 0x17c]
call fcn.10008220
mov edx, dword [ebp - 0x17c]
add edx, 0x158
mov dword [ebp - 0x178], edx
mov eax, str.newElements
test eax, eax
jne 0x1000748d
mov dword [ebp - 0x13c], 0
jmp 0x100074a0
push str.newElements
call fcn.10029580
add esp, 4
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
push ecx
push str.newElements
mov ecx, dword [ebp - 0x178]
call fcn.100032d0
mov edx, dword [ebp - 0x17c]
mov dword [edx + 0x260], 0
push 0
push 5
mov eax, dword [ebp - 0x17c]
add eax, 0x15c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0
push 5
mov ecx, dword [ebp - 0x17c]
add ecx, 0x15c
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x10007514
push str.Scheduler.sdr
mov edx, dword [ebp - 0x17c]
add edx, 0x15c
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret