Function at 0x4290f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x14], ebx
call fcn.00427f60
mov ecx, eax
call fcn.00427f20
mov esi, eax
call fcn.00427f60
mov ecx, eax
call fcn.00427f40
cmp esi, 2
mov ebp, eax
jb 0x42912d
cmp esi, 5
jae 0x429132
mov esi, 2
jmp 0x4291a9
cmp esi, 5
jb 0x42913e
cmp esi, 0xa
jae 0x429143
mov esi, 3
jmp 0x4291a9
cmp esi, 0xa
jb 0x42914f
cmp esi, 0x14
jae 0x429154
mov esi, 4
jmp 0x4291a9
cmp esi, 0x14
jb 0x429160
cmp esi, 0x32
jae 0x429165
mov esi, 5
jmp 0x4291a9
cmp esi, 0x32
jb 0x429171
cmp esi, 0x64
jae 0x429176
mov esi, 6
jmp 0x4291a9
cmp esi, 0x64
jb 0x429185
cmp esi, 0xc8
jae 0x42918d
mov esi, 7
jmp 0x4291a9
cmp esi, 0xc8
jb 0x42919c
cmp esi, 0x1f4
jae 0x4291a4
mov esi, 8
jmp 0x4291a9
cmp esi, 0x1f4
jb 0x4291a9
mov esi, 9
cmp ebp, 1
jb 0x4291bd
cmp ebp, 5
jae 0x4291c2
mov ebp, 1
jmp 0x429253
cmp ebp, 5
jb 0x4291d1
cmp ebp, 0xa
jae 0x4291d6
mov ebp, 2
jmp 0x429253
cmp ebp, 0xa
jb 0x4291e2
cmp ebp, 0x14
jae 0x4291e7
mov ebp, 3
jmp 0x429253
cmp ebp, 0x14
jb 0x4291f3
cmp ebp, 0x32
jae 0x4291f8
mov ebp, 4
jmp 0x429253
cmp ebp, 0x32
jb 0x429204
cmp ebp, 0x64
jae 0x429209
mov ebp, 5
jmp 0x429253
cmp ebp, 0x64
jb 0x429218
cmp ebp, 0xc8
jae 0x429220
mov ebp, 6
jmp 0x429253
cmp ebp, 0xc8
jb 0x42922f
cmp ebp, 0x1f4
jae 0x429237
mov ebp, 7
jmp 0x429253
cmp ebp, 0x1f4
jb 0x429246
cmp ebp, 0x320
jae 0x42924e
mov ebp, 8
jmp 0x429253
cmp ebp, 0x320
jb 0x429253
mov ebp, 9
push 0x4d63fc
push 1
push str.AutoType
push str.option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bx
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebp
push esi
lea eax, [esp + 0x24]
push str._d__d__d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [esp + 0x238]
mov cl, byte [esp + 0x27]
lea edx, [esp + 0x2c]
push edx
mov byte [esi], cl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
add esp, 0x18
cmp edi, 0x7ffffffd
jbe 0x4292c7
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x4292fa
mov al, byte [ecx - 1]
cmp al, bl
je 0x4292fa
cmp al, 0xff
je 0x4292fa
cmp edi, ebx
jne 0x42932d
dec al
push ebx
mov byte [ecx - 1], al
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
cmp edi, ebx
jne 0x429317
push 1
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
mov eax, dword [esi + 0xc]
cmp eax, 0x1f
ja 0x429323
cmp eax, edi
jae 0x429336
push 1
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push edi
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Copy_unsigned_int_]
mov eax, dword [esi + 4]
cmp edi, ebx
lea ecx, [esp + 0x18]
jbe 0x429352
mov edx, edi
mov bp, word [ecx]
add ecx, 2
mov word [eax], bp
add eax, 2
dec edx
jne 0x429343
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov word [eax + edi*2], bx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4