Function at 0x442f24
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x220
mov ebx, edx
call 0x442f3a
pop eax
mov dword [esp + 0x40], eax
movzx eax, byte [edx + 0x234]
test eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], ecx
je 0x442f75
cmp eax, 3
jne 0x442f9d
lea eax, [ebx + 0x128]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0x184]
mov eax, dword [eax*4 + 0x4439d0]
add eax, dword [esp + 0x40]
jmp eax
mov eax, dword [ebx + 0x220]
mov ecx, dword [ebx + 0x224]
mov dword [ebx + 0x228], eax
mov dword [ebx + 0x22c], ecx
mov dword [ebx], 0
mov dword [ebx + 0x230], eax
xor edi, edi
jmp 0x442fb1
mov ecx, str._async_fn__resumed_after_completionmain.rs_srcclientconn.rs
mov edx, 0x23
push 0x4f4c9c
call fcn.004cb970
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 0xc]
je 0x4437cb
lea edx, [ecx + 0x20]
mov dword [eax + 4], edx
movzx edx, word [ecx]
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esp + 0x10e], xmm0
movups xmm0, xmmword [ecx + 2]
movaps xmmword [esp + 0x100], xmm0
cmp dx, 2
je 0x4437c9
mov word [ebx + 0x10], dx
movaps xmm0, xmmword [esp + 0x100]
movups xmmword [ebx + 0x12], xmm0
movups xmm0, xmmword [esp + 0x10e]
movups xmmword [ebx + 0x20], xmm0
mov eax, dword [ebx + 0x228]
mov ecx, dword [ebx + 0x22c]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x38], ecx
mov word [esp + 0x10], dx
test dx, dx
mov ecx, 2
mov esi, 0x17
cmove esi, ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [0x530a64]
cmp eax, 3
jne 0x443780
sub esp, 0x18
movaps xmm0, xmmword [0x4d0780]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x14], 0x81
call dword [sym.imp.ws2_32.dll_WSASocketW]
cmp eax, 0xffffffff
je 0x4437e7
mov edi, eax
lea eax, [esp + 0x58]
mov dword [eax], 1
push eax
push 0x8004667e
push edi
call dword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x443838
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 0x38]
cmp edi, 0x3b9aca00
je 0x443191
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 0x34]
mov dword [esp + 0x4c], eax
lea esi, [esp + 0x58]
mov ecx, esi
mov edx, dword [esp + 0x1c]
push 1
push 8
call fcn.00491471
add esp, 8
cmp byte [esi], 4
je 0x4430e3
mov eax, dword [esp + 0x58]
cmp al, 4
jne 0x443181
mov ecx, 0x3e8
mov eax, dword [esp + 0x30]
mul ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
mul ecx
mov esi, eax
mov ecx, edx
xor ebx, ebx
add esi, dword [esp + 0x48]
adc ecx, ebx
mov edx, 0x431bde83
mov eax, edi
mul edx
shr edx, 0x12
add edx, dword [esp + 0x30]
adc esi, ebx
adc ecx, ebx
setb al
movzx eax, al
neg esi
mov esi, 0
sbb esi, esi
or esi, edx
xor edx, edx
dec edx
or eax, ecx
cmove edx, esi
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
lea eax, [esp + 0x24]
mov dword [eax], ebx
push ebx
push ebx
push eax
push ebx
push ebx
push 0xc
lea eax, [esp + 0x70]
push eax
push 0x98000004
push dword [esp + 0x3c]
call dword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x443171
mov ebx, dword [esp + 0x14]
jmp 0x44318d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
xor eax, eax
mov ebx, dword [esp + 0x14]
jmp 0x443185
mov edx, dword [esp + 0x5c]
movzx ecx, al
call fcn.00428795
mov eax, dword [esp + 0xc]
cmp word [esp + 0x10], 0
je 0x44320c
cmp byte [eax + 0x46], 0
mov edi, dword [esp + 0x1c]
je 0x443273
movups xmm0, xmmword [eax + 0x47]
movups xmmword [esp + 0x60], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0xd0], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0xc0], xmm0
movups xmmword [esp + 0xb0], xmm0
movups xmmword [esp + 0xa0], xmm0
movups xmmword [esp + 0x90], xmm0
movups xmmword [esp + 0x80], xmm0
movups xmmword [esp + 0x70], xmm0
mov dword [esp + 0x58], 0x17
mov dword [esp + 0x5c], 0
mov dword [esp + 0xd8], 0x1c
jmp 0x4432e3
cmp byte [eax + 0x41], 0
mov edi, dword [esp + 0x1c]
je 0x44327e
mov eax, dword [eax + 0x42]
xorps xmm0, xmm0
movsd qword [esp + 0xd0], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0xc0], xmm0
movups xmmword [esp + 0xb0], xmm0
movups xmmword [esp + 0xa0], xmm0
movups xmmword [esp + 0x90], xmm0
movups xmmword [esp + 0x80], xmm0
movups xmmword [esp + 0x70], xmm0
movups xmmword [esp + 0x60], xmm0
mov dword [esp + 0x58], 2
mov dword [esp + 0x5c], eax
mov dword [esp + 0xd8], 0x10
jmp 0x4432e3
mov eax, 0x1c
mov cx, 0x17
jmp 0x443287
mov eax, 0x10
mov cx, 2
xorps xmm0, xmm0
movsd qword [esp + 0xd0], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0xc0], xmm0
movups xmmword [esp + 0xb0], xmm0
movups xmmword [esp + 0xa0], xmm0
movups xmmword [esp + 0x90], xmm0
movups xmmword [esp + 0x80], xmm0
movups xmmword [esp + 0x70], xmm0
movups xmmword [esp + 0x60], xmm0
mov word [esp + 0x58], cx
mov word [esp + 0x5a], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0xd8], eax
lea esi, [esp + 0x24]
mov ecx, esi
mov edx, edi
lea eax, [esp + 0x58]
push eax
call fcn.004914a6
add esp, 4
cmp byte [esi], 4
je 0x443309
mov eax, dword [esp + 0x24]
cmp al, 4
jne 0x4438dd
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x58], 0
je 0x44333d
lea esi, [esp + 0x58]
mov ecx, esi
mov edx, edi
push 1
push 4
call fcn.00491471
add esp, 8
cmp byte [esi], 4
je 0x443339
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
call fcn.00428795
mov eax, dword [esp + 0xc]
cmp dword [eax], 0
je 0x443370
lea esi, [esp + 0x58]
mov ecx, esi
mov edx, edi
push dword [eax + 4]
push 0x1001
call fcn.00491471
add esp, 8
cmp byte [esi], 4
je 0x44336c
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
call fcn.00428795
mov eax, dword [esp + 0xc]
cmp dword [eax + 8], 0
je 0x4433a0
lea esi, [esp + 0x58]
mov ecx, esi
mov edx, edi
push dword [eax + 0xc]
push 0x1002
call fcn.00491471
add esp, 8
cmp byte [esi], 4
je 0x4433a0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
call fcn.00428795
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x2c]
mov dword [esp + 0xf0], esi
movups xmm0, xmmword [ebx + 0x1c]
movaps xmmword [esp + 0xe0], xmm0
mov esi, dword [esp + 0x50]
mov dword [ebx + 0x34], esi
mov esi, dword [esp + 0x38]
mov dword [ebx + 0x30], esi
mov esi, dword [esp + 0x34]
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], edx
movaps xmm0, xmmword [esp + 0xe0]
movups xmmword [ebx + 0x4c], xmm0
mov eax, dword [esp + 0xf0]
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], edi
movups xmm0, xmmword [esp + 0x138]
movups xmm1, xmmword [esp + 0x148]
movups xmmword [ebx + 0x64], xmm0
movups xmmword [ebx + 0x74], xmm1
mov eax, dword [esp + 0x158]
mov dword [ebx + 0x84], eax
xor eax, eax
mov byte [ebx + 0x88], al
movzx ecx, word [esp + 0x45]
mov word [ebx + 0x89], cx
mov cl, byte [esp + 0x47]
mov byte [ebx + 0x8b], cl
lea esi, [ebx + 0x30]
mov byte [ebx + 0x8c], al
lea eax, [ebx + 0x8d]
lea ecx, [esp + 0x180]
push 0x9b
push ecx
push eax
call fcn.004b64b0
add esp, 0xc
lea eax, [ebx + 0x128]
push pe_nt_image_headers32
push esi
mov dword [esp + 0x24], eax
push eax
call fcn.004b64b0
add esp, 0xc
movzx eax, byte [ebx + 0x184]
mov eax, dword [eax*4 + 0x4439d0]
add eax, dword [esp + 0x40]
jmp eax
lea eax, [esp + 0x24]
mov byte [eax], 1
lea edi, [esp + 0x58]
mov dword [edi], eax
mov ecx, 0x530a64
xor edx, edx
push 0x4f9e94
push 0x4f9e08
push edi
call fcn.004ce250
add esp, 0xc
jmp 0x44304c
mov edi, dword [ebx]
test edi, edi
je 0x443889
mov eax, ebx
mov ebx, dword [ebx + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0xc]
jmp 0x4438d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0x58]
mov dword [esi + 4], eax
mov dword [esi], 0
mov ecx, 0xe
call fcn.0043d93f
mov edi, edx
mov dword [edx], 0x20706374
mov dword [edx + 4], 0x6e65706f
mov dword [edx + 8], 0x72726520
mov word [edx + 0xc], 0x726f
mov ecx, esi
call fcn.00470096
mov ebx, eax
mov eax, 0xe
mov ecx, 0x4e33e8
jmp 0x443953
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0x58]
mov dword [esi + 4], eax
mov dword [esi], 0
mov dword [esp + 0xc], 0x19
mov ecx, 0x19
call fcn.0043d93f
movups xmm0, xmmword [str.tcp_set_nonblocking_errortcp_bind_local_error]
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x4e413d]
mov dword [esp + 0x10], edx
movups xmmword [edx + 9], xmm0
mov ecx, esi
call fcn.00470096
lea ecx, [esp + 0x128]
jmp 0x443934
lea esi, [esp + 0x180]
mov ecx, esi
mov edx, 7
push 0x13
push str.Network_unreachabletcp_connect_error
call fcn.0048d696
add esp, 8
mov ebx, 0x11
mov ecx, 0x11
call fcn.0043d93f
mov edi, edx
movups xmm0, xmmword [0x4f4cbf]
movups xmmword [edx], xmm0
mov byte [edx + 0x10], 0x72
mov ecx, esi
call fcn.00470096
mov dword [esp + 0xc], eax
mov ecx, 0x4e33e8
xor edx, edx
inc edx
jmp 0x44398f
mov ecx, dword [esp + 0x28]
mov edx, eax
shrd edx, ecx, 8
shr ecx, 8
shld ecx, edx, 8
shl edx, 8
movzx eax, al
or eax, edx
lea esi, [esp + 0x58]
mov dword [esi + 4], ecx
mov dword [esi], eax
mov dword [esp + 0xc], 0x14
mov ecx, 0x14
call fcn.0043d93f
movups xmm0, xmmword [0x4e414d]
movups xmmword [edx], xmm0
mov dword [esp + 0x10], edx
mov dword [edx + 0x10], 0x726f7272
mov ecx, esi
call fcn.00470096
lea ecx, [esp + 0x130]
mov dword [ecx], eax
mov dword [ecx + 4], 0x4e33e8
mov ebx, dword [ecx]
push edi
call dword [sym.imp.ws2_32.dll_closesocket]
mov ecx, 0x4e33e8
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x38], 0x3b9aca01
mov ebx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
mov dword [esp + 0xc], eax
xor edx, edx
inc edx
cmp dword [esi], 0
je 0x44398f
mov dword [esp + 0x18], ecx
mov ecx, esi
mov esi, edx
call fcn.00443bb2
mov edx, esi
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov dword [eax], edx
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov edx, dword [esp + 0xc]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov al, 1
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x234], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret