Function at 0x10002529
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x2ac
push ebx
push esi
push edi
push 0x3f
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x13c], bl
lea edi, [ebp - 0x13b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x9c
push esi
stosb byte es:[edi], al
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.10006910
add esp, 0xc
push ebx
push ebx
mov dword [ebp - 0x3c], esi
mov esi, dword [sym.imp.USER32.dll_GetClassNameA]
push ebx
call esi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x100025b7
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
push ebx
lea eax, [ebp + 0x68]
push eax
mov dword [ebp + 0x68], ebx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x1000267b
test byte [ebp + 0x68], 1
je 0x10002614
push 0x100072ec
lea eax, [ebp - 0x13c]
push 0x100072e8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
test byte [ebp + 0x68], 2
je 0x10002634
push 0x100072e4
lea eax, [ebp - 0x13c]
push 0x100072e8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
test byte [ebp + 0x68], 4
je 0x1000267b
push 0x100072e0
lea eax, [ebp - 0x13c]
push 0x100072e8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp + 0x60]
push eax
call fcn.10001b62
lea eax, [ebp - 0x240]
mov dword [esp], str._d:_d:_d:_d:_d:_d:_d:_d:_d:_d:_s:_s:_u:_u
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
cmp byte [ebp + 0x78], bl
mov eax, 0x100072b0
jne 0x100026ce
mov eax, 0x100072ac
push dword [ebp + 0x60]
push dword [ebp + 0x64]
push eax
lea eax, [ebp - 0x13c]
push eax
movzx eax, byte [ebp + 0x5e]
push eax
movzx eax, word [ebp + 0x5c]
push eax
movzx eax, word [ebp + 0x5a]
push eax
movzx eax, word [ebp + 0x58]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x240]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [0x100083b9]
push dword [0x100083bd]
push dword [ebp + 0x74]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x40
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret