Function at 0x1400fb1f0
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, 0xe8
mov rsi, rcx
test edx, edx
je 0x1400fb22b
mov byte [rsi + 4], 0x12
mov dword [rsi], 2
mov rax, rsi
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, r9
bt rdx, 0x20
jb 0x1400fb39f
movabs rax, 0xaaaaaaaaaaaaaaab
imul rax, rdi
ror rax, 1
movabs rcx, 0x2aaaaaaaaaaaaaaa
cmp rax, rcx
jbe 0x1400fb3b1
mov rax, qword [0x140b560d0]
mov rax, qword [rax]
cmp rax, 2
jae 0x1400fb5f0
movzx edx, byte [0x140b54968]
cmp dl, 3
jae 0x1400fb5da
test dl, dl
je 0x1400fb5f0
mov rcx, qword [0x140b54958]
call fcn.140132680
test al, al
je 0x1400fb5f0
mov rcx, qword [0x140b54958]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x1400fb671
lea rdx, [rcx + 0x30]
mov r8, qword [rcx + 0x30]
mov r9, qword [rcx + 0x40]
mov r10, qword [rcx + 0x48]
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], r9
mov qword [rsp + 0xa8], r10
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rax, section..text
mov qword [rsp + 0x58], rax
lea rax, str.invalid_settings_payload_length__len
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 1
mov qword [rsp + 0xd8], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 1
lea rax, [rsp + 0x90]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x80], rax
lea rax, fcn.140001130
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x70], rdx
lea rdx, [rsp + 0x60]
call fcn.1401331e0
mov byte [rsi + 4], 0x11
jmp 0x1400fb20e
test rdi, rdi
je 0x1400fb54a
mov byte [rsi + 4], 0x10
jmp 0x1400fb20e
xor eax, eax
mov qword [rsp + 0x40], rax
lea rdx, [0x140a8a284]
xor r9d, r9d
mov dword [rsp + 0x28], 0
xor r11d, r11d
xor r15d, r15d
mov dword [rsp + 0x24], 0
xor ebp, ebp
jmp case.0x1400fb4c7.7
mov dword [rsp + 0x24], 1
mov dword [rsp + 0x2c], r12d
nop dword [rax]
test rdi, rdi
je 0x1400fb420
cmp rdi, 6
mov ebx, 6
cmovb rbx, rdi
mov r12, r8
add r8, rbx
sub rdi, rbx
test r12, r12
jne 0x1400fb42e
jmp 0x1400fb583
xor edi, edi
xor r12d, r12d
test r12, r12
je 0x1400fb583
cmp rbx, 1
je 0x1400fb5f9
cmp rbx, 2
jbe 0x1400fb611
cmp rbx, 3
je 0x1400fb629
cmp rbx, 4
jbe 0x1400fb641
cmp rbx, 5
je 0x1400fb659
movzx ecx, byte [r12]
movzx ebx, byte [r12 + 1]
movzx ecx, cx
shl ecx, 8
movzx ebx, bx
add ebx, ecx
dec ebx
mov ecx, 7
cmp bx, 8
jae case.default.0x1400fb4c7
movsx rcx, bx
lea r10, [0x140a8a254]
mov ecx, dword [r10 + rcx*4]
movzx r10d, byte [r12 + 2]
movzx r14d, byte [r12 + 3]
movzx ebx, byte [r12 + 4]
movzx r12d, byte [r12 + 5]
shl r10d, 0x18
shl r14d, 0x10
or r14d, r10d
shl ebx, 8
or ebx, r14d
or r12d, ebx
mov ecx, ecx
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov ecx, 1
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x3c], r12d
jmp case.0x1400fb4c7.7
mov r9d, 1
mov dword [rsp + 0x38], r12d
jmp 0x1400fb537
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x34], r12d
jmp case.0x1400fb4c7.7
mov r11d, 1
mov dword [rsp + 0x30], r12d
test r12d, r12d
jns case.0x1400fb4c7.7
jmp 0x1400fb541
add ebx, 0xffffc000
mov r15d, 1
mov r13d, r12d
cmp ebx, 0xffc000
jb case.0x1400fb4c7.7
jmp 0x1400fb541
mov ebp, 1
mov eax, r12d
cmp r12d, 2
jb case.0x1400fb4c7.7
mov byte [rsi + 4], 0xe
jmp 0x1400fb20e
mov dword [rsi], 0
mov dword [rsi + 8], 0
mov dword [rsi + 0x10], 0
mov dword [rsi + 0x18], 0
mov dword [rsi + 0x20], 0
mov dword [rsi + 0x28], 0
mov dword [rsi + 0x30], 0
mov byte [rsi + 0x38], 1
jmp 0x1400fb214
mov rcx, qword [rsp + 0x40]
mov dword [rsi], ecx
mov ecx, dword [rsp + 0x3c]
mov dword [rsi + 4], ecx
mov dword [rsi + 8], r9d
mov ecx, dword [rsp + 0x38]
mov dword [rsi + 0xc], ecx
mov ecx, dword [rsp + 0x28]
mov dword [rsi + 0x10], ecx
mov ecx, dword [rsp + 0x34]
mov dword [rsi + 0x14], ecx
mov dword [rsi + 0x18], r11d
mov ecx, dword [rsp + 0x30]
mov dword [rsi + 0x1c], ecx
mov dword [rsi + 0x20], r15d
mov dword [rsi + 0x24], r13d
mov ecx, dword [rsp + 0x24]
mov dword [rsi + 0x28], ecx
mov ecx, dword [rsp + 0x2c]
mov dword [rsi + 0x2c], ecx
mov dword [rsi + 0x30], ebp
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x38], 0
jmp 0x1400fb214
lea rcx, [0x140b54958]
call fcn.1401b94d0
mov edx, eax
test dl, dl
jne 0x1400fb289
mov byte [rsi + 4], 0x11
jmp 0x1400fb20e
lea r8, [0x140a88d78]
mov ecx, 1
mov edx, 1
call fcn.1401be960
ud2
lea r8, [0x140a88d90]
mov ecx, 2
mov edx, 2
call fcn.1401be960
ud2
lea r8, [0x140a88d90]
mov ecx, 3
mov edx, 3
call fcn.1401be960
ud2
lea r8, [0x140a88d90]
mov ecx, 4
mov edx, 4
call fcn.1401be960
ud2
lea r8, [0x140a88d90]
mov ecx, 5
mov edx, 5
call fcn.1401be960
ud2
lea rcx, [0x140a88398]
lea r8, [0x140a88bd0]
mov edx, 0x22
call fcn.1401be740
ud2
add esp, 0x48
ret