Function at 0x4012d9
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 [0x42e07c]
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 0x401592
mov edx, dword [ebp + 0xc]
cmp dword [edx - 0xc], ecx
je 0x401592
mov edx, dword [ebp + 0x10]
cmp dword [edx - 0xc], ecx
je 0x401592
push ecx
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov esi, eax
mov eax, dword [section..data]
mov ebx, section..data
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.00401e5b
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.004023e7
mov eax, dword [ebp - 0x78]
add esp, 0x18
add eax, 0xfffffff0
call fcn.00401159
test esi, esi
je 0x401581
push 0x13
pop ecx
mov esi, str.Content_Type:_text_html__charsetUTF_8
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
push 0
movsw word es:[edi], word [esi]
call fcn.00414fec
pop ecx
push eax
call fcn.00414d55
pop ecx
call fcn.00414d67
mov dword [ebp - 0x78], eax
call fcn.00401efd
mov dword [ebp - 0x8c], eax
mov eax, dword [section..data]
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.004023e7
mov eax, dword [section..data]
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.004023e7
mov esi, dword [ebp - 0x70]
mov edi, dword [esi - 0xc]
add edi, edi
mov ecx, edi
call fcn.00424760
push eax
mov dword [ebp - 0x84], eax
call fcn.0041492c
add esp, 0x14
cmp dword [esi - 4], 1
mov ebx, eax
jle 0x401431
push dword [esi - 0xc]
lea eax, [ebp - 0x70]
push eax
call fcn.00402208
mov esi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x7c]
push edi
call fcn.00424a70
pop ecx
push dword [ebp - 0x74]
lea eax, [ebp - 0x80]
push eax
push 0x10
pop ecx
call fcn.00401e5b
mov ecx, dword [ebp - 0x84]
mov esi, eax
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.00401e5b
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.004023e7
mov eax, dword [ebp - 0x74]
add esp, 0x28
add eax, 0xfffffff0
call fcn.00401159
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
call fcn.00401159
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 str.www.uudoc.com
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 0x428b3c
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push ebx
mov esi, eax
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00414cae
pop ecx
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x40151c
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 0x40151c
lea eax, [ebp - 0x18]
push eax
call fcn.00414b17
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.00401159
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00401159
cmp dword [ebp - 0x74], ebx
jne 0x401581
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
call fcn.00401159
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00401159
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00401159
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00401159
xor eax, eax
inc eax
jmp 0x4015b2
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
call fcn.00401159
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00401159
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00401159
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00401159
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004144e4
leave
ret