Function at 0x419600
Capabilities:
Check internet connectivity via wininet
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49280e
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4c3aa8]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c3aa8]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov eax, dword [esp + 0x148]
mov ebp, dword [esp + 0x14c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00419e90
mov dword [esp + 0x140], 0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
cmp eax, 1
jge 0x41969b
mov dword [esp + 0x140], 0xffffffff
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419691
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41993c
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041a9b0
mov byte [esp + 0x140], 1
cmp dword [esp + 0x1c], 0
je 0x4196c5
push 0
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x4196eb
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x144], 0
call fcn.0041ab00
mov dword [esp + 0x140], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x419678
lea ecx, [esp + 0x1c]
push ecx
lea edi, [esp + 0x1c]
call fcn.0041ac50
mov esi, eax
test esi, esi
jne 0x419745
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x144], al
call fcn.0041ab00
mov dword [esp + 0x140], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41973b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
jmp 0x41993c
mov eax, dword [esp + 0x18]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
or edx, ecx
jge 0x419767
push 0
lea ecx, [esp + 0x1c]
call fcn.00402b30
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00419ff0
push 0x103
lea edx, [esp + 0x31]
push 0
mov byte [esp + 0x148], 2
push edx
mov byte [esp + 0x38], 0
call fcn.004553e0
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00402950
push 0x4aec7c
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 3
call fcn.00402660
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00402570
mov edx, dword [esp + 0x20]
push edx
push esi
call fcn.0041adb0
push esi
mov bl, al
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test bl, bl
jne 0x41988c
mov byte [esp + 0x140], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41981d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x140], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419845
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x144], 0
call fcn.0041ab00
mov dword [esp + 0x140], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419882
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 3
jmp 0x41993c
test ebp, ebp
je 0x4198aa
push 0
lea ecx, [esp + 0x24]
call fcn.00402b80
mov edx, ebp
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x4198a0
mov byte [esp + 0x140], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
movzx esi, bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4198d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x140], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4198fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x144], 0
call fcn.0041ab00
mov dword [esp + 0x140], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41993a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0044e1ea
add esp, 0x130
ret 8