Function at 0x100274e0
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e72bb
mov eax, dword fs:[0]
push eax
sub esp, 0x5ec
mov eax, dword [0x101170e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x584], 1
mov ecx, dword [ebp + 8]
call fcn.1000b330
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x584]
or eax, 1
mov dword [ebp - 0x584], eax
push 0x34
lea ecx, [ebp - 0x544]
call fcn.1002f1d0
push str.DeskDIY
lea ecx, [ebp - 0x5b0]
call fcn.1000d2b0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x5b0]
push ecx
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x544]
call fcn.1000f760
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5b0]
call fcn.10002420
push 0
push 0xf003f
lea ecx, [ebp - 0x544]
call fcn.1000fc50
test eax, eax
jne 0x100275b2
mov edx, dword [ebp + 8]
push edx
push str.Value
lea ecx, [ebp - 0x544]
call fcn.1000fb80
lea ecx, [ebp - 0x544]
call fcn.1000fab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x544]
call fcn.1000f850
xor eax, eax
jne 0x10027533
mov ecx, dword [ebp + 8]
call fcn.1000e560
cmp eax, 0x20
jne 0x10027609
mov dword [ebp - 0x584], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x584]
and ecx, 1
je 0x10027601
and dword [ebp - 0x584], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.10002420
mov eax, dword [ebp + 8]
jmp 0x10027ada
push 0x208
push 0
lea edx, [ebp - 0x2e0]
push edx
call fcn.10088fa0
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x2e0]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x2e0]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str..DeskDIY
lea edx, [ebp - 0x2e0]
push edx
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 0x57c], 0
push 0x100f3154
lea ecx, [ebp - 0x2e0]
push ecx
lea edx, [ebp - 0x57c]
push edx
call fcn.10091fdd
add esp, 0xc
cmp dword [ebp - 0x57c], 0
jne 0x1002768b
jmp 0x100277ca
push 2
push 0
mov eax, dword [ebp - 0x57c]
push eax
call fcn.10092780
add esp, 0xc
mov ecx, dword [ebp - 0x57c]
push ecx
call fcn.10092dd3
add esp, 4
mov dword [ebp - 0x58c], eax
push 0
push 0
mov edx, dword [ebp - 0x57c]
push edx
call fcn.10092780
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0x58c]
add ecx, 1
setb al
neg eax
or eax, ecx
push eax
call fcn.1009199d
add esp, 4
mov dword [ebp - 0x588], eax
cmp dword [ebp - 0x588], 0
jne 0x10027704
mov edx, dword [ebp - 0x57c]
push edx
call fcn.10092154
add esp, 4
jmp 0x100277ca
mov eax, dword [ebp - 0x58c]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x588]
push ecx
call fcn.10088fa0
add esp, 0xc
mov edx, dword [ebp - 0x57c]
push edx
mov eax, dword [ebp - 0x58c]
push eax
push 1
mov ecx, dword [ebp - 0x588]
push ecx
call fcn.1009236a
add esp, 0x10
cmp eax, dword [ebp - 0x58c]
jne 0x100277a4
mov edx, dword [ebp - 0x588]
push edx
lea ecx, [ebp - 0x5c8]
call fcn.10010a60
mov dword [ebp - 4], 4
lea eax, [ebp - 0x5c8]
push eax
lea ecx, [ebp - 0x5f8]
push ecx
call fcn.1000f370
add esp, 8
mov dword [ebp - 0x594], eax
mov edx, dword [ebp - 0x594]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000d550
lea ecx, [ebp - 0x5f8]
call fcn.10002420
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c8]
call fcn.100023d0
mov eax, dword [ebp - 0x588]
push eax
call fcn.10091982
add esp, 4
mov ecx, dword [ebp - 0x57c]
push ecx
call fcn.10092154
add esp, 4
xor edx, edx
jne 0x10027609
mov ecx, dword [ebp + 8]
call fcn.1000e560
cmp eax, 0x20
jne 0x1002780a
mov dword [ebp - 0x584], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x584]
and eax, 1
je 0x10027802
and dword [ebp - 0x584], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.10002420
mov eax, dword [ebp + 8]
jmp 0x10027ada
push 0xc8
push 0
lea ecx, [ebp - 0xd8]
push ecx
call fcn.10088fa0
add esp, 0xc
lea edx, [ebp - 0x4f8]
push edx
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x100278eb
mov eax, 1
imul ecx, eax, 7
movzx edx, byte [ebp + ecx - 0x4f0]
push edx
mov eax, 1
imul ecx, eax, 6
movzx edx, byte [ebp + ecx - 0x4f0]
push edx
mov eax, 1
imul ecx, eax, 5
movzx edx, byte [ebp + ecx - 0x4f0]
push edx
mov eax, 1
shl eax, 2
movzx ecx, byte [ebp + eax - 0x4f0]
push ecx
mov edx, 1
imul eax, edx, 3
movzx ecx, byte [ebp + eax - 0x4f0]
push ecx
mov edx, 1
shl edx, 1
movzx eax, byte [ebp + edx - 0x4f0]
push eax
mov ecx, 1
shl ecx, 0
movzx edx, byte [ebp + ecx - 0x4f0]
push edx
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 0x4f0]
push edx
movzx eax, word [ebp - 0x4f2]
push eax
movzx ecx, word [ebp - 0x4f4]
push ecx
mov edx, dword [ebp - 0x4f8]
push edx
push str._08x_04x_04x_02x_02x_02x_02x_02x_02x_02x_02x
push 0x64
lea eax, [ebp - 0xd8]
push eax
call fcn.1000dd10
add esp, 0x38
jmp 0x10027924
mov dword [ebp - 0x590], 0
jmp 0x10027906
mov ecx, dword [ebp - 0x590]
add ecx, 1
mov dword [ebp - 0x590], ecx
cmp dword [ebp - 0x590], 0x20
jge 0x10027924
mov edx, 0x30
mov eax, dword [ebp - 0x590]
mov word [ebp + eax*2 - 0xd8], dx
jmp 0x100278f7
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000edf0
push 0x34
lea ecx, [ebp - 0x578]
call fcn.1002f1d0
push str.DeskDIY
lea ecx, [ebp - 0x5e0]
call fcn.1000d2b0
mov dword [ebp - 4], 5
lea edx, [ebp - 0x5e0]
push edx
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x578]
call fcn.1000f760
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5e0]
call fcn.10002420
push 1
push 0xf003f
lea ecx, [ebp - 0x578]
call fcn.1000fc50
test eax, eax
jne 0x100279b8
mov eax, dword [ebp + 8]
push eax
push str.Value
lea ecx, [ebp - 0x578]
call fcn.1000ff80
mov dword [ebp - 0x598], eax
lea ecx, [ebp - 0x578]
call fcn.1000fab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x578]
call fcn.1000f850
xor ecx, ecx
jne 0x10027933
push 0x208
push 0
lea edx, [ebp - 0x4e8]
push edx
call fcn.10088fa0
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x4e8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x4e8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str..DeskDIY
lea edx, [ebp - 0x4e8]
push edx
lea eax, [ebp - 0x4e8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 0x580], 0
push 0x100f31bc
lea ecx, [ebp - 0x4e8]
push ecx
lea edx, [ebp - 0x580]
push edx
call fcn.10091fdd
add esp, 0xc
cmp dword [ebp - 0x580], 0
jne 0x10027a4e
jmp 0x10027aac
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x510]
push ecx
call fcn.1000f270
add esp, 8
mov edx, dword [ebp - 0x580]
push edx
lea ecx, [ebp - 0x510]
call fcn.1000e560
push eax
push 1
lea ecx, [ebp - 0x510]
call fcn.1000b530
push eax
call fcn.100930cb
add esp, 0x10
mov eax, dword [ebp - 0x580]
push eax
call fcn.10092154
add esp, 4
lea ecx, [ebp - 0x510]
call fcn.100023d0
xor ecx, ecx
jne 0x100279cf
mov dword [ebp - 0x584], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x584]
and edx, 1
je 0x10027ad7
and dword [ebp - 0x584], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.10002420
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008511a
mov esp, ebp
pop ebp
ret