Function at 0x4bebe0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511f8b
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x55f43c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xdc], ecx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0xdc]
call fcn.004bb850
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xe4]
call fcn.00404d00
push eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00404ce0
mov byte [ebp - 0xc4], 0
push 0x7d
push 0
lea edx, [ebp - 0xc3]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x7e
lea eax, [ebp - 0xc4]
push eax
push 0x53c06c
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x3c]
call fcn.004c01c0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3c]
push eax
push 0x53c070
lea ecx, [ebp - 0xc4]
push ecx
call fcn.004bf0f0
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp + 0xc], 2
jne 0x4bee63
cmp dword [ebp - 0x44], 4
jne 0x4bed4e
mov edx, dword [ebp + 0x18]
fld qword [edx + 0x38]
mov eax, dword [ebp + 8]
fstp dword [eax + 8]
push 0
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0xc]
mov edx, dword [ebp + 0x18]
fld qword [edx + 0x48]
mov eax, dword [ebp + 8]
fstp dword [eax + 0x18]
push 1
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x1c]
mov edx, dword [ebp + 0x18]
fld qword [edx + 8]
mov eax, dword [ebp + 8]
fstp dword [eax + 0x20]
push 2
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x24]
mov edx, dword [ebp + 0x18]
fld qword [edx + 0x18]
mov eax, dword [ebp + 8]
fstp dword [eax + 0x30]
push 3
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x34]
jmp 0x4bee5e
mov edx, dword [ebp - 0x44]
sar edx, 1
cmp edx, 3
jne 0x4bee30
mov eax, dword [ebp + 0x18]
fld qword [eax + 0x38]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 8]
mov edx, dword [ebp - 0x44]
sub edx, 6
push edx
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov eax, dword [ebp + 8]
fstp dword [eax + 0xc]
mov ecx, dword [ebp + 0x18]
fld qword [ecx + 0x48]
mov edx, dword [ebp + 8]
fstp dword [edx + 0x18]
mov eax, dword [ebp - 0x44]
sub eax, 5
push eax
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x1c]
mov edx, dword [ebp + 0x18]
fld qword [edx + 8]
mov eax, dword [ebp + 8]
fstp dword [eax + 0x20]
mov ecx, dword [ebp - 0x44]
sub ecx, 4
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov edx, dword [ebp + 8]
fstp dword [edx + 0x24]
mov eax, dword [ebp + 0x18]
fld qword [eax + 0x18]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x30]
mov edx, dword [ebp - 0x44]
sub edx, 3
push edx
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov eax, dword [ebp + 8]
fstp dword [eax + 0x34]
mov ecx, dword [ebp + 0x18]
fld qword [ecx + 8]
mov edx, dword [ebp + 8]
fstp dword [edx + 0x38]
mov eax, dword [ebp - 0x44]
sub eax, 2
push eax
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x3c]
mov edx, dword [ebp + 0x18]
fld qword [edx + 0x18]
mov eax, dword [ebp + 8]
fstp dword [eax + 0x48]
mov ecx, dword [ebp - 0x44]
sub ecx, 1
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov edx, dword [ebp + 8]
fstp dword [edx + 0x4c]
jmp 0x4bee5e
mov byte [ebp - 0xd5], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.004c0300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov al, byte [ebp - 0xd5]
jmp 0x4bf0ce
jmp 0x4bf0a5
cmp dword [ebp + 0xc], 3
jne 0x4bf0a5
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x18]
fld qword [eax + 0x38]
fadd qword [ecx + 0x48]
fdiv qword [0x53c190]
fstp qword [ebp - 0xcc]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x18]
fld qword [edx + 8]
fadd qword [eax + 0x18]
fdiv qword [0x53c190]
fstp qword [ebp - 0xd4]
cmp dword [ebp - 0x44], 6
jne 0x4bef60
mov ecx, dword [ebp + 0x18]
fld qword [ecx + 0x38]
mov edx, dword [ebp + 8]
fstp dword [edx + 8]
push 0
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov eax, dword [ebp + 8]
fstp dword [eax + 0xc]
fld qword [ebp - 0xcc]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x10]
push 1
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov edx, dword [ebp + 8]
fstp dword [edx + 0x14]
mov eax, dword [ebp + 0x18]
fld qword [eax + 0x48]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x18]
push 2
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov edx, dword [ebp + 8]
fstp dword [edx + 0x1c]
mov eax, dword [ebp + 0x18]
fld qword [eax + 8]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x20]
push 3
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov edx, dword [ebp + 8]
fstp dword [edx + 0x24]
fld qword [ebp - 0xd4]
mov eax, dword [ebp + 8]
fstp dword [eax + 0x28]
push 4
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x2c]
mov edx, dword [ebp + 0x18]
fld qword [edx + 0x18]
mov eax, dword [ebp + 8]
fstp dword [eax + 0x30]
push 5
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x34]
jmp 0x4bf0a5
cmp dword [ebp - 0x44], 9
jne 0x4bf07a
mov edx, dword [ebp + 0x18]
fld qword [edx + 0x38]
mov eax, dword [ebp + 8]
fstp dword [eax + 8]
push 0
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0xc]
fld qword [ebp - 0xcc]
mov edx, dword [ebp + 8]
fstp dword [edx + 0x10]
push 1
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov eax, dword [ebp + 8]
fstp dword [eax + 0x14]
mov ecx, dword [ebp + 0x18]
fld qword [ecx + 0x48]
mov edx, dword [ebp + 8]
fstp dword [edx + 0x18]
push 2
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov eax, dword [ebp + 8]
fstp dword [eax + 0x1c]
mov ecx, dword [ebp + 0x18]
fld qword [ecx + 8]
mov edx, dword [ebp + 8]
fstp dword [edx + 0x20]
push 3
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov eax, dword [ebp + 8]
fstp dword [eax + 0x24]
fld qword [ebp - 0xd4]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x28]
push 4
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov edx, dword [ebp + 8]
fstp dword [edx + 0x2c]
mov eax, dword [ebp + 0x18]
fld qword [eax + 0x18]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x30]
push 5
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov edx, dword [ebp + 8]
fstp dword [edx + 0x34]
mov eax, dword [ebp + 0x18]
fld qword [eax + 8]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x38]
push 6
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov edx, dword [ebp + 8]
fstp dword [edx + 0x3c]
fld qword [ebp - 0xd4]
mov eax, dword [ebp + 8]
fstp dword [eax + 0x40]
push 7
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x44]
mov edx, dword [ebp + 0x18]
fld qword [edx + 0x18]
mov eax, dword [ebp + 8]
fstp dword [eax + 0x48]
push 8
lea ecx, [ebp - 0x3c]
call fcn.004c0380
fld qword [eax]
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x4c]
jmp 0x4bf0a5
mov byte [ebp - 0xd6], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.004c0300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov al, byte [ebp - 0xd6]
jmp 0x4bf0ce
mov byte [ebp - 0xd7], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.004c0300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov al, byte [ebp - 0xd7]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00501b98
mov esp, ebp
pop ebp
ret 0x14