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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48ccde
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0041e270
mov dword [esp + 0x148], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
cmp eax, 1
jge 0x41da59
lea eax, [ecx - 0x10]
mov dword [esp + 0x148], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41da4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41dd0c
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041f0c0
mov byte [esp + 0x148], 1
cmp dword [esp + 0x1c], 0
je 0x41da83
push 0
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x41dab6
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x14c], 0
call fcn.0041f210
mov dword [esp + 0x148], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41da43
lea ecx, [esp + 0x1c]
push ecx
lea edi, [esp + 0x18]
call fcn.0041f360
mov esi, eax
test esi, esi
jne 0x41db10
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x14c], al
call fcn.0041f210
mov dword [esp + 0x148], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41db06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
jmp 0x41dd0c
mov eax, dword [esp + 0x14]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
or edx, ecx
jge 0x41db32
push 0
lea ecx, [esp + 0x18]
call fcn.00403100
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0041e3d0
push 0x103
lea edx, [esp + 0x31]
push 0
mov byte [esp + 0x150], 2
push edx
mov byte [esp + 0x38], 0
call fcn.00456da0
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 + 0x1c]
call fcn.004032c0
push 0x498ad0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 3
call fcn.00402d70
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00402c80
mov edx, dword [esp + 0x18]
push edx
push esi
call fcn.0041f500
push esi
mov bl, al
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test bl, bl
jne 0x41dc57
mov byte [esp + 0x148], 2
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 0x41dbe8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x148], 1
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 0x41dc10
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 + 0x14c], 0
call fcn.0041f210
mov dword [esp + 0x148], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41dc4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 3
jmp 0x41dd0c
mov esi, dword [esp + 0x24]
test esi, esi
je 0x41dc7a
push 0
lea ecx, [esp + 0x1c]
call fcn.00403150
mov edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x41dc70
mov byte [esp + 0x148], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
movzx esi, bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dca5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x148], 1
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 0x41dccd
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 + 0x14c], 0
call fcn.0041f210
mov dword [esp + 0x148], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41dd0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0044ffb2
mov esp, ebp
pop ebp
ret 4