Function at 0x41c340
Capabilities:
Set socket configuration

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9be2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x624040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov eax, dword [ebx + 0x10]
mov byte [ebp - 0x29], 0
cmp eax, 0x11
jne 0x41c39a
push 1
push 0
push 0
push eax
push 2
jmp 0x41c3a7
cmp eax, 1
jne 0x41c3e3
push eax
push 0
push 0
push eax
push 3
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41c3e3
mov esi, dword [esi + 0xb8]
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], esi
push eax
push 0x1f
push 0
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x41c405
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004830fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
push 0x78
call fcn.0048336c
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [esi + 0x28], xmm0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0xf
mov byte [esi + 0x28], 0
movups xmmword [esi + 0x40], xmm0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0xf
mov byte [esi + 0x40], 0
mov byte [ebp - 4], 2
push 0xc
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
call fcn.0048336c
add esp, 4
xorps xmm0, xmm0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x58], eax
lea eax, [ebp - 0x20]
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0
movups xmmword [esi + 8], xmm0
push eax
movq qword [esi + 0x18], xmm0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov byte [esi + 0x60], 0
mov dword [esi + 0x64], 0x11
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x41c4dd
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x41c4dd
push 0
push 0x3e8
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.005b83b0
push edx
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.005b83b0
jmp 0x41c4eb
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x70], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x74], edx
mov dword [esi + 0x68], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x6c], edx
add eax, 0x54
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
cmp ecx, eax
je 0x41c51f
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x41c518
mov eax, dword [eax]
push edx
push eax
call fcn.00407990
mov eax, dword [ebp - 0x30]
lea ecx, [esi + 0x40]
add eax, 0x6c
cmp ecx, eax
je 0x41c53e
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x41c537
mov eax, dword [eax]
push edx
push eax
call fcn.00407990
mov eax, dword [ebx + 0x10]
xorps xmm0, xmm0
mov dword [esi + 0x64], eax
mov eax, dword [ebp - 0x30]
add eax, 0x84
movlpd qword [ebp - 0x20], xmm0
push eax
mov dword [ebp - 0x20], eax
call fcn.0048577b
add esp, 4
mov byte [ebp - 0x1c], 1
mov eax, dword [ebp - 0x30]
lea ecx, [ebx + 8]
add eax, 0x28
mov dword [ebp - 4], 3
push ecx
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.0041f4f0
mov dword [eax], esi
mov esi, dword [ebp - 0x20]
push esi
call fcn.00485797
mov eax, dword [ebp - 0x30]
add esp, 4
push 1
push edi
push dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
je 0x41c5a8
mov al, 1
jmp 0x41c3e5
push esi
call fcn.0048577b
mov edi, dword [ebp - 0x24]
lea eax, [ebx + 8]
add esp, 4
mov ecx, edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00420680
mov esi, dword [ebp - 0x34]
cmp byte [esi + 0xd], 0
jne 0x41c60f
mov eax, dword [ebx + 0xc]
cmp eax, dword [esi + 0x14]
jb 0x41c60f
ja 0x41c5de
mov eax, dword [ebx + 8]
cmp eax, dword [esi + 0x10]
jb 0x41c60f
cmp esi, dword [edi]
je 0x41c60f
mov edi, dword [esi + 0x18]
test edi, edi
je 0x41c5fb
mov ecx, edi
call fcn.0041bec0
push 0x78
push edi
call fcn.0048335e
add esp, 8
mov ecx, dword [ebp - 0x24]
push esi
call fcn.00420190
push 0x20
push eax
call fcn.0048335e
add esp, 8
push dword [ebp - 0x20]
call fcn.00485797
mov al, byte [ebp - 0x29]
add esp, 4
jmp 0x41c3e5