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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100974b9
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x100c4350]
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
mov ebx, ecx
xor eax, eax
mov byte [ebp - 0x231], 1
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
cmp byte [ebx + 0x2c], al
je 0x10019fdd
call fcn.1002c4b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10019fbf
push 0x6b
push str.d:jenkins.jenkinsworkspacegroup_cleanmemory_optimizer_promemory_optimizer_promem_opt_srcmain_wnd.cc
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], al
call fcn.10006d20
push 3
push 0x1009e898
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
call fcn.10006d20
mov byte [ebp - 4], 2
call fcn.1002c4b0
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0xed
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.100039c0
mov esi, eax
push str._self_not_pop__vip
push esi
mov byte [ebp - 4], 3
call fcn.10004980
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10004aa0
lea ecx, [ebp - 0x250]
call fcn.100043d0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0
call fcn.100043d0
push 3
push 0x1009fa04
lea ecx, [ebp - 0x230]
call fcn.10006e20
mov ecx, ebx
call fcn.1001d6b0
jmp 0x1001a2a5
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1006ba00
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100caa2c]
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 0x1001a188
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 0x1001a188
cmp eax, edi
jne 0x1001a188
call fcn.1002c4b0
mov ecx, eax
push edi
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, edi
jne 0x1001a16a
push 0x6b
push str.d:jenkins.jenkinsworkspacegroup_cleanmemory_optimizer_promemory_optimizer_promem_opt_srcmain_wnd.cc
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], al
call fcn.10006d20
push 3
push 0x1009e898
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 4
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
call fcn.10006d20
mov byte [ebp - 4], 5
call fcn.1002c4b0
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0xf4
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.100039c0
mov esi, eax
push str._self_not_pop__block_pop_up_ads
push esi
mov byte [ebp - 4], 6
call fcn.10004980
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10004aa0
lea ecx, [ebp - 0x268]
call fcn.100043d0
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0
call fcn.100043d0
push 7
push str.pup_ads
lea ecx, [ebp - 0x230]
call fcn.10006e20
mov ecx, ebx
call fcn.1001d6b0
jmp 0x1001a2a5
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 0
push eax
push 0
call fcn.1001a5f0
mov eax, dword [ebp - 0x238]
add esp, 8
and eax, 0x12
cmp al, 0x12
jne 0x1001a377
call fcn.1002c4b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001a293
push 0x6b
push str.d:jenkins.jenkinsworkspacegroup_cleanmemory_optimizer_promemory_optimizer_promem_opt_srcmain_wnd.cc
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], al
call fcn.10006d20
push 3
push 0x1009e898
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 7
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
call fcn.10006d20
mov byte [ebp - 4], 8
call fcn.1002c4b0
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0xfb
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.100039c0
mov esi, eax
push str._self_not_pop__game_mode
push esi
mov byte [ebp - 4], 9
call fcn.10004980
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10004aa0
lea ecx, [ebp - 0x268]
call fcn.100043d0
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0
call fcn.100043d0
push 9
push str.game_mode
lea ecx, [ebp - 0x230]
call fcn.10006e20
cmp byte [0x100caa1d], 0
jne 0x1001a33d
call fcn.10004f30
mov ecx, eax
test ecx, ecx
je 0x1001a3a3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x238], 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 - 0x238]
push str.ex_ary_reason__s
push eax
call fcn.100175e0
mov esi, dword [ebp - 0x238]
add esp, 0xc
push 0
push 0
push 1
push esi
push str.wintoast_avoid
call fcn.100178c0
mov ecx, eax
call fcn.100493b0
mov byte [0x100caa1d], 1
add esi, 0xfffffff0
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001a33d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, byte [ebp - 0x231]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1001a385
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a37b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a3ad
jmp 0x1001a37b
xor bl, bl
jmp 0x1001a343
push edx
push ecx
call fcn.1002e0a6
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.1002e425
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10016b70
call fcn.1006edd9
int3