Function at 0x10016710
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100971b9
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x100c78d4]
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
xor eax, eax
mov dword [ebp - 0x220], 0
mov bl, 1
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
cmp byte [ecx + 0x94], al
je 0x10016856
call fcn.100332f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001684a
push 0x5a
push str.d:jenkins.jenkinsworkspacegroup_clean_ai_cooling_ai_cooling_ai_cooling_srcmain_wnd.cc
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], al
call fcn.10007ce0
push 3
push 0x1009e894
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], bl
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.10007ce0
mov byte [ebp - 4], 2
call fcn.100332f0
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x2ab
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.100047b0
mov esi, eax
push str._self_not_pop__vip
push esi
mov byte [ebp - 4], 3
call fcn.10005770
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.100059a0
lea ecx, [ebp - 0x24c]
call fcn.100051e0
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0
call fcn.100051e0
push 3
push 0x1009f404
jmp 0x10016b01
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1006bcf0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100cca70]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.ComputerZ.set
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
je 0x100169ef
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x218]
push eax
push 0
push str.BlockPopUpADS
push str.general
call esi
mov edi, eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.BlockPopUpADSManualFlag
push str.general
call esi
cmp edi, 1
jne 0x100169ef
cmp eax, edi
jne 0x100169ef
call fcn.100332f0
mov ecx, eax
push edi
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, edi
jne 0x100169e3
push 0x5a
push str.d:jenkins.jenkinsworkspacegroup_clean_ai_cooling_ai_cooling_ai_cooling_srcmain_wnd.cc
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], al
call fcn.10007ce0
push 3
push 0x1009e894
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 4
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], 0
call fcn.10007ce0
mov byte [ebp - 4], 5
call fcn.100332f0
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x2b1
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.100047b0
mov esi, eax
push str._self_not_pop__block_pop_up_ads
push esi
mov byte [ebp - 4], 6
call fcn.10005770
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.100059a0
lea ecx, [ebp - 0x264]
call fcn.100051e0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0
call fcn.100051e0
push 7
push str.pup_ads
jmp 0x10016b01
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0
push eax
push 0
call fcn.10016e90
mov eax, dword [ebp - 0x234]
add esp, 8
and eax, 0x12
cmp al, 0x12
jne 0x10016ba6
call fcn.100332f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10016afa
push 0x5a
push str.d:jenkins.jenkinsworkspacegroup_clean_ai_cooling_ai_cooling_ai_cooling_srcmain_wnd.cc
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], al
call fcn.10007ce0
push 3
push 0x1009e894
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 7
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], 0
call fcn.10007ce0
mov byte [ebp - 4], 8
call fcn.100332f0
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x2b7
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.100047b0
mov esi, eax
push str._self_not_pop__game_mode
push esi
mov byte [ebp - 4], 9
call fcn.10005770
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.100059a0
lea ecx, [ebp - 0x264]
call fcn.100051e0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0
call fcn.100051e0
push 9
push str.game_mode
lea ecx, [ebp - 0x230]
call fcn.10007de0
cmp byte [0x100cca5f], 0
jne 0x10016ba8
call fcn.100152d0
mov ecx, eax
test ecx, ecx
je 0x10016c02
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xa
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x234]
push str.ex_ary_reason__s
push eax
call fcn.10014f40
mov esi, dword [ebp - 0x234]
add esp, 0xc
push 0
push 0
push 1
push esi
push str.wintoast_avoid
call fcn.10015220
mov ecx, eax
call fcn.10049a00
mov byte [0x100cca5f], 1
add esi, 0xfffffff0
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10016ba8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10016ba8
xor bl, bl
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x10016be4
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10016bda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016c0c
push edx
push ecx
call fcn.1003430a
add esp, 8
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.10034680
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10014210
call fcn.1006f189
int3