Function at 0x417cf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535058
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x56d940]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
push 0x54fe24
mov eax, dword [ebp - 0x38]
add eax, 0x264
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004031b0
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x40]
call fcn.00420f50
push eax
push pe_nt_image_headers32
push pe_nt_image_headers32
mov ecx, dword [ebp - 0x38]
add ecx, 0x3e0
call fcn.00403440
push eax
push 0x54fe44
push str.GameName
push 0x54fe5c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402cd0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x38]
add ecx, 0x3e0
call fcn.00403480
push 0x54fe68
mov eax, dword [ebp - 0x38]
add eax, 0x264
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.004031b0
add esp, 0xc
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
call fcn.00420f50
push eax
push pe_nt_image_headers32
push pe_nt_image_headers32
mov ecx, dword [ebp - 0x38]
add ecx, 0x3e4
call fcn.00403440
push eax
push 0x54fe88
push str.FileName
push 0x54fea0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402cd0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x38]
add ecx, 0x3e4
call fcn.00403480
push 0x54feac
mov eax, dword [ebp - 0x38]
add eax, 0x264
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.004031b0
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
call fcn.00420f50
push eax
push pe_nt_image_headers32
push pe_nt_image_headers32
mov ecx, dword [ebp - 0x38]
add ecx, 0x3e8
call fcn.00403440
push eax
push 0x54fecc
push str.GameId
push 0x54fee0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402cd0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x38]
add ecx, 0x3e8
call fcn.00403480
push 0x54feec
mov eax, dword [ebp - 0x38]
add eax, 0x264
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004031b0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x58]
call fcn.00420f50
push eax
push pe_nt_image_headers32
push pe_nt_image_headers32
mov ecx, dword [ebp - 0x38]
add ecx, 0x3ec
call fcn.00403440
push eax
push 0x54ff0c
push 0x54ff10
push 0x54ff20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402cd0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x38]
add ecx, 0x3ec
call fcn.00403480
push 0x54ff2c
mov eax, dword [ebp - 0x38]
add eax, 0x264
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.004031b0
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], edx
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x60]
call fcn.00420f50
push eax
push pe_nt_image_headers32
push pe_nt_image_headers32
mov ecx, dword [ebp - 0x38]
add ecx, 0x274
call fcn.00403440
push eax
push 0x54ff4c
push 0x54ff50
push 0x54ff58
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402cd0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x38]
add ecx, 0x274
call fcn.00403480
push 0x54ff64
mov eax, dword [ebp - 0x38]
add eax, 0x264
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004031b0
add esp, 0xc
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x68]
call fcn.00420f50
push eax
push pe_nt_image_headers32
push pe_nt_image_headers32
mov ecx, dword [ebp - 0x38]
add ecx, 0x2bc
call fcn.00403440
push eax
push 0x54ff84
push str.channel
push 0x54ff98
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402cd0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x38]
add ecx, 0x2bc
call fcn.00403480
mov ecx, dword [ebp - 0x38]
add ecx, 0x2bc
call fcn.00403460
movzx eax, al
test eax, eax
je 0x418040
push str.yx_gameguide
mov ecx, dword [ebp - 0x38]
add ecx, 0x2bc
call fcn.00402d10
push 0x54ffc0
mov ecx, dword [ebp - 0x38]
add ecx, 0x264
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.004031b0
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
call fcn.00420f50
push eax
push 0
push 0x54ffe0
push 0x54fff4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x43c], eax
lea ecx, [ebp - 0x28]
call fcn.00402cd0
push 0x550000
mov edx, dword [ebp - 0x38]
add edx, 0x264
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.004031b0
add esp, 0xc
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
call fcn.00420f50
push eax
push 0
push 0x550020
push 0x55002c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x438], eax
lea ecx, [ebp - 0x2c]
call fcn.00402cd0
push 0x550038
mov edx, dword [ebp - 0x38]
add edx, 0x264
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004031b0
add esp, 0xc
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
call fcn.00420f50
push eax
push 0
push 0x550058
push 0x550074
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x430], eax
lea ecx, [ebp - 0x30]
call fcn.00402cd0
push 0xffffffffffffffff
push 0x550080
push 0x550090
call fcn.00411af0
mov ecx, eax
call fcn.004e79be
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x284], eax
push 0x55009c
push 0x5500a0
push 0x5500ac
lea eax, [ebp - 0x34]
push eax
call fcn.00411af0
mov ecx, eax
call fcn.004e7b4d
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x7c]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x270
call fcn.00402cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00402cd0
mov eax, dword [ebp - 0x38]
add eax, 0x264
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x3f0
call fcn.00402db0
mov ecx, dword [ebp - 0x38]
add ecx, 0x3e4
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x3f0
call fcn.00402db0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret