Function at 0x6c121400
Capabilities:
Connect socket
Execute command

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x178
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [ebp - 0x160], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x164], eax
test byte [0x6c1471a4], 1
jne 0x6c121718
lea ebx, [ebp - 0x148]
test esi, esi
je 0x6c121701
xor eax, eax
lea edi, [ebp - 0x144]
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
mov dword [ebp - 0x148], 0x3c
mov dword [ebp - 0x134], 1
call sym.wininet.dll_InternetCrackUrlW
sub esp, 0x10
test eax, eax
je 0x6c1215b0
movzx eax, word [ebp - 0x130]
mov edi, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
mov word [ebp - 0x15c], ax
test byte [0x6c1471a4], 8
jne 0x6c121908
test byte [ebp - 0x160], 1
je 0x6c1215d0
mov dword [ebp - 0x14c], pe_nt_image_headers32
test edi, edi
je 0x6c1215bc
test edx, edx
je 0x6c121b80
xor eax, eax
jmp 0x6c1214f0
cmp edx, eax
je 0x6c121990
movzx ecx, word [edi + eax*2]
mov esi, eax
lea eax, [eax + 1]
test cx, cx
jne 0x6c1214e8
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, eax
test eax, eax
je 0x6c1215bc
lea eax, [esi + esi]
mov dword [esp + 4], edi
xor edi, edi
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x160], edx
call sym._memcpy
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 0x14c]
mov word [edx + esi*2], di
mov dword [esp + 0xc], eax
movzx eax, word [ebp - 0x15c]
mov dword [esp], edx
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [ebp - 0x15c], edx
call sym._GetAddress
mov edx, dword [ebp - 0x15c]
mov esi, eax
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
test esi, esi
je 0x6c1215b0
call sym._init_winsock
movsx eax, word [ebp - 0x148]
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_socket]
sub esp, 0xc
mov esi, eax
cmp eax, 0xffffffff
jne 0x6c121a80
nop
mov dword [esp], 0x8ca
call sym._INTERNET_SetLastError
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov ecx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0xc], edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x15c], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
call ecx
sub esp, 0x20
mov esi, eax
lea eax, [eax + 0x22]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
mov ebx, eax
mov eax, dword [str.ping__c_1]
mov dword [ebx], eax
mov eax, dword [0x6c152d84]
mov dword [ebx + 4], eax
movzx eax, word [0x6c152d88]
mov word [ebx + 8], ax
movzx eax, byte [0x6c152d8a]
mov byte [ebx + 0xa], al
lea eax, [ebx + 0xa]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
call ecx
mov eax, dword [str.___dev_null_2__dev_null]
sub esp, 0x20
mov dword [ebx + esi + 0xa], eax
mov eax, dword [0x6c152fe4]
mov dword [ebx + esi + 0xe], eax
mov eax, dword [0x6c152fe8]
mov dword [ebx + esi + 0x12], eax
mov eax, dword [0x6c152fec]
mov dword [ebx + esi + 0x16], eax
mov eax, dword [0x6c152ff0]
mov dword [ebx + esi + 0x1a], eax
mov eax, dword [0x6c152ff4]
mov dword [ebx + esi + 0x1e], eax
test byte [0x6c1471a4], 8
jne 0x6c121ae8
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_system]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_free]
test byte [0x6c1471a4], 8
jne 0x6c121ab8
test esi, esi
jne 0x6c1215b0
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
test esi, esi
je 0x6c1219d8
mov eax, esi
shr eax, 0x10
je 0x6c121800
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
mov ecx, eax
test eax, eax
jne 0x6c121a70
movzx eax, word [esi]
test ax, ax
je 0x6c121b15
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [esi + edx*2 + 2], 0
jne 0x6c121758
mov ecx, 0x224c
mov dword [ebp - 0x15c], esi
mov word [ebp - 0x148], cx
lea ecx, [ebp - 0x146]
jmp 0x6c1217c1
cmp ax, 9
je 0x6c121878
cmp ax, 0xa
jne 0x6c121896
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [ebp - 0x26]
lea edi, [edx - 1]
cmp ecx, eax
ja 0x6c1219a0
test edx, edx
jle 0x6c1219a0
mov eax, dword [ebp - 0x15c]
mov edx, edi
movzx eax, word [eax]
add dword [ebp - 0x15c], 2
cmp ax, 0xd
je 0x6c121860
jbe 0x6c121780
cmp ax, 0x22
je 0x6c1218f0
cmp ax, 0x5c
jne 0x6c121889
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x6c1217a0
movzx eax, si
mov dword [esp], 0x6c14c23c
lea ebx, [ebp - 0x148]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_4
mov edi, dword [ebp - 0x164]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s__lx__lx__n
mov dword [esp + 0x18], edi
mov edi, dword [ebp - 0x160]
mov dword [esp + 8], str.InternetCheckConnectionW
mov dword [esp + 0x14], edi
mov dword [esp + 4], 0x6c1471a4
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_5
jmp 0x6c121446
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6c1217a0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6c1217a0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x6c121a60
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + 0x6c152230]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + 0x6c152230]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + 0x6c152230]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + 0x6c152230]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x6c1217a0
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x6c1217a0
movzx esi, ax
test edi, edi
je 0x6c121b68
mov eax, edi
shr eax, 0x10
je 0x6c121b40
mov dword [esp + 4], edx
mov dword [ebp - 0x164], edx
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, dword [ebp - 0x164]
mov ecx, eax
sub esp, 8
mov eax, 0x6c14c249
test ecx, ecx
jne 0x6c121952
mov eax, edi
call sym._wine_dbgstr_wn.part.0_2
mov edx, dword [ebp - 0x164]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.host_name:__s_port:__d_n
mov dword [esp + 8], str.InternetCheckConnectionW
mov dword [esp + 4], 0x6c1471a4
mov dword [esp], 3
mov dword [ebp - 0x164], edx
call sym._wine_dbg_log.constprop.0_5
mov edx, dword [ebp - 0x164]
jmp 0x6c1214b7
lea eax, [esi + esi + 4]
mov esi, edx
jmp 0x6c121500
mov byte [ecx], 0x22
test edi, edi
jle 0x6c121b2e
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
lea ebx, [ebp - 0x148]
mov byte [eax], 0
mov dword [esp], ebx
call sym.___wine_dbg_strdup
jmp 0x6c121819
mov eax, dword [ebp - 0x164]
mov dword [esp + 0x10], 0x6c14c242
mov dword [esp + 0xc], str.__s__lx__lx__n
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x160]
mov dword [esp + 8], str.InternetCheckConnectionW
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0x6c1471a4
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_5
test byte [0x6c1471a4], 1
je 0x6c121701
mov dword [esp + 0xc], str.Unimplemented_with_URL_of_NULL_n
mov dword [esp + 8], str.InternetCheckConnectionW
mov dword [esp + 4], 0x6c1471a4
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_5
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov byte [ecx], al
inc ecx
jmp 0x6c1217a0
mov eax, 0x6c14c249
lea ebx, [ebp - 0x148]
jmp 0x6c121819
mov eax, dword [ebp - 0x14c]
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 8], eax
call dword [sym.imp.ws2_32.dll_connect]
sub esp, 0xc
mov dword [esp], esi
test eax, eax
je 0x6c121b72
call dword [sym.imp.ws2_32.dll_closesocket]
sub esp, 4
jmp 0x6c1215b0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Ping_returned_a_code_of__i_n
mov dword [esp + 8], str.InternetCheckConnectionW
mov dword [esp + 4], 0x6c1471a4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x6c1216f9
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Ping_command_is_:__s_n
mov dword [esp + 8], str.InternetCheckConnectionW
mov dword [esp + 4], 0x6c1471a4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x6c1216d8
mov eax, 0x224c
mov byte [ebp - 0x146], 0x22
lea ecx, [ebp - 0x146]
mov word [ebp - 0x148], ax
lea eax, [ecx + 1]
jmp 0x6c1219bb
movzx eax, di
mov dword [esp], 0x6c14c23c
mov dword [esp + 4], eax
mov dword [ebp - 0x164], edx
call sym._wine_dbg_sprintf.constprop.0_4
mov edx, dword [ebp - 0x164]
jmp 0x6c121952
mov eax, 0x6c14c242
jmp 0x6c121952
call dword [sym.imp.ws2_32.dll_closesocket]
sub esp, 4
jmp 0x6c121701
xor esi, esi
mov eax, 2
jmp 0x6c121500