Function at 0x45342c
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x453998
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x460], 0xffffffff
je 0x45347b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4c6], 7
je 0x45347b
mov edx, 0x4539b0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x45397d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x484], 0
jne 0x453499
mov edx, 0x4539d8
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x45397d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x470], 0
jne 0x4534b7
mov edx, 0x4539fc
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x45397d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x478], 0
jne 0x4534d5
mov edx, 0x453a28
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x45397d
xor eax, eax
push ebp
push 0x453613
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x479], 0
jne 0x453547
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x47c]
call fcn.00452b14
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x474], ebx
sub ebx, 6
je 0x453521
sub ebx, 0xb
jne 0x453530
mov eax, dword [ebp - 4]
mov dword [eax + 0x498], 2
jmp 0x45353d
mov eax, dword [ebp - 4]
mov dword [eax + 0x498], 1
jmp 0x45353d
mov eax, dword [ebp - 4]
mov dword [eax + 0x498], 3
mov eax, dword [ebp - 4]
mov byte [eax + 0x479], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x485], 0
jne 0x45359e
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00452250
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x480]
call fcn.0045290c
movzx eax, ax
mov edx, dword [ebp - 4]
mov dword [edx + 0x488], eax
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x488]
call fcn.00450e64
mov edx, dword [ebp - 4]
mov word [edx + 0x536], ax
mov eax, dword [ebp - 4]
mov byte [eax + 0x485], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x47a], 0
jne 0x4535dc
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00452250
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48c]
call fcn.0045290c
movzx eax, ax
mov edx, dword [ebp - 4]
mov dword [edx + 0x490], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x47a], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x468], 0
jne 0x453609
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x464]
call fcn.004526b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x538], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x468], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x453650
mov eax, dword [ebp - 4]
call fcn.00454208
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x474]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x498]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
call fcn.00450bd4
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x460], ebx
inc ebx
jne 0x453698
mov edx, 0x453a64
mov eax, dword [ebp - 4]
call fcn.004546a8
jmp 0x45397d
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004518d4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4c6], 1
je 0x4536ca
mov eax, 0x2726
call fcn.00450950
mov edx, 0x453a80
mov eax, dword [ebp - 4]
call fcn.004546a8
jmp 0x45397d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x498], 2
jne 0x4537d6
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4b9], 0
je 0x453787
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c0]
cmp eax, 1
je 0x453732
mov dword [ebp - 8], eax
push 4
lea eax, [ebp - 8]
push eax
push 3
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x460]
push eax
call sub.wsock32.dll_setsockopt
test eax, eax
je 0x453732
mov edx, 0x453ab8
mov eax, dword [ebp - 4]
call fcn.004546a8
jmp 0x45397d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x494]
mov edx, 0x453ae0
call fcn.00404028
je 0x453787
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x494]
call fcn.004526b0
mov dword [ebp - 0xc], eax
push 4
lea eax, [ebp - 0xc]
push eax
push 2
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x460]
push eax
call sub.wsock32.dll_setsockopt
test eax, eax
je 0x453787
mov edx, 0x453af0
mov eax, dword [ebp - 4]
call fcn.004546a8
jmp 0x45397d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x538], 0xffffffff
jne 0x4538c4
mov dword [ebp - 8], 1
lea eax, [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x460]
mov ecx, 0x20
mov edx, 0xffff
call fcn.00450c54
test eax, eax
je 0x4538c4
mov edx, 0x453b14
mov eax, dword [ebp - 4]
call fcn.004546a8
jmp 0x45397d
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x460]
mov ecx, 4
mov edx, 0xffff
call fcn.00450c54
test eax, eax
je 0x453811
mov edx, 0x453b38
mov eax, dword [ebp - 4]
call fcn.004546a8
jmp 0x45397d
mov eax, dword [ebp - 4]
test byte [eax + 0x4c5], 2
je 0x453858
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x460]
mov ecx, 1
mov edx, 6
call fcn.00450c54
test eax, eax
je 0x453858
mov edx, 0x453b5c
mov eax, dword [ebp - 4]
call fcn.004546a8
jmp 0x45397d
mov eax, dword [ebp - 4]
call fcn.00453374
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x460]
mov ecx, 8
mov edx, 0xffff
call fcn.00450c54
test eax, eax
je 0x45389b
mov edx, 0x453b8c
mov eax, dword [ebp - 4]
call fcn.004546a8
jmp 0x45397d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x490], 0
jne 0x4538bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x494]
mov edx, 0x453ae0
call fcn.00404028
je 0x4538c4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x50]
mov edx, dword [ebp - 4]
mov eax, 0x3b
mov dword [edx + 0x4cc], eax
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x460]
mov ecx, 0x401
call fcn.00450ac8
test eax, eax
je 0x4538ff
mov edx, 0x453bb0
mov eax, dword [ebp - 4]
call fcn.004546a8
jmp 0x45397d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x498], 2
jne 0x453921
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.004518d4
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
jmp 0x45397d
mov eax, dword [ebp - 4]
lea edx, [eax + 0x534]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x460]
mov ecx, 0x10
call fcn.00450f54
test eax, eax
jne 0x45394d
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.004518d4
jmp 0x45397d
call fcn.0045098c
cmp eax, 0x2733
jne 0x453965
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.004518d4
jmp 0x45397d
call fcn.0045098c
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov edx, 0x453bc8
mov eax, dword [ebp - 4]
call fcn.004546a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45399f
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00403cbc
ret