Function at 0x100210b0
Capabilities:
Connect socket
Execute command

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x160
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [ebp - 0x14c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x150], eax
test byte [0x100471a4], 1
jne 0x100213c8
lea ebx, [ebp - 0x140]
test esi, esi
je 0x100213b1
xor eax, eax
lea edi, [ebp - 0x13c]
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 - 0x140], 0x3c
mov dword [ebp - 0x12c], 1
call sym.wininet.dll_InternetCrackUrlW
sub esp, 0x10
test eax, eax
je 0x10021260
movzx eax, word [ebp - 0x128]
mov edi, dword [ebp - 0x130]
mov edx, dword [ebp - 0x12c]
mov word [ebp - 0x148], ax
test byte [0x100471a4], 8
jne 0x100215b8
test byte [ebp - 0x14c], 1
je 0x10021280
mov dword [ebp - 0x144], pe_nt_image_headers32
test edi, edi
je 0x1002126c
test edx, edx
je 0x10021830
xor eax, eax
jmp 0x100211a0
cmp edx, eax
je 0x10021640
movzx ecx, word [edi + eax*2]
mov esi, eax
lea eax, [eax + 1]
test cx, cx
jne 0x10021198
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, eax
test eax, eax
je 0x1002126c
lea eax, [esi + esi]
mov dword [esp + 4], edi
xor edi, edi
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x14c], edx
call sym._memcpy
mov edx, dword [ebp - 0x14c]
lea eax, [ebp - 0x144]
mov word [edx + esi*2], di
mov dword [esp + 0xc], eax
movzx eax, word [ebp - 0x148]
mov dword [esp], edx
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [ebp - 0x148], edx
call sym._GetAddress
mov edx, dword [ebp - 0x148]
mov esi, eax
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
test esi, esi
je 0x10021260
call sym._init_winsock
movsx eax, word [ebp - 0x140]
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 0x10021730
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 - 0x14c], edx
mov dword [ebp - 0x148], 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 - 0x14c]
mov ecx, dword [ebp - 0x148]
mov ebx, eax
mov eax, dword [str.ping__c_1]
mov dword [ebx], eax
mov eax, dword [0x10052dc4]
mov dword [ebx + 4], eax
movzx eax, word [0x10052dc8]
mov word [ebx + 8], ax
movzx eax, byte [0x10052dca]
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 [0x10053024]
mov dword [ebx + esi + 0xe], eax
mov eax, dword [0x10053028]
mov dword [ebx + esi + 0x12], eax
mov eax, dword [0x1005302c]
mov dword [ebx + esi + 0x16], eax
mov eax, dword [0x10053030]
mov dword [ebx + esi + 0x1a], eax
mov eax, dword [0x10053034]
mov dword [ebx + esi + 0x1e], eax
test byte [0x100471a4], 8
jne 0x10021798
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 [0x100471a4], 8
jne 0x10021768
test esi, esi
jne 0x10021260
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 0x10021688
mov eax, esi
shr eax, 0x10
je 0x100214b0
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 0x10021720
movzx eax, word [esi]
test ax, ax
je 0x100217c5
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [esi + edx*2 + 2], 0
jne 0x10021408
mov ecx, 0x224c
mov dword [ebp - 0x148], esi
mov word [ebp - 0x140], cx
lea ecx, [ebp - 0x13e]
jmp 0x10021471
cmp ax, 9
je 0x10021528
cmp ax, 0xa
jne 0x10021546
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [ebp - 0x1e]
lea edi, [edx - 1]
cmp ecx, eax
ja 0x10021650
test edx, edx
jle 0x10021650
mov eax, dword [ebp - 0x148]
mov edx, edi
movzx eax, word [eax]
add dword [ebp - 0x148], 2
cmp ax, 0xd
je 0x10021510
jbe 0x10021430
cmp ax, 0x22
je 0x100215a0
cmp ax, 0x5c
jne 0x10021539
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10021450
movzx eax, si
mov dword [esp], 0x1004c264
lea ebx, [ebp - 0x140]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_4
mov edi, dword [ebp - 0x150]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s__lx__lx__n
mov dword [esp + 0x18], edi
mov edi, dword [ebp - 0x14c]
mov dword [esp + 8], str.InternetCheckConnectionW
mov dword [esp + 0x14], edi
mov dword [esp + 4], 0x100471a4
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_5
jmp 0x100210f6
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10021450
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10021450
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10021710
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + 0x10052270]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + 0x10052270]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + 0x10052270]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + 0x10052270]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10021450
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x10021450
movzx esi, ax
test edi, edi
je 0x10021818
mov eax, edi
shr eax, 0x10
je 0x100217f0
mov dword [esp + 4], edx
mov dword [ebp - 0x150], edx
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, dword [ebp - 0x150]
mov ecx, eax
sub esp, 8
mov eax, 0x1004c271
test ecx, ecx
jne 0x10021602
mov eax, edi
call sym._wine_dbgstr_wn.part.0_2
mov edx, dword [ebp - 0x150]
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], 0x100471a4
mov dword [esp], 3
mov dword [ebp - 0x150], edx
call sym._wine_dbg_log.constprop.0_5
mov edx, dword [ebp - 0x150]
jmp 0x10021167
lea eax, [esi + esi + 4]
mov esi, edx
jmp 0x100211b0
mov byte [ecx], 0x22
test edi, edi
jle 0x100217de
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
lea ebx, [ebp - 0x140]
mov byte [eax], 0
mov dword [esp], ebx
call sym.___wine_dbg_strdup
jmp 0x100214c9
mov eax, dword [ebp - 0x150]
mov dword [esp + 0x10], 0x1004c26a
mov dword [esp + 0xc], str.__s__lx__lx__n
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x14c]
mov dword [esp + 8], str.InternetCheckConnectionW
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0x100471a4
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_5
test byte [0x100471a4], 1
je 0x100213b1
mov dword [esp + 0xc], str.Unimplemented_with_URL_of_NULL_n
mov dword [esp + 8], str.InternetCheckConnectionW
mov dword [esp + 4], 0x100471a4
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 0x10021450
mov eax, 0x1004c271
lea ebx, [ebp - 0x140]
jmp 0x100214c9
mov eax, dword [ebp - 0x144]
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 0x10021822
call dword [sym.imp.ws2_32.dll_closesocket]
sub esp, 4
jmp 0x10021260
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], 0x100471a4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x100213a9
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], 0x100471a4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x10021388
mov eax, 0x224c
mov byte [ebp - 0x13e], 0x22
lea ecx, [ebp - 0x13e]
mov word [ebp - 0x140], ax
lea eax, [ecx + 1]
jmp 0x1002166b
movzx eax, di
mov dword [esp], 0x1004c264
mov dword [esp + 4], eax
mov dword [ebp - 0x150], edx
call sym._wine_dbg_sprintf.constprop.0_4
mov edx, dword [ebp - 0x150]
jmp 0x10021602
mov eax, 0x1004c26a
jmp 0x10021602
call dword [sym.imp.ws2_32.dll_closesocket]
sub esp, 4
jmp 0x100213b1
xor esi, esi
mov eax, 2
jmp 0x100211b0