Function at 0x4189c0
Capabilities:
Enumerate files on windows
Get common file path
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5f8a36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x578
mov eax, dword [0x65480c]
push ebx
push ebp
mov dword [esp + 0x57c], eax
lea eax, [esp + 0x3c]
push eax
xor ebx, ebx
push str.properties.xml
mov dword [esp + 0x1c], ecx
xor ebp, ebp
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x418c77
push esi
push edi
lea ecx, [esp + 0x184]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edi, [esp + 0x184]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x418a30
mov dx, word [0x60cb74]
mov eax, dword [esp + 0x598]
mov eax, dword [eax]
mov word [edi], dx
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418a50
lea edi, [esp + 0x184]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x418a61
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x12], 1
mov edi, edi
test byte [esp + 0x44], 0x10
jne 0x418b26
lea ecx, [esp + 0x12]
push ecx
push str.properties_
lea ecx, [esp + 0x34]
or ebx, 3
call fcn.00402f20
lea edx, [esp + 0x70]
push edx
push eax
lea eax, [esp + 0x40]
or ebx, 4
push eax
mov dword [esp + 0x59c], ebp
mov dword [esp + 0x20], ebx
call fcn.00412be0
add esp, 0xc
mov eax, dword [eax]
lea ecx, [esp + 0x12]
push ecx
or ebx, 8
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x598], 1
mov dword [esp + 0x1c], ebx
call fcn.00402f20
lea edx, [esp + 0x184]
push edx
push ebp
lea eax, [esp + 0x78]
push eax
or ebx, 0x10
push 0x60cbd4
mov dword [esp + 0x5a0], 2
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
lea eax, [esp + 0x24]
call fcn.004180c0
add esp, 4
test al, al
mov byte [esp + 0x13], 1
je 0x418b2b
mov byte [esp + 0x13], 0
test bl, 0x10
je 0x418b76
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
and ebx, 0xffffffef
sub eax, edi
cmp edi, ebp
je 0x418b76
cmp eax, 0x80
jbe 0x418b50
push edi
call fcn.005e05ca
jmp 0x418b73
lea esi, [eax - 1]
shr esi, 3
push 0x655bd8
lea esi, [esi*4 + 0x655be0]
call fcn.00401450
mov ecx, dword [esi]
mov dword [edi], ecx
mov dword [esi], edi
mov dword [0x655bd8], ebp
add esp, 4
test bl, 8
je 0x418bc1
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
and ebx, 0xfffffff7
sub eax, edi
cmp edi, ebp
je 0x418bc1
cmp eax, 0x80
jbe 0x418b9b
push edi
call fcn.005e05ca
jmp 0x418bbe
lea esi, [eax - 1]
shr esi, 3
push 0x655bd8
lea esi, [esi*4 + 0x655be0]
call fcn.00401450
mov edx, dword [esi]
mov dword [edi], edx
mov dword [esi], edi
mov dword [0x655bd8], ebp
add esp, 4
test bl, 4
mov dword [esp + 0x590], 0xffffffff
je 0x418c17
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
and ebx, 0xfffffffb
sub eax, edi
cmp edi, ebp
je 0x418c17
cmp eax, 0x80
jbe 0x418bf1
push edi
call fcn.005e05ca
jmp 0x418c14
lea esi, [eax - 1]
shr esi, 3
push 0x655bd8
lea esi, [esi*4 + 0x655be0]
call fcn.00401450
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], edi
mov dword [0x655bd8], ebp
add esp, 4
test bl, 2
je 0x418c1f
and ebx, 0xfffffffd
test bl, 1
je 0x418c27
and ebx, 0xfffffffe
mov al, byte [esp + 0x13]
test al, al
jne 0x418c9c
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x418a80
mov bl, byte [esp + 0x12]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
pop edi
pop esi
jne 0x418c77
push ebp
push str.Error_
push str.Some_files_are_modified_or_missing._Game_will_not_run._Try_to_re_install_the_game.
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x14]
call fcn.0052bd70
mov ecx, dword [esp + 0x580]
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x578]
pop ebx
call fcn.005e149c
add esp, 0x584
ret 4
xor bl, bl
jmp 0x418c4b