Function at 0x10010e5c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
push 0x3d
cmp ebx, edi
mov esi, ecx
sete al
dec eax
lea ecx, [ebp - 0x10]
and al, 0xe3
mov dword [ebp - 4], esi
add eax, 0x3d
push eax
push dword [ebp + 8]
push edi
push edi
call fcn.10012073
cmp ebx, edi
je 0x10010e9c
lea ecx, [ebp - 0x10]
call fcn.10012061
mov dword [ebp + 8], eax
cmp dword [ebp + 0xc], edi
je 0x10010eb3
push dword [ebp + 8]
mov ecx, esi
call fcn.10010d26
test eax, eax
je 0x10011133
cmp dword [0x10018dd0], edi
je 0x10011133
cmp dword [esi + 0x18], edi
je 0x10011133
or esi, 0xffffffff
mov dword [ebp - 8], edi
cmp ebx, esi
je 0x10010edb
cmp ebx, 0xfffffffe
jne 0x1001111d
mov eax, dword [0x10018dd4]
add eax, 0x14
cmp dword [ebp + 0x20], eax
jle 0x1001111d
mov edi, dword [ebp + 0x1c]
mov dword [ebp + 0xc], edi
and byte [edi], 0
mov eax, dword [0x10018dd4]
inc eax
push eax
push dword [0x10018dd0]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [0x10018dd4]
mov ecx, esi
sub ecx, eax
add edi, eax
add dword [ebp + 0x20], ecx
mov ecx, dword [ebp - 4]
push esi
mov dword [ebp + 0x1c], edi
call fcn.10011b65
cmp ebx, esi
mov eax, str.Session
je 0x10010f31
mov eax, str.Index
push dword [0x10018dd0]
push dword [ebp + 0x20]
push edi
push 0x100189f0
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [edi], 0
je 0x10010f5e
push dword [ebp + 0xc]
call fcn.1000e652
test eax, eax
pop ecx
jne 0x10010f5e
and byte [edi], al
cmp byte [edi], 0
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, str.back
mov esi, str.Requested
jne 0x10011000
push dword [0x10018dd0]
push 0xffffffffffffffff
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [0x10018dd0]
mov dword [ebp + 0x20], eax
push 0
push str.front
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jl 0x10011000
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp + 0x20]
jge 0x10011000
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push str.url_d
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x238]
push dword [0x10018dd0]
push 0x1f3
push eax
lea eax, [ebp - 0x44]
push 0x100189f0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp + 8]
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10010ff9
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
jmp 0x10010fa5
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 4]
call fcn.10011bab
cmp dword [ebp - 8], 0
jne 0x100110fe
mov eax, dword [ebp + 0x1c]
cmp byte [eax], 0
jne 0x100110fe
cmp dword [ebp + 0x14], 0
je 0x100110fe
mov ecx, dword [ebp - 4]
push 0xffffffffffffffff
call fcn.10011afa
push dword [0x10018dd0]
push 0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp + 0x20], eax
push eax
lea eax, [ebp - 0x44]
push str.url_d
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x44]
push dword [0x10018dd0]
push dword [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push dword [ebp + 0x20]
lea eax, [ebp - 0x44]
push str.persist_d
push eax
call edi
push dword [0x10018dd0]
lea eax, [ebp - 0x44]
push dword [ebp + 0x10]
push eax
push esi
call fcn.1000d8c8
add esp, 0x1c
lea eax, [ebp - 0x44]
push dword [ebp + 0x20]
push str.notifyid_d
push eax
call edi
push dword [0x10018dd0]
lea eax, [ebp - 0x44]
push dword [ebp + 0x14]
push eax
push esi
call fcn.1000d8c8
add esp, 0x1c
lea eax, [ebp - 0x44]
push dword [ebp + 0x20]
push str.prog_d
push eax
call edi
push dword [0x10018dd0]
xor eax, eax
cmp dword [ebp + 0x18], eax
setne al
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.1000d8c8
mov eax, dword [ebp + 0x20]
push dword [0x10018dd0]
inc eax
push eax
push ebx
push esi
call fcn.1000d8c8
mov ecx, dword [ebp - 4]
add esp, 0x2c
call fcn.10011b3b
mov ecx, 0x10018d50
call fcn.10011e6e
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1001110f
cmp byte [eax], 0
je 0x1001110f
push 1
pop esi
jmp 0x10011111
xor esi, esi
lea ecx, [ebp - 0x10]
call fcn.10012064
mov eax, esi
jmp 0x1001113d
push edi
mov ecx, 0x10018d50
push dword [ebp + 0x14]
push edi
push dword [ebp + 8]
call fcn.1001032d
mov esi, eax
jmp 0x10011111
lea ecx, [ebp - 0x10]
call fcn.10012064
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x1c