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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x18016f040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r13, qword [rcx + 0x30]
xor r14d, r14d
mov qword [r11 + 0x10], rbp
mov r15d, r14d
mov rbx, rcx
mov qword [r11 + 0x18], rsi
mov r12d, 0xffffffff
nop
cmp dword [rbx + 0x10], 0x123
mov dword [rsp + 0x24], r15d
jne 0x1800a8d33
cmp dword [rbx + 0x20], 0x120
mov eax, dword [rbx + 4]
mov rdi, qword [rbx + 0x18]
mov dword [rbx + 8], eax
je 0x1800a87e6
movups xmm0, xmmword [rbx + 0x20]
mov dword [rbx + 0x20], 0x120
movups xmmword [rbx + 0x10], xmm0
jmp 0x1800a87f5
lea rdx, [rbx + 0x18]
mov rcx, rbx
call fcn.18009cc10
mov dword [rbx + 0x10], eax
mov rdx, rdi
mov rcx, rbx
call fcn.1800a3f70
cmp dword [rbx + 0x10], 0x3c
mov ebp, eax
mov dword [rsp + 0x20], eax
jne 0x1800a88de
cmp dword [rbx + 0x20], 0x120
mov ecx, dword [rbx + 4]
mov dword [rbx + 8], ecx
je 0x1800a8830
movups xmm0, xmmword [rbx + 0x20]
mov dword [rbx + 0x20], 0x120
movups xmmword [rbx + 0x10], xmm0
jmp 0x1800a883f
lea rdx, [rbx + 0x18]
mov rcx, rbx
call fcn.18009cc10
mov dword [rbx + 0x10], eax
mov rcx, rbx
call fcn.1800a3f00
cmp dword [rbx + 0x10], 0x3e
mov rdi, rax
jne 0x1800a8d61
cmp dword [rbx + 0x20], 0x120
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
je 0x1800a8874
movups xmm0, xmmword [rbx + 0x20]
mov dword [rbx + 0x20], 0x120
movups xmmword [rbx + 0x10], xmm0
jmp 0x1800a8883
lea rdx, [rbx + 0x18]
mov rcx, rbx
call fcn.18009cc10
mov dword [rbx + 0x10], eax
mov rcx, r14
lea rdx, str.const
nop dword [rax]
movzx eax, byte [rdi + rcx + 0x18]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1800a88ae
cmp rcx, 6
jne 0x1800a8890
mov edi, 1
mov r8d, edi
jmp 0x1800a88e6
mov rcx, r14
lea rdx, str.close
nop dword [rax + rax]
movzx eax, byte [rdi + rcx + 0x18]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1800a8d41
cmp rcx, 6
jne 0x1800a88c0
lea r8d, [rcx - 4]
jmp 0x1800a88e1
mov r8d, r14d
mov edi, 1
mov eax, dword [r13 + 0x38]
add eax, ebp
cdqe
lea rdx, [rax + rax*2]
mov rax, qword [r13 + 0x10]
mov rcx, qword [rax + 0x58]
mov rax, qword [rcx]
mov byte [rax + rdx*8 + 9], r8b
cmp r8d, 2
jne 0x1800a891a
cmp r12d, 0xffffffff
jne 0x1800a8d6f
movzx r12d, byte [r13 + 0x42]
add r12d, r15d
inc r15d
cmp dword [rbx + 0x10], 0x2c
jne 0x1800a895a
cmp dword [rbx + 0x20], 0x120
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
je 0x1800a8946
movups xmm0, xmmword [rbx + 0x20]
mov dword [rbx + 0x20], 0x120
movups xmmword [rbx + 0x10], xmm0
jmp 0x1800a87b0
lea rdx, [rbx + 0x18]
mov rcx, rbx
call fcn.18009cc10
mov dword [rbx + 0x10], eax
jmp 0x1800a87b0
cmp dword [rbx + 0x10], 0x3d
jne 0x1800a89fd
cmp dword [rbx + 0x20], 0x120
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
je 0x1800a8984
movups xmm0, xmmword [rbx + 0x20]
mov dword [rbx + 0x20], 0x120
movups xmmword [rbx + 0x10], xmm0
jmp 0x1800a8993
lea rdx, [rbx + 0x18]
mov rcx, rbx
call fcn.18009cc10
mov dword [rbx + 0x10], eax
lea rdx, [rsp + 0x28]
mov rcx, rbx
mov ebp, edi
call fcn.1800a7100
cmp dword [rbx + 0x10], 0x2c
jne 0x1800a89f6
cmp dword [rbx + 0x20], 0x120
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
je 0x1800a89c8
movups xmm0, xmmword [rbx + 0x20]
mov dword [rbx + 0x20], 0x120
movups xmmword [rbx + 0x10], xmm0
jmp 0x1800a89d7
lea rdx, [rbx + 0x18]
mov rcx, rbx
call fcn.18009cc10
mov dword [rbx + 0x10], eax
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x28]
call fcn.18008d7e0
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1800a7100
inc ebp
jmp 0x1800a89a2
mov r9d, dword [rsp + 0x28]
jmp 0x1800a8a08
mov r9d, r14d
mov dword [rsp + 0x28], r14d
mov ebp, r14d
mov rax, qword [r13 + 0x10]
mov rcx, qword [rax + 0x58]
mov rdx, qword [rcx]
cmp r15d, ebp
jne 0x1800a8aae
mov eax, dword [r13 + 0x38]
add eax, dword [rsp + 0x20]
cdqe
lea r8, [rax + rax*2]
cmp byte [rdx + r8*8 + 9], 1
jne 0x1800a8aae
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x38], eax
jne 0x1800a8aae
mov ecx, r9d
sub ecx, 1
je 0x1800a8b94
sub ecx, 1
je 0x1800a8b8c
sub ecx, 1
je 0x1800a8b84
sub ecx, 4
je 0x1800a8b6e
cmp ecx, 4
je 0x1800a8b51
mov ecx, r9d
sub ecx, 5
je 0x1800a8a8f
cmp ecx, 1
je 0x1800a8a7e
mov edi, r14d
jmp 0x1800a8aa6
mov rax, qword [rsp + 0x30]
mov qword [rdx + r8*8], rax
mov byte [rdx + r8*8 + 8], 3
jmp 0x1800a8aa1
movsd xmm0, qword [rsp + 0x30]
movsd qword [rdx + r8*8], xmm0
mov byte [rdx + r8*8 + 8], reloc.WS2_32.dll_send
mov r9d, dword [rsp + 0x28]
test edi, edi
jne 0x1800a8b99
mov rdi, qword [rbx + 0x30]
lea eax, [r9 - 0x12]
mov esi, r15d
sub esi, ebp
cmp eax, 1
jbe 0x1800a8bf3
test r9d, r9d
je 0x1800a8bda
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18008d0f0
cmp dword [rsp + 0x28], 8
jne 0x1800a8b32
movzx ecx, byte [rdi + 0x42]
test cl, cl
je 0x1800a8b26
movsxd rax, dword [rdi + 0x38]
mov r8d, ecx
add rax, rcx
lea rdx, [rax + rax*2]
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + 0x58]
mov rax, qword [rcx]
lea rcx, [rax + rdx*8]
nop word [rax + rax]
dec r8
lea rcx, [rcx - 0x18]
cmp byte [rcx + 9], 3
jne 0x1800a8bb4
test r8, r8
jg 0x1800a8b10
mov eax, r14d
cmp dword [rsp + 0x30], eax
jl 0x1800a8b32
dec byte [rdi + 0x44]
mov rdx, qword [rdi]
movzx ecx, byte [rdi + 0x44]
inc ecx
movzx eax, byte [rdx + 0xc]
cmp ecx, eax
jbe 0x1800a8bc2
cmp ecx, 0xff
jae 0x1800a8d7f
jmp 0x1800a8bbf
movsxd rax, dword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rdx + rcx*8]
mov qword [rdx + r8*8], rax
movzx eax, byte [rdx + rcx*8 + 8]
mov byte [rdx + r8*8 + 8], al
jmp 0x1800a8b99
mov rax, qword [rsp + 0x30]
mov qword [rdx + r8*8], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rdx + r8*8 + 8], al
jmp 0x1800a8b99
mov byte [rdx + r8*8 + 8], 1
jmp 0x1800a8b99
mov byte [rdx + r8*8 + 8], send
jmp 0x1800a8b99
mov byte [rdx + r8*8 + 8], r14b
mov byte [rdx + r8*8 + 9], 3
mov rcx, rbx
mov edx, dword [rsp + 0x24]
call fcn.1800a40f0
inc byte [r13 + 0x42]
jmp 0x1800a8c98
movzx eax, byte [rcx + 0xa]
inc eax
jmp 0x1800a8b29
mov byte [rdx + 0xc], cl
inc byte [rdi + 0x44]
lea rdx, [rsp + 0x28]
movzx r8d, byte [rdi + 0x44]
mov rcx, rdi
dec r8d
call fcn.18008d600
test esi, esi
jle 0x1800a8c5a
movzx edx, byte [rdi + 0x44]
mov r8d, esi
mov rcx, rdi
call fcn.18008c600
movzx eax, byte [rdi + 0x44]
jmp 0x1800a8c62
mov rax, qword [rdi]
lea ecx, [rsi + 1]
movsxd r8, dword [rsp + 0x30]
test ecx, ecx
mov edx, r14d
cmovns edx, ecx
mov r10, qword [rax + 0x40]
inc edx
shl edx, 0x18
mov eax, dword [r10 + r8*4]
and eax, 0xffffff
or edx, eax
mov dword [r10 + r8*4], edx
cmp r9d, 0x12
je 0x1800a8c5a
movzx eax, byte [rdi + 0x44]
and edx, 0xffff807f
shl eax, 7
or eax, edx
mov dword [r10 + r8*4], eax
mov rdx, qword [rdi]
movzx ecx, byte [rdi + 0x44]
inc ecx
movzx eax, byte [rdx + 0xc]
cmp ecx, eax
jbe 0x1800a8c57
cmp ecx, 0xff
jae 0x1800a8d90
mov byte [rdx + 0xc], cl
inc byte [rdi + 0x44]
movzx eax, byte [rdi + 0x44]
test esi, esi
jle 0x1800a8c87
mov rdx, qword [rdi]
movzx ecx, al
add ecx, esi
movzx eax, byte [rdx + 0xc]
cmp ecx, eax
jle 0x1800a8c81
cmp ecx, 0xff
jge 0x1800a8da1
mov byte [rdx + 0xc], cl
add byte [rdi + 0x44], sil
jmp 0x1800a8c8d
add al, sil
mov byte [rdi + 0x44], al
mov edx, r15d
mov rcx, rbx
call fcn.1800a40f0
cmp r12d, 0xffffffff
je 0x1800a8d00
mov rax, qword [r13 + 0x18]
mov byte [rax + 0x11], 1
mov byte [rax + 0x13], 1
mov byte [r13 + 0x46], 1
test r12d, r12d
jle 0x1800a8ced
movsxd rax, dword [r13 + 0x38]
movsxd r8, r12d
add rax, r8
lea rdx, [rax + rax*2]
mov rax, qword [r13 + 0x10]
mov rcx, qword [rax + 0x58]
mov rax, qword [rcx]
lea rcx, [rax + rdx*8]
dec r8
lea rcx, [rcx - 0x18]
cmp byte [rcx + 9], 3
jne 0x1800a8ce5
test r8, r8
jg 0x1800a8cd1
jmp 0x1800a8ced
movzx r14d, byte [rcx + 0xa]
inc r14d
shl r14d, 7
mov rcx, r13
or r14d, 0x37
mov edx, r14d
call fcn.18008cab0
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800da770
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov edx, 0x123
mov rcx, rbx
call fcn.1800a3da0
int3
mov rcx, qword [rbx + 0x38]
lea r8, [rdi + 0x18]
lea rdx, str.unknown_attribute__s
call fcn.1800a2880
mov rdx, rax
mov rcx, rbx
call fcn.18008c5e0
int3
mov edx, 0x3e
mov rcx, rbx
call fcn.1800a3da0
int3
lea rdx, str.multiple_to_be_closed_variables_in_local_list
mov rcx, rbx
call fcn.18008c5e0
int3
mov rcx, qword [rdi + 0x10]
lea rdx, str.function_or_expression_needs_too_many_registers
call fcn.18009bdf0
int3
mov rcx, qword [rdi + 0x10]
lea rdx, str.function_or_expression_needs_too_many_registers
call fcn.18009bdf0
int3
mov rcx, qword [rdi + 0x10]
lea rdx, str.function_or_expression_needs_too_many_registers
call fcn.18009bdf0
int3