Function at 0x4531c0
Capabilities:
Check internet connectivity via wininet
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x481bc4
mov eax, dword fs:[0]
push eax
mov eax, 0x1001c
call fcn.0046c570
mov eax, dword [0x49d2b0]
xor eax, esp
mov dword [esp + 0x10018], eax
push ebp
push esi
push edi
mov eax, dword [0x49d2b0]
xor eax, esp
push eax
lea eax, [esp + 0x1002c]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [ebx + 0x38]
push esi
call ebp
push esi
mov dword [ebx + 0x34], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x453246
push str.No_Internet_Sleep
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
jmp 0x453445
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.rpcap:__
call sub.wpcap.dll_pcap_findalldevs_ex
add esp, 0x10
cmp eax, 0xffffffff
jne 0x453276
push str.emnu_pcap_findalldevs_ex_error_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
jmp 0x453445
lea eax, [ebx + 0x68]
push eax
mov edi, 1
mov dword [esp + 0x20], eax
call ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], esi
test esi, esi
je 0x453416
jmp 0x4532a8
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
cmp dword [esi + 8], 0
je 0x453416
push 0x108
call fcn.0045f543
mov ecx, dword [esi + 4]
mov ebp, eax
add esp, 4
mov edx, ebp
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4532c6
mov esi, dword [esi + 0xc]
test esi, esi
je 0x4532e5
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
mov dword [ebp + 0x100], ecx
jmp 0x4532ef
mov dword [ebp + 0x100], 0xffffff
mov dword [ebp + 0x104], edi
inc edi
sub esp, 0x1c
mov dword [esp + 0x3c], edi
mov edi, esp
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], 0
mov dword [esp + 0x34], esp
mov byte [edi + 4], 0
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453320
sub eax, esi
push eax
push ebp
mov ecx, edi
call fcn.00403080
xor edi, edi
mov dword [esp + 0x10050], edi
or esi, 0xffffffff
mov dword [esp + 0x10050], esi
mov ecx, ebx
call fcn.00453470
test al, al
jne 0x453404
push 0x60
call fcn.0045f543
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x10034], 1
cmp eax, edi
je 0x453379
push eax
call fcn.00405fd0
mov edi, eax
mov dword [esp + 0x10034], esi
push edi
lea esi, [ebx + 0x28]
call fcn.00406450
lea esi, [ebx + 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [ebx + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
sub esp, 0x1c
mov dword [edi + 8], eax
mov ecx, esp
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], 0xf
mov byte [ecx + 4], al
mov eax, ebp
mov dword [esp + 0x34], esp
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4533c0
sub eax, esi
push eax
push ebp
call fcn.00403080
mov dword [esp + 0x10050], 2
push edi
mov dword [esp + 0x10054], 0xffffffff
call fcn.004062d0
push ebx
push 0x453710
push ebp
mov ecx, edi
mov dword [edi + 0x5c], 0x453d30
mov dword [edi + 0x48], ebx
call fcn.00406110
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4532a0
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x14]
push ecx
call sub.wpcap.dll_pcap_freealldevs
add esp, 4
push 0
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x453229
mov al, 1
mov ecx, dword [esp + 0x1002c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x10018]
xor ecx, esp
call fcn.0045f4ac
add esp, 0x10028
ret