Function at 0x432c10
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562613
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push esi
push edi
mov eax, dword [0x5d21e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
cmp dword [esi], 0xffffffff
jne 0x432e3b
call fcn.0052c940
mov ecx, dword [ebp + 8]
mov edi, 2
movzx eax, word [ecx]
mov ecx, eax
cmp eax, edi
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x18], ecx
mov ecx, 0x17
cmovne edi, ecx
mov dword [ebp - 0x24], eax
cmp dword [esi], 0xffffffff
mov dword [ebp - 0x28], edi
je 0x432c90
lea eax, [ebp - 0x5c]
push 1
push eax
call fcn.00444870
add esp, 8
mov edx, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp - 0x10], edx
jmp 0x432d4c
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 1
push 0
push 0
push 6
push 1
push edi
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [ebp - 0x14], eax
call fcn.0052c940
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
jne 0x432ccb
or ecx, eax
mov dword [ebp - 0x14], ecx
jmp 0x432cf7
cmp word [ebp - 0x18], 2
je 0x432cea
push 4
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push ecx
push 0x1b
push 0x29
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
xor edi, edi
call fcn.0052c940
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
cmp ecx, 0xffffffff
je 0x432d4c
mov eax, dword [ebp - 0x24]
push 0
push 0
mov eax, dword [eax + 0x18]
push dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
jne 0x432d28
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x432d2a
xor edi, edi
call fcn.0052c940
xor edx, edx
mov dword [ebp - 0x10], eax
mov ecx, edi
mov eax, fcn.004245e0
test ecx, ecx
cmove eax, edx
test eax, eax
je 0x432d54
lea ecx, [ebp - 0x18]
call fcn.004392f0
mov eax, edi
test eax, eax
jne 0x432db9
jmp 0x432d7b
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 8]
push 0
mov dword [ebp - 0x18], 0xffffffff
mov dword [esi], eax
mov byte [esi + 4], 0x10
call fcn.00435130
xor edi, edi
call fcn.0052c940
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x40], 0
movups xmm0, xmmword [ebp - 0x44]
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], 0
movups xmmword [esi + 0x24], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [esi + 0x34], xmm0
mov dword [esi + 0x3c], 0
xor ecx, ecx
mov eax, fcn.004245e0
test edi, edi
cmove eax, ecx
test eax, eax
je 0x432e3b
push dword [ebp + 0xc]
lea ecx, [ebp - 0xbc]
call fcn.004367d0
mov eax, dword [esi + 0x40]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 1
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0xbc]
push eax
call fcn.004367d0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x90]
call fcn.004367d0
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], eax
call fcn.00438520
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00434fc0
lea ecx, [ebp - 0x90]
call fcn.00438520
lea ecx, [ebp - 0xbc]
jmp 0x432f0d
push dword [ebp + 0xc]
mov esi, dword [esi + 0x40]
lea ecx, [ebp - 0x54]
call fcn.004367d0
lea eax, [esi + 0x14]
mov dword [ebp - 4], 3
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x34]
push eax
push 0x60
call fcn.0043d8b0
mov edi, eax
add esp, 8
mov dword [ebp - 0x5c], edi
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
mov esi, dword [esi]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x440780
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.0052c940
mov dword [edi + 0x24], eax
lea ecx, [edi + 0x38]
lea eax, [ebp - 0x54]
mov dword [edi + 0x28], 0
push eax
mov dword [edi + 0x2c], 0x4418e0
mov dword [edi + 0x30], esi
mov byte [edi + 0x34], 0
call fcn.004367d0
mov ecx, dword [ebp + 8]
mov edx, 0x1c
push edi
mov eax, 0x10
mov dword [ebp - 0x58], edi
cmp word [ecx], 2
cmovne eax, edx
push eax
mov eax, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 0xc]
push 1
push dword [eax + 0x1c]
push eax
call fcn.004477c0
lea ecx, [ebp - 0x54]
call fcn.00438520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8