Function at 0x4253cf
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd94
mov eax, 0x4b5825
push ebx
push esi
push edi
mov ebx, 0x4b6271
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
call fcn.0049d698
mov word [esi], 0x15
lea edx, [esi + 2]
mov dword [esi + 0x8c], 0xffffffff
mov byte [esi + 0x8a], 0
push edx
call fcn.00404568
pop ecx
mov word [ebp - 0x34], 8
lea ecx, [ebx + 3]
push ecx
lea eax, [ebp - 4]
push eax
call fcn.004aa30c
add esp, 8
lea edx, [ebp - 4]
inc dword [ebp - 0x28]
lea ecx, [esi + 0xa4]
push 0xffffffffffffffff
push 0
push edx
push ecx
call fcn.004a9f54
add esp, 0x10
push 0xffffffffffffffff
push 0
push eax
lea eax, [esi + 0xa0]
push eax
call fcn.004a9f54
add esp, 0x10
dec dword [ebp - 0x28]
push 2
lea edx, [ebp - 4]
push edx
call fcn.004aac40
add esp, 8
mov word [ebp - 0x34], 0x14
lea ecx, [ebx + 3]
push ecx
lea eax, [ebp - 8]
push eax
call fcn.004aa30c
add esp, 8
lea edx, [ebp - 8]
inc dword [ebp - 0x28]
lea ecx, [esi + 0xac]
push 0xffffffffffffffff
push 0
push edx
push ecx
call fcn.004a9f54
add esp, 0x10
push 0xffffffffffffffff
push 0
push eax
lea eax, [esi + 0xa8]
push eax
call fcn.004a9f54
add esp, 0x10
dec dword [ebp - 0x28]
push 2
lea edx, [ebp - 8]
push edx
call fcn.004aac40
add esp, 8
xor ecx, ecx
mov dword [esi + 0x90], ecx
mov byte [esi + 0x8b], 0
mov dword [esi + 0x94], 0x1e
mov dword [esi + 0x98], 4
mov dword [esi + 0x9c], 0x12c
test edi, edi
je 0x4254f0
cmp byte [edi], 0
jne 0x4254fe
mov eax, dword [ebp - 0x44]
mov dword fs:[0], eax
jmp 0x425e4f
push edi
push 0x19
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebx + 0xe3]
push ecx
lea eax, [ebx + 0xae]
push eax
lea edx, [ebx + 0x41]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea ecx, [ebp - 0x48]
push ecx
lea eax, [ebx + 0x1b]
push eax
lea edx, [ebp - 0x26c]
push edx
call fcn.004a0114
add esp, 0xc
dec eax
jne 0x425540
mov cx, word [ebp - 0x48]
mov word [esi], cx
push edi
push 0x19
lea eax, [ebp - 0x26c]
push eax
lea edx, [ebx + 0xe6]
push edx
lea ecx, [ebx + 0x48]
push ecx
lea eax, [ebx + 0x41]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebx + 0x3e]
push ecx
lea eax, [ebp - 0x26c]
push eax
call fcn.004a0114
add esp, 0xc
dec eax
jne 0x425581
mov edx, dword [ebp - 0x4c]
mov dword [esi + 0x8c], edx
push edi
push 0x1ff
lea ecx, [ebp - 0x26c]
push ecx
lea eax, [ebx + 3]
push eax
lea edx, [ebx + 0x53]
push edx
lea ecx, [ebx + 0x41]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov word [ebp - 0x34], 0x20
lea eax, [ebp - 0x26c]
push eax
lea edx, [ebp - 0xc]
push edx
call fcn.004aa30c
add esp, 8
lea ecx, [ebp - 0xc]
inc dword [ebp - 0x28]
lea eax, [esi + 0xa0]
push 0xffffffffffffffff
push 0
push ecx
push eax
call fcn.004a9f54
add esp, 0x10
dec dword [ebp - 0x28]
push 2
lea edx, [ebp - 0xc]
push edx
call fcn.004aac40
add esp, 8
lea ecx, [ebp - 0x26c]
lea eax, [ebx + 3]
lea edx, [ebx + 0x64]
push edi
push 0x1ff
push ecx
push eax
push edx
lea ecx, [ebx + 0x41]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov word [ebp - 0x34], 0x2c
lea eax, [ebp - 0x26c]
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.004aa30c
add esp, 8
lea ecx, [ebp - 0x10]
inc dword [ebp - 0x28]
lea eax, [esi + 0xa4]
push 0xffffffffffffffff
push 0
push ecx
push eax
call fcn.004a9f54
add esp, 0x10
dec dword [ebp - 0x28]
push 2
lea edx, [ebp - 0x10]
push edx
call fcn.004aac40
add esp, 8
lea ecx, [ebp - 0x26c]
lea eax, [ebx + 3]
lea edx, [ebx + 0x76]
push edi
push 0x1ff
push ecx
push eax
push edx
lea ecx, [ebx + 0x41]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov word [ebp - 0x34], 0x38
lea eax, [ebp - 0x26c]
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.004aa30c
add esp, 8
lea ecx, [ebp - 0x14]
inc dword [ebp - 0x28]
lea eax, [esi + 0xa8]
push 0xffffffffffffffff
push 0
push ecx
push eax
call fcn.004a9f54
add esp, 0x10
dec dword [ebp - 0x28]
push 2
lea edx, [ebp - 0x14]
push edx
call fcn.004aac40
add esp, 8
lea ecx, [ebp - 0x26c]
lea eax, [ebx + 3]
lea edx, [ebx + 0x7f]
push edi
push 0x1ff
push ecx
push eax
push edx
lea ecx, [ebx + 0x41]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov word [ebp - 0x34], 0x44
lea eax, [ebp - 0x26c]
push eax
lea edx, [ebp - 0x18]
push edx
call fcn.004aa30c
add esp, 8
lea ecx, [ebp - 0x18]
inc dword [ebp - 0x28]
lea eax, [esi + 0xac]
push 0xffffffffffffffff
push 0
push ecx
push eax
call fcn.004a9f54
add esp, 0x10
dec dword [ebp - 0x28]
push 2
lea edx, [ebp - 0x18]
push edx
call fcn.004aac40
add esp, 8
lea ecx, [ebp - 0x26c]
lea eax, [ebx + 0xe9]
lea edx, [ebx + 0xcb]
push edi
push 0x19
push ecx
push eax
push edx
lea ecx, [ebx + 0x41]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea eax, [ebx + 0xef]
push eax
lea edx, [ebp - 0x26c]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425786
lea ecx, [ebx + 0xdf]
push ecx
lea eax, [ebp - 0x26c]
push eax
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425786
lea edx, [ebx + 0xe4]
push edx
lea ecx, [ebp - 0x26c]
push ecx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425786
lea eax, [ebx + 0xf4]
push eax
lea edx, [ebp - 0x26c]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x42578d
mov byte [esi + 0x8a], 1
push edi
lea ecx, [esi + 2]
push ecx
call fcn.0041be60
add esp, 8
lea eax, [ebp - 0x26c]
lea edx, [ebx + 0xf7]
lea ecx, [ebx + 0x89]
push edi
push 0x19
push eax
push edx
push ecx
lea eax, [ebx + 0x41]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebx + 0xa4]
push edx
lea ecx, [ebp - 0x26c]
push ecx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x4257de
mov dword [esi + 0x90], 1
jmp 0x425809
lea eax, [ebx + 0x9d]
push eax
lea edx, [ebp - 0x26c]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x425801
mov dword [esi + 0x90], 2
jmp 0x425809
xor ecx, ecx
mov dword [esi + 0x90], ecx
push edi
push 0x19
lea eax, [ebp - 0x26c]
push eax
lea edx, [ebx + 0x107]
push edx
lea ecx, [ebx + 0xfb]
push ecx
lea eax, [ebx + 0x41]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov byte [ebp - 0x263], 0
mov byte [ebp - 0x4d], 1
xor eax, eax
movsx edx, byte [ebp + eax - 0x26c]
cmp edx, 0x72
je 0x425857
cmp edx, 0x77
je 0x425857
cmp edx, 0x78
je 0x425857
cmp edx, 0x2d
je 0x425857
mov byte [ebp - 0x4d], 0
inc eax
cmp eax, 9
jl 0x425837
cmp byte [ebp - 0x4d], 0
je 0x4258a9
mov word [ebp - 0x34], 0x50
lea ecx, [ebp - 0x26c]
push ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.004aa30c
add esp, 8
lea edx, [ebp - 0x1c]
inc dword [ebp - 0x28]
lea ecx, [esi + 0xb0]
push 0xffffffffffffffff
push 0
push edx
push ecx
call fcn.004a9f54
add esp, 0x10
dec dword [ebp - 0x28]
push 2
lea eax, [ebp - 0x1c]
push eax
call fcn.004aac40
add esp, 8
jmp 0x4258ed
mov word [ebp - 0x34], 0x5c
lea edx, [ebx + 0x107]
push edx
lea ecx, [ebp - 0x20]
push ecx
call fcn.004aa30c
add esp, 8
lea eax, [ebp - 0x20]
inc dword [ebp - 0x28]
lea edx, [esi + 0xb0]
push 0xffffffffffffffff
push 0
push eax
push edx
call fcn.004a9f54
add esp, 0x10
dec dword [ebp - 0x28]
push 2
lea ecx, [ebp - 0x20]
push ecx
call fcn.004aac40
add esp, 8
push edi
push 0x19
lea eax, [ebp - 0x26c]
push eax
lea edx, [ebx + 0xe9]
push edx
lea ecx, [ebx + 0x111]
push ecx
lea eax, [ebx + 0x41]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebx + 0xef]
push edx
lea ecx, [ebp - 0x26c]
push ecx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x42596a
lea eax, [ebx + 0xdf]
push eax
lea edx, [ebp - 0x26c]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x42596a
lea ecx, [ebx + 0xe4]
push ecx
lea eax, [ebp - 0x26c]
push eax
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x42596a
lea edx, [ebx + 0xf4]
push edx
lea ecx, [ebp - 0x26c]
push ecx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x425971
mov byte [esi + 0x8b], 1
push edi
push 0x19
lea eax, [ebp - 0x26c]
push eax
lea edx, [ebx + 3]
push edx
lea ecx, [ebx + 0x11c]
push ecx
lea eax, [ebx + 0x41]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebx + 0x3e]
push ecx
lea eax, [ebp - 0x26c]
push eax
call fcn.004a0114
add esp, 0xc
dec eax
jne 0x4259b8
cmp dword [ebp - 0x54], 0
jle 0x4259b8
mov edx, dword [ebp - 0x54]
mov dword [esi + 0x94], edx
push edi
push 0x19
lea ecx, [ebp - 0x26c]
push ecx
lea eax, [ebx + 3]
push eax
lea edx, [ebx + 0x12d]
push edx
lea ecx, [ebx + 0x41]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea eax, [ebp - 0x54]
push eax
lea edx, [ebx + 0x3e]
push edx
lea ecx, [ebp - 0x26c]
push ecx
call fcn.004a0114
add esp, 0xc
dec eax
jne 0x4259ff
cmp dword [ebp - 0x54], 0
jle 0x4259ff
mov eax, dword [ebp - 0x54]
mov dword [esi + 0x98], eax
push edi
push 0x19
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebx + 3]
push ecx
lea eax, [ebx + 0x13d]
push eax
lea edx, [ebx + 0x41]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea ecx, [ebp - 0x54]
push ecx
lea eax, [ebx + 0x3e]
push eax
lea edx, [ebp - 0x26c]
push edx
call fcn.004a0114
add esp, 0xc
dec eax
jne 0x425a46
cmp dword [ebp - 0x54], 0
jle 0x425a46
mov ecx, dword [ebp - 0x54]
mov dword [esi + 0x9c], ecx
cmp dword [esi + 0x94], 0
jg 0x425a59
mov dword [esi + 0x94], 0x1e
cmp dword [esi + 0x98], 0
jg 0x425a6c
mov dword [esi + 0x98], 4
cmp dword [esi + 0x9c], 0
jg 0x425a7f
mov dword [esi + 0x9c], 0x12c
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x64], 0xffffffff
push edi
lea eax, [ebp - 0x26c]
push 0x19
push eax
lea edx, [ebx + 3]
lea ecx, [ebx + 0x14d]
push edx
push ecx
lea eax, [ebx + 0x41]
or esi, 0xffffffff
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebx + 0xef]
push edx
lea ecx, [ebp - 0x26c]
push ecx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425b18
lea eax, [ebx + 0xdf]
push eax
lea edx, [ebp - 0x26c]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425b18
lea ecx, [ebx + 0xe4]
push ecx
lea eax, [ebp - 0x26c]
push eax
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425b18
lea edx, [ebx + 0xf4]
push edx
lea ecx, [ebp - 0x26c]
push ecx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x425b1d
mov esi, 1
lea eax, [ebx + 0xe9]
push eax
lea edx, [ebp - 0x26c]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425b76
lea ecx, [ebx + 0x15d]
push ecx
lea eax, [ebp - 0x26c]
push eax
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425b76
lea edx, [ebx + 0x24]
push edx
lea ecx, [ebp - 0x26c]
push ecx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425b76
lea eax, [ebx + 0x160]
push eax
lea edx, [ebp - 0x26c]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x425b78
xor esi, esi
push edi
push 0x19
lea eax, [ebp - 0x26c]
push eax
lea edx, [ebx + 3]
push edx
lea ecx, [ebx + 0x164]
push ecx
lea eax, [ebx + 0x41]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebx + 0xef]
push edx
lea ecx, [ebp - 0x26c]
push ecx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425bf2
lea eax, [ebx + 0xdf]
push eax
lea edx, [ebp - 0x26c]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425bf2
lea ecx, [ebx + 0xe4]
push ecx
lea eax, [ebp - 0x26c]
push eax
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425bf2
lea edx, [ebx + 0xf4]
push edx
lea ecx, [ebp - 0x26c]
push ecx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x425bf9
mov dword [ebp - 0x60], 1
lea eax, [ebx + 0xe9]
push eax
lea edx, [ebp - 0x26c]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425c52
lea ecx, [ebx + 0x15d]
push ecx
lea eax, [ebp - 0x26c]
push eax
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425c52
lea edx, [ebx + 0x24]
push edx
lea ecx, [ebp - 0x26c]
push ecx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425c52
lea eax, [ebx + 0x160]
push eax
lea edx, [ebp - 0x26c]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x425c57
xor ecx, ecx
mov dword [ebp - 0x60], ecx
push edi
push 0x19
lea eax, [ebp - 0x26c]
push eax
lea edx, [ebx + 3]
push edx
lea ecx, [ebx + 0x174]
push ecx
lea eax, [ebx + 0x41]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebx + 0xef]
push edx
lea ecx, [ebp - 0x26c]
push ecx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425cd1
lea eax, [ebx + 0xdf]
push eax
lea edx, [ebp - 0x26c]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425cd1
lea ecx, [ebx + 0xe4]
push ecx
lea eax, [ebp - 0x26c]
push eax
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425cd1
lea edx, [ebx + 0xf4]
push edx
lea ecx, [ebp - 0x26c]
push ecx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x425cd8
mov dword [ebp - 0x64], 1
lea eax, [ebx + 0xe9]
push eax
lea edx, [ebp - 0x26c]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425d31
lea ecx, [ebx + 0x15d]
push ecx
lea eax, [ebp - 0x26c]
push eax
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425d31
lea edx, [ebx + 0x24]
push edx
lea ecx, [ebp - 0x26c]
push ecx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x425d31
lea eax, [ebx + 0x160]
push eax
lea edx, [ebp - 0x26c]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x425d36
xor ecx, ecx
mov dword [ebp - 0x64], ecx
push edi
push 0x19
lea eax, [ebp - 0x26c]
push eax
lea edx, [ebx + 3]
push edx
lea ecx, [ebx + 0x182]
push ecx
lea eax, [ebx + 0x41]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebx + 0x3e]
push ecx
lea eax, [ebp - 0x26c]
push eax
call fcn.004a0114
add esp, 0xc
dec eax
jne 0x425d7a
cmp dword [ebp - 0x54], 0
jle 0x425d7a
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
push edi
push 0x19
lea ecx, [ebp - 0x26c]
push ecx
lea eax, [ebx + 3]
push eax
lea edx, [ebx + 0x192]
push edx
lea ecx, [ebx + 0x41]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea eax, [ebp - 0x54]
push eax
lea edx, [ebx + 0x3e]
push edx
lea ecx, [ebp - 0x26c]
push ecx
call fcn.004a0114
add esp, 0xc
dec eax
jne 0x425dbe
cmp dword [ebp - 0x54], 0
jle 0x425dbe
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov ecx, esi
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x6c], esi
mov esi, dword [ebp - 0x6c]
mov dword [0x4b6454], esi
mov esi, dword [ebp - 0x68]
mov dword [0x4b6450], esi
mov dword [0x4b6444], ecx
mov dword [0x4b6448], edx
mov dword [0x4b644c], eax
push edi
push 0x19
lea eax, [ebp - 0x26c]
push eax
lea edx, [ebx + 3]
push edx
lea ecx, [ebx + 0x1a2]
push ecx
lea eax, [ebx + 0x41]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebx + 0x3e]
push ecx
lea eax, [ebp - 0x26c]
push eax
call fcn.004a0114
add esp, 0xc
dec eax
jne 0x425e45
cmp dword [ebp - 0x54], 0
jle 0x425e45
mov eax, dword [ebp - 0x54]
cmp eax, 5
jge 0x425e40
mov eax, 5
mov dword [0x4b6440], eax
mov edx, dword [ebp - 0x44]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret