Function at 0x409ba0
Capabilities:
Access peb ldr_data
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a06f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x46b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebx], vtable.IComplexSocket.0
mov dword [ebp - 4], 0
mov dword [ebx], vtable.IServer.0
mov dword [ebp - 4], 1
mov dword [ebx], vtable.ITcpServer.0
mov dword [ebp - 4], 2
mov eax, dword [0x46bd98]
mov dword [ebx + 0xc], eax
mov eax, dword [0x46bd9c]
mov dword [ebx + 0x18], eax
mov eax, 0x190
mov dword [ebx], vtable.CTcpServer.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], accept
mov dword [ebx + 0x14], 0x12c
mov dword [ebx + 0x1c], 0x2710
mov dword [ebx + 0x20], 0x96
mov dword [ebx + 0x24], 0x12c
mov dword [ebx + 0x28], 0x1c2
mov dword [ebx + 0x2c], 0x384
mov dword [ebx + 0x30], 0x4e20
mov dword [ebx + 0x34], 0x1388
mov dword [ebx + 0x38], 0x3a98
mov dword [ebx + 0x3c], 0
call fcn.00459320
push esp
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebx + 0x40], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], 0xffffffff
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 3
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.KERNEL32.dll_HeapCreate]
push 0
push 0
push 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
call esi
mov dword [ebx + 0x70], eax
mov byte [ebp - 4], 5
push 0
push 0
push 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
call esi
mov dword [ebx + 0x80], eax
mov byte [ebp - 4], 6
sub esp, 0xc
lea ecx, [ebx + 0x90]
call fcn.00409780
mov byte [ebp - 4], 7
lea edi, [ebx + 0xd8]
mov dword [ebx + 0xd4], 0
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push 0
push accept
push 0
mov dword [edi + 0xc], 0
push 0
mov dword [edi + 0x10], 0
call esi
mov dword [edi + 0x14], eax
mov byte [ebp - 4], 8
push 0
push 1
push 0
push 0
call esi
mov dword [edi + 0x18], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebx + 0xf4]
call fcn.0040a700
mov byte [ebp - 4], 0xb
lea eax, [ebx + 0x114]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x1000
push eax
call edi
mov byte [ebp - 4], 0xc
lea esi, [ebx + 0x12c]
mov dword [ebp - 0x14], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00411523
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x409e10
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 0xe
lea eax, [ebx + 0x140]
push 0x1000
push eax
call edi
mov byte [ebp - 4], 0xf
lea esi, [ebx + 0x158]
mov dword [ebp - 0x14], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00411523
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x409e72
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 0x11
mov dword [ebx + 0x16c], 0
mov dword [ebx + 0x16c], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x5c], 3
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041150d
mov esp, ebp
pop ebp
ret 4