Function at 0x10017605
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], 5
push edi
mov dword [ebp - 8], ebx
mov al, cl
cmp dword [ebp - 8], 0xfffffffc
push 2
mov byte [ebp - 1], al
pop esi
jge 0x100176cc
mov dword [ebp - 0x18], 0xb583
mov dword [ebp - 0xc], ebx
jmp 0x10017646
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x44], 0x9ea9831
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x10017638
mov dword [ebp - 0xc], ebx
jmp 0x1001765e
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x50], 0xa167c28c
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jl 0x10017650
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
imul eax, dword [ebp - 0x18], 0xe3e
mov edx, dword [ebp - 0x44]
push 0
sub edx, eax
mov eax, dword [ebp - 8]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [ebp - 8]
setl cl
xor ebx, ebx
cmp ecx, eax
setne bl
xor edx, edx
imul ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 8]
cmp ebx, eax
mov eax, dword [ebp - 8]
pop ebx
setle dl
add ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x44]
setg dl
xor ecx, ecx
cmp eax, edx
setge cl
mov dword [ebp - 0x50], ecx
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xfffffffc
jl 0x1001762c
mov al, byte [ebp - 1]
xor edi, edi
inc edi
test al, al
je 0x100178c7
mov dword [ebp - 0x18], 0xfffffffd
mov dword [ebp - 0x10], ebx
jmp 0x100176f1
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x24], 0x24039b64
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x100176e3
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x10017706
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
jl 0x10017751
mov dword [ebp - 0x10], ebx
jmp 0x10017721
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x34], 9
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x10017713
mov dword [ebp - 0x34], ebx
jmp 0x10017747
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x10017744
push ebx
push 0x1453
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], ebx
jle 0x1001772b
dec dword [ebp - 0x18]
jns 0x1001770e
mov dword [ebp - 0x18], 0xb26bdde0
mov dword [ebp - 0xc], 0xfffffff9
mov dword [ebp - 0x18], 0x12
jmp 0x100178ac
mov dword [ebp - 0x14], 8
mov dword [ebp - 0xc], ebx
jmp 0x10017785
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x2c], 0xfb6318d5
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x10017777
mov dword [ebp - 0xc], ebx
jmp 0x1001779d
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x6c], 0xfffffffb
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jl 0x1001778f
mov dword [ebp - 0x60], edi
cmp dword [ebp - 0x60], ebx
jl 0x10017893
mov dword [ebp - 0x20], 0xfffffffb
mov eax, dword [ebp - 0x60]
mov eax, dword [ebp + eax*4 - 0x2c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xc], ebx
jmp 0x1001787d
mov dword [ebp - 8], edi
mov dword [ebp - 8], edi
cmp dword [ebp - 8], ebx
jl 0x1001787a
mov dword [ebp - 0x10], 0x28fdeb77
mov dword [ebp - 0x10], ebx
jmp 0x1001781b
mov dword [ebp - 0x14], ebx
jmp 0x100177f6
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x7c], 0x4307a329
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x100177e8
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + eax*4 - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0xc]
imul ecx, eax
mov dword [ebp - 0x7c], ecx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jle 0x100177e3
mov eax, dword [ebp - 0x60]
xor edx, edx
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp + eax*4 - 0x2c]
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x2c], esi
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
inc ecx
cmp ecx, eax
setge dl
xor eax, eax
cmp esi, edx
setne al
sub eax, dword [ebp - 0x68]
neg eax
sbb eax, eax
xor edx, edx
inc eax
cmp eax, 0x2a6f944d
mov eax, dword [ebp - 0x20]
setne dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [ebp - 0x14], ecx
dec dword [ebp - 8]
jns 0x100177d7
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x12
jg 0x100177c8
dec dword [ebp - 0x60]
jns 0x100177af
push 2
pop esi
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x100178a9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xb
jg 0x1001776b
push 0x15e3
push ebx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
jmp 0x10017bf8
mov dword [ebp - 0x18], 0xd16df251
mov dword [ebp - 0x14], 0xb8561371
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
jne 0x10017927
cmp dword [ebp - 0x18], ebx
jne 0x10017913
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov eax, dword [ebp - 0x14]
inc eax
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x34ca
jl 0x10017915
mov ecx, edi
xor eax, eax
cmp ecx, 6
setg al
mov dword [ebp - 0x14], eax
mov eax, ebx
cmp dword [ebp - 0x14], ebx
je 0x10017929
mov eax, edi
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
test eax, eax
mov eax, dword [ebp - 0x18]
sets cl
xor edx, edx
cmp ecx, eax
setg dl
or ecx, 0xffffffff
imul edx, dword [ebp - 0x18]
test edx, edx
je 0x1001795e
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x100179ad
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
jmp 0x100179aa
mov dword [ebp - 0x14], 0xfffffff6
mov dword [ebp - 0x18], 0xc5860bc2
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], ebx
je 0x1001797a
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x14], 0xffff
mov ecx, 0xfffa
cmp ecx, eax
mov eax, dword [ebp - 0x14]
sbb edx, edx
add eax, 0x2ae4
xor ecx, ecx
inc edx
cmp edx, eax
setg cl
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x10]
dec eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x14], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0x97f6af11
mov dword [ebp - 0x18], 0xfffffff7
mov dword [ebp - 0x18], 0x115cd63c
mov dword [ebp - 8], ebx
jmp 0x10017b4c
mov dword [ebp - 0xc], 0x1a4e6659
mov dword [ebp - 0x10], 0xfca5eb5a
mov dword [ebp - 0x18], ebx
jmp 0x100179f1
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x3c], 0x5912
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x100179e3
mov eax, dword [ebp - 8]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, 0x3ec9
setl cl
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], ebx
jne 0x10017a1e
cmp dword [ebp - 8], ebx
jne 0x10017a23
cmp dword [ebp - 0xc], ebx
je 0x10017a27
cmp dword [ebp - 8], ebx
je 0x10017a27
mov eax, edi
jmp 0x10017a29
mov eax, ebx
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov eax, dword [ebp - 0x3c]
cmp eax, 0xfff6
setne cl
cmp dword [ebp - 8], ecx
jg 0x10017a78
mov dword [ebp - 0x20], 0x3b26d5d6
or ecx, 0xffffffff
mov dword [ebp - 0xc], ebx
jmp 0x10017a6d
mov dword [ebp - 0x20], 0xf339
cmp dword [ebp - 0x20], ebx
je 0x10017a60
mov eax, edi
cmp dword [ebp - 8], ebx
jne 0x10017a62
mov eax, ebx
cmp ecx, eax
sbb eax, eax
inc eax
mov dword [ebp - 0x20], eax
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffe9
jle 0x10017a4d
jmp 0x10017b33
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0xab10e3a1
mov dword [ebp - 0x20], 0x3a2cc370
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc], ebx
ja 0x10017a9f
mov ecx, edi
cmp dword [ebp - 0x10], ebx
jne 0x10017aa1
mov ecx, ebx
xor eax, eax
cmp ecx, 0x7b48fe2d
setle al
imul eax, dword [ebp - 0x10]
test eax, eax
jne 0x10017abb
mov eax, ebx
cmp dword [ebp - 0x14], ebx
je 0x10017abd
mov eax, edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x3c], 0xfffffffa
jle 0x10017ad6
mov edx, edi
cmp dword [ebp - 0x14], ebx
jne 0x10017ad8
mov edx, ebx
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x10]
setl cl
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
sete dl
sub edx, 9
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setle cl
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x18]
cmp eax, 0xd571
setne cl
add ecx, 0xaedf
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0xc]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp edx, eax
setle cl
neg ecx
mov dword [ebp - 0x20], ecx
or ecx, 0xffffffff
mov dword [ebp - 0x10], ebx
jmp 0x10017b44
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x3c], ebx
jne 0x10017b49
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jle 0x10017b38
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jle 0x100179d0
mov byte [ebp - 2], bl
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x18], ebx
jmp 0x10017b6a
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x5c], ecx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x10017b60
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x18], ebx
jl 0x10017ba1
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x10017b9c
push 0x102d
push 0xcaa
push 0xfbe
push 0x3ed
push ebx
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
dec dword [ebp - 0x18]
jns 0x10017b78
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x10017bb0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [ebp - 2], 0
je 0x10017bf8
mov dword [ebp - 0x20], 0xa473eb90
mov dword [ebp - 0x18], ebx
jmp 0x10017bd0
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1c], 0x55683450
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10017bc2
inc dword [ebp - 0x1c]
mov byte [ebp - 2], bl
cmp byte [ebp - 2], 0
je 0x10017bee
push ebx
push 0x2cf
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret