Function at 0x4d7550
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb54c
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x53d9f8]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x260]
push 1
push eax
call fcn.004d8da0
push str.cfgs_setup.cfg
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0
push eax
call fcn.00404b80
add esp, 0x14
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4d75fd
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d75f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d75f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov eax, dword [str.0.0.0.0]
mov dword [ebp - 0x218], eax
mov eax, dword [0x4fbcdc]
mov dword [ebp - 0x214], eax
mov eax, dword [0x4fbce0]
mov dword [ebp - 0x210], eax
mov eax, dword [0x4fbce4]
push 0x1f8
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x208]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x220], 0
add esp, 0xc
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x230]
push eax
mov byte [ebp - 4], 3
call fcn.004033b0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmovae eax, dword [ebp - 0x230]
push eax
push 0
push str.MajorVersion
push str.Version
mov byte [ebp - 4], 4
call ebx
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x264], eax
cmovae ecx, dword [ebp - 0x230]
push ecx
push 0
push str.FirstVersion
push str.Version
call ebx
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
mov edi, eax
cmovae ecx, dword [ebp - 0x230]
push ecx
push 0
push str.SecondVersion
push str.Version
call ebx
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
mov esi, eax
cmovae ecx, dword [ebp - 0x230]
push ecx
push 0
push str.Version
push str.Version
call ebx
push eax
push esi
push edi
push dword [ebp - 0x264]
lea eax, [ebp - 0x218]
push str._u._u._u._u
push 0x103
push 0x104
push eax
call fcn.004135e0
mov ebx, dword [ebp - 0x268]
add esp, 0x20
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d7770
sub eax, edx
mov ecx, ebx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004033b0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4d77ca
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d77c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d7819
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 8
jb 0x4d7829
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d781f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d781f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov eax, ebx
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.004bee49
mov esp, ebp
pop ebp
ret