Function at 0x41739c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffc80
push ebx
push esi
push edi
mov esi, edx
mov edx, dword [ebp + 8]
mov edi, ecx
push esi
lea ecx, [ebp - 0x138]
push 0x103
push ecx
mov ebx, eax
push 0x45298a
push edx
mov eax, edi
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
push 0x452f41
lea eax, [ebp - 0x138]
push eax
call fcn.004462cc
add esp, 8
test eax, eax
jne 0x417475
mov edx, dword [0x45d9b4]
cmp edx, 2
jl 0x417453
push dword [ebp + 8]
push 0x452f44
lea ecx, [ebp - 0x23c]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
lea edx, [ebp - 0x340]
lea ecx, [ebp - 0x23c]
mov eax, edi
push esi
push 0x103
push edx
push 0x45298a
push ecx
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0x340]
mov eax, ebx
call fcn.004171e9
lea edx, [ebp - 0x340]
mov eax, ebx
call fcn.00416bd6
jmp 0x417c95
mov ecx, dword [0x45d9b8]
test ecx, ecx
jne 0x417467
mov dword [0x45d9b8], 1
mov eax, ebx
call fcn.00416bfa
mov al, 1
jmp 0x417c95
push 0x452f49
lea edx, [ebp - 0x138]
push edx
call fcn.004462cc
add esp, 8
test eax, eax
jne 0x4174a3
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x41749c
mov eax, dword [ebx + 4]
mov edx, dword [eax]
call dword [edx + 8]
mov al, 1
jmp 0x417c95
push 0x452f50
lea edx, [ebp - 0x138]
push edx
call fcn.004462cc
add esp, 8
test eax, eax
jne 0x4174c9
mov eax, ebx
call fcn.004171d4
mov al, 1
jmp 0x417c95
push 0x452ccc
lea edx, [ebp - 0x138]
push edx
call fcn.004462cc
add esp, 8
test eax, eax
jne 0x4175e8
mov dword [ebx + 0x125], 5
push dword [ebp + 8]
push 0x452f58
lea ecx, [ebp - 0x444]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
lea eax, [ebp - 0x750]
push 0x45d8b0
push 0x103
push eax
push 0x452f36
push 0x452f63
push 0x452ccc
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebp - 4], edi
lea edx, [ebp - 0x750]
push edx
call fcn.00446238
pop ecx
mov edi, eax
lea eax, [ebp - 0x750]
push esi
add edi, eax
push 0x103
push edi
lea edx, [ebp - 0x444]
push 0x45298a
push edx
push dword [ebp - 4]
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea ecx, [ebp - 0x750]
push ecx
call fcn.00446238
pop ecx
mov esi, eax
lea eax, [ebp - 0x750]
add esi, eax
push 0x45d8b0
push 0x103
push esi
push 0x45298a
push 0x452f6f
push 0x452ccc
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0x750]
mov eax, ebx
call fcn.004171e9
push 0
mov ecx, 0x452f7b
mov edx, 0x452ccc
mov eax, 0x45d8b0
call fcn.00445c9e
test al, al
je 0x4175d4
mov edx, dword [ebx + 4]
test edx, edx
je 0x4175e1
lea edx, [ebp - 0x750]
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4175e1
lea edx, [ebp - 0x750]
mov eax, ebx
call fcn.00417c9e
mov al, 1
jmp 0x417c95
push 0x452f85
lea edx, [ebp - 0x138]
push edx
call fcn.004462cc
add esp, 8
test eax, eax
jne 0x41773c
mov dword [ebx + 0x125], 6
push dword [ebp + 8]
push 0x452f58
lea ecx, [ebp - 0x854]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
lea eax, [ebp - 0xb60]
push 0x45d8b0
push 0x103
push eax
push 0x452f36
push 0x452f97
push 0x452ccc
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebp - 8], edi
lea edx, [ebp - 0xb60]
push edx
call fcn.00446238
pop ecx
lea ecx, [ebp - 0xb60]
add eax, ecx
mov dword [ebp - 0xc], eax
push esi
push 0x103
lea eax, [ebp - 0x854]
push dword [ebp - 0xc]
push 0x45298a
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0xb60]
push edx
call fcn.00446238
pop ecx
lea ecx, [ebp - 0xb60]
add eax, ecx
mov dword [ebp - 0x10], eax
push 0x45d8b0
push 0x103
push dword [ebp - 0x10]
push 0x45298a
push 0x452fa7
push 0x452ccc
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0xb60]
mov eax, ebx
call fcn.004171e9
lea ecx, [ebx + 0x13f]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dl, byte [eax]
test dl, dl
je 0x4176e8
push dword [ebp - 0x14]
push 0
push 0
push 0
call sub.KERNEL32.dll_WritePrivateProfileStringA
push esi
push dword [ebp - 0x14]
call fcn.00446208
add esp, 8
push edi
lea ecx, [ebx + 0x243]
push ecx
call fcn.00446208
add esp, 8
lea eax, [ebp - 0x854]
push eax
lea esi, [ebx + 0x347]
push esi
call fcn.00446208
add esp, 8
push 0x452fb7
push esi
call fcn.00446178
add esp, 8
lea edx, [ebp - 0xb60]
mov eax, ebx
call fcn.00417c9e
mov al, 1
jmp 0x417c95
push 0x452b52
lea edx, [ebp - 0x138]
push edx
call fcn.004462cc
add esp, 8
test eax, eax
jne 0x41785b
push dword [ebp + 8]
push 0x452fbc
lea ecx, [ebp - 0xc64]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
lea edx, [ebp - 0xd68]
lea ecx, [ebp - 0xc64]
mov eax, edi
push esi
push 0x103
push edx
push 0x45298a
push ecx
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0xd68]
mov eax, ebx
call fcn.004171e9
lea edx, [ebp - 0xd68]
lea eax, [ebp - 0x18]
call fcn.00425355
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4177c0
test byte [eax + 0xd], 1
setne dl
and edx, 1
test dl, dl
je 0x417803
lea edx, [ebp - 0xd68]
lea eax, [ebp - 0x1c]
call fcn.0043ac2e
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.004249f0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x417803
mov eax, dword [ebp - 0x1c]
dec word [eax + 0xe]
mov dx, word [eax + 0xe]
test dx, dx
jne 0x417803
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x417803
mov edx, 3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebx + 0x125], 4
add esp, 0xfffffffc
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
test eax, eax
je 0x417821
mov edx, dword [esp]
inc word [edx + 0xe]
mov eax, ebx
call fcn.004164c7
mov al, 1
push eax
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x417855
mov ecx, dword [ebp - 0x18]
dec word [ecx + 0xe]
mov ax, word [ecx + 0xe]
test ax, ax
jne 0x417855
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x417855
mov edx, 3
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx]
pop eax
jmp 0x417c95
push 0x452fc7
lea edx, [ebp - 0x138]
push edx
call fcn.004462cc
add esp, 8
test eax, eax
jne 0x417881
mov eax, ebx
call fcn.00416bfa
mov al, 1
jmp 0x417c95
push 0x452fcf
lea edx, [ebp - 0x138]
push edx
call fcn.004462cc
add esp, 8
test eax, eax
jne 0x417a52
push dword [ebp + 8]
push 0x452fd7
lea ecx, [ebp - 0xe6c]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
lea edx, [ebp - 0xf70]
lea ecx, [ebp - 0xe6c]
mov eax, edi
push esi
push 0x103
push edx
push 0x45298a
push ecx
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0xf70]
mov eax, ebx
call fcn.004171e9
lea ecx, [ebx + 0x44b]
lea eax, [ebp - 0x1074]
mov dword [ebp - 0x20], ecx
push 0x45dbc4
push eax
call fcn.00446208
add esp, 8
mov ecx, 0x452c1f
lea edx, [ebp - 0xf70]
lea eax, [ebp - 0x1074]
call fcn.004455ca
mov edx, dword [ebp - 0x20]
mov cl, byte [edx]
test cl, cl
je 0x41792c
push dword [ebp - 0x20]
push 0
push 0
push 0
call sub.KERNEL32.dll_WritePrivateProfileStringA
lea eax, [ebp - 0x1074]
push eax
push dword [ebp - 0x20]
call fcn.00446208
add esp, 8
mov dl, byte [ebp - 0x1074]
test dl, dl
je 0x41795a
lea ecx, [ebp - 0x1074]
push ecx
push 0
push 0
push 0
call sub.KERNEL32.dll_WritePrivateProfileStringA
push dword [ebp + 8]
push 0x452fdd
lea eax, [ebp - 0xe6c]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
lea ecx, [ebp - 0xe6c]
mov edx, edi
mov eax, esi
push 1
call fcn.00445c9e
test al, al
je 0x417a35
mov dword [ebx + 0x125], 0xa
lea edx, [ebp - 0xf70]
push edx
push 0x45dbc4
push 0x452c88
lea ecx, [ebp - 0x1178]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0x10
lea edx, [ebp - 0x1178]
lea eax, [ebp - 0x24]
call fcn.00425355
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4179d7
test byte [eax + 0xd], 1
setne dl
and edx, 1
test dl, dl
je 0x4179db
xor ecx, ecx
jmp 0x4179e0
mov ecx, 1
test cl, cl
je 0x417a00
add esp, 0xfffffffc
mov esi, eax
mov dword [esp], esi
test esi, esi
je 0x4179f7
mov eax, dword [esp]
inc word [eax + 0xe]
mov eax, ebx
call fcn.004164c7
jmp 0x417a0c
mov edx, 0x452c95
mov eax, ebx
call fcn.00416489
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417a4b
dec word [ebx + 0xe]
mov ax, word [ebx + 0xe]
test ax, ax
jne 0x417a4b
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x417a4b
mov edx, 3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x417a4b
mov dword [ebx + 0x125], 0xb
mov edx, 0x452cad
mov eax, ebx
call fcn.00416489
mov al, 1
jmp 0x417c95
push 0x452fea
lea edx, [ebp - 0x138]
push edx
call fcn.004462cc
add esp, 8
test eax, eax
jne 0x417a9a
xor eax, eax
movsx edx, al
mov dword [ebx + 0x125], 0xf
mov byte [ebx + 0x13e], al
mov eax, ebx
mov byte [ebx + edx + 0x12a], 0
mov edx, 0x452c78
call fcn.00416489
mov al, 1
jmp 0x417c95
push 0x452ff8
lea edx, [ebp - 0x138]
push edx
call fcn.004462cc
add esp, 8
test eax, eax
jne 0x417c70
push dword [ebp + 8]
push 0x452fff
lea ecx, [ebp - 0x127c]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
lea edx, [ebp - 0x1380]
lea ecx, [ebp - 0x127c]
mov eax, edi
push esi
push 0x103
push edx
push 0x45298a
push ecx
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0x1380]
mov eax, ebx
call fcn.004171e9
push dword [ebp + 8]
push 0x453009
lea ecx, [ebp - 0x127c]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
lea eax, [ebp - 0x127c]
mov ecx, 0x4529a4
mov edx, 0x45d8b0
push eax
add esp, 0xfffffffc
push 0x452ca2
add esp, 0xfffffffc
mov dword [esp], 0x493e0
lea eax, [esp + 8]
call fcn.00445f0c
lea eax, [ebp - 0x28]
mov ecx, edi
mov edx, esi
call fcn.00445f0c
push dword [ebp + 8]
push 0x453013
lea eax, [ebp - 0x127c]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
lea edx, [ebp - 0x127c]
lea eax, [ebp - 0x2c]
mov ecx, edi
push edx
add esp, 0xfffffffc
mov edx, esi
mov dword [esp], 0xc350
call fcn.00445f0c
push dword [ebp + 8]
push 0x453023
lea eax, [ebp - 0x127c]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
lea ecx, [ebp - 0x127c]
mov edx, edi
mov eax, esi
push 1
call fcn.00445c9e
mov byte [ebp - 0x2d], al
push dword [ebp + 8]
push 0x45302c
lea edx, [ebp - 0x127c]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0xc
lea ecx, [ebp - 0x127c]
mov edx, edi
mov eax, esi
push 0
call fcn.00445c9e
add esp, 0xfffffffc
mov ecx, dword [ebp - 0x28]
mov dword [esp], ecx
add esp, 0xfffffffc
mov edx, dword [ebp - 0x2c]
mov dword [esp], edx
push eax
lea edx, [ebp - 0x1380]
mov cl, byte [ebp - 0x2d]
mov eax, ebx
call fcn.00417dfe
lea eax, [ebx + 0x13f]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov cl, byte [edx]
test cl, cl
je 0x417c14
push dword [ebp - 0x34]
push 0
push 0
push 0
call sub.KERNEL32.dll_WritePrivateProfileStringA
push esi
push dword [ebp - 0x34]
call fcn.00446208
add esp, 8
push edi
lea eax, [ebx + 0x243]
push eax
call fcn.00446208
add esp, 8
lea edx, [ebx + 0x347]
push dword [ebp + 8]
push edx
call fcn.00446208
add esp, 8
push 0x453035
lea ecx, [ebx + 0x347]
push ecx
call fcn.00446178
mov dword [ebx + 0x125], 0xd
add esp, 8
mov edx, 0x452cad
mov eax, ebx
call fcn.00416489
mov al, 1
jmp 0x417c95
push 0x452ae7
lea edx, [ebp - 0x138]
push edx
call fcn.004462cc
add esp, 8
test eax, eax
jne 0x417c93
mov eax, ebx
call fcn.00414e41
mov al, 1
jmp 0x417c95
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4