Function at 0x445980
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
lea edx, [ebp - 8]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x44], 0x607c20
mov dword [ebp - 0x40], 0x60ee52
mov dword [ebp - 0x3c], edx
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x38], 0x445abe
mov dword [esp], edx
call fcn.004cf190
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
mov dword [esp + 0x10], 4
mov dword [esp + 8], 4
mov dword [esp + 4], 0xffff
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [ebp - 0x58], 0xffffffff
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [ebp - 0x60]
sub esp, 0x14
mov eax, dword [ecx + 0x88]
mov edx, dword [eax + 0xc]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ecx]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_bind]
sub esp, 0xc
cmp eax, 0xffffffff
je 0x445a30
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.004cf200
leave
ret
mov eax, dword [sym.imp.msvcrt.dll__errno]
mov dword [ebp - 0x60], eax
call eax
cmp dword [eax], 0x2740
je 0x445a1d
mov dword [esp], 0x20
call fcn.00606e10
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x64], eax
mov dword [esp], str.bind
mov dword [ebp - 0x58], 1
call fcn.0060d710
push edx
mov dword [ebp - 0x58], 2
mov edx, dword [ebp - 0x60]
call edx
lea edx, [ebp - 0x20]
mov dword [esp + 4], edx
mov eax, dword [eax]
mov dword [esp], eax
mov ecx, dword [ebp - 0x64]
call fcn.0052a0d0
push eax
push eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x20]
cmp eax, edx
je 0x445a9c
mov dword [esp], eax
call fcn.00606c40
mov dword [esp + 8], 0x52a2b0
mov dword [esp + 4], 0x73db40
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
mov dword [ebp - 0x58], 0xffffffff
call fcn.00607a50
add ebp, 8
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x445ae7
sub eax, 1
je 0x445ad5
ud2
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
cmp eax, edx
je 0x445ae7
mov dword [esp], eax
call fcn.00606c40
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call fcn.00607340
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
mov dword [ebp - 0x58], 0xffffffff
call fcn.004cf4a0
lea esi, [esi]
lea edi, [edi]
push ebp
mov ebp, esp
push edi
push ebx
lea edx, [ebp - 0xdc]
lea ebx, [ebp - 8]
sub esp, 0x100
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xc4], 0x607c20
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb4], esp
mov dword [ebp - 0xc0], 0x60ee5a
mov dword [ebp - 0xb8], 0x445caf
mov dword [esp], edx
call fcn.004cf190
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 1
mov dword [esp + 0x10], 4
mov dword [esp + 8], 4
mov dword [esp + 4], 0xffff
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [ebp - 0xd8], 0xffffffff
call dword [sym.imp.WS2_32.dll_setsockopt]
lea edx, [ebp - 0x88]
xor eax, eax
mov ecx, 0x20
sub esp, 0x14
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0xe0]
mov eax, dword [edi + 0x88]
mov eax, dword [eax + 0x10]
mov ebx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], eax
mov dword [esp + 8], 0x10
mov dword [esp + 4], edx
mov eax, dword [edi]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_bind]
sub esp, 0xc
cmp eax, 0xffffffff
je 0x445c18
lea eax, [ebp - 0xdc]
mov dword [esp], eax
call fcn.004cf200
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret
lea ebx, [ebp - 0xa0]
mov dword [esp], 0x20
call fcn.00606e10
mov ecx, ebx
mov dword [ebp - 0xe0], eax
mov dword [esp], str.bind
mov dword [ebp - 0xd8], 1
call fcn.0060d710
push edx
mov dword [ebp - 0xd8], 2
call dword [sym.imp.msvcrt.dll__errno]
mov dword [esp + 4], ebx
mov eax, dword [eax]
mov dword [esp], eax
mov ecx, dword [ebp - 0xe0]
call fcn.0052a0d0
push eax
push eax
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0xa0]
cmp eax, edx
je 0x445c87
mov dword [esp], eax
call fcn.00606c40
mov dword [esp + 8], 0x52a2b0
mov dword [esp + 4], 0x73db40
mov eax, dword [ebp - 0xe0]
mov dword [esp], eax
mov dword [ebp - 0xd8], 0xffffffff
call fcn.00607a50
add ebp, 8
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xd8]
test eax, eax
je 0x445ce7
sub eax, 1
je 0x445ccf
ud2
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x98]
cmp eax, edx
je 0x445ce7
mov dword [esp], eax
call fcn.00606c40
mov eax, dword [ebp - 0xe0]
mov dword [esp], eax
call fcn.00607340
mov eax, dword [ebp - 0xe4]
mov dword [esp], eax
mov dword [ebp - 0xd8], 0xffffffff
call fcn.004cf4a0
nop
nop