Function at 0x4d53b0
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5b16
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x454
mov eax, dword [0x51300c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x460]
call fcn.004d5c80
push 0x11
push str.configconfig.ini
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040b830
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x430], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x420], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44c]
cmp edx, 0x10
jb 0x4d5499
mov ecx, dword [ebp - 0x460]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d548f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d548f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004f1f95
add esp, 8
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0xf
mov byte [ebp - 0x460], 0
sub esp, 0x18
mov dword [ebp - 4], 1
lea eax, [ebp - 0x430]
mov ecx, esp
push eax
call fcn.00402cf0
call fcn.004c45c0
add esp, 0x18
test al, al
lea eax, [ebp - 0x430]
jne 0x4d5501
cmp dword [ebp - 0x41c], 0x10
cmovae eax, dword [ebp - 0x430]
push eax
push str.Cannot_found_config_file:__s_n
call fcn.00405d90
mov esi, 1
jmp 0x4d57d2
cmp dword [ebp - 0x41c], 0x10
lea ecx, [ebp - 0x448]
cmovae eax, dword [ebp - 0x430]
push eax
push 0x5098b8
push str.InitSolutionState
call fcn.004d52f0
add esp, 0xc
mov ecx, 0x515f64
push eax
call fcn.00402c70
mov edx, dword [ebp - 0x434]
cmp edx, 0x10
jb 0x4d556f
mov ecx, dword [ebp - 0x448]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d5565
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d5565
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004f1f95
add esp, 8
cmp dword [ebp - 0x41c], 0x10
lea eax, [ebp - 0x430]
lea ecx, [ebp - 0x448]
cmovae eax, dword [ebp - 0x430]
push eax
push 0x4ff3f4
push str.RunTask
call fcn.004d52f0
add esp, 0xc
mov ecx, 0x515f7c
push eax
call fcn.00402c70
mov edx, dword [ebp - 0x434]
cmp edx, 0x10
jb 0x4d55e3
mov ecx, dword [ebp - 0x448]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d55d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d55d9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004f1f95
add esp, 8
cmp dword [ebp - 0x41c], 0x10
lea eax, [ebp - 0x418]
push 0x400
push 0
lea esi, [ebp - 0x430]
cmovae esi, dword [ebp - 0x430]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x418]
push esi
push 0x400
push eax
push str.false
push str.ShowTaskWindow
push str.System
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x418]
push str.true
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
lea ecx, [ebp - 0x448]
lea eax, [ebp - 0x430]
sete byte [0x515f94]
cmp dword [ebp - 0x41c], 0x10
cmovae eax, dword [ebp - 0x430]
push eax
push str.sqlite
push str.DBEngine
call fcn.004d52f0
add esp, 0x14
mov ecx, 0x515f98
push eax
call fcn.00402c70
mov edx, dword [ebp - 0x434]
cmp edx, 0x10
jb 0x4d56be
mov ecx, dword [ebp - 0x448]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d56b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d56b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004f1f95
add esp, 8
lea ecx, [ebp - 0x448]
call fcn.004d5fd0
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x448]
mov ecx, esp
push eax
call fcn.00402cf0
lea ecx, [ebp - 0x460]
call fcn.004c4220
add esp, 0x18
mov ecx, 0x515e74
push eax
call fcn.00402c70
mov edx, dword [ebp - 0x44c]
cmp edx, 0x10
jb 0x4d5733
mov ecx, dword [ebp - 0x460]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d5729
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d5729
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004f1f95
add esp, 8
cmp dword [ebp - 0x41c], 0x10
lea eax, [ebp - 0x418]
push 0x400
push 0
lea esi, [ebp - 0x430]
cmovae esi, dword [ebp - 0x430]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x418]
push esi
push 0x400
push eax
push str.true
push str.SaveIcBeforeExit
push str.System
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x418]
push str.true
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov edx, dword [ebp - 0x434]
add esp, 8
test eax, eax
sete byte [0x515fb0]
xor esi, esi
cmp edx, 0x10
jb 0x4d57d5
mov ecx, dword [ebp - 0x448]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d57cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5801
push edx
push ecx
call fcn.004f1f95
add esp, 8
mov edx, dword [ebp - 0x41c]
cmp edx, 0x10
jb 0x4d5811
mov ecx, dword [ebp - 0x430]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d5807
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d5807
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004f1f95
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f1f57
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret