Function at 0x7cff8fa7
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc48
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 1
pop ebp
lea ecx, [esi + 0x570]
mov dword [esp + 0x18], ebp
call fcn.7cfff550
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.7cff931e
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x7cff8fdf
mov ecx, esi
call fcn.7cff3b96
mov edi, 0x104
mov ecx, esi
push edi
call fcn.7cff3b96
push eax
lea eax, [esp + 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [esp + 0x228]
push 0x7cf436fc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetErrorMode]
call ebp
push 0x1000
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.7cff4380
test eax, eax
je 0x7cff930b
lea eax, [esp + 0x228]
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsAndAttributesW]
test eax, eax
je 0x7cff930b
lea eax, [esp + 0x228]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x2000
mov ecx, esi
call fcn.7cff4380
test eax, eax
je 0x7cff9301
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x85c]
push 0x200
push eax
push 0x7cf3339c
push ebx
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
mov dword [esp + 0x1c], eax
mov ebp, 0x7cf436ec
jne 0x7cff90c7
lea eax, [esp + 0x228]
mov dword [esp + 0x14], ebp
push eax
lea eax, [esp + 0x85c]
push 0x200
push eax
push 0x7cf3339c
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esp + 0x1c], eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [esp + 0x1c], 4
jl 0x7cff9301
cmp word [esp + 0x858], bx
lea eax, [esp + 0x858]
mov dword [esp + 0x10], eax
je 0x7cff9305
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x24]
push edi
push eax
push 0x7cf3339c
push dword [esp + 0x20]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x7cf33470
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x7cff9156
cmp dword [esi + 0x40], ebx
je 0x7cff92de
push 0xffffffffffffffff
push ebp
push ebx
push 0x7cf334f8
mov ecx, esi
call fcn.7cfff0b4
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.7cff8dd9
push 0xffffffffffffffff
lea eax, [esp + 0x24]
jmp 0x7cff91b7
push 0x7cf436d0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x7cff91ee
cmp dword [esi + 0x40], ebx
je 0x7cff92de
push edi
lea eax, [esp + 0x434]
push 0x7cf43678
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
lea eax, [esp + 0x20]
push edi
push eax
lea eax, [esp + 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
push 0xffffffffffffffff
push ebp
push ebx
push 0x7cf334f8
mov ecx, esi
call fcn.7cfff0b4
push 0xffffffffffffffff
lea eax, [esp + 0x434]
push eax
push ebx
push 0x7cf4364c
mov ecx, esi
call fcn.7cfff0b4
lea eax, [esp + 0x20]
push edi
push eax
push 0x2138
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0x20]
push 0xffffffffffffffff
push eax
push ebx
push 0x7cf43630
jmp 0x7cff92d7
push 0x7cf43624
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x7cff9249
push 0x110
mov ecx, esi
call fcn.7cff3b96
push eax
lea eax, [esp + 0x640]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [esp + 0x20]
push 0x110
push eax
lea eax, [esp + 0x640]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
lea eax, [esp + 0x638]
push 0xffffffffffffffff
push eax
push ebx
push 0x7cf43034
jmp 0x7cff92d7
push 0x7cf43618
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x7cff926b
lea eax, [esp + 0x20]
push 0xffffffffffffffff
push eax
push ebx
push 0x7cf43008
jmp 0x7cff92d7
push 0x7cf4360c
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x7cff92a0
lea eax, [esp + 0x20]
push 0x7cf351f8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x7cff92a0
cmp dword [esi + 0x40], ebx
je 0x7cff92de
push 0xffffffffffffffff
push 0x7cf435fc
jmp 0x7cff92d2
cmp dword [esi + 0x40], ebx
je 0x7cff92de
push 0x7cf33538
push dword [esp + 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x7cff92cb
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.7cff8dd9
lea eax, [esp + 0x20]
push 0xffffffffffffffff
push eax
push ebx
push dword [esp + 0x1c]
mov ecx, esi
call fcn.7cfff0b4
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
cmp word [ecx + eax*2 + 2], bx
lea eax, [ecx + eax*2 + 2]
mov dword [esp + 0x10], eax
jne 0x7cff90f5
jmp 0x7cff9305
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x18]
jmp 0x7cff9313
push dword [esp + 0x10]
call ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc48
ret