Function at 0x180043c00
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x30], 0x1c
mov rcx, qword [rsp + 0x60]
call fcn.180041750
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x180043c4c
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x60], 0xffffff2d
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x40]
jmp 0x180043e99
mov rax, qword [rsp + 0x40]
add rax, 0x100bc
mov rcx, qword [rsp + 0x60]
movsxd rcx, dword [rcx + 0xa0]
lea r8, [rsp + 0x30]
mov rdx, rax
call qword [sym.imp.WSOCK32.dll_accept]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x180043cb9
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x60], 0xffffff30
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x68]
inc eax
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x68], eax
mov rcx, qword [rsp + 0x40]
call fcn.180024680
xor eax, eax
jmp 0x180043e99
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0xa0], ecx
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x5c], 1
mov dword [rsp + 0x48], 0
jmp 0x180043ce8
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x48], eax
jae 0x180043d1b
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x48]
movsxd rdx, dword [rsp + 0x38]
cmp qword [rax + rcx*8 + 0xb0], rdx
jne 0x180043d19
jmp 0x180043d1b
jmp 0x180043cde
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x48], eax
jne 0x180043d7a
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
cmp dword [rax + 0xa8], 0x1000
jae 0x180043d7a
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x48]
movsxd rdx, dword [rsp + 0x38]
mov qword [rax + rcx*8 + 0xb0], rdx
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov eax, dword [rax + 0xa8]
inc eax
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov dword [rcx + 0xa8], eax
xor eax, eax
test eax, eax
jne 0x180043cd4
mov dword [rsp + 0x4c], 0
jmp 0x180043d98
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x4c], eax
jae 0x180043dc5
mov eax, dword [rsp + 0x4c]
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
cmp qword [rdx + rax*8 + 0xb0], rcx
jne 0x180043dc3
jmp 0x180043dc5
jmp 0x180043d8e
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x4c], eax
jne 0x180043e15
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0xa8], 0x1000
jae 0x180043e15
mov eax, dword [rsp + 0x4c]
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov qword [rdx + rax*8 + 0xb0], rcx
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xa8]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0xa8], eax
xor eax, eax
test eax, eax
jne 0x180043d84
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x68], 0
mov eax, 1
mov word [rsp + 0x34], ax
xor eax, eax
mov word [rsp + 0x36], ax
movsxd rax, dword [rsp + 0x38]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov r8d, pe_nt_image_headers64
mov edx, 0xffff
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_setsockopt]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x70]
mov dword [rax + 0x70], ecx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x78]
mov qword [rax + 0x78], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x6c]
mov dword [rax + 0x6c], ecx
mov rax, qword [rsp + 0x40]
add rsp, 0x58
ret