Function at 0x41a700
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ade90
mov eax, dword fs:[0]
push eax
sub esp, 0xd6c
mov eax, dword [0x61df80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 2
mov word [ebp - 0x1d8], ax
lea ecx, [ebp - 0x1d4]
push ecx
movzx edx, word [ebp - 0x1d8]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x41a7c3
call fcn.00401ff0
mov dword [ebp - 0xd28], eax
cmp dword [ebp - 0xd28], 0
je 0x41a7ba
push 4
call fcn.00405d70
movzx eax, al
push eax
mov ecx, dword [ebp - 0xd28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xd28]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x41a7ba
push str.WSock_error_n
push 0x9f
push 0x5eb3ac
push 4
call fcn.00405d70
movzx edx, al
push edx
mov eax, dword [ebp - 0xd28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xd28]
push edx
mov eax, dword [ecx + 0x10]
call eax
add esp, 0x18
xor ecx, ecx
jne 0x41a750
jmp 0x41acd8
push 0x5dee17
lea ecx, [ebp - 0x3c]
call fcn.00403100
mov dword [ebp - 4], 0
push 0x5dee1d
lea ecx, [ebp - 0xd20]
call fcn.00403100
mov byte [ebp - 4], 1
lea edx, [ebp - 0xd20]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.00436860
add esp, 8
call fcn.00584490
mov dword [ebp - 0x1dc], eax
push 0
mov ecx, dword [ebp - 0x1dc]
push ecx
lea ecx, [ebp - 0xae4]
call fcn.004207f0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1dc]
push edx
lea eax, [ebp - 0xae4]
push eax
lea ecx, [ebp - 0x9bc]
call fcn.004465a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9bc]
push ecx
mov edx, dword [ebp - 0x1dc]
push edx
lea ecx, [ebp - 0x44]
call fcn.004a6560
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov ecx, 2
mov word [ebp - 0x20], cx
push 0
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
push 0x10
lea edx, [ebp - 0x20]
push edx
push 0xffffffffffffffff
push 0xa
lea eax, [ebp - 0x44]
push eax
push 0x41ad00
mov ecx, dword [ebp - 0x1dc]
push ecx
call fcn.00595ab0
add esp, 0x1c
mov dword [ebp - 0xd24], eax
cmp dword [ebp - 0xd24], 0
jne 0x41a95b
call fcn.00401ff0
mov dword [ebp - 0xd2c], eax
cmp dword [ebp - 0xd2c], 0
je 0x41a916
push 4
call fcn.00405d70
movzx edx, al
push edx
mov eax, dword [ebp - 0xd2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xd2c]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x41a916
push str.Could_not_create_a_listener__n
push 0xb9
push 0x5eb3d8
push 4
call fcn.00405d70
movzx edx, al
push edx
mov eax, dword [ebp - 0xd2c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xd2c]
push edx
mov eax, dword [ecx + 0x10]
call eax
add esp, 0x18
xor ecx, ecx
jne 0x41a8ac
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9bc]
call fcn.00446fe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xae4]
call fcn.00420a20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd20]
call fcn.00403180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00403180
jmp 0x41acd8
push 0x41a590
mov edx, dword [ebp - 0xd24]
push edx
call fcn.00594fd0
add esp, 8
mov eax, dword [ebp - 0xd24]
push eax
call fcn.00594ed0
add esp, 4
push eax
call fcn.0041a540
add esp, 4
mov ecx, dword [ebp + 8]
mov word [ecx], ax
call fcn.00401ff0
mov dword [ebp - 0xd30], eax
cmp dword [ebp - 0xd30], 0
je 0x41a9fe
push 2
call fcn.00405d70
movzx edx, al
push edx
mov eax, dword [ebp - 0xd30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xd30]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x41a9fe
mov edx, dword [ebp + 8]
movzx eax, word [edx]
push eax
push str.Listen_port____u__n
push 0xbf
push 0x5eb3f8
push 2
call fcn.00405d70
movzx ecx, al
push ecx
mov edx, dword [ebp - 0xd30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xd30]
push ecx
mov edx, dword [eax + 0x10]
call edx
add esp, 0x1c
xor eax, eax
jne 0x41a98d
lea ecx, [ebp - 0x1e4]
push ecx
push 0
push 1
push 2
call fcn.0058fb50
add esp, 0x10
mov edx, dword [ebp - 0x1dc]
push edx
push 0x41a630
push 2
mov eax, dword [ebp - 0x1e4]
push eax
mov ecx, dword [ebp - 0x1dc]
push ecx
call fcn.00581f30
add esp, 0x14
mov dword [ebp - 0xbd0], eax
push 0
mov edx, dword [ebp - 0xbd0]
push edx
call fcn.005840c0
add esp, 8
lea eax, [ebp - 0xae4]
test eax, eax
je 0x41aa6d
lea ecx, [ebp - 0xae4]
add ecx, 4
mov dword [ebp - 0xd6c], ecx
jmp 0x41aa77
mov dword [ebp - 0xd6c], 0
mov edx, dword [ebp - 0xd6c]
push edx
lea ecx, [ebp - 0xbcc]
call fcn.00405eb0
mov byte [ebp - 4], 4
lea eax, [ebp - 0xae4]
test eax, eax
je 0x41aaa8
lea ecx, [ebp - 0xae4]
add ecx, 4
mov dword [ebp - 0xd70], ecx
jmp 0x41aab2
mov dword [ebp - 0xd70], 0
mov edx, dword [ebp - 0xd70]
push edx
mov eax, dword [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0xbcc]
push ecx
lea ecx, [ebp - 0xd04]
call fcn.0042a470
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1dc]
push edx
push 0x5eb404
lea eax, [ebp - 0xd04]
push eax
lea ecx, [ebp - 0xbcc]
call fcn.00406540
lea ecx, [ebp - 0xbcc]
test ecx, ecx
je 0x41ab0f
lea edx, [ebp - 0xbcc]
add edx, 4
mov dword [ebp - 0xd74], edx
jmp 0x41ab19
mov dword [ebp - 0xd74], 0
push 0x5dee1e
lea ecx, [ebp - 0xd4c]
call fcn.00403100
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xd74]
push eax
lea ecx, [ebp - 0xd04]
push ecx
lea edx, [ebp - 0xd4c]
push edx
lea ecx, [ebp - 0x9bc]
call fcn.0044e8f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd4c]
call fcn.00403180
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xd20]
call fcn.00403210
push eax
lea ecx, [ebp - 0x3c]
call fcn.00403210
push eax
lea ecx, [ebp - 0x9bc]
call fcn.0044e3b0
push 0x5dee1f
lea ecx, [ebp - 0x9bc]
call fcn.0044db00
push 0x5eb40c
lea ecx, [ebp - 0xbec]
call fcn.00403100
mov byte [ebp - 4], 7
push 0x5dee2b
lea ecx, [ebp - 0xd68]
call fcn.00403100
mov byte [ebp - 4], 8
lea eax, [ebp - 0xbcc]
test eax, eax
je 0x41abd7
lea ecx, [ebp - 0xbcc]
add ecx, 4
mov dword [ebp - 0xd78], ecx
jmp 0x41abe1
mov dword [ebp - 0xd78], 0
push 0
lea edx, [ebp - 0xd68]
push edx
mov eax, dword [ebp - 0xd78]
push eax
lea ecx, [ebp - 0x9bc]
push ecx
lea ecx, [ebp - 0xd04]
call fcn.0042edd0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd68]
call fcn.00403180
lea ecx, [ebp - 0xae4]
call fcn.00420b00
lea ecx, [ebp - 0xbcc]
call fcn.00406a10
lea ecx, [ebp - 0xbcc]
call fcn.00407ea0
mov edx, dword [ebp - 0xd24]
push edx
call fcn.00594dd0
add esp, 4
mov eax, dword [ebp - 0x1dc]
push eax
call fcn.005835f0
add esp, 4
mov ecx, dword [ebp - 0xbd0]
push ecx
call fcn.00582e70
add esp, 4
mov edx, dword [ebp - 0xbd0]
push edx
call fcn.00583ff0
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xbec]
call fcn.00403180
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd04]
call fcn.0042a670
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xbcc]
call fcn.00406180
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9bc]
call fcn.00446fe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xae4]
call fcn.00420a20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd20]
call fcn.00403180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00403180
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c7d13
mov esp, ebp
pop ebp
ret