Function at 0x40175e
Capabilities:
Read .ini file

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x44d280], eax
push 0x44cbe4
push 0
push 0x44cbdc
push 0x44cbd4
call sub.kernel32.dll_GetPrivateProfileIntA
or eax, eax
je 0x401742
call fcn.00401bd8
push 0
push 0x40175e
push 0
push 0x65
push dword [0x44d280]
call sub.user32.dll_DialogBoxParamA
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffffc
cmp dword [ebp + 0xc], 0x110
jne 0x401889
push 0x46
push 2
push 0x6f
push dword [ebp + 8]
call sub.user32.dll_RegisterHotKey
mov dword [0x44ca0d], 1
push 2
push dword [0x44d280]
call sub.user32.dll_LoadIconA
push eax
push 1
push pe_nt_image_headers32
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
push 0x3f1
push dword [ebp + 8]
call sub.user32.dll_GetDlgItem
mov dword [0x44d7fc], eax
mov esi, str.Romancing_the_Seven_Wonders:_Taj_Mahal
push esi
call fcn.00401f70
or eax, eax
je 0x4017e7
push eax
push esi
push 0
push 0x143
push dword [0x44d7fc]
call sub.user32.dll_SendMessageA
pop eax
add esi, eax
inc esi
inc dword [0x44d4c4]
jmp 0x4017bd
dec dword [0x44d4c4]
lea eax, str.Romancing_the_Seven_Wonders:_Taj_Mahal
sub esi, eax
mov dword [0x44ca39], esi
push 0
push dword [0x44d4c4]
push 0x14e
push dword [0x44d7fc]
call sub.user32.dll_SendMessageA
push str..options.ini
push 0
push str.sorting
push str.options
call sub.kernel32.dll_GetPrivateProfileIntA
or eax, eax
je 0x401841
push 0
push 0
push 0x14e
push dword [0x44d7fc]
call sub.user32.dll_SendMessageA
mov eax, dword [0x44d4c4]
inc eax
push eax
push str._d_BigFish_games_keymaker_by_Vovan_Braga_Software_
push 0x44cabd
call sub.user32.dll_wsprintfA
add esp, 0xc
push 0x44cabd
push dword [ebp + 8]
call sub.user32.dll_SetWindowTextA
mov esi, str.Romancing_the_Seven_Wonders:_Taj_Mahal
push esi
call fcn.00401f70
or eax, eax
je 0x401889
push eax
push esi
call fcn.00401fc0
pop eax
add esi, eax
inc esi
inc dword [0x44d4c4]
jmp 0x40186c
push dword [ebp + 8]
call sub.user32.dll_GetParent
mov ebx, eax
call sub.user32.dll_GetActiveWindow
cmp eax, ebx
je 0x4018ac
push 0x46
push 2
push 0x6f
push dword [ebp + 8]
call sub.user32.dll_RegisterHotKey
jmp 0x4018b6
push 0x6f
push dword [ebp + 8]
call sub.user32.dll_UnregisterHotKey
cmp dword [ebp + 0xc], 0x312
jne 0x40192d
cmp dword [ebp + 0x10], 0x6f
jne 0x40192d
call fcn.00401ff0
mov esi, eax
push esi
call fcn.00401fc0
push esi
call fcn.00401f70
push eax
push esi
push dword [0x44ca39]
push str.Romancing_the_Seven_Wonders:_Taj_Mahal
call section..text
or eax, eax
je 0x40192d
lea eax, [eax + str.Romancing_the_Seven_Wonders:_Taj_Mahal]
mov dword [ebp - 4], 0
lea ebx, str.Romancing_the_Seven_Wonders:_Taj_Mahal
mov cl, byte [ebx]
cmp cl, 0
jne 0x40190b
inc dword [ebp - 4]
inc ebx
cmp ebx, eax
jne 0x401901
push 0
push dword [ebp - 4]
push 0x14e
push dword [0x44d7fc]
call sub.user32.dll_SendMessageA
push dword [ebp + 8]
call sub.user32.dll_UpdateWindow
cmp dword [ebp + 0xc], 0x111
jne 0x4019d9
mov eax, dword [ebp + 0x10]
mov edx, eax
mov ecx, eax
shr edx, 0x10
and eax, 0xffff
cmp dword [ebp + 0x10], 1
jne 0x40195c
push dword [ebp + 8]
call fcn.00401417
jmp 0x4019f3
cmp dword [ebp + 0x10], 0x3f0
jne 0x401972
push dword [ebp + 8]
call fcn.00401abf
jmp 0x4019f3
cmp dword [ebp + 0x10], 0x3f2
jne 0x401982
call fcn.004019f9
jmp 0x4019f3
cmp edx, 1
jne 0x401991
push dword [ebp + 8]
call fcn.00401abf
jmp 0x4019f3
cmp cx, 0x3e9
jne 0x4019ac
shr ecx, 0x10
cmp cx, 0x300
jne 0x4019f3
push dword [ebp + 8]
call fcn.00401abf
jmp 0x4019f3
cmp cx, 0x3ea
jne 0x4019c7
shr ecx, 0x10
cmp cx, 0x300
jne 0x4019f3
push dword [ebp + 8]
call fcn.00401abf
jmp 0x4019f3
cmp dword [ebp + 0x10], 2
jne 0x4019f3
push 0
push dword [ebp + 8]
call sub.user32.dll_EndDialog
jmp 0x4019f3
cmp dword [ebp + 0xc], 0x10
jne 0x4019f3
push 0x6f
push dword [ebp + 8]
call sub.user32.dll_UnregisterHotKey
push 0
push dword [ebp + 8]
call sub.user32.dll_EndDialog
xor eax, eax
leave
ret 0x10