Function at 0x1001d3f0
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10134887
mov eax, dword fs:[0]
push eax
sub esp, 0x510
mov eax, dword [0x10182440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10106340
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.ultra_ppultra_config.ini
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001d471
xor al, al
jmp 0x1001d67a
push 0x20a
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.10106340
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
lea eax, [ebp - 0x424]
push eax
push 0x101418b4
push str.s_time
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x424]
push eax
call fcn.1010ae2e
push edx
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.1001e130
push 0
mov dword [ebp - 4], 0
call fcn.1010f121
push edx
push eax
lea eax, [ebp - 0x43c]
push eax
call fcn.1001e130
add esp, 0x20
mov byte [ebp - 4], 1
call fcn.10042510
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1001d617
push 0x48
push str.d:jenkins.jenkinsworkspacemgamewinopt_activeplugincommonutils.cpp
lea ecx, [ebp - 0x484]
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x470], 0xf
mov byte [ebp - 0x484], al
call fcn.1000b0d0
push 3
push 0x10141ba4
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0xf
mov byte [ebp - 0x46c], 0
call fcn.1000b0d0
push 0x381
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x51c]
call fcn.1000c690
mov edi, eax
push str.tpi_show_time:
push edi
mov byte [ebp - 4], 4
call fcn.1000b380
cmp dword [ebp - 0x440], 8
lea ecx, [ebp - 0x454]
mov esi, str._null_
cmovae ecx, dword [ebp - 0x454]
mov eax, esi
test ecx, ecx
cmovne eax, ecx
push eax
push edi
call fcn.1000b380
push str._curTime:
push edi
call fcn.1000b380
cmp dword [ebp - 0x428], 8
lea eax, [ebp - 0x43c]
cmovae eax, dword [ebp - 0x43c]
test eax, eax
cmovne esi, eax
push esi
push edi
call fcn.1000b380
add esp, 0x20
call fcn.10042510
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x51c]
call fcn.1000dac0
lea ecx, [ebp - 0x46c]
call fcn.1000a850
lea ecx, [ebp - 0x484]
call fcn.1000a850
cmp dword [ebp - 0x428], 8
lea eax, [ebp - 0x43c]
mov edx, dword [ebp - 0x444]
lea ecx, [ebp - 0x454]
cmovae eax, dword [ebp - 0x43c]
cmp dword [ebp - 0x440], 8
cmovae ecx, dword [ebp - 0x454]
cmp edx, dword [ebp - 0x42c]
jne 0x1001d660
push edx
push eax
push ecx
call fcn.1000a740
add esp, 0xc
test eax, eax
jne 0x1001d660
mov bl, 1
jmp 0x1001d662
xor bl, bl
lea ecx, [ebp - 0x43c]
call fcn.10009070
lea ecx, [ebp - 0x454]
call fcn.10009070
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c427e
mov esp, ebp
pop ebp
ret