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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e912
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x10029054]
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 edi, ecx
call fcn.10002500
cmp dword [edi + 0x2c], 8
lea esi, [edi + 0x18]
jb 0x10002152
mov eax, dword [esi]
jmp 0x10002154
mov eax, esi
push eax
push str.CConfig::Init__s_
call fcn.10002ea0
lea ebx, [edi + 0x48]
add esp, 8
cmp ebx, esi
je 0x10002175
push 0xffffffffffffffff
push 0
push esi
mov ecx, ebx
call fcn.100035e0
push 0x10
push str.PDZipUtility.exe
mov ecx, ebx
call fcn.100034b0
lea ebx, [edi + 0x60]
cmp ebx, esi
je 0x10002196
push 0xffffffffffffffff
push 0
push esi
mov ecx, ebx
call fcn.100035e0
push 0x10
push str.PDZipConfigd.exe
mov ecx, ebx
call fcn.100034b0
xor eax, eax
mov dword [ebp - 0x62c], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
call fcn.100035e0
push 0xe
push str.PuddingZip.ini
lea ecx, [ebp - 0x640]
mov dword [ebp - 4], 0
call fcn.100034b0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1000b8d0
add esp, 0xc
lea eax, [ebp - 0x640]
cmp dword [ebp - 0x62c], 8
cmovae eax, dword [ebp - 0x640]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10002254
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
cmovae eax, dword [ebp - 0x640]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x1001f260
push str.CfgRootPath
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x10002262
xor ecx, ecx
jmp 0x1000227f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002270
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
lea esi, [edi + 0x90]
push eax
mov ecx, esi
call fcn.10003700
cmp dword [edi + 0xa0], 0
jne 0x10002426
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.1000b8d0
add esp, 0xc
lea eax, [ebp - 0x670]
mov ecx, edi
push eax
call fcn.10001940
cmp dword [ebp - 0x65c], 8
lea ecx, [ebp - 0x628]
push ecx
push 0x1001f360
push str.OverlayIcon
lea eax, [ebp - 0x670]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x670]
mov ecx, edi
push eax
push str.PuddingZip
lea eax, [ebp - 0x658]
push eax
call fcn.10001dc0
mov ebx, eax
cmp esi, ebx
je 0x10002342
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x1000231b
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.10003800
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10002333
mov eax, dword [esi]
jmp 0x10002335
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.100030e0
mov eax, dword [ebp - 0x644]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x10002364
inc eax
lea ecx, [ebp - 0x658]
push eax
push dword [ebp - 0x658]
call fcn.10003800
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x674]
mov dword [ebp - 0x674], 0x5c
push eax
mov ecx, esi
call fcn.10003910
inc eax
mov ecx, esi
push eax
push 0
lea eax, [ebp - 0x658]
push eax
call fcn.100039d0
mov ebx, eax
cmp esi, ebx
je 0x100023d2
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x100023ab
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.10003800
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x100023c3
mov eax, dword [esi]
jmp 0x100023c5
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.100030e0
mov eax, dword [ebp - 0x644]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x100023f4
inc eax
lea ecx, [ebp - 0x658]
push eax
push dword [ebp - 0x658]
call fcn.10003800
push 0x13
push str.PdZipOverlayout.ini
mov ecx, esi
call fcn.100034b0
mov eax, dword [ebp - 0x65c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x10002434
inc eax
lea ecx, [ebp - 0x670]
push eax
push dword [ebp - 0x670]
call fcn.10003800
jmp 0x10002434
push 0x15
push str.ConfigUseVestige.ini
mov ecx, esi
call fcn.100034b0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1000b8d0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x10002452
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x420]
push str.config_path___s
push eax
call fcn.10003a20
lea eax, [ebp - 0x420]
push eax
call fcn.10002ea0
add esp, 0x10
cmp word [ebp - 0x218], 0
jne 0x10002481
xor ecx, ecx
jmp 0x1000249f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002490
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [edi + 0xa8]
call fcn.10003700
push 0x11
push str.ConfigConfig.ini
lea ecx, [edi + 0xa8]
call fcn.100034b0
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x100024e2
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.10003800
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.10008c2e
mov esp, ebp
pop ebp
ret