Function at 0x41611f
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x42cd4b
call fcn.00421904
mov eax, 0x30f8
call fcn.00420a50
cmp dword [0x432f98], 1
push ebx
push esi
push edi
jne 0x416166
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
push edi
push edi
push 0x2402
push dword [0x441fe8]
call esi
push edi
push 4
push 0x2413
push dword [0x441fe8]
call esi
mov esi, 0x104
lea eax, [ebp - 0x440]
push esi
push eax
push dword [ebp + 0xc]
call fcn.00415fe4
add esp, 0xc
test al, al
je 0x416470
cmp byte [ebp - 0x440], 0x22
push esi
lea eax, [ebp - 0x43f]
je 0x41619c
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.004208c0
and byte [ebp - 0xb9], 0
add esp, 0xc
lea eax, [ebp - 0x1bc]
push eax
call fcn.00420cc0
cmp byte [ebp + eax - 0x1bd], 0x22
lea eax, [ebp + eax - 0x1bd]
pop ecx
jne 0x4161d4
and byte [eax], 0
lea eax, [ebp - 0x1bc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [ebp - 0x33c]
push 0x100
mov edi, 0x437ea8
push eax
push edi
mov esi, str.SETTING
push str.TYPE
push esi
call ebx
test eax, eax
je 0x416470
lea eax, [ebp - 0x33c]
push str.PROXY
push eax
call fcn.00422440
pop ecx
test eax, eax
pop ecx
jne 0x41622e
push eax
push 1
call fcn.0041498e
pop ecx
pop ecx
jmp 0x416470
lea eax, [ebp - 0x33c]
push str.MISC
push eax
call fcn.00422440
pop ecx
test eax, eax
pop ecx
jne 0x41624a
push eax
push 3
jmp 0x416222
lea eax, [ebp - 0x33c]
push str.TIMEOUT
push eax
call fcn.00422440
pop ecx
test eax, eax
pop ecx
jne 0x41627b
lea eax, [ebp - 0x1bc]
push eax
push 0
push str.TIMEREC
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 2
jmp 0x416222
lea eax, [ebp - 0x33c]
push str.REFRESH
push eax
call fcn.00422440
pop ecx
test eax, eax
pop ecx
jne 0x416470
cmp dword [0x442024], eax
jne 0x4162b8
cmp dword [0x432f98], eax
je 0x4162aa
push 1
jmp 0x4162ac
push 2
push 0x9c73
call fcn.0040a838
pop ecx
pop ecx
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x744]
push 0x100
push eax
push edi
push str.ERRORID
push esi
call ebx
test eax, eax
jbe 0x4162ec
lea eax, [ebp - 0x744]
push eax
call fcn.00416039
test eax, eax
pop ecx
mov dword [ebp - 0x10], eax
jne 0x416304
lea eax, [ebp - 0x1bc]
push eax
push 0
push str.HWND
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x540]
push 0x100
push eax
push edi
push 0x432e8c
push esi
call ebx
cmp dword [ebp - 0x10], 0
je 0x416470
test eax, eax
je 0x416470
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x80
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x540]
push 0xffffffffffffffff
push eax
call fcn.00401b17
add esp, 0x10
lea eax, [ebp - 0x1bc]
and byte [ebp + 0xf], 0
push eax
lea eax, [ebp - 0x24]
push 0x10
push eax
push edi
push str.BROWSER
push esi
call ebx
test eax, eax
je 0x416383
cmp byte [ebp - 0x24], 0x49
jne 0x416383
cmp byte [ebp - 0x23], 0x33
jne 0x416383
mov byte [ebp + 0xf], 1
lea eax, [ebp - 0x24]
push eax
call fcn.00420cc0
mov esi, eax
pop ecx
cmp esi, 0x10
jle 0x416397
push 0x10
pop esi
lea eax, [ebp - 0x24]
push esi
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004208c0
lea eax, [ebp - 0x23c]
mov byte [ebp + esi - 0xb8], 0x7c
and byte [ebp + esi - 0xb7], 0
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00420690
add esp, 0x14
cmp byte [ebp + 0xf], 0
je 0x4163f8
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.00420cc0
pop ecx
push eax
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x10]
call fcn.0041247c
add esp, 0x10
jmp 0x416470
lea ecx, [ebp - 0x3104]
call fcn.0041dbe0
lea eax, [ebp - 0x644]
and dword [ebp - 4], 0
push 0x104
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x3104]
push eax
call fcn.00406c11
lea eax, [ebp - 0x644]
push eax
push dword [ebp - 0x10]
call fcn.0040a0a7
push dword [ebp - 0x10]
call fcn.004093d0
add esp, 0x1c
lea eax, [ebp - 0xb8]
push edi
push eax
call fcn.00420cc0
pop ecx
push eax
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x10]
call fcn.0041247c
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x3104]
call fcn.0041dcb8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret