Function at 0x429b20
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x58a06c]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
push 0
push 0
push 6
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x429c36
push 0
push 0
push dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov edi, dword [esi + 8]
test eax, eax
jne 0x429bd1
test edi, edi
je 0x429bb4
cmp edi, 0xffffffff
je 0x429bad
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 1
push eax
push pe_nt_image_headers32
push 0xffff
push edi
call dword [0x53e69c]
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 8], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.005000f2
mov esp, ebp
pop ebp
ret 0x24
push 0x10
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 2
push eax
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, 0xffffffff
jne 0x429c53
mov edi, dword [esi + 8]
test edi, edi
je 0x429c36
cmp edi, eax
je 0x429c2f
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 1
push eax
push pe_nt_image_headers32
push 0xffff
push edi
call dword [0x53e69c]
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 8], 0xffffffff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.005000f2
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
mov eax, 2
push ebx
mov word [esp + 0x14], ax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
test ecx, ecx
jne 0x429ccd
mov edi, dword [esi + 8]
test edi, edi
je 0x429cb3
cmp edi, 0xffffffff
je 0x429cac
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 1
push eax
push pe_nt_image_headers32
push 0xffff
push edi
call dword [0x53e69c]
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 8], 0xffffffff
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.005000f2
mov esp, ebp
pop ebp
ret 0x24
movsx eax, word [ecx + 0xa]
push eax
mov eax, dword [ecx + 0xc]
push dword [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.00504830
add esp, 0xc
push dword [esp + 0x14]
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp + 0xc]
mov dword [esp + 0x18], eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
add dword [esi - 0x77], esp
inc esp
and al, 0x12
lea eax, [esp + 0x24]
push eax
push 0x8004667e
push dword [esi + 8]
mov dword [esp + 0x30], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
add dword [edx + 0x10], ebp
lea eax, [esp + 0x14]
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_connect]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x28]
push ecx
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], eax
push ecx
push 0
push eax
mov dword [esp + 0x44], 1
mov dword [esp + 0x3c], 0xa
mov dword [esp + 0x40], 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x429dc7
mov edi, dword [esi + 8]
mov ebx, 1
test edi, edi
je 0x429dae
cmp edi, 0xffffffff
je 0x429da7
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ebx
push eax
push pe_nt_image_headers32
push 0xffff
push edi
call dword [0x53e69c]
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 8], 0xffffffff
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.005000f2
mov esp, ebp
pop ebp
ret 0x24
push 0x30
call fcn.0050058b
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x20], 0
push eax
mov dword [eax + 0x24], 0
push 0
push 0
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], 1
mov dword [eax + 0x1c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
push dword [esi]
invalid
invalid
invalid
scasb al, byte es:[edi]
invalid