Function at 0x180072bf0
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Get socket status
Set socket configuration

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x10118
call fcn.1800e9570
sub rsp, rax
mov rax, qword [0x180173200]
xor rax, rsp
mov qword [rsp + 0x10100], rax
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x84], 0
xor ecx, ecx
call fcn.180071cf0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x180072c55
mov rax, qword [rsp + 0x38]
jmp 0x1800739a2
lea rcx, str.COMMDEBUG
call fcn.1800fc424
test rax, rax
je 0x180072c72
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x6c], 1
lea rcx, str.COMMTRACE
call fcn.1800fc424
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x180072cba
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x70], 1
lea rdx, [0x18015a864]
mov rcx, qword [rsp + 0xb0]
call fcn.180021670
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x78], rax
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x10138]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x68], 0
mov rax, qword [rsp + 0x38]
mov dword [rax + 0xa8], 0
cmp dword [rsp + 0x10138], 0xb
jne 0x180072df9
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x14], 1
cmp qword [rsp + 0x10140], 0
je 0x180072d1b
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x10140]
mov qword [rax], rcx
jmp 0x180072d28
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x10], 3
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x10130]
mov dword [rax + 0xa0], ecx
mov dword [rsp + 0x44], 0
jmp 0x180072d5a
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x44], eax
jae 0x180072d8e
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x38]
movsxd rcx, dword [rcx + 0xa0]
mov rdx, qword [rsp + 0x38]
cmp qword [rdx + rax*8 + 0xb0], rcx
jne 0x180072d8c
jmp 0x180072d8e
jmp 0x180072d50
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x44], eax
jne 0x180072de5
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0xa8], 0x1000
jae 0x180072de5
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x38]
movsxd rcx, dword [rcx + 0xa0]
mov rdx, qword [rsp + 0x38]
mov qword [rdx + rax*8 + 0xb0], rcx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xa8]
inc eax
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0xa8], eax
xor eax, eax
test eax, eax
jne 0x180072d46
mov rax, qword [rsp + 0x38]
jmp 0x1800739a2
mov eax, dword [rsp + 0x10138]
and eax, 4
test eax, eax
je 0x180072e84
mov r8d, reloc.WS2_32.dll_recvfrom
mov edx, 2
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x10138], 5
jne 0x180072e7f
mov r8d, Ordinal_33
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.18012a620
mov eax, 2
mov word [rsp + 0xc0], ax
movzx ecx, word [rsp + 0x10158]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0xc2], ax
lea rax, [rsp + 0xc8]
lea rcx, [0x180137808]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x180072fbf
cmp dword [rsp + 0x10138], 2
jne 0x180072eb0
xor r8d, r8d
mov edx, 1
mov rax, qword [rsp + 0x10130]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov dword [rsp + 0x30], eax
jmp 0x180072fbf
cmp dword [rsp + 0x10138], 3
jne 0x180072fbf
mov dword [rsp + 0x8c], 6
xor r8d, r8d
mov edx, 1
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_socket]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
jne 0x180072f09
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x8c], 4
cmp dword [rsp + 0x30], 0xffffffff
je 0x180072fbf
mov dword [rsp + 0xa8], 0
mov r8d, Ordinal_33
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.18012a620
movzx ecx, word [rsp + 0x10158]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0xc2], ax
lea rax, [rsp + 0xc8]
lea rcx, [0x180137808]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x8c], 4
jne 0x180072f7a
mov dword [rsp + 0x78], 2
jmp 0x180072f82
mov dword [rsp + 0x78], reloc.WS2_32.dll_socket
movzx eax, word [rsp + 0x78]
mov word [rsp + 0xc0], ax
movsxd rax, dword [rsp + 0x30]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0xa8]
mov r8d, reloc.WLDAP32.dll_Ordinal_27
mov edx, reloc.WLDAP32.dll_Ordinal_41
mov rcx, rax
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0xb8], eax
cmp dword [rsp + 0x30], 0xffffffff
jne 0x180072fea
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x60], 0xffffff29
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x38]
jmp 0x1800739a2
cmp dword [rsp + 0x10138], 2
jne 0x1800734f1
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x70], 1
movsxd rax, dword [rsp + 0x30]
lea r8, [rsp + 0x70]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [rsp + 0x68], 0
jne 0x18007344d
cmp dword [rsp + 0x54], 0
jne 0x18007344d
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x68], 5
jge 0x18007344d
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x10130]
mov r8d, dword [rcx + 0x10]
mov rcx, qword [rsp + 0x10130]
mov rdx, qword [rcx + 0x20]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x180073089
mov dword [rsp + 0x54], 1
jmp 0x18007344d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x2748
jg 0x1800730d5
cmp dword [rsp + 0x40], 0x2748
je 0x180073422
cmp dword [rsp + 0x40], 0
je 0x180073125
cmp dword [rsp + 0x40], 0x2733
je 0x180073125
cmp dword [rsp + 0x40], 0x2734
je 0x180073125
cmp dword [rsp + 0x40], 0x2747
je 0x180073104
jmp 0x180073436
cmp dword [rsp + 0x40], 0x274d
je 0x18007342c
cmp dword [rsp + 0x40], 0x2750
je 0x18007342c
cmp dword [rsp + 0x40], 0x2751
je 0x18007342c
jmp 0x180073436
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x68]
inc eax
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x68], eax
mov ecx, 0xa
call fcn.180022430
jmp 0x180073448
mov dword [rsp + 0x7c], 5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x18007313f
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0xe0], 0
mov dword [rsp + 0x48], 0
jmp 0x18007315e
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x48], eax
jae 0x180073182
mov eax, dword [rsp + 0x48]
movsxd rcx, dword [rsp + 0x30]
cmp qword [rsp + rax*8 + 0xe8], rcx
jne 0x180073180
jmp 0x180073182
jmp 0x180073154
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x48], eax
jne 0x1800731bd
cmp dword [rsp + 0xe0], 0x1000
jae 0x1800731bd
mov eax, dword [rsp + 0x48]
movsxd rcx, dword [rsp + 0x30]
mov qword [rsp + rax*8 + 0xe8], rcx
mov eax, dword [rsp + 0xe0]
inc eax
mov dword [rsp + 0xe0], eax
xor eax, eax
test eax, eax
jne 0x18007314a
mov dword [rsp + 0x80f0], 0
mov dword [rsp + 0x4c], 0
jmp 0x1800731e2
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x80f0]
cmp dword [rsp + 0x4c], eax
jae 0x180073206
mov eax, dword [rsp + 0x4c]
movsxd rcx, dword [rsp + 0x30]
cmp qword [rsp + rax*8 + 0x80f8], rcx
jne 0x180073204
jmp 0x180073206
jmp 0x1800731d8
mov eax, dword [rsp + 0x80f0]
cmp dword [rsp + 0x4c], eax
jne 0x180073241
cmp dword [rsp + 0x80f0], 0x1000
jae 0x180073241
mov eax, dword [rsp + 0x4c]
movsxd rcx, dword [rsp + 0x30]
mov qword [rsp + rax*8 + 0x80f8], rcx
mov eax, dword [rsp + 0x80f0]
inc eax
mov dword [rsp + 0x80f0], eax
xor eax, eax
test eax, eax
jne 0x1800731ce
mov eax, dword [rsp + 0x10148]
cdq
mov ecx, 5
idiv ecx
mov dword [rsp + 0x10148], eax
cmp dword [rsp + 0x10148], 0
jg 0x180073272
mov dword [rsp + 0x10148], 1
mov eax, dword [rsp + 0x10148]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x94], 0
mov dword [rsp + 0x64], 0
jmp 0x18007329f
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x64], eax
jge 0x180073411
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80f0]
lea r8, [rsp + 0xe0]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.WS2_32.dll_select]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0
jle 0x18007337a
mov dword [rsp + 0x9c], 4
movsxd rax, dword [rsp + 0x30]
lea rcx, [rsp + 0x9c]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x6c]
mov r8d, 0x1007
mov edx, 0xffff
mov rcx, rax
call qword [sym.imp.WS2_32.dll_getsockopt]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
jne 0x180073344
cmp dword [rsp + 0x80], 0
jne 0x180073354
cmp dword [rsp + 0x6c], 0
je 0x180073354
mov dword [rsp + 0x84], 1
jmp 0x180073411
movsxd rax, dword [rsp + 0x30]
lea rdx, [rsp + 0xe0]
mov rcx, rax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x18007337a
mov dword [rsp + 0x54], 1
jmp 0x180073411
mov eax, dword [rsp + 0x10148]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x94], 0
mov dword [rsp + 0x50], 0
jmp 0x1800733a7
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x50], eax
jae 0x1800733cb
mov eax, dword [rsp + 0x50]
movsxd rcx, dword [rsp + 0x30]
cmp qword [rsp + rax*8 + 0xe8], rcx
jne 0x1800733c9
jmp 0x1800733cb
jmp 0x18007339d
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x50], eax
jne 0x180073406
cmp dword [rsp + 0xe0], 0x1000
jae 0x180073406
mov eax, dword [rsp + 0x50]
movsxd rcx, dword [rsp + 0x30]
mov qword [rsp + rax*8 + 0xe8], rcx
mov eax, dword [rsp + 0xe0]
inc eax
mov dword [rsp + 0xe0], eax
xor eax, eax
test eax, eax
jne 0x180073393
jmp 0x180073295
cmp dword [rsp + 0x54], 0
jne 0x180073420
mov dword [rsp + 0x68], 1
jmp 0x180073448
mov dword [rsp + 0x54], 1
jmp 0x180073448
mov dword [rsp + 0x68], 1
jmp 0x180073448
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x68]
inc eax
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x68], eax
jmp 0x180073028
cmp dword [rsp + 0x54], 0
jne 0x1800734c0
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x60], 0xffffff2e
cmp dword [rsp + 0x84], 0
je 0x180073478
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x6c]
mov dword [rax + 0x64], ecx
jmp 0x180073486
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x64], eax
movsxd rax, dword [rsp + 0x30]
mov edx, 2
mov rcx, rax
call qword [sym.imp.WS2_32.dll_shutdown]
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0xa0], 0xffffffff
mov rax, qword [rsp + 0x38]
jmp 0x1800739a2
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x68], 0
mov dword [rsp + 0x70], 0
movsxd rax, dword [rsp + 0x30]
lea r8, [rsp + 0x70]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
jmp 0x1800737f4
mov eax, dword [rsp + 0x10138]
and eax, 1
test eax, eax
je 0x180073692
cmp qword [rsp + 0x10140], 0
je 0x180073520
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x10140]
mov qword [rax], rcx
jmp 0x18007352d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
movsxd rax, dword [rsp + 0x30]
mov r8d, Ordinal_33
lea rdx, [rsp + 0xc0]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x1800735a1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x60], 0xffffff2f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x64], eax
movsxd rax, dword [rsp + 0x30]
mov edx, 2
mov rcx, rax
call qword [sym.imp.WS2_32.dll_shutdown]
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0xa0], 0xffffffff
mov rax, qword [rsp + 0x38]
jmp 0x1800739a2
movsxd rax, dword [rsp + 0x30]
mov edx, dword [rsp + 0x10150]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_listen]
cmp dword [rsp + 0x10138], 3
jne 0x1800735d1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x14], 1
jmp 0x18007368d
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x5c], 1
mov dword [rsp + 0x58], 0
jmp 0x1800735f1
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x58], eax
jae 0x180073624
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x58]
movsxd rdx, dword [rsp + 0x30]
cmp qword [rax + rcx*8 + 0xb0], rdx
jne 0x180073622
jmp 0x180073624
jmp 0x1800735e7
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x58], eax
jne 0x180073683
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
cmp dword [rax + 0xa8], 0x1000
jae 0x180073683
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x58]
movsxd rdx, dword [rsp + 0x30]
mov qword [rax + rcx*8 + 0xb0], rdx
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov eax, dword [rax + 0xa8]
inc eax
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx]
mov dword [rcx + 0xa8], eax
xor eax, eax
test eax, eax
jne 0x1800735dd
jmp 0x1800737f4
cmp dword [rsp + 0x10138], 4
jne 0x1800737f4
mov dword [rsp + 0xa0], 1
movsxd rax, dword [rsp + 0x30]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0xa0]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov edx, 0xffff
mov rcx, rax
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0xffffffff
jne 0x180073733
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x60], 0xffffff27
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x64], eax
movsxd rax, dword [rsp + 0x30]
mov edx, 2
mov rcx, rax
call qword [sym.imp.WS2_32.dll_shutdown]
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0xa0], 0xffffffff
mov rax, qword [rsp + 0x38]
jmp 0x1800739a2
mov eax, 2
mov rcx, qword [rsp + 0x38]
mov word [rcx + 0x100bc], ax
mov dword [rsp + 0xa4], Ordinal_33
mov rax, qword [rsp + 0x38]
add rax, 0x100bc
lea rcx, [rsp + 0xa4]
mov qword [rsp + 0x20], rcx
mov r9, rax
xor r8d, r8d
mov edx, 2
lea rcx, str.255.255.255.255
call qword [sym.imp.WS2_32.dll_WSAStringToAddressA]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
je 0x1800737de
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x60], 0xffffff26
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x64], eax
movsxd rax, dword [rsp + 0x30]
mov edx, 2
mov rcx, rax
call qword [sym.imp.WS2_32.dll_shutdown]
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0xa0], 0xffffffff
mov rax, qword [rsp + 0x38]
jmp 0x1800739a2
mov cx, 0x13bd
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0x38]
mov word [rcx + 0x100be], ax
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0xa0], ecx
mov dword [rsp + 0x5c], 0
jmp 0x180073817
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x5c], eax
jae 0x180073844
mov eax, dword [rsp + 0x5c]
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp qword [rdx + rax*8 + 0xb0], rcx
jne 0x180073842
jmp 0x180073844
jmp 0x18007380d
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x5c], eax
jne 0x180073894
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0xa8], 0x1000
jae 0x180073894
mov eax, dword [rsp + 0x5c]
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov qword [rdx + rax*8 + 0xb0], rcx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xa8]
inc eax
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0xa8], eax
xor eax, eax
test eax, eax
jne 0x180073803
cmp qword [rsp + 0x10140], 0
je 0x18007395d
mov dword [rsp + 0x60], 0
jmp 0x1800738c1
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x10140]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x60], eax
jae 0x1800738f4
mov eax, dword [rsp + 0x60]
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x10140]
cmp qword [rdx + rax*8 + 0xb0], rcx
jne 0x1800738f2
jmp 0x1800738f4
jmp 0x1800738b7
mov rax, qword [rsp + 0x10140]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x60], eax
jne 0x180073953
mov rax, qword [rsp + 0x10140]
cmp dword [rax + 0xa8], 0x1000
jae 0x180073953
mov eax, dword [rsp + 0x60]
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x10140]
mov qword [rdx + rax*8 + 0xb0], rcx
mov rax, qword [rsp + 0x10140]
mov eax, dword [rax + 0xa8]
inc eax
mov rcx, qword [rsp + 0x10140]
mov dword [rcx + 0xa8], eax
xor eax, eax
test eax, eax
jne 0x1800738ad
mov eax, 1
mov word [rsp + 0x88], ax
xor eax, eax
mov word [rsp + 0x8a], ax
movsxd rax, dword [rsp + 0x30]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x88]
mov r8d, 0x80
mov edx, 0xffff
mov rcx, rax
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x10100]
xor rcx, rsp
call fcn.1800e95d0
add rsp, 0x10118
pop rdi
pop rsi
ret