Function at 0x4018d0
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556ec4
mov eax, dword fs:[0]
push eax
sub esp, 0x3d4
mov eax, dword [0x5ae8e0]
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 eax, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 0x2f8]
push ecx
xor esi, esi
push 0x202
mov dword [ebp - 0x300], ebx
mov dword [ebx + 0x70], esi
mov dword [ebx + 4], eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x2f8
call fcn.004308c3
add esp, 4
mov dword [ebp - 0x304], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x401946
push ebx
push eax
call fcn.00408e70
jmp 0x401948
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea esi, [ebx + 0x10]
mov dword [ebx + 8], eax
call fcn.00428990
test eax, eax
je 0x4019c5
lea edi, [ebp - 0x348]
call fcn.00406d30
mov dword [ebp - 4], 1
mov ebx, dword [ebx + 8]
call fcn.004094a0
mov ecx, ebx
mov edi, eax
call fcn.00409980
test eax, eax
jne 0x401993
push eax
push eax
push str.WebEnginServer_Iocp_Create_Failed.
call fcn.00432e94
jmp 0x4019a9
lea edx, [ebp - 0x348]
mov dword [ebx + 0x120], esi
mov dword [ebx + 0x128], edx
test edi, edi
jne 0x4019cc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x334]
mov dword [ebp - method.CConfigInfo.virtual_0], vtable.CConfigInfo.0
call fcn.00406ee0
xor eax, eax
jmp 0x401bcb
push 0x11c
lea eax, [ebp - 0x168]
push 0
push eax
call fcn.0052a4d0
xor eax, eax
lea edx, [ebp - 0x130]
xor ecx, ecx
push edx
mov word [ebp - 0x30], cx
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
call fcn.00420980
lea ebx, [ebp - 0x30]
call fcn.004208a0
lea ebx, [ebp - 0xc4]
call fcn.00420a10
mov eax, ebx
push eax
push str.UID___s__r_n
mov dword [ebp - 0x2fc], 0x64
call fcn.00524c18
add esp, 0x18
lea ecx, [ebp - 0x2fc]
push ecx
lea edx, [ebp - 0xb0]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0xb0]
push eax
push str.PCName___s__r_n
call fcn.00524c18
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 8
lea ecx, [ebp - 0x30]
push ecx
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x401a79
xor eax, eax
jmp 0x401a92
lea esi, [eax + eax]
mov eax, esi
call fcn.0052d480
mov eax, esp
push 3
push esi
lea edx, [ebp - 0x30]
push edx
push eax
call fcn.004065d0
mov ecx, dword [eax]
mov dword [ebp - 0x154], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x150], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x14c], ecx
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x148], edx
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x401ac7
xor eax, eax
jmp 0x401ae0
lea esi, [eax + eax]
mov eax, esi
call fcn.0052d480
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.004065d0
mov edx, dword [eax]
mov dword [ebp - 0x144], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x140], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x13c], edx
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x3e0]
push ecx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0xc8], edi
call fcn.00401fe0
push edi
lea edx, [ebp - 0x3e0]
push str.listen_port
push edx
mov byte [ebp - 4], 2
call fcn.00404740
add esp, 8
push eax
call fcn.00401ce0
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x3e0]
call fcn.004020b0
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x401b4e
mov eax, dword [eax]
push eax
push str.Listen_Port___s__r_n
call fcn.00524c18
add esp, 8
cmp dword [ebp - 0x38], esi
jb 0x401b6d
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004308fd
add esp, 4
mov ecx, dword [ebp - 0x300]
mov edi, dword [ecx + 8]
add edi, 0x1cc
mov ecx, 0x47
lea esi, [ebp - 0x168]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x3e0]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
mov byte [ebp - 4], 1
call fcn.00401690
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x334]
mov dword [ebp - method.CConfigInfo.virtual_0], vtable.CConfigInfo.0
call fcn.00406ee0
mov eax, 1
lea esp, [ebp - 0x3f0]
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.00524074
mov esp, ebp
pop ebp
ret 4