Function at 0x140146380
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
movaps xmmword [rsp + 0xf0], xmm6
mov ebp, r9d
mov rbx, r8
mov r12, rdx
mov r15, rcx
mov rax, qword [0x14039ce38]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov eax, dword [0x1403a44f8]
mov rcx, qword gs:[0x58]
mov rsi, qword [rcx + rax*8]
lea rax, [rsi + 8]
mov qword [rsp + 0x60], rax
mov r14, qword [rsi + 8]
mov r13, qword [r14 + 0x18]
mov rax, qword [rdx]
lea rdx, [rsp + 0xb0]
mov rcx, r12
call qword [rax + 0x320]
mov rdx, qword [rsp + 0xb0]
mov rcx, r13
call fcn.1400e0be0
mov rdi, rax
mov rax, qword [r12]
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x68], r12
mov rcx, r12
call qword [rax + 0x328]
mov rdx, qword [rsp + 0xe0]
mov rcx, r13
call fcn.1400e0c00
mov byte [rsp + 0x20], 1
lea rdx, [rsp + 0xd0]
mov rcx, rdi
mov r8, r14
mov r9, rax
call fcn.140136510
mov rdx, qword [rsp + 0xd0]
mov rcx, r13
call fcn.1400e0c00
mov r12, rax
mov rcx, r13
call fcn.1400e6e60
mov rdi, rax
mov rax, qword [rbx + 8]
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx + 0x6a8]
test al, 1
jne 0x14014648e
mov eax, 0x168
add rax, qword [rcx + 0x20]
jmp 0x1401464a0
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax - 1]
shr eax, 9
and eax, 0xfffffff8
add rax, qword [rcx + 0x30]
mov rdx, qword [rax]
mov rcx, r13
call fcn.1400e0be0
mov rsi, rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xb8], reloc.WS2_32.dll_recv
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
sub rdx, rax
cmp rdx, 0x80
mov byte [rsp + 0x47], bpl
jge 0x140146509
mov edx, 0x80
call fcn.1401b1030
jmp 0x140146518
lea rdx, [rax + 0x80]
mov qword [rcx], rdx
sub qword [rcx + 0x10], 0xffffffffffffff80
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0xe0]
call qword [rax + 0x320]
mov rdx, qword [rsp + 0xe0]
mov rcx, r13
call fcn.1400e0be0
mov byte [rsp + 0x20], 1
lea r9, [rsp + 0xb0]
mov rcx, rsi
mov rdx, r13
mov r8, rax
call fcn.140145ee0
mov ebp, eax
test al, al
jne 0x1401465a8
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0xe0]
call qword [rax + 0x320]
mov rdx, qword [rsp + 0xe0]
mov rcx, r13
call fcn.1400e0be0
mov byte [rsp + 0x20], 0
lea r9, [rsp + 0xb0]
mov rcx, rsi
mov rdx, r13
mov r8, rax
call fcn.140145ee0
mov rax, qword [rsp + 0xb0]
test rax, rax
je 0x1401467a8
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x48], r15
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx + rax*8 - 8]
mov rdx, qword [rax + 8]
mov qword [rsp + 0x58], r13
mov rcx, r13
call fcn.1400e0bf0
mov rbx, rax
mov r13, qword [rsp + 0xb0]
cmp r13, 2
jl 0x140146703
dec r13
lea r12, [rsp + 0xe0]
xorps xmm6, xmm6
nop word cs:[rax + rax]
mov rax, qword [rbx]
mov r8d, 0x7fffffff
mov rcx, rbx
xor edx, edx
call qword [rax + 0x330]
test al, al
jne 0x140146703
mov rax, qword [rsp + 0xc0]
mov rsi, qword [rax + r13*8 - 8]
mov rdi, qword [r14 + 0x18]
mov rax, qword [rsi]
mov rcx, rsi
mov rdx, r12
call qword [rax + 0x320]
mov rdx, qword [rsp + 0xe0]
mov rcx, rdi
call fcn.1400e0be0
mov r15, rax
mov rax, qword [rsi]
mov rcx, rsi
lea rdx, [rsp + 0xd8]
call qword [rax + 0x328]
mov rdx, qword [rsp + 0xd8]
mov rcx, rdi
call fcn.1400e0c00
mov byte [rsp + 0x20], 0
mov rcx, r15
lea rdx, [rsp + 0xa0]
mov r8, r14
mov r9, rax
call fcn.140136510
mov rax, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x70]
mov qword [r8 + 8], rax
mov r9, qword [0x14039ff50]
mov rax, qword [rbx]
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x7fffffff
mov rcx, rbx
mov rdx, r12
call qword [rax + 0x348]
mov rax, qword [rsp + 0xe0]
mov qword [rbx + 8], rax
dec r13
test r13, r13
jg 0x140146620
mov rax, qword [rbx]
mov r8d, 0x7fffffff
mov rcx, rbx
xor edx, edx
call qword [rax + 0x330]
test al, al
je 0x1401467dc
mov rsi, qword [r14 + 0x18]
mov rax, qword [rbx]
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call qword [rax + 0x320]
mov rdx, qword [rsp + 0xe0]
mov rcx, rsi
call fcn.1400e0be0
mov rdi, rax
mov rax, qword [rbx]
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call qword [rax + 0x328]
mov rdx, qword [rsp + 0xd8]
mov rcx, rsi
call fcn.1400e0c00
mov byte [rsp + 0x20], 0
lea rdx, [rsp + 0x98]
mov rcx, rdi
mov r8, r14
mov r9, rax
call fcn.140136510
mov rax, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x70]
mov qword [rdi + 8], rax
cmp rax, qword [0x14039ab20]
jne 0x14014681f
xor r9d, r9d
jmp 0x140146826
mov rax, qword [rbx]
lea rdx, [rsp + 0xa8]
mov rcx, rbx
call qword [rax + 0x2e8]
mov rax, qword [rsp + 0xa8]
mov qword [rdi + 8], rax
cmp rax, qword [r12 + 8]
jne 0x14014685c
mov rax, qword [rsi + 8]
jmp 0x140146ae1
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rdx + 8]
test dword [rax + 0x7f], 0x30
mov rdx, qword [rdx + 8]
je 0x1401468d0
mov r8, qword [rdx + 0x47]
mov rax, qword [0x14039ab20]
cmp r8, rax
mov rsi, qword [rsp + 0x58]
jne 0x1401468ea
xor r12d, r12d
jmp 0x14014691b
mov r9, qword [rax + 0xf]
sar r9, 1
mov r15, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, r12
xor r8d, r8d
call fcn.14013eb20
test al, al
je 0x14014685c
or bpl, 0xfe
jmp 0x140146b01
mov bpl, 0xfd
cmp byte [rsp + 0x47], 0
je 0x140146b01
call fcn.14011a8c0
mov rsi, rax
mov rax, qword [rdi + 8]
lea rbx, [0x1402cf8c5]
mov r14, rbx
cmp rax, qword [0x14039ab20]
je 0x14014689f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x2b0]
mov r14, rax
mov rax, qword [0x14039ab20]
cmp qword [r12 + 8], rax
je 0x1401468b6
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x2b0]
mov rbx, rax
lea rdx, str.__expected__s_got__s_type_arguments_n
mov rcx, rsi
mov r8, rbx
mov r9, r14
call fcn.14011a9a0
jmp 0x140146b01
movsxd rax, dword [rdx + 0x77]
add rax, 0xffffffffffffffa7
xor r12d, r12d
cmp rax, 3
setb r12b
mov rsi, qword [rsp + 0x58]
jmp 0x14014691b
mov rcx, qword [rcx + 0xc90]
mov rdx, qword [rdx + 0x47]
mov qword [rcx + 8], rdx
cmp rdx, rax
je 0x140146907
mov r8, qword [rdx + 7]
cmp r8, rax
jne 0x14014690c
xor r12d, r12d
jmp 0x140146917
mov rdx, qword [rdx + 7]
mov r12, qword [rdx + 0xf]
sar r12, 1
mov qword [rcx + 8], rax
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x90]
call qword [rax + 0x320]
mov rdx, qword [rsp + 0x90]
mov rcx, rsi
call fcn.1400e0be0
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov rdx, qword [rax + 8]
test dword [rdx + 0x7f], 0x30
mov r8, qword [rax + 8]
je 0x140146973
mov rdx, qword [r8 + 0x47]
mov rax, qword [0x14039ab20]
cmp rdx, rax
jne 0x1401469b9
xor ecx, ecx
cmp r12, rcx
je 0x140146989
jmp 0x1401469ee
movsxd rax, dword [r8 + 0x77]
add rax, 0xffffffffffffffa7
xor ecx, ecx
cmp rax, 3
setb cl
cmp r12, rcx
jne 0x1401469ee
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
lea rdx, [rsp + 0xe0]
call qword [rax + 0x2e8]
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x50]
cmp rax, qword [rcx + 8]
sete r13b
jmp 0x1401469f1
mov rdx, qword [rcx + 0xc90]
mov rcx, qword [r8 + 0x47]
mov qword [rdx + 8], rcx
cmp rcx, rax
je 0x1401469d6
mov r8, qword [rcx + 7]
cmp r8, rax
jne 0x1401469da
xor ecx, ecx
jmp 0x1401469e5
mov rcx, qword [rcx + 7]
mov rcx, qword [rcx + 0xf]
sar rcx, 1
mov qword [rdx + 8], rax
cmp r12, rcx
je 0x140146989
xor r13d, r13d
mov rcx, qword [rsp + 0x58]
call fcn.1400e70b0
mov rsi, rax
mov rdi, qword [r14 + 0x18]
mov rax, qword [rbx]
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call qword [rax + 0x320]
mov rdx, qword [rsp + 0xe0]
mov rcx, rdi
call fcn.1400e0be0
mov r15, rax
mov rax, qword [rbx]
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call qword [rax + 0x328]
mov rdx, qword [rsp + 0xd8]
mov rcx, rdi
call fcn.1400e0c00
mov byte [rsp + 0x20], 0
lea rdx, [rsp + 0x88]
mov rcx, r15
mov r8, r14
mov r9, rax
call fcn.140136510
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x70]
mov qword [rbx + 8], rax
test r12, r12
jle 0x140146acb
test r13b, r13b
je 0x140146acb
xor edi, edi
mov r15, qword [rsp + 0x48]
nop word [rax + rax]
mov rax, qword [rbx + 8]
mov rdx, qword [rax + rdi*8 + 0x27]
mov rcx, rsi
call fcn.1400e70d0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x178]
mov bpl, 0xfd
test al, al
je 0x140146b01
mov rax, qword [rsi + 8]
movzx eax, word [rax + 0x31]
cmp rdi, rax
jne 0x140146b01
inc rdi
cmp rdi, r12
jb 0x140146a90
jmp 0x140146ad8
mov bpl, 0xfd
test r13b, r13b
mov r15, qword [rsp + 0x48]
je 0x140146b01
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x87]
xor ecx, ecx
cmp eax, 0xffffffff
cmovne ecx, eax
movsxd rbp, ecx
movsx rax, bpl
cmp rax, rbp
mov eax, 0xfd
cmovne ebp, eax
mov byte [r15], bpl
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140258ea0
mov rax, r15
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret