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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x30
xor edi, edi
mov rbx, r8
cmp byte [rdx], 0x3e
mov r15, rdx
mov rbp, rcx
jne 0x14003ad8b
mov r12, qword [rcx + 0x10]
mov esi, edi
add r12, 0xfffffffffffffff0
inc r15
mov qword [rcx + 0x10], r12
mov qword [rsp + 0x78], r15
jmp 0x14003ad95
mov rsi, qword [r8 + 0x80]
mov r12, qword [rsi]
movzx eax, byte [r12 + 8]
sub al, 0x46
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x20], r12
mov r14, rdi
test al, 0xdf
jne 0x14003adb2
mov r14, qword [r12]
movzx eax, byte [r15]
mov rcx, r15
mov qword [rsp + 0x88], rcx
mov r13d, 1
test al, al
je 0x14003aef3
lea r15, [0x140000000]
mov r8d, 0x100
lea r10, [0x140183b1c]
lea r11, str.main
lea rdx, str._C_
movsx eax, al
add eax, 0xffffffb4
cmp eax, 0x29
ja case.default.0x14003ae16
cdqe
movzx eax, byte [r15 + rax + 0x3b164]
mov ecx, dword [r15 + rax*4 + 0x3b144]
add rcx, r15
jmp rcx
test r14, r14
je 0x14003ae7c
cmp byte [r14 + 8], 0x26
je 0x14003ae7c
mov r9, qword [r14 + 0x18]
mov rdx, qword [r9 + 0x70]
test rdx, rdx
je 0x14003ae51
add rdx, 0x18
mov qword [rbx + 0x20], rdx
mov r8, qword [r9 + 0x70]
cmp byte [r8 + 8], 4
jne 0x14003ae4b
movzx r8d, byte [r8 + 0xb]
jmp 0x14003ae5e
mov r8, qword [r8 + 0x10]
jmp 0x14003ae5e
mov qword [rbx + 0x20], r10
mov r8d, 2
mov rdx, r10
mov qword [rbx + 0x28], r8
lea rcx, [0x14017c1f0]
mov eax, dword [r9 + 0x2c]
test eax, eax
mov dword [rbx + 0x34], eax
mov eax, dword [r9 + 0x30]
cmove rcx, r11
jmp 0x14003ae9f
mov eax, 0xffffffff
mov qword [rbx + 0x20], rdx
mov qword [rbx + 0x28], 4
lea rcx, [0x140183b18]
mov dword [rbx + 0x34], 0xffffffff
lea r8d, [rax + 5]
mov dword [rbx + 0x38], eax
mov qword [rbx + 0x18], rcx
lea rcx, [rbx + 0x44]
call fcn.140044fd0
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + 1]
lea r10, [0x140183b1c]
inc rcx
lea rdx, str._C_
mov qword [rsp + 0x88], rcx
mov r8d, 0x100
lea r11, str.main
test al, al
jne 0x14003adf1
mov r15, qword [rsp + 0x78]
mov r12, qword [rsp + 0x20]
mov edx, 0x66
mov rcx, r15
call fcn.140139f90
test rax, rax
je 0x14003af1e
mov rax, qword [r12]
mov rcx, qword [rbp + 0x10]
mov qword [rcx], rax
movzx eax, byte [r12 + 8]
mov byte [rcx + 8], al
add qword [rbp + 0x10], 0x10
mov edx, 0x4c
mov rcx, r15
call fcn.140139f90
test rax, rax
je 0x14003b12a
test r14, r14
je 0x14003b11d
cmp byte [r14 + 8], 0x26
je 0x14003b11d
mov rsi, qword [r14 + 0x18]
mov rcx, rbp
mov ebx, dword [rsi + 0x2c]
call fcn.140043dd0
mov r12, rax
mov rax, qword [rbp + 0x10]
mov qword [rax], r12
mov byte [rax + 8], 0x45
add qword [rbp + 0x10], 0x10
mov byte [rsp + 0x28], 0x11
cmp byte [rsi + 0xb], dil
je 0x14003b0d7
mov rax, qword [rsi + 0x58]
movsx ecx, byte [rax]
cmp cl, 0x80
je 0x14003b0c6
add ebx, ecx
jmp 0x14003b0d2
test rsi, rsi
je 0x14003afc0
test byte [rsi + 0x3e], 2
jne 0x14003afc0
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.14003a870
mov dword [rbx + 0x30], eax
jmp case.0x14003ae16.76
mov eax, 0xffffffff
mov dword [rbx + 0x30], eax
jmp case.0x14003ae16.76
test r14, r14
jne 0x14003afe4
mov byte [rbx + 0x3c], dil
xor cl, cl
mov byte [rbx + 0x3e], 1
mov byte [rbx + 0x3d], cl
jmp case.0x14003ae16.76
movzx eax, byte [r14 + 0xa]
mov byte [rbx + 0x3c], al
cmp byte [r14 + 8], 0x26
je 0x14003afd6
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.0x14003ae16.76
test rsi, rsi
je 0x14003b021
movzx eax, byte [rsi + 0x3e]
and al, 0x20
mov byte [rbx + 0x3f], al
jmp case.0x14003ae16.76
xor al, al
mov byte [rbx + 0x3f], al
jmp case.0x14003ae16.76
test rsi, rsi
je 0x14003b06a
test byte [rsi + 0x3e], 0x20
jne 0x14003b06a
mov rdx, qword [rsi + 0x10]
lea r12, [rbx + 8]
mov r8, r12
mov rcx, rbp
call fcn.140039e60
mov qword [rbx + 0x10], rax
test rax, rax
jne case.0x14003ae16.76
lea rax, [0x14017bcd5]
mov qword [r12], rdi
mov qword [rbx + 0x10], rax
jmp case.0x14003ae16.76
lea r12, [rbx + 8]
mov qword [rbx + 0x10], rdi
lea rax, [0x14017bcd5]
mov qword [r12], rdi
mov qword [rbx + 0x10], rax
jmp case.0x14003ae16.76
test rsi, rsi
je 0x14003b0a7
test word [rsi + 0x3e], r8w
je 0x14003b0a7
movzx eax, word [rsi + 0x38]
mov word [rbx + 0x40], ax
movzx eax, word [rsi + 0x3a]
mov word [rbx + 0x42], ax
jmp case.0x14003ae16.76
mov eax, edi
mov word [rbx + 0x40], di
mov word [rbx + 0x42], ax
jmp case.0x14003ae16.76
mov rcx, qword [rsp + 0x88]
mov r13d, edi
jmp 0x14003aeb7
xor edx, edx
mov rcx, rsi
call fcn.14003a870
mov ebx, eax
mov edi, 1
cmp edi, dword [rsi + 0x1c]
jge 0x14003b12a
mov r14d, edi
nop
mov rax, qword [rsi + 0x58]
movsx ecx, byte [r14 + rax]
cmp cl, 0x80
je 0x14003b0f2
add ebx, ecx
jmp 0x14003b0fe
mov edx, edi
mov rcx, rsi
call fcn.14003a870
mov ebx, eax
movsxd r8, ebx
lea r9, [rsp + 0x20]
mov rdx, r12
mov rcx, rbp
call fcn.140044670
inc edi
inc r14
cmp edi, dword [rsi + 0x1c]
jl 0x14003b0e0
jmp 0x14003b12a
mov rax, qword [rbp + 0x10]
mov byte [rax + 8], dil
add qword [rbp + 0x10], 0x10
mov r14, qword [rsp + 0x70]
mov eax, r13d
add rsp, 0x30
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret