Function at 0x446030
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4d7d85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
mov eax, dword [0x50ba00]
push ebx
push ebp
push edi
mov edi, dword [esp + 0x1cc]
push 0xffffffffffffffff
push edi
mov ecx, 0x50af98
mov dword [esp + 0x1c0], eax
call fcn.00401550
xor ebx, ebx
lea eax, [esp + 0x24]
mov dword [esp + 0x20], eax
mov dword [esp + 0xa4], ebx
mov word [esp + 0x24], bx
push 0x104
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x1cc], ebx
call fcn.00401550
mov ecx, dword [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0x104
push ecx
push 0x4e61d0
push 0x4e7798
push str.Game
call ebp
mov eax, dword [esp + 0x20]
cmp word [eax], bx
je 0x4462db
call fcn.00445a10
cmp dword [esp + 0x20], ebx
jne 0x4460e6
lea eax, [esp + 0x24]
test eax, eax
je 0x4462ec
push ebx
jmp 0x4462e4
push ebx
lea ecx, [esp + 0x14]
call fcn.00497770
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push ecx
push 0x4e5d34
push edx
mov byte [esp + 0x1d0], 1
call fcn.00401f40
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
call fcn.0049c670
test eax, eax
jle 0x4462b6
push esi
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.004979f0
mov esi, dword [eax]
push esi
call fcn.004459b0
add esp, 4
test eax, eax
jne 0x44629b
lea ecx, [esp + 0x138]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x1b8], ebx
mov word [esp + 0x138], bx
push esi
lea edx, [esp + 0x138]
push str._s.Exe
push edx
call fcn.00404af0
lea eax, [esp + 0xbc]
add esp, 0xc
mov dword [esp + 0xac], eax
mov dword [esp + 0x130], ebx
mov word [esp + 0xb0], bx
push 0x104
push ebx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1d0], 3
call fcn.00401550
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x134]
push edi
push 0x104
push ecx
push 0x4e61d0
push edx
push str.Game
call ebp
lea ecx, [esp + 0xac]
call fcn.00402c60
mov ecx, eax
call fcn.00403090
mov eax, dword [eax]
cmp word [eax], bx
jne 0x446219
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xb0]
cmp eax, ecx
je 0x446207
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x134]
lea edx, [esp + 0x138]
cmp eax, edx
jmp 0x446288
push 0x664
call fcn.004cab91
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x1c8], 4
je 0x446248
mov ecx, dword [esp + 0xac]
push ecx
push esi
mov ecx, eax
call fcn.00445a60
jmp 0x44624a
xor eax, eax
push eax
mov ecx, 0x50e344
mov byte [esp + 0x1cc], 3
call fcn.00497840
mov eax, dword [esp + 0xac]
lea edx, [esp + 0xb0]
cmp eax, edx
je 0x446278
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x134]
lea ecx, [esp + 0x138]
cmp eax, ecx
mov byte [esp + 0x1c8], 1
je 0x44629b
push eax
call fcn.00482838
add esp, 4
mov esi, dword [esp + 0x10]
inc esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
call fcn.0049c670
cmp esi, eax
jl 0x446125
pop esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 5
call fcn.004138e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], bl
call fcn.00497a60
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
cmp eax, edx
je 0x4462ec
push eax
call fcn.00482838
add esp, 4
mov ecx, dword [esp + 0x1bc]
pop edi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1b0]
pop ebx
call fcn.00482423
add esp, 0x1bc
ret