Function at 0x180041ac0
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Get socket status
Query environment variable
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, 0x10128
call fcn.180012ac0
sub rsp, rax
mov rax, qword [0x180135070]
xor rax, rsp
mov qword [rsp + 0x10118], rax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
xor ecx, ecx
call fcn.180041750
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x180041b22
mov rax, qword [rsp + 0x78]
jmp 0x18004295e
lea rcx, str.COMMDEBUG
call fcn.180010c90
test rax, rax
je 0x180041b3f
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x6c], 1
lea rcx, str.COMMTRACE
call fcn.180010c90
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x180041b7e
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x70], 1
lea rdx, [0x18013ce3c]
mov rcx, qword [rsp + 0x40]
call fcn.180023360
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x78], rax
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x10148]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x68], 0
mov rax, qword [rsp + 0x78]
mov dword [rax + 0xa8], 0
cmp dword [rsp + 0x10148], 0xb
jne 0x180041cd2
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x14], 1
cmp qword [rsp + 0x10150], 0
je 0x180041bdf
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x10150]
mov qword [rax], rcx
jmp 0x180041bec
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x78]
mov qword [rax], rcx
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x10], 3
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x10140]
mov dword [rax + 0xa0], ecx
mov dword [rsp + 0x80], 0
jmp 0x180041c27
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x80], eax
jae 0x180041c61
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
movsxd rcx, dword [rcx + 0xa0]
mov rdx, qword [rsp + 0x78]
cmp qword [rdx + rax*8 + 0xb0], rcx
jne 0x180041c5f
jmp 0x180041c61
jmp 0x180041c17
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x80], eax
jne 0x180041cbe
mov rax, qword [rsp + 0x78]
cmp dword [rax + 0xa8], 0x1000
jae 0x180041cbe
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
movsxd rcx, dword [rcx + 0xa0]
mov rdx, qword [rsp + 0x78]
mov qword [rdx + rax*8 + 0xb0], rcx
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0xa8]
inc eax
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 0xa8], eax
xor eax, eax
test eax, eax
jne 0x180041c0a
mov rax, qword [rsp + 0x78]
jmp 0x18004295e
mov eax, dword [rsp + 0x10148]
and eax, 4
test eax, eax
je 0x180041cfa
mov r8d, reloc.WSOCK32.dll_recvfrom
mov edx, 2
mov ecx, 2
call qword [sym.imp.WSOCK32.dll_socket]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x10148], 5
jne 0x180041d51
mov r8d, 0x1c
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.18000abd0
mov eax, 2
mov word [rsp + 0x58], ax
movzx ecx, word [rsp + 0x10160]
call qword [sym.imp.WSOCK32.dll_htons]
mov word [rsp + 0x5a], ax
lea rax, [rsp + 0x60]
lea rcx, [0x1801200e8]
mov rdi, rax
mov rsi, rcx
mov ecx, select
rep movsb byte [rdi], byte [rsi]
jmp 0x180041e89
cmp dword [rsp + 0x10148], 2
jne 0x180041d7d
xor r8d, r8d
mov edx, 1
mov rax, qword [rsp + 0x10140]
mov ecx, dword [rax + 4]
call qword [sym.imp.WSOCK32.dll_socket]
mov dword [rsp + 0x48], eax
jmp 0x180041e89
cmp dword [rsp + 0x10148], 3
jne 0x180041e89
mov dword [rsp + 0x84], 6
xor r8d, r8d
mov edx, 1
mov ecx, reloc.WSOCK32.dll_socket
call qword [sym.imp.WSOCK32.dll_socket]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0xffffffff
jne 0x180041dd6
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WSOCK32.dll_socket]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x84], 4
cmp dword [rsp + 0x48], 0xffffffff
je 0x180041e89
mov dword [rsp + 0x8c], 0
mov r8d, 0x1c
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.18000abd0
movzx ecx, word [rsp + 0x10160]
call qword [sym.imp.WSOCK32.dll_htons]
mov word [rsp + 0x5a], ax
lea rax, [rsp + 0x60]
lea rcx, [0x1801200e8]
mov rdi, rax
mov rsi, rcx
mov ecx, select
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x84], 4
jne 0x180041e41
mov dword [rsp + 0x1010c], 2
jmp 0x180041e4c
mov dword [rsp + 0x1010c], 0x17
movzx eax, word [rsp + 0x1010c]
mov word [rsp + 0x58], ax
movsxd rax, dword [rsp + 0x48]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x8c]
mov r8d, 0x1b
mov edx, 0x29
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_setsockopt]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x48], 0xffffffff
jne 0x180041eb4
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x60], 0xffffff29
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x78]
jmp 0x18004295e
mov dword [rsp + 0x38], setsockopt
cmp dword [rsp + 0x10148], 2
jne 0x180042470
mov dword [rsp + 0x98], 0
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x94], 1
movsxd rax, dword [rsp + 0x48]
lea r8, [rsp + 0x94]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
cmp dword [rsp + 0x90], 0
jne 0x1800423c6
cmp dword [rsp + 0x98], 0
jne 0x1800423c6
mov rax, qword [rsp + 0x78]
cmp dword [rax + 0x68], 5
jge 0x1800423c6
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x10140]
mov r8d, dword [rcx + 0x10]
mov rcx, qword [rsp + 0x10140]
mov rdx, qword [rcx + 0x20]
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_connect]
test eax, eax
jne 0x180041f70
mov dword [rsp + 0x98], 1
jmp 0x1800423c6
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov dword [rsp + 0x10110], eax
cmp dword [rsp + 0x10110], 0x2748
jg 0x180041fd9
cmp dword [rsp + 0x10110], 0x2748
je 0x180042395
cmp dword [rsp + 0x10110], 0
je 0x180042032
cmp dword [rsp + 0x10110], 0x2732
jle 0x1800423af
cmp dword [rsp + 0x10110], 0x2734
jle 0x180042032
cmp dword [rsp + 0x10110], 0x2747
je 0x180042011
jmp 0x1800423af
cmp dword [rsp + 0x10110], 0x274d
je 0x1800423a2
cmp dword [rsp + 0x10110], 0x274f
jle 0x1800423af
cmp dword [rsp + 0x10110], 0x2751
jle 0x1800423a2
jmp 0x1800423af
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x68]
inc eax
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 0x68], eax
mov ecx, 0xa
call fcn.1800229c0
jmp 0x1800423c1
mov dword [rsp + 0x80c0], 5
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
test eax, eax
jne 0x180042052
mov dword [rsp + 0x80c0], 1
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0x100e0], 0
jmp 0x18004207a
mov eax, dword [rsp + 0x100e0]
inc eax
mov dword [rsp + 0x100e0], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x100e0], eax
jae 0x1800420a4
mov eax, dword [rsp + 0x100e0]
movsxd rcx, dword [rsp + 0x48]
cmp qword [rsp + rax*8 + 0xa8], rcx
jne 0x1800420a2
jmp 0x1800420a4
jmp 0x18004206a
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x100e0], eax
jne 0x1800420e5
cmp dword [rsp + 0xa0], 0x1000
jae 0x1800420e5
mov eax, dword [rsp + 0x100e0]
movsxd rcx, dword [rsp + 0x48]
mov qword [rsp + rax*8 + 0xa8], rcx
mov eax, dword [rsp + 0xa0]
inc eax
mov dword [rsp + 0xa0], eax
xor eax, eax
test eax, eax
jne 0x18004205d
mov dword [rsp + 0x80d0], 0
mov dword [rsp + 0x100e4], 0
jmp 0x180042117
mov eax, dword [rsp + 0x100e4]
inc eax
mov dword [rsp + 0x100e4], eax
mov eax, dword [rsp + 0x80d0]
cmp dword [rsp + 0x100e4], eax
jae 0x180042141
mov eax, dword [rsp + 0x100e4]
movsxd rcx, dword [rsp + 0x48]
cmp qword [rsp + rax*8 + 0x80d8], rcx
jne 0x18004213f
jmp 0x180042141
jmp 0x180042107
mov eax, dword [rsp + 0x80d0]
cmp dword [rsp + 0x100e4], eax
jne 0x180042182
cmp dword [rsp + 0x80d0], 0x1000
jae 0x180042182
mov eax, dword [rsp + 0x100e4]
movsxd rcx, dword [rsp + 0x48]
mov qword [rsp + rax*8 + 0x80d8], rcx
mov eax, dword [rsp + 0x80d0]
inc eax
mov dword [rsp + 0x80d0], eax
xor eax, eax
test eax, eax
jne 0x1800420fa
mov eax, dword [rsp + 0x10158]
cdq
mov ecx, 5
idiv ecx
mov dword [rsp + 0x10158], eax
cmp dword [rsp + 0x10158], 0
jg 0x1800421b7
mov dword [rsp + 0x10158], 1
mov eax, dword [rsp + 0x10158]
mov dword [rsp + 0x80b8], eax
mov dword [rsp + 0x80bc], 0
mov dword [rsp + 0x9c], 0
jmp 0x1800421ed
mov eax, dword [rsp + 0x9c]
inc eax
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x80c0]
cmp dword [rsp + 0x9c], eax
jge 0x18004237e
lea rax, [rsp + 0x80b8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80d0]
lea r8, [rsp + 0xa0]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.WSOCK32.dll_select]
mov dword [rsp + 0x80b0], eax
cmp dword [rsp + 0x80b0], 0
jle 0x1800422ce
mov dword [rsp + 0x100ec], 4
movsxd rax, dword [rsp + 0x48]
lea rcx, [rsp + 0x100ec]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x34]
mov r8d, 0x1007
mov edx, 0xffff
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_getsockopt]
mov dword [rsp + 0x100e8], eax
cmp dword [rsp + 0x100e8], 0
jne 0x180042298
cmp dword [rsp + 0x100e8], 0
jne 0x1800422a5
cmp dword [rsp + 0x34], 0
je 0x1800422a5
mov dword [rsp + 0x30], 1
jmp 0x18004237e
movsxd rax, dword [rsp + 0x48]
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.1800f93d0
test eax, eax
je 0x1800422ce
mov dword [rsp + 0x98], 1
jmp 0x18004237e
mov eax, dword [rsp + 0x10158]
mov dword [rsp + 0x80b8], eax
mov dword [rsp + 0x80bc], 0
mov dword [rsp + 0x100f0], 0
jmp 0x180042304
mov eax, dword [rsp + 0x100f0]
inc eax
mov dword [rsp + 0x100f0], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x100f0], eax
jae 0x18004232e
mov eax, dword [rsp + 0x100f0]
movsxd rcx, dword [rsp + 0x48]
cmp qword [rsp + rax*8 + 0xa8], rcx
jne 0x18004232c
jmp 0x18004232e
jmp 0x1800422f4
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x100f0], eax
jne 0x18004236f
cmp dword [rsp + 0xa0], 0x1000
jae 0x18004236f
mov eax, dword [rsp + 0x100f0]
movsxd rcx, dword [rsp + 0x48]
mov qword [rsp + rax*8 + 0xa8], rcx
mov eax, dword [rsp + 0xa0]
inc eax
mov dword [rsp + 0xa0], eax
xor eax, eax
test eax, eax
jne 0x1800422e7
jmp 0x1800421dd
cmp dword [rsp + 0x98], 0
jne 0x180042393
mov dword [rsp + 0x90], 1
jmp 0x1800423c1
mov dword [rsp + 0x98], 1
jmp 0x1800423c1
mov dword [rsp + 0x90], 1
jmp 0x1800423c1
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x68]
inc eax
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 0x68], eax
jmp 0x180041f06
cmp dword [rsp + 0x98], 0
jne 0x180042439
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x60], 0xffffff2e
cmp dword [rsp + 0x30], 0
je 0x1800423f1
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x34]
mov dword [rax + 0x64], ecx
jmp 0x1800423ff
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 0x64], eax
movsxd rax, dword [rsp + 0x48]
mov edx, 2
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_shutdown]
movsxd rax, dword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_closesocket]
mov rax, qword [rsp + 0x78]
mov dword [rax + 0xa0], 0xffffffff
mov rax, qword [rsp + 0x78]
jmp 0x18004295e
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x68], 0
mov dword [rsp + 0x94], 0
movsxd rax, dword [rsp + 0x48]
lea r8, [rsp + 0x94]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
jmp 0x18004278f
mov eax, dword [rsp + 0x10148]
and eax, 1
test eax, eax
je 0x180042621
cmp qword [rsp + 0x10150], 0
je 0x18004249f
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x10150]
mov qword [rax], rcx
jmp 0x1800424ac
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x78]
mov qword [rax], rcx
movsxd rax, dword [rsp + 0x48]
mov r8d, 0x1c
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_bind]
test eax, eax
je 0x18004251d
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x60], 0xffffff2f
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 0x64], eax
movsxd rax, dword [rsp + 0x48]
mov edx, 2
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_shutdown]
movsxd rax, dword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_closesocket]
mov rax, qword [rsp + 0x78]
mov dword [rax + 0xa0], 0xffffffff
mov rax, qword [rsp + 0x78]
jmp 0x18004295e
movsxd rax, dword [rsp + 0x48]
mov edx, 5
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_listen]
cmp dword [rsp + 0x10148], 3
jne 0x18004254b
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x14], 1
jmp 0x18004261c
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x5c], 1
mov dword [rsp + 0x100f4], 0
jmp 0x180042574
mov eax, dword [rsp + 0x100f4]
inc eax
mov dword [rsp + 0x100f4], eax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x100f4], eax
jae 0x1800425ad
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x100f4]
movsxd rdx, dword [rsp + 0x48]
cmp qword [rax + rcx*8 + 0xb0], rdx
jne 0x1800425ab
jmp 0x1800425ad
jmp 0x180042564
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x100f4], eax
jne 0x180042612
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
cmp dword [rax + 0xa8], 0x1000
jae 0x180042612
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x100f4]
movsxd rdx, dword [rsp + 0x48]
mov qword [rax + rcx*8 + 0xb0], rdx
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov eax, dword [rax + 0xa8]
inc eax
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov dword [rcx + 0xa8], eax
xor eax, eax
test eax, eax
jne 0x180042557
jmp 0x18004278f
cmp dword [rsp + 0x10148], 4
jne 0x18004278f
mov dword [rsp + 0x100f8], 1
movsxd rax, dword [rsp + 0x48]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x100f8]
mov r8d, 0x20
mov edx, 0xffff
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_setsockopt]
mov dword [rsp + 0x100fc], eax
cmp dword [rsp + 0x100fc], 0xffffffff
jne 0x1800426c8
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x60], 0xffffff27
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 0x64], eax
movsxd rax, dword [rsp + 0x48]
mov edx, 2
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_shutdown]
movsxd rax, dword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_closesocket]
mov rax, qword [rsp + 0x78]
mov dword [rax + 0xa0], 0xffffffff
mov rax, qword [rsp + 0x78]
jmp 0x18004295e
mov eax, 2
mov rcx, qword [rsp + 0x78]
mov word [rcx + 0x100bc], ax
mov dword [rsp + 0x10100], 0x1c
mov rax, qword [rsp + 0x78]
add rax, 0x100bc
lea rcx, [rsp + 0x10100]
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 + 0x100fc], eax
cmp dword [rsp + 0x100fc], 0
je 0x180042779
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x60], 0xffffff26
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 0x64], eax
movsxd rax, dword [rsp + 0x48]
mov edx, 2
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_shutdown]
movsxd rax, dword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_closesocket]
mov rax, qword [rsp + 0x78]
mov dword [rax + 0xa0], 0xffffffff
mov rax, qword [rsp + 0x78]
jmp 0x18004295e
mov cx, 0x13bd
call qword [sym.imp.WSOCK32.dll_htons]
mov rcx, qword [rsp + 0x78]
mov word [rcx + 0x100be], ax
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x48]
mov dword [rax + 0xa0], ecx
mov dword [rsp + 0x10104], 0
jmp 0x1800427bb
mov eax, dword [rsp + 0x10104]
inc eax
mov dword [rsp + 0x10104], eax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x10104], eax
jae 0x1800427ee
mov eax, dword [rsp + 0x10104]
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x78]
cmp qword [rdx + rax*8 + 0xb0], rcx
jne 0x1800427ec
jmp 0x1800427ee
jmp 0x1800427ab
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x10104], eax
jne 0x180042844
mov rax, qword [rsp + 0x78]
cmp dword [rax + 0xa8], 0x1000
jae 0x180042844
mov eax, dword [rsp + 0x10104]
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x78]
mov qword [rdx + rax*8 + 0xb0], rcx
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0xa8]
inc eax
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 0xa8], eax
xor eax, eax
test eax, eax
jne 0x18004279e
cmp qword [rsp + 0x10150], 0
je 0x180042922
mov dword [rsp + 0x10108], 0
jmp 0x18004287a
mov eax, dword [rsp + 0x10108]
inc eax
mov dword [rsp + 0x10108], eax
mov rax, qword [rsp + 0x10150]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x10108], eax
jae 0x1800428b3
mov eax, dword [rsp + 0x10108]
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x10150]
cmp qword [rdx + rax*8 + 0xb0], rcx
jne 0x1800428b1
jmp 0x1800428b3
jmp 0x18004286a
mov rax, qword [rsp + 0x10150]
mov eax, dword [rax + 0xa8]
cmp dword [rsp + 0x10108], eax
jne 0x180042918
mov rax, qword [rsp + 0x10150]
cmp dword [rax + 0xa8], 0x1000
jae 0x180042918
mov eax, dword [rsp + 0x10108]
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x10150]
mov qword [rdx + rax*8 + 0xb0], rcx
mov rax, qword [rsp + 0x10150]
mov eax, dword [rax + 0xa8]
inc eax
mov rcx, qword [rsp + 0x10150]
mov dword [rcx + 0xa8], eax
xor eax, eax
test eax, eax
jne 0x18004285d
mov eax, 1
mov word [rsp + 0x4c], ax
xor eax, eax
mov word [rsp + 0x4e], ax
movsxd rax, dword [rsp + 0x48]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x4c]
mov r8d, pe_nt_image_headers64
mov edx, 0xffff
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_setsockopt]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x10118]
xor rcx, rsp
call fcn.180005860
add rsp, 0x10128
pop rdi
pop rsi
ret