Function at 0x40d9d0
Capabilities:
Create process on windows
Get common file path
Reference google public dns server
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4106be
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x414008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movq xmm0, qword [str.Data_Buffer]
mov eax, dword [0x4112b4]
movq qword [ebp - 0x30], xmm0
xorps xmm0, xmm0
push str.8.8.8.8
mov dword [ebp - 0x28], eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x304], eax
cmp eax, 0xffffffff
je 0x40de22
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov edi, eax
cmp edi, 0xffffffff
je 0x40de22
push 0x3c
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x40de22
push 0x3e8
push 0x3c
push esi
push 0
push 0x20
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x304]
push edi
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
test eax, eax
je 0x40de11
cmp dword [esi + 4], 0
jne 0x40de11
push 0xc
push ecx
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040f080
push 0xb0
lea eax, [ebp - 0x300]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x300]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040ed30
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x300]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x304], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2b0], 0
je 0x40db5e
mov ecx, dword [0x414598]
mov eax, dword [0x414594]
sub ecx, eax
push 0
push ecx
push eax
lea ecx, [ebp - 0x300]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
lea ecx, [ebp - 0x2fc]
call fcn.0040ecb0
test eax, eax
jne 0x40db5e
push eax
mov eax, dword [ebp - 0x300]
lea ecx, [ebp - 0x300]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x300]
call fcn.0040d8f0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40dba6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40db9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40db9c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040fb6d
add esp, 8
lea eax, [ebp - 0x238]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov dword [ebp - 0x31c], 0
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 7
lea edx, [ecx + 2]
mov word [ebp - 0x31c], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dbf0
sub ecx, edx
lea eax, [ebp - 0x238]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x31c]
call fcn.0040ef20
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x308]
mov eax, edx
mov ecx, dword [ebp - 0x30c]
sub eax, ecx
cmp eax, 0xd
jb 0x40dc68
cmp edx, 8
lea esi, [ebp - 0x31c]
push 0x1a
cmovae esi, dword [ebp - 0x31c]
lea edi, [ecx + 0xd]
push str._blodbath.jpg
mov dword [ebp - 0x30c], edi
lea eax, [esi + ecx*2]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
lea eax, [ebp - 0x31c]
jmp 0x40dc85
push 0xd
push ecx
mov byte [ebp - 0x304], 0
lea ecx, [ebp - 0x31c]
push dword [ebp - 0x304]
push 0xd
call fcn.0040f6b0
mov dword [ebp - 0x250], 0
xor ecx, ecx
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x250], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x240], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x308]
cmp edx, 8
jb 0x40dd13
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dd09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40dd09
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040fb6d
add esp, 8
xor eax, eax
mov dword [ebp - 0x30c], 0
cmp dword [ebp - 0x23c], 8
mov word [ebp - 0x31c], ax
lea eax, [ebp - 0x250]
cmovae eax, dword [ebp - 0x250]
push 1
push eax
push 0
push 0x14
mov dword [ebp - 0x308], 7
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
jne 0x40ddb8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_set_wallpaper_path.
push 0x40f450
call fcn.0040f210
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x40ddae
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dda4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ddff
push edx
push ecx
call fcn.0040fb6d
add esp, 8
mov eax, 1
jmp 0x40de3a
push 5
push 0
push 0
push str.https:__youtube.com_clip_Ugkx0ckLocwj859SEZ3aCPjAFVfos_HWVq_T_siCcgmicTu_5iAP0mv
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x40de38
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40de05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40de05
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040fb6d
add esp, 8
jmp 0x40de38
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push edi
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.wifi_connection_required_:_____n
call fcn.0040f210
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040f8de
mov esp, ebp
pop ebp
ret