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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x38
xor edi, edi
mov qword [rsp + 0x70], r13
cmp byte [rdx], 0x3e
mov rbx, r8
mov r15, rdx
mov rbp, rcx
jne 0x180147e2e
mov rcx, qword [rcx + 0x10]
mov esi, edi
add rcx, 0xfffffffffffffff0
inc r15
mov qword [rbp + 0x10], rcx
mov qword [rsp + 0x78], r15
jmp 0x180147e38
mov rsi, qword [r8 + 0x80]
mov rcx, qword [rsi]
movzx eax, byte [rcx + 8]
sub al, 0x46
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x88], rcx
mov r14, rdi
test al, 0xdf
jne 0x180147e55
mov r14, qword [rcx]
movzx eax, byte [r15]
mov r13, r15
mov r12d, 1
test al, al
je 0x18014808c
lea r15, [0x180000000]
mov r9d, 0x100
lea rdx, [0x1801ee140]
lea r10, [0x1801ee144]
lea r8, str._C_
nop dword [rax]
movsx eax, al
add eax, 0xffffffb4
cmp eax, 0x29
ja case.0x180147eb5.83
cdqe
movzx eax, byte [r15 + rax + 0x1481c0]
mov ecx, dword [r15 + rax*4 + 0x1481a0]
add rcx, r15
jmp rcx
test r14, r14
je 0x180147f15
cmp byte [r14 + 8], 0x26
je 0x180147f15
mov r8, qword [r14 + 0x18]
mov rax, qword [r8 + 0x70]
test rax, rax
je 0x180147eee
lea rdx, [rax + 0x18]
mov qword [rbx + 0x20], rdx
mov rax, qword [r8 + 0x70]
cmp byte [rax + 8], 4
jne 0x180147ee8
movzx ecx, byte [rax + 0xb]
jmp 0x180147ef7
mov rcx, qword [rax + 0x10]
jmp 0x180147ef7
mov qword [rbx + 0x20], rdx
mov ecx, 2
mov qword [rbx + 0x28], rcx
lea rcx, [0x1801ee14c]
mov eax, dword [r8 + 0x2c]
test eax, eax
mov dword [rbx + 0x34], eax
mov eax, dword [r8 + 0x30]
cmove rcx, r10
jmp 0x180147f37
mov qword [rbx + 0x20], r8
lea rcx, [0x1801d9c00]
mov qword [rbx + 0x28], 4
mov eax, 0xffffffff
mov dword [rbx + 0x34], 0xffffffff
mov rdx, r8
mov dword [rbx + 0x38], eax
mov qword [rbx + 0x18], rcx
lea rcx, [rbx + 0x44]
mov r8, qword [rbx + 0x28]
call fcn.180154a40
jmp case.0x180147eb5.76
test rsi, rsi
je 0x180147f80
test byte [rsi + 0x3e], 2
jne 0x180147f80
mov rax, qword [rsi]
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rax]
mov rcx, qword [rcx + 0x18]
sub rdx, qword [rcx + 0x40]
sar rdx, 2
dec edx
call fcn.180147920
mov dword [rbx + 0x30], eax
jmp case.0x180147eb5.76
mov eax, 0xffffffff
mov dword [rbx + 0x30], eax
jmp case.0x180147eb5.76
test r14, r14
jne 0x180147fa4
mov byte [rbx + 0x3c], dil
xor cl, cl
mov byte [rbx + 0x3e], 1
mov byte [rbx + 0x3d], cl
jmp case.0x180147eb5.76
movzx eax, byte [r14 + 0xa]
mov byte [rbx + 0x3c], al
cmp byte [r14 + 8], 0x26
je 0x180147f96
mov rax, qword [r14 + 0x18]
movzx ecx, byte [rax + 0xb]
mov byte [rbx + 0x3e], cl
mov rax, qword [r14 + 0x18]
movzx ecx, byte [rax + 0xa]
mov byte [rbx + 0x3d], cl
jmp case.0x180147eb5.76
test rsi, rsi
je 0x180147fde
movzx eax, byte [rsi + 0x3e]
and al, 0x20
mov byte [rbx + 0x3f], al
jmp case.0x180147eb5.76
xor al, al
mov byte [rbx + 0x3f], al
jmp case.0x180147eb5.76
test rsi, rsi
je 0x18014801a
test byte [rsi + 0x3e], 0x20
jne 0x18014801a
mov rdx, qword [rsi + 0x10]
lea r8, [rbx + 8]
mov rcx, rbp
call fcn.180146f10
mov qword [rbx + 0x10], rax
test rax, rax
jne case.0x180147eb5.76
lea rax, [0x1801e4e9b]
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rax
jmp case.0x180147eb5.76
lea rax, [0x1801e4e9b]
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
jmp case.0x180147eb5.76
test rsi, rsi
je 0x18014804d
test word [rsi + 0x3e], r9w
je 0x18014804d
movzx eax, word [rsi + 0x38]
mov word [rbx + 0x40], ax
movzx eax, word [rsi + 0x3a]
mov word [rbx + 0x42], ax
jmp case.0x180147eb5.76
mov eax, edi
mov word [rbx + 0x40], di
mov word [rbx + 0x42], ax
jmp case.0x180147eb5.76
mov r12d, edi
movzx eax, byte [r13 + 1]
lea rdx, [0x1801ee140]
inc r13
lea r8, str._C_
lea r10, [0x1801ee144]
mov r9d, 0x100
test al, al
jne 0x180147e90
mov r15, qword [rsp + 0x78]
mov edx, 0x66
mov rcx, r15
call fcn.180186890
mov r13, qword [rsp + 0x70]
test rax, rax
je 0x1801480c1
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x88]
mov rax, qword [rdx]
mov qword [rcx], rax
movzx eax, byte [rdx + 8]
mov byte [rcx + 8], al
add qword [rbp + 0x10], 0x10
mov edx, 0x4c
mov rcx, r15
call fcn.180186890
test rax, rax
je 0x18014818b
test r14, r14
je 0x18014817e
cmp byte [r14 + 8], 0x26
je 0x18014817e
mov rsi, qword [r14 + 0x18]
mov rcx, rbp
mov ebx, dword [rsi + 0x2c]
call fcn.1801604c0
mov r15, rax
mov rax, qword [rbp + 0x10]
mov qword [rax], r15
mov byte [rax + 8], 0x45
add qword [rbp + 0x10], 0x10
mov byte [rsp + 0x28], send
cmp byte [rsi + 0xb], dil
je 0x180148139
mov rax, qword [rsi + 0x58]
movsx ecx, byte [rax]
cmp cl, 0x80
je 0x180148128
add ebx, ecx
jmp 0x180148134
xor edx, edx
mov rcx, rsi
call fcn.180147920
mov ebx, eax
mov edi, 1
cmp edi, dword [rsi + 0x1c]
jge 0x18014818b
mov r14d, edi
mov rax, qword [rsi + 0x58]
movsx ecx, byte [r14 + rax]
cmp cl, 0x80
je 0x180148153
add ebx, ecx
jmp 0x18014815f
mov edx, edi
mov rcx, rsi
call fcn.180147920
mov ebx, eax
movsxd r8, ebx
lea r9, [rsp + 0x20]
mov rdx, r15
mov rcx, rbp
call fcn.180160d20
inc edi
inc r14
cmp edi, dword [rsi + 0x1c]
jl 0x180148141
jmp 0x18014818b
mov rax, qword [rbp + 0x10]
mov byte [rax + 8], dil
add qword [rbp + 0x10], 0x10
mov r14, qword [rsp + 0x30]
mov eax, r12d
add rsp, 0x38
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret