Function at 0x40d2ab
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff80c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 8]
push 0
push 0
push 0x147
push esi
push ebx
call sub.USER32.dll_SendDlgItemMessageA
cmp eax, 0xffffffff
jne 0x40d2dd
xor eax, eax
jmp 0x40d758
push 0
push eax
push 0x150
push esi
push ebx
call sub.USER32.dll_SendDlgItemMessageA
cmp eax, 7
ja case.0x40d2f5.0
jmp dword [eax*4 + 0x40d2fc]
push edi
push 0x45153b
lea edx, [ebp - 0x130]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0xc
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x130]
push dword [ebp - 4]
push 0x103
push edx
push 0x451334
push ecx
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebp - 0x240], 0x450434
xor eax, eax
lea edx, [ebp - 0x234]
mov dword [ebp - 0x23c], eax
mov esi, ebx
mov dword [ebp - 0x240], 0x4515f4
mov dword [ebp - 0x238], edx
mov ecx, dword [ebp - 0x23c]
test ecx, ecx
jne 0x40d3ac
lea eax, [ebp - 0x240]
push eax
push 0x404768
push esi
push 0xc
push dword [0x46e788]
call sub.USER32.dll_DialogBoxParamA
dec eax
sete dl
and edx, 1
jmp 0x40d3ae
xor edx, edx
test dl, dl
je case.0x40d2f5.0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x234]
push dword [ebp - 4]
push ecx
lea edx, [ebp - 0x130]
push edx
push eax
call sub.KERNEL32.dll_WritePrivateProfileStringA
jmp case.0x40d2f5.0
push edi
push 0x451540
lea eax, [ebp - 0x344]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x448]
lea ecx, [ebp - 0x344]
push dword [ebp - 4]
push 0x103
push edx
push 0x451334
push ecx
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
push edi
push 0x451546
lea eax, [ebp - 0x54c]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 1
lea ecx, [ebp - 0x54c]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00445c9e
mov byte [ebp - 5], al
xor edx, edx
mov dword [ebp - 0x55c], 0x450434
mov dword [ebp - 0x558], edx
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x55c], 0x4515d0
mov dword [ebp - 0x554], ecx
lea eax, [ebp - 5]
mov dword [ebp - 0x550], eax
mov esi, ebx
mov edx, dword [ebp - 0x558]
test edx, edx
jne 0x40d499
lea ecx, [ebp - 0x55c]
push ecx
push 0x404768
push esi
push 0xd
push dword [0x46e788]
call sub.USER32.dll_DialogBoxParamA
dec eax
sete al
and eax, 1
jmp 0x40d49b
xor eax, eax
test al, al
je case.0x40d2f5.0
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x448]
push dword [ebp - 4]
push edx
lea ecx, [ebp - 0x344]
push ecx
push eax
call sub.KERNEL32.dll_WritePrivateProfileStringA
mov eax, dword [ebp + 0xc]
mov dl, byte [ebp - 5]
test dl, dl
je 0x40d4ce
mov ecx, 0x4514d5
jmp 0x40d4d3
mov ecx, 0x4514da
mov edx, ecx
push dword [ebp - 4]
push edx
lea edx, [ebp - 0x54c]
push edx
push eax
call sub.KERNEL32.dll_WritePrivateProfileStringA
jmp case.0x40d2f5.0
push edi
push 0x451553
lea eax, [ebp - 0x660]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x764]
lea ecx, [ebp - 0x660]
push dword [ebp - 4]
push 0x103
push edx
push 0x451334
push ecx
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
push 0x4c
push 0
lea eax, [ebp - 0x7b0]
push eax
call fcn.00446148
mov dword [ebp - 0x7b0], 0x4c
mov dword [ebp - 0x7ac], ebx
lea edx, [ebp - 0x764]
mov dword [ebp - 0x7a4], 0x45155e
mov dword [ebp - 0x798], 1
mov dword [ebp - 0x794], edx
add esp, 0xc
mov dword [ebp - 0x790], 0x104
xor ecx, ecx
lea eax, [ebp - 0x7b0]
mov dword [ebp - 0x784], ecx
mov dword [ebp - 0x780], 0x45157c
mov dword [ebp - 0x77c], 0x8000c
push eax
call sub.COMDLG32.dll_GetOpenFileNameA
dec eax
jne case.0x40d2f5.0
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x764]
push dword [ebp - 4]
push edx
lea ecx, [ebp - 0x660]
push ecx
push eax
call sub.KERNEL32.dll_WritePrivateProfileStringA
mov al, 1
jmp 0x40d758
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x7c4], 0x450434
xor ecx, ecx
mov dword [ebp - 0x7c0], ecx
mov dword [ebp - 0x7c4], 0x4515ac
mov dword [ebp - 0x7bc], esi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x7b8], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x7b4], edx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 0x7c0]
test ecx, ecx
jne 0x40d638
lea eax, [ebp - 0x7c4]
push eax
push 0x404768
push dword [ebp - 0x14]
push 0x19
push dword [0x46e788]
call sub.USER32.dll_DialogBoxParamA
dec eax
sete dl
and edx, 1
jmp 0x40d63a
xor edx, edx
test dl, dl
je case.0x40d2f5.0
mov al, 1
jmp 0x40d758
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x7dc], 0x450434
xor eax, eax
mov dword [ebp - 0x7d8], eax
mov dword [ebp - 0x7dc], 0x451588
mov byte [ebp - 0x7d4], 0
mov dword [ebp - 0x7d3], esi
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x7cf], edx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x7cb], ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x7d8]
test eax, eax
jne 0x40d6c2
lea edx, [ebp - 0x7dc]
push edx
push 0x404768
push dword [ebp - 0x20]
push 0xe
push dword [0x46e788]
call sub.USER32.dll_DialogBoxParamA
dec eax
sete cl
and ecx, 1
jmp 0x40d6c4
xor ecx, ecx
test cl, cl
je case.0x40d2f5.0
mov al, 1
jmp 0x40d758
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x7f4], 0x450434
xor eax, eax
mov dword [ebp - 0x7f0], eax
mov dword [ebp - 0x7f4], 0x451588
mov byte [ebp - 0x7ec], 1
mov dword [ebp - 0x7eb], esi
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x7e7], edx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x7e3], ecx
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x7f0]
test eax, eax
jne 0x40d74c
lea edx, [ebp - 0x7f4]
push edx
push 0x404768
push dword [ebp - 0x2c]
push 0xe
push dword [0x46e788]
call sub.USER32.dll_DialogBoxParamA
dec eax
sete cl
and ecx, 1
jmp 0x40d74e
xor ecx, ecx
test cl, cl
je case.0x40d2f5.0
mov al, 1
jmp 0x40d758
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8