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

Disassembly:
sub esp, 0x24c
mov eax, dword [0x43d120]
mov dword [esp + 0x248], eax
mov eax, dword [esp + 0x25c]
lea edx, [esp + 0x48]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4032f0
mov eax, dword [0x43c0b8]
mov ecx, dword [0x43c0c0]
push ebx
push ebp
push esi
mov esi, dword [0x43c0b0]
push edi
lea edi, [eax + esi]
mov eax, 0x49f13bb3
imul edi, edi, 0x17928
imul ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
mov ecx, dword [str._r_____r____]
mov eax, 0x49f13bb3
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x43c0ac]
sub edi, eax
imul edx, edx, 0x94046
mov eax, ecx
imul eax, eax, 0x8386f
add edi, edx
mov edx, dword [0x43c0b4]
add edi, eax
mov eax, 0x7c32ca05
imul edx
sar edx, 0xf
mov ebx, edx
add edi, edx
mov eax, 0x3e565a5f
imul ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x3e565a5f
imul esi
shr ebx, 0x1f
add ebx, edi
sub ebx, ecx
mov ecx, dword [0x43c0bc]
imul ecx, ecx, 0xff3e
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
push 0
lea edx, [esp + 0x18]
add eax, ecx
push edx
mov dword [0x43c0cc], eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov ecx, dword [0x43c0c0]
mov esi, dword [0x43c0ac]
mov edi, dword [0x43c0b8]
mov ebp, dword [0x43c0b0]
mov eax, 0x49f13bb3
imul ecx
mov eax, dword [0x43c0c8]
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea ebx, [eax + esi]
lea edx, [edi + ebp]
imul ebx, ebx, 0x107d6
imul edx, edx, 0x17928
add ebx, edx
mov eax, 0x49f13bb3
imul dword [str._r_____r____]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
imul esi, esi, 0x8386f
sub ebx, eax
add ebx, esi
mov esi, dword [0x43c0c4]
mov eax, 0x7c32ca05
imul esi
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x3e565a5f
imul ebp
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x43c0bc]
imul edx, edx, 0xff3e
sub ebx, eax
mov eax, dword [0x43c0cc]
add ebx, edx
sub ebx, ecx
lea ebx, [ebx + eax + 0x107ce]
test byte [esp + 0x14], 0x20
mov dword [0x43c0bc], ebx
jne 0x40394b
mov edx, dword [str._r_____r____]
imul esi, esi, 0x8386f
imul ebx, ebx, 0x796
add ebp, edx
mov eax, 0x49f13bb3
imul ebp, ebp, 0x17928
imul dword [0x43c0c8]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x7c32ca05
imul edi
sar edx, 0xf
add ebp, esi
mov esi, edx
add ebp, edx
mov edx, edi
imul edx, edx, 0x107d6
shr esi, 0x1f
add esi, ebp
add esi, edx
mov eax, 0x3e565a5f
imul dword [str._r_____r____]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, ebx
sub esi, eax
mov eax, 0x4030a4dd
imul edi
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
sub eax, ecx
sub eax, 0x107d6
mov dword [0x43c0c4], eax
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
lea ecx, [esp + 0x1c]
push str.Agent_ld
push ecx
call fcn.0041681b
mov ecx, dword [0x43c0c0]
mov ebx, dword [0x43c0bc]
mov esi, dword [0x43c0b0]
mov edi, dword [0x43c0b8]
mov eax, 0x49f13bb3
imul ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x15b86ecf
imul edi
mov ebp, ebx
sub ebp, esi
imul ebp, ebp, 0xff3e
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
mov ebp, eax
mov eax, 0x15b86ecf
imul esi
mov esi, dword [0x43c0b4]
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x15b86ecf
imul esi
add esp, 0xc
sar edx, 0xd
add ebp, edx
imul esi, esi, 0x106d5
mov eax, edx
mov edx, dword [0x43c0c8]
imul edx, edx, 0x8386f
shr eax, 0x1f
add eax, ebp
add eax, edx
mov edx, edi
imul edx, edx, 0x107d6
add eax, edx
add eax, esi
sub eax, ecx
add eax, 0x79ea
mov dword [0x43c0c8], eax
test byte [esp + 0x14], 4
jne 0x403644
mov eax, dword [0x43c0b0]
imul ebx, ebx, 0xff3e
lea ebp, [edi + eax]
mov esi, dword [0x43c0ac]
imul ebp, ebp, 0x17928
mov eax, 0x49f13bb3
imul edi
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov edx, esi
imul edx, edx, 0xb4759
add ebp, edx
mov eax, 0x3e565a5f
imul edi
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x3e565a5f
imul esi
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
push 0
add eax, ebx
sub eax, ecx
mov ecx, dword [str._r_____r____]
push 0
push 0
lea edx, [eax + ecx - 0x107d6]
push 4
lea eax, [esp + 0x28]
mov dword [0x43c0b8], edx
push eax
jmp 0x403651
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [0x43c0c0]
mov ebx, eax
mov eax, 0x49f13bb3
imul ecx
mov ecx, dword [str._r_____r____]
sar edx, 0xe
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x3e565a5f
imul ecx
sar edx, 0xe
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, dword [0x43c0b0]
add ecx, edx
mov ebp, dword [0x43c0b8]
imul ecx, ecx, 0x17928
mov eax, 0x49f13bb3
imul dword [0x43c0c8]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x43c0c4]
sub ecx, eax
imul edx, edx, 0x8386f
add ecx, edx
mov eax, 0x7c32ca05
imul ebp
sar edx, 0xf
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov ecx, ebp
imul ecx, ecx, 0x107d6
add eax, ecx
mov ecx, dword [0x43c0bc]
mov edx, ecx
imul edx, edx, 0x796
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, 0x4030a4dd
imul ebp
mov ebp, dword [esp + 0x10]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
sub eax, edi
sub eax, esi
sub eax, 0x107d6
test ebx, ebx
mov dword [0x43c0c4], eax
je 0x40394b
mov eax, dword [0x43c0ac]
mov edx, dword [0x43c0b0]
add edx, ecx
imul ecx, ecx, 0x7f9f
mov ebp, eax
imul edx, edx, 0xbc94
imul ebp, ebp, 0x83eb
add edx, ebp
add edx, ecx
mov ecx, dword [0x43c0c8]
add ecx, eax
imul ecx, ecx, 0x8386f
sub edx, esi
lea ecx, [ecx + edx*2 - 0x17928]
mov eax, 0x7c32ca05
imul dword [0x43c0b0]
sar edx, 0xf
add ecx, edx
mov esi, edx
shr esi, 0x1f
add esi, ecx
mov ecx, dword [0x43c0b4]
mov eax, 0x4030a4dd
imul ecx
mov ecx, dword [esp + 0x268]
sar edx, 0xe
mov eax, edx
push ecx
mov ecx, dword [esp + 0x274]
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x268]
push edx
sub esi, eax
mov eax, dword [esp + 0x268]
push eax
push ecx
lea edx, [esp + 0x68]
push edx
sub esi, edi
push ebx
mov dword [0x43c0b4], esi
call fcn.00401760
mov edi, dword [0x43c0b0]
mov ecx, dword [0x43c0c0]
mov esi, eax
mov eax, dword [0x43c0b8]
lea ebp, [eax + edi]
mov eax, 0x49f13bb3
imul ebp, ebp, 0x17928
imul ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebp, ecx
mov ecx, dword [str._r_____r____]
mov eax, 0x49f13bb3
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x43c0ac]
sub ebp, eax
imul edx, edx, 0x94046
mov eax, ecx
imul eax, eax, 0x8386f
add ebp, edx
mov edx, dword [0x43c0b4]
add ebp, eax
mov eax, 0x7c32ca05
imul edx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add ebp, edx
add esp, 0x18
add eax, ebp
mov ebp, eax
mov eax, 0x3e565a5f
imul ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x3e565a5f
imul edi
sub ebp, ecx
mov ecx, dword [0x43c0bc]
imul ecx, ecx, 0xff3e
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
add eax, ecx
push ebx
mov dword [0x43c0cc], eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [str._r_____r____]
mov edx, dword [0x43c0b0]
mov ecx, dword [0x43c0c8]
lea ebx, [edi + edx]
mov eax, 0x49f13bb3
imul ebx, ebx, 0x17928
imul ecx
mov ecx, dword [0x43c0c0]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x49f13bb3
imul ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x43c0c4]
imul edx, edx, 0x8386f
sub ebx, ecx
mov ecx, dword [0x43c0b8]
add ebx, edx
mov eax, 0x7c32ca05
imul ecx
sar edx, 0xf
add ebx, edx
mov ebp, edx
mov edx, dword [0x43c0bc]
mov eax, ecx
imul edx, edx, 0x796
imul eax, eax, 0x107d6
shr ebp, 0x1f
add ebp, ebx
add ebp, eax
sub ebp, edx
mov eax, 0x3e565a5f
imul edi
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x4030a4dd
imul ecx
sar edx, 0xe
mov ecx, edx
pop edi
shr ecx, 0x1f
add ebp, edx
mov eax, esi
pop esi
lea edx, [ecx + ebp - 0x107d6]
pop ebp
mov dword [0x43c0c4], edx
pop ebx
mov ecx, dword [esp + 0x248]
call fcn.00415ffe
add esp, 0x24c
ret
mov ecx, dword [esp + 0x258]
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
call fcn.00415ffe
add esp, 0x24c
ret