Function at 0x6c12ce80
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, 0xc8
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
test byte [0x6c1451fc], 1
jne 0x6c12d070
test ebx, ebx
je 0x6c12d2c0
lea edi, [ebp - 0x94]
xor eax, eax
mov ecx, 0xe
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x98]
mov dword [ebp - 0x98], 0x3c
mov dword [ebp - 0x84], 1
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.wininet.dll_InternetCrackUrlW
sub esp, 0x10
test eax, eax
je 0x6c12d050
movzx eax, word [ebp - 0x80]
mov ebx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
mov word [ebp - 0xac], ax
test byte [0x6c1451fc], 8
jne 0x6c12d100
and esi, 1
je 0x6c12d196
mov dword [ebp - 0x9c], pe_nt_image_headers32
test ebx, ebx
je 0x6c12d05c
test edx, edx
je 0x6c12d3e2
xor eax, eax
jmp 0x6c12cf58
cmp edx, eax
je 0x6c12d2d0
movzx ecx, word [ebx + eax*2]
mov esi, eax
lea eax, [eax + 1]
test cx, cx
jne 0x6c12cf50
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, eax
test eax, eax
je 0x6c12d05c
lea eax, [esi + esi]
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [ebp - 0xb0], edx
call sub.ucrtbase.dll_memcpy
mov edx, dword [ebp - 0xb0]
xor eax, eax
mov word [edx + esi*2], ax
lea eax, [ebp - 0x9c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
movzx eax, word [ebp - 0xac]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [ebp - 0xac], edx
call fcn.6c13e900
mov edx, dword [ebp - 0xac]
mov ebx, eax
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
test ebx, ebx
je 0x6c12d050
call fcn.6c130950
mov dword [esp + 8], 0
mov dword [esp + 4], 1
movsx eax, word [ebp - 0x98]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_socket]
sub esp, 0xc
mov ebx, eax
cmp eax, 0xffffffff
je 0x6c12d050
mov eax, dword [ebp - 0x9c]
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 8], eax
call dword [sym.imp.ws2_32.dll_connect]
sub esp, 0xc
mov dword [esp], ebx
test eax, eax
jne 0x6c12d042
call dword [sym.imp.ws2_32.dll_closesocket]
sub esp, 4
jmp 0x6c12d2c0
call dword [sym.imp.ws2_32.dll_closesocket]
sub esp, 4
lea esi, [esi]
nop
mov dword [esp], 0x8ca
call fcn.6c12c120
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
test ebx, ebx
je 0x6c12d2e0
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x6c12d0e8
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x6c14b9ad
test edx, edx
jne 0x6c12d0ac
mov edx, 0xffffffff
mov eax, ebx
call fcn.6c123990
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s__lx__lx__n
mov dword [esp + 8], str.InternetCheckConnectionW
mov dword [esp + 4], 0x6c1451fc
mov dword [esp], 0
call fcn.6c123f10
jmp 0x6c12ceb4
mov dword [esp + 4], ebx
mov dword [esp], 0x6c14b9a0
call fcn.6c123dd0
jmp 0x6c12d0ac
mov dword [ebp - 0xb0], eax
test ebx, ebx
je 0x6c12d3d8
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x6c12d3b0
mov dword [esp + 4], edx
mov dword [ebp - 0xb4], edx
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, dword [ebp - 0xb4]
mov ecx, eax
sub esp, 8
mov eax, 0x6c14b9ad
test ecx, ecx
jne 0x6c12d14f
mov eax, ebx
call fcn.6c123990
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb4], edx
mov edx, dword [ebp - 0xb0]
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 + 0x14], edx
mov dword [esp + 4], 0x6c1451fc
mov dword [esp], 3
call fcn.6c123f10
and esi, 1
mov edx, dword [ebp - 0xb4]
jne 0x6c12cf31
mov ecx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [ebp - 0xb0], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
mov dword [ebp - 0xac], ecx
call ecx
sub esp, 0x20
mov edi, eax
lea eax, [eax + 0x22]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov esi, eax
mov eax, dword [str.ping__c_1]
mov dword [esi], eax
mov eax, dword [0x6c14d124]
mov dword [esi + 4], eax
mov eax, dword [0x6c14d127]
mov dword [esi + 7], eax
lea eax, [esi + 0xa]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov edx, dword [ebp - 0xb0]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
mov dword [esp + 0xc], edx
mov ecx, dword [ebp - 0xac]
call ecx
mov eax, dword [str.___dev_null_2__dev_null]
sub esp, 0x20
mov dword [esi + edi + 0xa], eax
mov eax, dword [0x6c14d10c]
mov dword [esi + edi + 0xe], eax
mov eax, dword [0x6c14d110]
mov dword [esi + edi + 0x12], eax
mov eax, dword [0x6c14d114]
mov dword [esi + edi + 0x16], eax
mov eax, dword [0x6c14d118]
mov dword [esi + edi + 0x1a], eax
mov eax, dword [0x6c14d11c]
mov dword [esi + edi + 0x1e], eax
test byte [0x6c1451fc], 8
jne 0x6c12d380
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_system]
mov dword [esp], esi
mov ebx, eax
call dword [sym.imp.ucrtbase.dll_free]
test byte [0x6c1451fc], 8
jne 0x6c12d350
test ebx, ebx
jne 0x6c12d050
lea esi, [esi]
mov eax, 1
jmp 0x6c12d05e
lea eax, [esi + esi + 4]
mov esi, edx
jmp 0x6c12cf68
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x6c14b9a6
mov dword [esp + 0xc], str.__s__lx__lx__n
mov dword [esp + 8], str.InternetCheckConnectionW
mov dword [esp + 4], 0x6c1451fc
mov dword [esp], 0
call fcn.6c123f10
test byte [0x6c1451fc], 1
je 0x6c12d2c0
mov dword [esp + 0xc], str.Unimplemented_with_URL_of_NULL_n
mov dword [esp + 8], str.InternetCheckConnectionW
mov dword [esp + 4], 0x6c1451fc
mov dword [esp], 0
call fcn.6c123f10
jmp 0x6c12d2c0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Ping_returned_a_code_of__i_n
mov dword [esp + 8], str.InternetCheckConnectionW
mov dword [esp + 4], 0x6c1451fc
mov dword [esp], 3
call fcn.6c123f10
jmp 0x6c12d2b2
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Ping_command_is_:__s_n
mov dword [esp + 8], str.InternetCheckConnectionW
mov dword [esp + 4], 0x6c1451fc
mov dword [esp], 3
call fcn.6c123f10
jmp 0x6c12d291
mov dword [ebp - 0xb4], edx
mov dword [esp + 4], ebx
mov dword [esp], 0x6c14b9a0
call fcn.6c123dd0
mov edx, dword [ebp - 0xb4]
jmp 0x6c12d14f
mov eax, 0x6c14b9a6
jmp 0x6c12d14f
xor esi, esi
mov eax, 2
jmp 0x6c12cf68