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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4272f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x42f4cc]
push ebx
push esi
push edi
xor eax, ebp
push str.IsEquelToStringRap_25...begin
push 0x80
mov dword [esp + 0x12c], eax
mov esi, ecx
call fcn.00409a50
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x20], bl
mov ecx, 0x40
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 8
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004188a0
cmp byte [esp + 0x18], bl
je 0x418c2e
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x418a40
sub eax, edx
cmp byte [esp + eax + 0x17], 0x5c
jne 0x418a64
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x418a57
sub eax, edx
mov byte [esp + eax + 0x17], bl
mov ecx, 0x104
lea eax, [esp + 0x18]
lea ecx, [ecx]
cmp byte [eax], bl
je 0x418a7a
inc eax
dec ecx
jne 0x418a70
jmp 0x418a9c
cmp ecx, ebx
je 0x418a9c
mov eax, 0x104
sub eax, ecx
push str.RisingRSD
mov ecx, 0x104
sub ecx, eax
push ecx
lea edx, [esp + eax + 0x20]
push edx
call fcn.004030a0
mov eax, dword [0x430588]
mov ecx, 0x430588
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push str._sdata_rav_rav.ini
push edx
mov dword [esp + 0x140], ebx
call fcn.0040c120
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x418c09
mov eax, dword [0x430588]
mov ecx, 0x430588
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x134], 1
jge 0x418b25
push 0x104
lea ecx, [esp + 0x14]
call fcn.004085c0
mov esi, dword [esp + 0x10]
mov ecx, dword [esi - 8]
mov eax, 0x104
cmp ecx, eax
jge 0x418b3b
push 0x80070057
call fcn.004011d0
push edi
push eax
push esi
push 0x428d90
push str.PRODUCTUID
mov dword [esi - 0xc], eax
push str.SETUP
mov byte [esi + 0x104], bl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x418b61
sub eax, edx
js 0x418b31
cmp eax, dword [esi - 8]
jg 0x418b31
push str.RAVP_25
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], bl
call fcn.0041b6c1
add esp, 8
test eax, eax
jne 0x418be8
push str.IsEquelToStringRap_25...end_success
push 0x80
call fcn.00409a50
lea eax, [esi - 0x10]
add esp, 8
mov byte [esp + 0x134], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418bbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x134], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418be1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x418c30
lea eax, [esi - 0x10]
mov byte [esp + 0x134], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418c09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x134], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418c2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004199fa
mov esp, ebp
pop ebp
ret