Function at 0x4564c0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a030d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x62700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
sub esp, 8
call fcn.004571e0
mov eax, dword [ebp + 0xc]
mov edi, 2
mov dword [ebp - 4], 0
mov ecx, 0x17
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
cmp word [eax], di
lea eax, [ebp - 0x1c]
push eax
cmovne edi, ecx
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
add esi, 4
push 6
push 1
push edi
mov ecx, dword [ecx]
push esi
push eax
add ecx, 0x14
call fcn.00455de0
mov ecx, dword [eax + 8]
test cl, 1
je 0x456550
cmp ecx, 1
jne 0x45658b
cmp dword [eax], 0
jne 0x45658b
xorps xmm0, xmm0
mov dword [ebp - 0x44], 2
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x40], 0
movups xmm0, xmmword [ebp - 0x44]
mov dword [esi + 0x20], edi
mov byte [esi + 0x24], 0
movups xmmword [esi + 0x28], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [esi + 0x38], xmm0
mov dword [esi + 0x40], 0
test byte [ebp - 0x14], 1
je 0x4565aa
cmp dword [ebp - 0x14], 1
jne 0x4567d2
cmp dword [ebp - 0x1c], 0
setne al
test al, al
jne 0x4567d2
mov eax, dword [esi]
mov dword [ebp + 8], 1
cmp eax, 0xffffffff
jne 0x456622
mov edx, dword [0x627040]
mov ecx, dword [0x627044]
cmp edx, 0x257edfd1
jne 0x4565d4
cmp ecx, 0xb2ab117a
je 0x4565e4
cmp edx, 0x257edfd0
jne 0x4565e8
cmp ecx, 0xb2ab117a
jne 0x4565e8
mov al, 1
jmp 0x456608
mov eax, dword [0x627038]
mov ecx, 0x627038
push 0x2719
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x627044]
mov edx, dword [0x627040]
movzx eax, al
mov edi, 0x2719
add eax, 2
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0x627038
mov dword [ebp - 0x14], eax
jmp 0x456655
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea ecx, [ebp - 0x1c]
setne dl
call fcn.00411300
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [0x627044]
mov edx, dword [0x627040]
test byte [ebp - 0x14], 1
je 0x456671
cmp eax, 1
jne 0x4567df
test edi, edi
setne al
test al, al
jne 0x4567df
mov edi, dword [ebp + 0xc]
mov eax, 0x10
cmp word [edi], 2
mov edi, 0x1c
cmovne eax, edi
mov edi, dword [esi]
cmp edi, 0xffffffff
jne 0x4566ea
cmp edx, 0x257edfd1
jne 0x45669c
cmp ecx, 0xb2ab117a
je 0x4566ac
cmp edx, 0x257edfd0
jne 0x4566b0
cmp ecx, 0xb2ab117a
jne 0x4566b0
mov al, 1
jmp 0x4566d0
mov eax, dword [0x627038]
mov ecx, 0x627038
push 0x2719
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x627044]
mov edx, dword [0x627040]
movzx eax, al
mov edi, 0x2719
add eax, 2
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0x627038
mov dword [ebp - 0x14], eax
jmp 0x456714
push eax
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
lea ecx, [ebp - 0x1c]
setne dl
call fcn.00411300
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [0x627044]
mov edx, dword [0x627040]
test byte [ebp - 0x14], 1
je 0x456730
cmp eax, 1
jne 0x4567ec
test edi, edi
setne al
test al, al
jne 0x4567ec
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x456789
cmp edx, 0x257edfd1
jne 0x456747
cmp ecx, 0xb2ab117a
je 0x456757
cmp edx, 0x257edfd0
jne 0x45675b
cmp ecx, 0xb2ab117a
jne 0x45675b
mov al, 1
jmp 0x45676f
mov eax, dword [0x627038]
mov ecx, 0x627038
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov ecx, 0x2719
add eax, 2
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0x627038
mov dword [ebp - 0x14], eax
jmp 0x4567a8
push bind
push eax
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
lea ecx, [ebp - 0x1c]
setne dl
call fcn.00411300
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
test byte [ebp - 0x14], 1
je 0x4567bc
cmp eax, 1
jne 0x4567f9
test ecx, ecx
setne al
test al, al
jne 0x4567f9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edx, str.open
lea ecx, [ebp - 0x1c]
call fcn.00403c30
mov edx, str.set_option
lea ecx, [ebp - 0x1c]
call fcn.00403c30
mov edx, str.bind
lea ecx, [ebp - 0x1c]
call fcn.00403c30
mov edx, str.listen
lea ecx, [ebp - 0x1c]
call fcn.00403c30
int3