Function at 0x401a34
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x42f064]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x74], edi
cmp dword [eax - 0xc], ecx
je 0x401cde
mov edx, dword [ebp + 0xc]
cmp dword [edx - 0xc], ecx
je 0x401cde
mov edx, dword [ebp + 0x10]
cmp dword [edx - 0xc], ecx
je 0x401cde
push ecx
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov esi, eax
mov eax, dword [0x43024c]
mov ebx, 0x43024c
mov ecx, ebx
call dword [eax + 0xc]
push 0x10
pop ecx
add eax, ecx
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.004025a7
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x88]
push str._App_GetReadCount_md5_semail_svisitor_s
call fcn.00402bdf
mov eax, dword [ebp - 0x78]
add esp, 0x18
add eax, 0xfffffff0
call fcn.004018b4
test esi, esi
je 0x401ccd
push 0x13
pop ecx
mov esi, str.Content_Type:_text_html__charsetUTF_8
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00402649
mov dword [ebp - 0x78], eax
call fcn.0040265d
mov dword [ebp - 0x8c], eax
mov eax, dword [0x43024c]
mov ecx, ebx
call dword [eax + 0xc]
push dword [ebp - 0x8c]
add eax, 0x10
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
push str._cn__d_cxy__dhzr
lea eax, [ebp - 0x7c]
call fcn.00402bdf
mov eax, dword [0x43024c]
add esp, 0xc
mov ecx, ebx
call dword [eax + 0xc]
push dword [ebp + 0x10]
add eax, 0x10
push dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
push dword [ebp + 8]
lea eax, [ebp - 0x70]
push str.email_sfilename_svisitor_s
call fcn.00402bdf
mov esi, dword [ebp - 0x70]
mov edi, dword [esi - 0xc]
add edi, edi
mov ecx, edi
call fcn.00424ec0
push eax
mov dword [ebp - 0x84], eax
call fcn.00414ccc
add esp, 0x14
cmp dword [esi - 4], 1
mov ebx, eax
jle 0x401b7d
push dword [esi - 0xc]
lea eax, [ebp - 0x70]
push eax
call fcn.00402a00
mov esi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x7c]
push edi
call fcn.00425230
pop ecx
push dword [ebp - 0x74]
lea eax, [ebp - 0x80]
push eax
push 0x10
pop ecx
call fcn.004025a7
mov ecx, dword [ebp - 0x84]
mov esi, eax
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.004025a7
push dword [esi]
push edi
push dword [eax]
lea eax, [ebp - 0x70]
push dword [ebp - 0x8c]
push dword [ebp - 0x78]
push str._App_ReadLog_r_dt_dkey_skeyLen_dmd5_s
call fcn.00402bdf
mov eax, dword [ebp - 0x74]
add esp, 0x28
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
call fcn.004018b4
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push 0x429cd8
push eax
mov dword [ebp - 0x84], eax
call dword [sym.imp.WININET.dll_InternetConnectW]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
push 0x429cf4
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push ebx
mov esi, eax
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0041504e
pop ecx
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x401c68
xor eax, eax
mov byte [ebp - 0x18], bl
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x74]
push eax
push 0x10
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401c68
lea eax, [ebp - 0x18]
push eax
call fcn.00414eb7
pop ecx
mov dword [ebp - 0x74], eax
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call edi
push dword [ebp - 0x80]
call edi
push dword [ebp - 0x84]
call edi
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.004018b4
cmp dword [ebp - 0x74], ebx
jne 0x401ccd
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004018b4
xor eax, eax
inc eax
jmp 0x401cfe
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004018b4
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414657
leave
ret