Function at 0x140048ac7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
movaps xmmword [rsp + 0x150], xmm6
mov rdi, r9
mov r15, r8
mov rbx, rdx
mov rsi, rcx
movzx ebp, word [rdx]
test bp, bp
mov eax, 2
mov edx, 0x17
cmove edx, eax
mov dword [rsp + 0x20], 6
lea r14, [rsp + 0xf8]
mov rcx, r14
mov r8d, 1
mov r9d, 1
call fcn.1400a2411
cmp qword [r14], 0
je 0x140048b7b
mov r9, qword [rsp + 0x100]
lea rdx, str.tcp_open_errortcp_set_nonblocking_error
lea r12, [rsp + 0x70]
mov r8d, send
mov rcx, r12
call fcn.140048730
mov rax, qword [r12]
test rax, rax
je 0x140048b85
mov rcx, qword [rsp + 0x78]
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rcx
mov dword [rsi + 8], 0x3b9aca01
jmp 0x140048f5d
mov rax, qword [rsp + 0x100]
jmp 0x140048b8a
mov rax, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
mov qword [rcx], rax
mov dl, 1
call fcn.1400a253f
lea r8, [0x140103c66]
lea r12, [rsp + 0x70]
mov r9d, 0x19
mov rcx, r12
mov rdx, rax
call fcn.14003c667
mov rax, qword [r12]
test rax, rax
je 0x140048bd5
mov rcx, qword [rsp + 0x88]
mov qword [rsi + 0x28], rcx
movups xmm0, xmmword [rsp + 0x78]
jmp 0x140048f43
mov eax, dword [r15 + 0x48]
cmp eax, 0x3b9aca00
je 0x140048d2f
mov rcx, qword [r15 + 0x40]
lea rdx, [rsp + 0x50]
mov qword [rdx], rcx
mov dword [rdx + 8], eax
mov dword [rdx + 0x18], 0x3b9aca00
lea rcx, [rsp + 0x38]
call fcn.1400a2586
test rax, rax
je 0x140048d2f
mov qword [rsp + 0x30], rax
mov rax, qword [reloc.WS2_32.dll_getpeername]
cmp rax, 3
ja 0x140048d25
lea rcx, [0x140161b48]
call fcn.140012083
test al, al
je 0x140048d25
mov rcx, qword [0x140161b48]
mov edx, eax
call fcn.1400c2c6b
test al, al
je 0x140048d25
mov rcx, qword [0x140161b48]
lea rax, [rcx + 0x30]
mov qword [rsp + 0x28], rax
mov rdx, qword [rcx + 0x38]
test rdx, rdx
je 0x140048c92
mov rax, qword [rcx + 0x30]
mov r8, qword [rcx + 0x40]
mov rcx, qword [rcx + 0x48]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], rcx
and qword [rsp + 0x90], 0
jmp 0x140048c94
xor eax, eax
lea r12, [rsp + 0x70]
mov qword [r12], rax
lea r8, [0x140103c80]
mov rcx, r14
mov rdx, r12
call fcn.14003c441
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [r9], rax
lea rax, [fcn.1400a62c0]
mov qword [r9 + 8], rax
mov r13d, 1
mov qword [rsp + 0x20], r13
lea rdx, str.tcp_set_keepalive_error:
mov r8d, 1
mov rcx, r12
call fcn.14003b724
lea rax, [rsp + 0x138]
mov qword [rax], r14
mov qword [rax + 8], r12
lea rcx, method..virtual_0
mov qword [rax + 0x10], rcx
lea rdx, [rsp + 0x120]
mov qword [rdx], rax
mov qword [rdx + 8], r13
mov rax, qword [rsp + 0x28]
mov qword [rdx + 0x10], rax
mov rcx, qword [0x140161b48]
call fcn.1400c31f6
lea rcx, [rsp + 0x30]
call fcn.14003ba58
test bp, bp
je 0x140048d9e
cmp byte [r15 + 0x56], 0
je 0x140048dee
movsd xmm0, qword [r15 + 0x5b]
movss xmm1, dword [r15 + 0x63]
shufps xmm1, xmm0, 0xd4
movss xmm2, dword [r15 + 0x57]
unpcklps xmm2, xmm0
shufps xmm2, xmm1, 0x24
xorps xmm0, xmm0
lea rdx, [rsp + 0x70]
movups xmmword [rdx + 0x2c], xmm0
movups xmmword [rdx + 0x3c], xmm0
movups xmmword [rdx + 0x4c], xmm0
movups xmmword [rdx + 0x5c], xmm0
movups xmmword [rdx + 0x6c], xmm0
movabs rax, 0x1c00000000
mov qword [rdx + 0x7c], rax
movups xmmword [rdx + 0x1c], xmm0
movups xmmword [rdx + 8], xmm2
and dword [rdx + 0x18], 0
mov qword [rdx], 0x17
jmp 0x140048f05
cmp byte [r15 + 0x51], 0
je 0x140048e89
mov eax, dword [r15 + 0x52]
xorps xmm0, xmm0
lea rdx, [rsp + 0x70]
movups xmmword [rdx + 0x68], xmm0
movups xmmword [rdx + 0x58], xmm0
movups xmmword [rdx + 0x48], xmm0
movups xmmword [rdx + 0x38], xmm0
movups xmmword [rdx + 0x28], xmm0
movups xmmword [rdx + 0x18], xmm0
and qword [rdx + 0x78], 0
movups xmmword [rdx + 8], xmm0
mov dword [rdx], 2
mov dword [rdx + 4], eax
mov dword [rdx + 0x80], reloc.WS2_32.dll_recv
jmp 0x140048f05
xorps xmm6, xmm6
lea rdx, [rsp + 0x70]
movaps xmmword [rdx], xmm6
and word [rdx + 0x10], 0
lea r12, [rsp + 0xf8]
mov rcx, r12
call fcn.140041564
cmp word [r12], 0
je 0x140048e8f
movups xmm0, xmmword [rsp + 0xfc]
mov eax, dword [rsp + 0x10c]
mov edx, dword [rsp + 0x110]
movzx ecx, word [rsp + 0x114]
rol cx, 8
movups xmmword [rsp + 0x8c], xmm6
movups xmmword [rsp + 0x9c], xmm6
movups xmmword [rsp + 0xac], xmm6
movups xmmword [rsp + 0xbc], xmm6
movups xmmword [rsp + 0xcc], xmm6
movups xmmword [rsp + 0xdc], xmm6
and dword [rsp + 0xec], 0
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x88], edx
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x140048eee
xor eax, eax
xor ecx, ecx
jmp 0x140048e9e
movzx ecx, word [rsp + 0xfe]
mov eax, dword [rsp + 0xfa]
rol cx, 8
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
and qword [rsp + 0xe8], 0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
mov r8d, reloc.WS2_32.dll_recv
mov r9w, 2
lea rdx, [rsp + 0x70]
mov word [rdx], r9w
mov word [rdx + 2], cx
mov dword [rdx + 4], eax
mov dword [rdx + 0x80], r8d
lea rcx, [rsp + 0x38]
call fcn.1400a2518
mov rdx, rax
lea r8, str.tcp_bind_local_error
lea r12, [rsp + 0x50]
mov r9d, shutdown
mov rcx, r12
call fcn.14003c667
mov rax, qword [r12]
test rax, rax
je 0x140048f7c
mov rcx, qword [rsp + 0x68]
mov qword [rsi + 0x28], rcx
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x18], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 8], 0x3b9aca01
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x150]
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
cmp byte [r15 + 0x68], 0
je 0x1400490c6
lea rcx, [rsp + 0x30]
mov dl, 1
call fcn.1400a20ba
test rax, rax
je 0x1400490c6
mov qword [rsp + 0x40], rax
mov rax, qword [reloc.WS2_32.dll_getpeername]
cmp rax, 3
ja 0x1400490bc
lea rcx, [0x140161b30]
call fcn.140012083
test al, al
je 0x1400490bc
mov rcx, qword [0x140161b30]
mov edx, eax
call fcn.1400c2c6b
test al, al
je 0x1400490bc
mov rcx, qword [0x140161b30]
lea rax, [rcx + 0x30]
mov qword [rsp + 0x28], rax
mov rdx, qword [rcx + 0x38]
test rdx, rdx
je 0x14004902b
mov rax, qword [rcx + 0x30]
mov r8, qword [rcx + 0x40]
mov rcx, qword [rcx + 0x48]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], rcx
and qword [rsp + 0x90], 0
jmp 0x14004902d
xor eax, eax
lea r13, [rsp + 0x70]
mov qword [r13], rax
lea r8, [0x140103ce0]
mov rcx, r14
mov rdx, r13
call fcn.14003c441
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x120]
mov qword [r9], rax
lea rax, [fcn.1400a62c0]
mov qword [r9 + 8], rax
mov ebp, 1
mov qword [rsp + 0x20], rbp
lea rdx, str.tcp_set_reuse_address_error:
mov r8d, 1
mov rcx, r13
call fcn.14003b724
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r13
lea rax, method..virtual_0
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x138]
mov qword [rdx], r12
mov qword [rdx + 8], rbp
mov rax, qword [rsp + 0x28]
mov qword [rdx + 0x10], rax
mov rcx, qword [0x140161b30]
call fcn.1400c31f6
lea rcx, [rsp + 0x40]
call fcn.14003ba58
cmp qword [r15], 0
je 0x140049213
mov rax, qword [r15 + 8]
mov edx, 0xffffffff
cmp rax, rdx
cmovb rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400a20d1
test rax, rax
je 0x140049213
mov qword [rsp + 0x40], rax
mov rax, qword [reloc.WS2_32.dll_getpeername]
cmp rax, 3
ja 0x140049209
lea rcx, [0x140161b18]
call fcn.140012083
test al, al
je 0x140049209
mov rcx, qword [0x140161b18]
mov edx, eax
call fcn.1400c2c6b
test al, al
je 0x140049209
mov rcx, qword [0x140161b18]
lea rax, [rcx + 0x30]
mov qword [rsp + 0x28], rax
mov rdx, qword [rcx + 0x38]
test rdx, rdx
je 0x140049178
mov rax, qword [rcx + 0x30]
mov r8, qword [rcx + 0x40]
mov rcx, qword [rcx + 0x48]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], rcx
and qword [rsp + 0x90], 0
jmp 0x14004917a
xor eax, eax
lea r13, [rsp + 0x70]
mov qword [r13], rax
lea r8, [0x140103d28]
mov rcx, r14
mov rdx, r13
call fcn.14003c441
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x120]
mov qword [r9], rax
lea rax, [fcn.1400a62c0]
mov qword [r9 + 8], rax
mov ebp, 1
mov qword [rsp + 0x20], rbp
lea rdx, str.tcp_set_buffer_size_error:
mov r8d, 1
mov rcx, r13
call fcn.14003b724
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r13
lea rax, method..virtual_0
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x138]
mov qword [rdx], r12
mov qword [rdx + 8], rbp
mov rax, qword [rsp + 0x28]
mov qword [rdx + 0x10], rax
mov rcx, qword [0x140161b18]
call fcn.1400c31f6
lea rcx, [rsp + 0x40]
call fcn.14003ba58
mov ebp, dword [rsp + 0x1d0]
cmp qword [r15 + 0x10], 0
je 0x140049368
mov rax, qword [r15 + 0x18]
mov edx, 0xffffffff
cmp rax, rdx
cmovb rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400a20a4
test rax, rax
je 0x140049368
mov qword [rsp + 0x40], rax
mov rax, qword [reloc.WS2_32.dll_getpeername]
cmp rax, 3
ja 0x14004935e
lea rcx, [0x140161b00]
call fcn.140012083
test al, al
je 0x14004935e
mov rcx, qword [0x140161b00]
mov edx, eax
call fcn.1400c2c6b
test al, al
je 0x14004935e
mov rcx, qword [0x140161b00]
lea rax, [rcx + 0x30]
mov qword [rsp + 0x28], rax
mov rdx, qword [rcx + 0x38]
test rdx, rdx
je 0x1400492cd
mov rax, qword [rcx + 0x30]
mov r8, qword [rcx + 0x40]
mov rcx, qword [rcx + 0x48]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], rcx
and qword [rsp + 0x90], 0
jmp 0x1400492cf
xor eax, eax
lea r15, [rsp + 0x70]
mov qword [r15], rax
lea r8, [0x140103d70]
mov rcx, r14
mov rdx, r15
call fcn.14003c441
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x120]
mov qword [r9], rax
lea rax, [fcn.1400a62c0]
mov qword [r9 + 8], rax
mov r13d, 1
mov qword [rsp + 0x20], r13
lea rdx, str.tcp_set_recv_buffer_size_error:
mov r8d, 1
mov rcx, r15
call fcn.14003b724
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r15
lea rax, method..virtual_0
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x138]
mov qword [rdx], r12
mov qword [rdx + 8], r13
mov rax, qword [rsp + 0x28]
mov qword [rdx + 0x10], rax
mov rcx, qword [0x140161b00]
call fcn.1400c31f6
lea rcx, [rsp + 0x40]
call fcn.14003ba58
mov rax, qword [rsp + 0x30]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x84], xmm1
movups xmmword [rsp + 0x74], xmm0
mov qword [rsi], rdi
mov dword [rsi + 8], ebp
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rsp + 0x80]
movups xmmword [rsi + 0xc], xmm0
movups xmmword [rsi + 0x1c], xmm1
mov ecx, dword [rsp + 0x90]
mov dword [rsi + 0x2c], ecx
mov qword [rsi + 0x30], rax
xor eax, eax
mov byte [rsi + 0x88], al
mov byte [rsi + 0x90], al
jmp 0x140048f5d