Function at 0x424a60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x44e0bb
push eax
mov eax, 0x20438
mov dword fs:[0], esp
call fcn.004473e0
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x1c], ebp
lea eax, [ebp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esp + 0x20458]
xor ebx, ebx
push esi
mov dword [esp + 0x20454], ebx
add ebp, 0x3c
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov edi, eax
mov ecx, ebp
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x424af3
mov eax, dword [ebp + 4]
cmp edi, ebx
mov ecx, esi
jbe 0x424ae9
mov dword [esp + 0x10], edi
mov dx, word [ecx]
add ecx, 2
mov word [eax], dx
mov edx, dword [esp + 0x10]
add eax, 2
dec edx
mov dword [esp + 0x10], edx
jne 0x424ad2
mov eax, dword [ebp + 4]
mov dword [ebp + 8], edi
mov word [eax + edi*2], bx
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004249f0
test eax, eax
jne 0x424b14
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
jmp 0x424ca8
mov ecx, 0x7fff
xor eax, eax
lea edi, [esp + 0x44a]
push esi
lea edx, [esp + 0x44c]
mov word [esp + 0x44c], bx
push 0xfffe
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esp + 0x448]
push eax
lea ebp, [esp + 0x44c]
call edi
test eax, eax
je 0x424c9b
push str.APP_
call edi
push eax
push str.APP_
push ebp
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x424c89
xor esi, esi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x24a]
mov word [esp + 0x248], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x4a]
mov word [esp + 0x48], bx
rep stosd dword es:[edi], eax
push esi
lea ecx, [esp + 0x4c]
push str.Check_d
push ecx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [esp + 0x20464]
add esp, 0xc
lea eax, [esp + 0x248]
lea ecx, [esp + 0x48]
push edx
push 0xff
push eax
push 0x4d6e34
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x250]
push str._d__d
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x10
cmp eax, 2
jne 0x424c79
mov edx, dword [esp + 0x1c]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x40]
lea edi, [edx + 0x2c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x34], esi
call fcn.00425330
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax + 0x10]
add ecx, edx
mov dword [eax + 0x10], ecx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x38]
push eax
push ecx
mov ecx, edi
call fcn.00425330
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
add dword [eax + 0x14], edx
inc esi
cmp esi, 0xa
jb 0x424b80
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
call edi
lea ebp, [ebp + eax*2 + 2]
push ebp
call edi
test eax, eax
jne 0x424b5f
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x20448]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20444
ret 4