Function at 0x40ff80
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x445167
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push esi
mov esi, dword [esp + 0x120]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push 0
push 0x45252c
push 0x452538
call edi
test eax, eax
je 0x41027a
push ebx
push ebp
push str.SET_ON_START_OK
call fcn.00436550
add esp, 4
push esi
push 0
push 0x452550
push 0x45255c
call edi
push eax
push 1
push 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0x24], eax
call fcn.00437130
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xbc]
mov dword [esp + 0x12c], 0
call fcn.00437320
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push edx
lea eax, [esp + 0x20]
push 0x45256c
push eax
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
push esi
lea ecx, [esp + 0x20]
push ecx
push 0x452570
push 0x452584
call ebx
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push 0x45258c
push eax
call ebp
add esp, 0xc
push esi
lea ecx, [esp + 0x20]
push ecx
push 0x452590
push 0x4525a4
call ebx
push esi
push 0x88b8
push 0x4525ac
push 0x4525bc
call edi
push esi
push 0x88b8
push 0x4525c4
push 0x4525d4
mov dword [esp + 0x20], eax
call edi
mov edx, dword [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0xbc]
mov dword [esp + 0x1c], eax
call fcn.00437170
mov eax, dword [esp + 0x18]
push eax
push 1
push 0x1008
lea ecx, [esp + 0xf4]
call fcn.00437130
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
mov byte [esp + 0x128], 1
push edx
lea ecx, [esp + 0xf0]
call fcn.00437320
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push 0x4525dc
push ecx
call ebp
add esp, 0xc
push esi
lea edx, [esp + 0x20]
push edx
push 0x4525e0
push 0x4525f4
call ebx
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push 0x4525fc
push ecx
call ebp
add esp, 0xc
push esi
lea edx, [esp + 0x20]
push edx
push 0x452600
push 0x452614
call ebx
push esi
push 0x88b8
push 0x45261c
push 0x45262c
call edi
push esi
push 0x88b8
push 0x452634
push 0x452644
mov dword [esp + 0x20], eax
call edi
push eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0xf0]
call fcn.00437170
push esi
push 0x1002
push 0x45264c
push 0x452654
call edi
mov ecx, dword [esp + 0x18]
push ecx
push 1
push eax
lea ecx, [esp + 0x8c]
call fcn.00437130
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x12c], 2
call fcn.00437d40
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push 0x45265c
push edx
call ebp
add esp, 0xc
push esi
lea eax, [esp + 0x20]
push eax
push 0x452660
push 0x452670
call ebx
mov ecx, dword [esp + 0x14]
push ecx
push 0x452678
lea edx, [esp + 0x24]
push edx
call ebp
add esp, 0xc
push esi
lea eax, [esp + 0x20]
push eax
push 0x45267c
push 0x45268c
call ebx
push esi
push 0x88b8
push 0x452694
push 0x45269c
call edi
push esi
push 0x88b8
push 0x4526a4
push 0x4526b0
mov dword [esp + 0x20], eax
call edi
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x1c], eax
call fcn.00437bd0
lea ecx, [esp + 0x80]
mov byte [esp + 0x124], 1
call fcn.00437120
lea ecx, [esp + 0xe8]
mov byte [esp + 0x124], 0
call fcn.00437120
lea ecx, [esp + 0xb4]
mov dword [esp + 0x124], 0xffffffff
call fcn.00437120
pop ebp
pop ebx
mov ecx, dword [esp + 0x114]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret 4