Function at 0x4d2f90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1cdd
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x6229a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x58]
mov ecx, dword [ebp + 8]
push ebx
push str.userdata_save_dSaveInfor.ghtr
push eax
mov dword [ebp - 0x60], ecx
call fcn.004f8210
mov esi, eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.004e5800
add esp, 0x10
push esi
push eax
push dword [ebp - 0x60]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004a2020
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp ecx, 0x10
jb 0x4d3033
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d3029
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d320d
push ecx
push edx
call fcn.0059b718
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 4
cmp ecx, 0x10
jb 0x4d307d
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d3073
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d320d
push ecx
push edx
call fcn.0059b718
add esp, 8
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea eax, [eax + eax*2]
lea esi, [edi + eax*8]
lea eax, [ebp - 0x28]
mov dword [esi + 0x148], ebx
mov ecx, dword [edi + 0x1dc]
push eax
mov dword [ebp - 0x5c], esi
call fcn.00541a00
mov byte [esi + 0x14c], al
test al, al
je 0x4d31bb
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push 0x5ddc34
push str.SAVE
call esi
mov ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x14], 0x10
mov dword [ecx + 0x15c], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0x5dc9d0
push str.SAVE
call esi
mov esi, dword [ebp - 0x5c]
cmp eax, 1
sete al
mov byte [esi + 0x14d], al
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x1dc]
push eax
mov ecx, dword [ecx + 0x7dc]
call fcn.004b6370
cmp dword [esi + 0x15c], 4
mov eax, dword [edi + 0x1dc]
mov ecx, dword [ebp - 0x60]
mov eax, dword [eax + 0x7dc]
lea ecx, [ecx + ecx*2]
mov eax, dword [eax + 0x14]
mov dword [edi + ecx*8 + 0x150], eax
mov eax, dword [edi + 0x1dc]
mov eax, dword [eax + 0x7dc]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x154], eax
mov eax, dword [edi + 0x1dc]
mov eax, dword [eax + 0x7dc]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x158], eax
jne 0x4d31a6
mov eax, dword [edi + 0x1dc]
push ebx
mov ecx, dword [eax + 0x7dc]
call fcn.004b7360
test al, al
jne 0x4d31a6
mov dword [esi + 0x15c], 0xfffffffe
mov ecx, dword [edi + 0x1dc]
push ebx
mov ecx, dword [ecx + 0x7dc]
call fcn.004b5e40
mov ecx, dword [edi + 0x1dc]
mov ecx, dword [ecx + 0x7dc]
call fcn.004b6a00
mov bl, 1
jmp 0x4d31bd
xor bl, bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4d31ed
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d31e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d3212
push ecx
push edx
call fcn.0059b718
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret 8
call fcn.005a17d1
call fcn.005a17d1
int3