Function at 0x401890
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x104
push 0xffffffffffffffff
push 0x426b10
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x431c44]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.00406171
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4018e6
push 0x80004005
call fcn.00401850
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0
push 0x42ba13
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.004042a0
call fcn.00406171
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401925
push 0x80004005
call fcn.00401850
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x435ad0
push 0x100
lea ecx, [ebp]
push ecx
push str.http:__www.baidu.com
push str.site
push str.linknet
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
push 0
push 0
push 1
push 1
push str.Update_1.0
lea ecx, [ebp - 0x38]
call fcn.004055d0
push 0
push 0
push 1
push 1
lea edx, [ebp]
push edx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00405f5e
mov edi, eax
mov dword [ebp - 0x20], edi
nop
mov eax, dword [edi]
mov edx, dword [eax + 0x58]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, edi
call edx
test eax, eax
je 0x401a4d
push 0x42ba48
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00403f60
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, dword [eax]
mov esi, dword [ebp - 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x401a15
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x401a05
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x401a05
push eax
call fcn.00404390
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4019fd
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x14], ebx
jmp 0x401a12
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.004042a0
mov edi, dword [ebp - 0x20]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401a38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00404400
jmp 0x401990
mov edx, dword [edi]
mov eax, dword [edx + 0x4c]
mov ecx, edi
mov bl, 1
call eax
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
mov dword [ebp - 4], 2
jmp 0x401a80
lea ecx, [ebp - 0x38]
call fcn.00405bbf
test bl, bl
je 0x401a93
push str.Net_ok._n
jmp 0x401a98
push str.Net_not_ok._n
call fcn.0041129d
add esp, 4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00405ca2
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401acf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401af5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.0041128e
add ebp, 0x104
mov esp, ebp
pop ebp
ret