Function at 0x40ae20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a68ec
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4d6750]
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 dword [ebp - 0x134], 0xf
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x148], 0
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], 1
call fcn.00401170
push 0xff
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call fcn.0048d420
add esp, 8
lea edx, [ebp - 0x148]
lea ecx, [ebp - 0x128]
call fcn.00401980
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40aeb6
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x100
lea eax, [ebp - 0x110]
push eax
push 0x4b2e3e
push str.version
push str.base
call esi
cmp dword [ebp - 0x114], 0x10
jb 0x40aef1
push dword [ebp - 0x128]
call fcn.00488361
add esp, 4
cmp byte [ebp - 0x110], 0
jne 0x40aefe
xor ecx, ecx
jmp 0x40af10
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40af07
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [edi + 0x1a4]
call fcn.00401d20
push ecx
lea edx, [ebp - 0x148]
lea ecx, [ebp - 0x128]
call fcn.00401980
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40af40
mov eax, dword [eax]
push eax
push 0x100
lea eax, [ebp - 0x110]
push eax
push 0x4b2e3e
push str.gamesver
push str.base
call esi
cmp dword [ebp - 0x114], 0x10
jb 0x40af75
push dword [ebp - 0x128]
call fcn.00488361
add esp, 4
cmp byte [ebp - 0x110], 0
jne 0x40af82
xor ecx, ecx
jmp 0x40af99
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
jmp 0x40af90
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40af90
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [edi + 0x1c0]
call fcn.00401d20
push ecx
lea edx, [ebp - 0x148]
lea ecx, [ebp - 0x128]
call fcn.00401980
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40afc9
mov eax, dword [eax]
push eax
push 0x100
lea eax, [ebp - 0x110]
push eax
push 0x4b2e3e
push str.language
push str.base
call esi
cmp dword [ebp - 0x114], 0x10
jb 0x40affe
push dword [ebp - 0x128]
call fcn.00488361
add esp, 4
cmp dword [ebp - 0x134], 0x10
lea ecx, [ebp - 0x110]
push ecx
lea eax, [ebp - 0x148]
cmovae eax, dword [ebp - 0x148]
lea ebx, [edi + 0x1dc]
push eax
push str._s_ali213_s
push ebx
call fcn.004018c0
add esp, 0xc
lea ecx, [ebp - 0x164]
mov edx, ebx
call fcn.00401cf0
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call fcn.0040c0b0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 3
cmp dword [edx + 0x14], 0x10
jb 0x40b05d
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x40b066
xor ecx, ecx
jmp 0x40b07f
mov ecx, edx
lea ebx, [ecx + 1]
jmp 0x40b070
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b070
sub ecx, ebx
lea ebx, [edi + 0x1dc]
push ecx
push edx
mov ecx, ebx
call fcn.00401d20
cmp dword [ebp - 0x118], 0x10
jb 0x40b09f
push dword [ebp - 0x12c]
call fcn.00488361
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x150], 8
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jb 0x40b0d5
push dword [ebp - 0x164]
call fcn.00488361
add esp, 4
push ecx
lea edx, [ebp - 0x148]
lea ecx, [ebp - 0x128]
call fcn.00401980
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40b0f2
mov eax, dword [eax]
push eax
push 0x100
lea eax, [ebp - 0x110]
push eax
push 0x4b2e3e
push str.resource
push str.base
call esi
cmp dword [ebp - 0x114], 0x10
jb 0x40b127
push dword [ebp - 0x128]
call fcn.00488361
add esp, 4
cmp byte [ebp - 0x110], 0
jne 0x40b134
xor ecx, ecx
jmp 0x40b149
lea ecx, [ebp - 0x110]
lea esi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b140
sub ecx, esi
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [edi + 0x1f8]
call fcn.00401d20
cmp dword [ebp - 0x134], 0x10
jb 0x40b173
push dword [ebp - 0x148]
call fcn.00488361
add esp, 4
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.00488366
mov esp, ebp
pop ebp
ret