Function at 0x4216cd
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x81c
push ebx
push esi
push edi
mov ebx, ecx
push 0x4068c8
lea ecx, [ebp - 0x10]
call fcn.0044efe3
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x28], eax
lea edi, [ebx + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x10]
lea edi, [ebx + 0x3c]
movsd dword es:[edi], dword [esi]
push 4
movsd dword es:[edi], dword [esi]
xor ecx, ecx
lea edx, [ebp - 0x14]
push edx
inc ecx
push ecx
movsd dword es:[edi], dword [esi]
push 6
push eax
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [0x4579d4]
xor edi, edi
cmp eax, edi
mov esi, 0x405cd0
je 0x421800
imul eax, eax, 0x3e8
push edi
push edi
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
push eax
push edi
push edi
push 0xc
lea eax, [ebp - 0xc]
push eax
push 0x98000004
push dword [ebx + 0x28]
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], 0xc8
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x421797
mov eax, dword [ebx + 0x80]
mov dword [ebp + 8], eax
mov eax, dword [0x458858]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov eax, dword [ebx + 0xa0]
push 0x4058c8
push dword [eax*4 + 0x405ad8]
push dword [ebp + 8]
jmp 0x4217d9
mov ecx, dword [0x458858]
cmp ecx, edi
je 0x421800
push 5
push 2
call fcn.00414777
test al, al
je 0x421800
push dword [0x4579d4]
mov ecx, dword [0x458858]
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx + 0xa0]
push 0x4068ac
push dword [ecx*4 + 0x405ad8]
mov dword [ebp - 0x1c], edi
push eax
push esi
push 5
lea ecx, [ebp - 0x81c]
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0x10
push eax
call fcn.0044ed72
add esp, 0xc
mov ecx, eax
call fcn.0044ef88
push 0x11c
call fcn.0041365f
cmp eax, edi
pop ecx
je 0x42181e
push dword [ebx + 0x20]
mov ecx, eax
call fcn.0042cc63
mov dword [ebp + 8], eax
jmp 0x421821
mov dword [ebp + 8], edi
mov ecx, dword [ebp + 8]
cmp ecx, edi
jne 0x42189b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00414575
mov eax, dword [eax]
mov ecx, dword [ebx + 0x80]
mov edx, dword [0x458858]
push eax
mov eax, dword [ebx + 0xa0]
push 0x406888
push dword [eax*4 + 0x405ad8]
mov dword [ebp - 0x1c], edi
push ecx
push esi
push 5
lea ecx, [ebp - 0x81c]
mov dword [ebp - 0x18], edx
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0x10
push eax
call fcn.0044ed72
add esp, 0xc
mov ecx, eax
call fcn.0044ef88
lea ecx, [ebp - 8]
call fcn.00413720
mov ecx, ebx
call fcn.0041f188
jmp 0x4219aa
call fcn.0042c60f
mov ecx, dword [ebp + 8]
push ebx
call fcn.0042c41d
push dword [ebp + 8]
mov ecx, dword [ebx + 0x20]
call fcn.004268f9
push edi
mov ecx, ebx
call fcn.0041eaa9
push edi
push ebx
push 0x421196
push edi
push edi
lea ecx, [ebp - 8]
call fcn.0041f54f
push eax
lea ecx, [ebx + 0x58]
call fcn.0041f587
lea ecx, [ebp - 8]
call fcn.004147ea
mov eax, dword [ebx + 0x58]
cmp eax, edi
je 0x42193c
cmp eax, 0xffffffff
je 0x42193c
push edi
push ebx
push 0x4216b7
push edi
push edi
lea ecx, [ebp - 8]
call fcn.0041f54f
push eax
lea ecx, [ebx + 0x50]
call fcn.0041f587
lea ecx, [ebp - 8]
call fcn.004147ea
mov eax, dword [ebx + 0x50]
cmp eax, edi
je 0x421918
cmp eax, 0xffffffff
jne 0x421932
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00414575
mov eax, dword [eax]
push eax
push 0x406868
jmp 0x421954
mov ecx, dword [ebx + 0x24]
call fcn.0042d5c7
jmp 0x4219aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00414575
mov eax, dword [eax]
push eax
push 0x406848
mov eax, dword [ebx + 0xa0]
push dword [eax*4 + 0x405ad8]
mov ecx, dword [ebx + 0x80]
mov edx, dword [0x458858]
push ecx
push esi
push 5
lea ecx, [ebp - 0x81c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edx
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0x10
push eax
call fcn.0044ed72
add esp, 0xc
mov ecx, eax
call fcn.0044ef88
lea ecx, [ebp - 8]
call fcn.00413720
mov ecx, ebx
call fcn.0041fd5f
lea ecx, [ebp - 0x10]
call fcn.0044f049
pop edi
pop esi
pop ebx
leave
ret 0xc