Function at 0x429bc0
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x48d814]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 6
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x429c1e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Error_at_socket__.__d
push 0xc8
call fcn.00426560
push eax
call fcn.00426520
add esp, 0x10
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045075f
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 8]
push 0
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp eax, dword [esi + 8]
je 0x429c6b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.AssociateSocket_error.__d
push 0xc8
call fcn.00426560
push eax
call fcn.00426520
add esp, 0x10
mov ecx, esi
call fcn.00429690
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045075f
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.00428de0
test al, al
jne 0x429ca9
push str.Create_I_O_threads_failed.
push 0xc8
call fcn.00426560
push eax
call fcn.00426520
add esp, 0xc
mov ecx, esi
call fcn.00429690
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045075f
mov esp, ebp
pop ebp
ret 4
mov ecx, edi
call fcn.0042e680
push eax
mov ecx, edi
call fcn.0042e670
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x429cd9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.bind_error.__d
jmp 0x429c3d
mov eax, dword [esi + 4]
push closesocket
push eax
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x429cfe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.listen_error.__d
jmp 0x429c3d
mov edi, dword [sym.imp.WS2_32.dll_WSAIoctl]
push 0
push 0
lea eax, [ebp - 0x28]
push eax
push 4
push 0x48ee08
mov ecx, 0xcbac
push 0x10
mov word [ebp - 0x10], cx
lea ecx, [ebp - 0x14]
mov edx, 0x11cf
push ecx
mov word [ebp - 0xe], dx
mov edx, dword [esi + 4]
push 0xc8000006
push edx
mov dword [ebp - 0x14], 0xb5367df1
mov byte [ebp - 0xc], 0x95
mov byte [ebp - 0xb], 0xca
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0x80
mov byte [ebp - 8], 0x5f
mov byte [ebp - 7], 0x48
mov byte [ebp - 6], 0xa1
mov byte [ebp - 5], 0x92
call edi
cmp eax, 0xffffffff
jne 0x429d73
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Failed_to_get_AcceptEx.__d
jmp 0x429c3d
push 0
push 0
lea edx, [ebp - 0x28]
push edx
push 4
push 0x48ee0c
mov eax, 0xcbac
push 0x10
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x24]
mov ecx, 0x11cf
push eax
mov word [ebp - 0x1e], cx
mov ecx, dword [esi + 4]
push 0xc8000006
push ecx
mov dword [ebp - 0x24], 0xb5367df2
mov byte [ebp - 0x1c], 0x95
mov byte [ebp - 0x1b], 0xca
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x19], 0x80
mov byte [ebp - 0x18], 0x5f
mov byte [ebp - 0x17], 0x48
mov byte [ebp - 0x16], 0xa1
mov byte [ebp - 0x15], 0x92
call edi
cmp eax, 0xffffffff
jne 0x429de2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Failed_to_get_GetAcceptExSockaddrs.__d
jmp 0x429c3d
xor edi, edi
cmp dword [esi + 0xc], edi
jle 0x429e01
lea esp, [esp]
mov ecx, esi
call fcn.00428ca0
test al, al
je 0x429e23
inc edi
cmp edi, dword [esi + 0xc]
jl 0x429df0
mov edx, dword [esi + 0x68]
push edx
mov byte [esi + 0x64], 1
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0045075f
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x4788b4
jmp 0x429c3d