Function at 0x42a35d
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a876c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov cl, byte [eax + 0xac]
test ecx, ecx
jne 0x42a396
mov edx, dword [ebp - 0x58]
xor eax, eax
mov al, byte [edx + 0x5d]
test eax, eax
je 0x42a39b
jmp 0x42a636
mov dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
jne 0x42a400
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x2733
je 0x42a400
mov edx, 1
test edx, edx
je 0x42a3e4
mov dword [ebp - 0x5c], 0
jmp 0x42a3fb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x60daa0
call fcn.0041ab00
add esp, 8
mov dword [ebp - 0x5c], eax
jmp 0x42a636
mov ecx, dword [ebp - 0x58]
call fcn.0042b6ed
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x42a416
jmp 0x42a636
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xc0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xbc], edx
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0xb8], 0x2000
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0xa8]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x58]
call fcn.0042b381
test eax, eax
jne 0x42a499
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0
je 0x42a47c
push 1
mov ecx, dword [ebp - 0x48]
call fcn.0042ba80
mov dword [ebp - 0x60], eax
jmp 0x42a483
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x42a636
mov byte [ebp - 0x2c], 1
push 1
lea eax, [ebp - 0x2c]
push eax
push 8
push 0xffff
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x42a4e3
mov eax, 1
test eax, eax
je 0x42a4cc
mov dword [ebp - 0x64], 0
jmp 0x42a4e3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x60dab0
call fcn.0041ab00
add esp, 8
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x40], 1
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0xbc]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], 0x7530
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0xc
lea ecx, [ebp - 0x40]
push ecx
push 0x98000004
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x64
call fcn.004045d0
push 0x18
call fcn.005861ce
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x54], 0
je 0x42a558
push 0
mov ecx, dword [ebp - 0x54]
call fcn.0042bfa0
mov dword [ebp - 0x68], eax
jmp 0x42a55f
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x42a5b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x42a5b5
push 1
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x58]
call fcn.0042b3b4
jmp 0x42a636
mov eax, dword [ebp - 0x20]
push eax
push 1
push 0x4d0
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx + 8]
call fcn.00403b90
mov edx, 1
test edx, edx
je 0x42a5dd
mov dword [ebp - 0x6c], 0
jmp 0x42a5f9
mov ecx, dword [ebp - 0x58]
add ecx, 0x64
call fcn.0042bbe0
push eax
push str.8VF_7
call fcn.0041ab00
add esp, 8
mov dword [ebp - 0x6c], eax
mov eax, 1
test eax, eax
je 0x42a60b
mov dword [ebp - 0x70], 0
jmp 0x42a62a
mov ecx, dword [ebp - 0x58]
add ecx, 0x80
call fcn.0042bbe0
push eax
push str.Ctbm
call fcn.0041ab00
add esp, 8
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x58]
call fcn.0042a9f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret