Function at 0x4034d0
Capabilities:
Create tcp socket
Create thread
Create udp socket

Disassembly:
sub esp, 0x2c
mov eax, dword [0x42d414]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
push esi
mov edi, edx
mov byte [esp + 0x1b], 0
call dword [sym.imp.WS2_32.dll_htons]
lea eax, [edi + 0x18]
mov dword [edi + 0x1c], eax
mov dword [eax], eax
xor ebx, ebx
lea eax, [edi + 0x60]
mov dword [edi + 0x9c], 0x493e0
mov dword [edi + 0x20], ebx
mov dword [edi + 0x64], eax
mov dword [eax], eax
mov word [edi + 0x58], si
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebx
call fcn.00403b50
test al, al
jne 0x403537
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00419af5
add esp, 0x2c
ret
cmp dword [edi + 8], 0xffffffff
lea ebp, [edi + 8]
mov dword [ebp + 0xc], edi
jne 0x4036ca
push ebx
push ebx
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp eax, 0xffffffff
mov dword [ebp], eax
je 0x4036ca
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push ebx
push ebp
push 0x4010b0
push ebx
push ebx
call fcn.00419bfe
add esp, 0x18
cmp eax, ebx
je 0x403581
mov dword [ebp + 8], eax
lea ecx, [edi + 4]
push ecx
lea esi, [edi + 0x80]
call fcn.00402dd0
test al, al
je 0x4036ca
xor eax, eax
mov dword [esp + 0x18], eax
push str.127.0.0.1
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x1c], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dx, word [edi + 0x58]
mov esi, dword [sym.imp.WS2_32.dll_WSASocketA]
mov ebx, 1
push ebx
push 0
push 0
push 6
push ebx
push 2
mov dword [esp + 0x34], eax
mov word [esp + 0x32], dx
call esi
cmp eax, 0xffffffff
mov dword [edi + 0x3c], eax
je 0x4036ca
push 0x10
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x4036ca
mov edx, dword [edi + 0x3c]
push bind
push edx
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
jne 0x4036ca
mov eax, dword [edi + 0x3c]
mov ecx, dword [ebp]
push ebx
push eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 2
push edi
call fcn.00403d10
test al, al
je 0x4036ca
mov dx, word [edi + 0x58]
xor eax, eax
push ebx
push eax
push eax
push 6
push ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], eax
push 0x17
mov byte [edi + 0x5a], bl
mov byte [esp + 0x2f], bl
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov word [esp + 0x30], 0x17
mov byte [esp + 0x47], bl
mov word [esp + 0x32], dx
call esi
cmp eax, 0xffffffff
mov dword [edi + 0x44], eax
je 0x4036d3
push 0x1c
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x4036d3
mov edx, dword [edi + 0x44]
push bind
push edx
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
jne 0x4036d3
mov eax, dword [edi + 0x44]
mov ecx, dword [ebp]
push ebx
push eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 0x17
push edi
call fcn.00403d10
test al, al
je 0x4036d3
mov byte [edi + 0x5b], bl
jmp 0x4036d3
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x34]
mov al, byte [esp + 0x17]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00419af5
add esp, 0x2c
ret