Function at 0x40bd90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495271
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x4d7204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], ecx
push 0x49bc2c
mov ecx, dword [ebp - 0x21c]
call fcn.0040a2c0
test eax, eax
je 0x40bded
push 0x49bb24
mov ecx, dword [ebp - 0x21c]
call fcn.0040a2c0
test eax, eax
jne 0x40bfd1
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004696a0
add esp, 0xc
mov ecx, dword [ebp - 0x21c]
add ecx, 0x14
call fcn.00405e20
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x49bb9c
mov ecx, dword [ebp - 0x21c]
add ecx, 0x1c
call fcn.00405e20
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0x18
call fcn.00405e20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x49bc44
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x40be69
mov dword [ebp - 0x224], 1
jmp 0x40be73
mov dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
je 0x40bfc9
lea ecx, [ebp - 0x254]
push ecx
call fcn.0042a2f0
add esp, 4
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x23c]
call fcn.00401da0
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x228]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 0x21d], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00404db0
movzx ecx, byte [ebp - 0x21d]
test ecx, ecx
je 0x40bfc9
lea edx, [ebp - 0x25c]
push edx
call fcn.0042a2f0
add esp, 4
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x244], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x244]
call fcn.00401da0
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x218]
push ecx
push 0x49bc5c
mov edx, dword [ebp - 0x21c]
add edx, 0x14
push edx
push str.IsDisable_
lea ecx, [ebp - 0x2f4]
call fcn.00404010
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24c]
call fcn.00401970
mov ecx, eax
call fcn.00401a10
mov ecx, eax
call fcn.00401970
mov ecx, eax
call fcn.00401990
push eax
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x22c]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f4]
call fcn.00405070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.00404db0
mov eax, dword [ebp - 0x230]
jmp 0x40c026
mov ecx, dword [ebp - 0x21c]
add ecx, 0x14
call fcn.00405e20
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0x1c
call fcn.00405e20
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0x18
call fcn.00405e20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x40c016
mov dword [ebp - 0x234], 1
jmp 0x40c020
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ab64
mov esp, ebp
pop ebp
ret