Function at 0x1402ff820
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, 0x138
test edx, edx
je 0x1402ff858
mov byte [rcx + 4], 0x12
mov dword [rcx], 2
mov rax, rcx
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
bt rdx, 0x20
jb 0x1402ffa11
movabs rax, 0xaaaaaaaaaaaaaaab
imul rax, r9
ror rax, 1
movabs rdx, 0x2aaaaaaaaaaaaaab
cmp rax, rdx
jb 0x1402ffa23
mov r15, rcx
mov rax, qword [str.___]
mov rax, qword [rax]
cmp rax, 2
jae 0x1402ffcb9
movzx edx, byte [0x1405c2e68]
movzx eax, dl
lea ecx, [rax - 1]
cmp ecx, 2
jae 0x1402ffcb1
mov rcx, qword [str._8K_]
mov rbx, r9
call fcn.1403482c0
mov r9, rbx
test al, al
je 0x1402ffcb9
mov rdi, qword [str._8K_]
mov rax, qword [rdi + 0x30]
mov rcx, qword [rdi + 0x38]
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rcx
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rsp + 0x90], xmm0
lea rsi, [rsp + 0x50]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.14034a300
cmp qword [rsp + 0x50], 0
je 0x1402fff46
add rdi, 0x30
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x130], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x120], xmm1
movaps xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0xc8], rbx
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xd8], rax
lea rax, [0x140037700]
mov qword [rsp + 0xe0], rax
lea rax, str.invalid_settings_payload_length__len
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rax, [rsp + 0x110]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rsi
lea rax, [0x1404b0958]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
mov qword [rsp + 0x90], rdi
lea rcx, [rsp + 0x80]
call fcn.140300f20
jmp 0x1402ffe9a
test r9, r9
je 0x1402ffbfa
mov byte [rcx + 4], 0x10
jmp 0x1402ff83b
test r9, r9
je 0x1402ffc33
xor eax, eax
lea r14, [0x1404b3c4c]
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
xor edi, edi
xor ebx, ebx
jmp 0x1402ffa8c
shl esi, 0x18
shl r10d, 0x10
or r10d, esi
shl ebp, 8
or ebp, r10d
or ebp, edx
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x4c], ebp
nop dword [rax]
add r8, r15
sub r9, r15
je 0x1402ffc59
cmp r9, 6
mov r15d, 6
cmovb r15, r9
cmp r9, 1
je 0x1402ffed8
cmp r9, 2
jbe 0x1402fff04
cmp r9, 3
je 0x1402fff30
cmp r9, 4
jbe 0x1402ffeee
cmp r9, 5
je 0x1402fff1a
movzx edx, word [r8]
rol dx, 8
movzx r11d, dx
dec r11d
cmp r11d, 7
ja case.0x1402ffafc.7
movzx esi, byte [r8 + 2]
movzx r10d, byte [r8 + 3]
movzx ebp, byte [r8 + 4]
movzx edx, byte [r8 + 5]
movsxd r11, dword [r14 + r11*4]
add r11, r14
jmp r11
shl esi, 0x18
shl r10d, 0x10
or r10d, esi
shl ebp, 8
or ebp, r10d
or ebp, edx
mov ebx, 1
mov dword [rsp + 0x44], ebp
jmp case.0x1402ffafc.7
shl esi, 0x18
shl r10d, 0x10
or r10d, esi
shl ebp, 8
or ebp, r10d
or ebp, edx
mov edi, 1
mov r13d, ebp
cmp ebp, 2
jb case.0x1402ffafc.7
jmp 0x1402ffeae
shl esi, 0x18
shl r10d, 0x10
or r10d, esi
shl ebp, 8
or ebp, r10d
or ebp, edx
mov eax, 1
mov r12d, ebp
cmp ebp, 2
jb case.0x1402ffafc.7
jmp 0x1402ffeae
shl esi, 0x18
shl r10d, 0x10
or r10d, esi
shl ebp, 8
or ebp, r10d
or ebp, edx
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x48], ebp
jmp case.0x1402ffafc.7
shl esi, 0x18
js 0x1402ffeae
shl r10d, 0x10
shl ebp, 8
or r10d, edx
or r10d, ebp
or r10d, esi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x40], r10d
jmp case.0x1402ffafc.7
shl esi, 0x18
shl r10d, 0x10
or r10d, esi
shl ebp, 8
lea r11d, [r10 + rbp]
add r11d, 0xff000000
cmp r11d, 0xff004000
jb 0x1402ffeae
or r10d, ebp
or r10d, edx
mov dword [rsp + 0x2c], 1
mov dword [rsp + 0x3c], r10d
jmp case.0x1402ffafc.7
mov dword [rcx], 0
mov dword [rcx + 8], 0
mov dword [rcx + 0x10], 0
mov dword [rcx + 0x18], 0
mov dword [rcx + 0x20], 0
mov dword [rcx + 0x28], 0
mov dword [rcx + 0x30], 0
mov byte [rcx + 0x38], 1
jmp 0x1402ff841
xor ebx, ebx
xor edi, edi
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x38], 0
xor eax, eax
mov dword [rcx], ebx
mov edx, dword [rsp + 0x44]
mov dword [rcx + 4], edx
mov dword [rcx + 8], edi
mov dword [rcx + 0xc], r13d
mov edx, dword [rsp + 0x34]
mov dword [rcx + 0x10], edx
mov edx, dword [rsp + 0x48]
mov dword [rcx + 0x14], edx
mov edx, dword [rsp + 0x30]
mov dword [rcx + 0x18], edx
mov edx, dword [rsp + 0x40]
mov dword [rcx + 0x1c], edx
mov edx, dword [rsp + 0x2c]
mov dword [rcx + 0x20], edx
mov edx, dword [rsp + 0x3c]
mov dword [rcx + 0x24], edx
mov edx, dword [rsp + 0x38]
mov dword [rcx + 0x28], edx
mov edx, dword [rsp + 0x4c]
mov dword [rcx + 0x2c], edx
mov dword [rcx + 0x30], eax
mov dword [rcx + 0x34], r12d
mov byte [rcx + 0x38], 0
jmp 0x1402ff841
test eax, eax
jne 0x1402ffeb7
mov rax, qword [str.PB_]
movzx eax, byte [rax]
test al, al
jne 0x1402ffe9a
mov rax, qword [0x1405c40b8]
mov rax, qword [rax]
cmp rax, 4
jb 0x1402ffe9a
mov rsi, qword [str._8K_]
movups xmm0, xmmword [rsi + 0x20]
mov qword [rsp + 0xf8], 4
movups xmmword [rsp + 0x100], xmm0
mov r13, r9
call fcn.14037af90
mov rdi, rax
mov rbx, rdx
lea rdx, [rsp + 0xf8]
mov rcx, rax
call qword [rbx + 0x18]
test al, al
je 0x1402ffe9a
mov r12, qword [str._8K_]
mov rax, qword [r12 + 0x30]
mov rcx, qword [r12 + 0x38]
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rcx
movups xmm0, xmmword [r12 + 0x40]
movups xmmword [rsp + 0x90], xmm0
lea r14, [rsp + 0x50]
lea rdx, [rsp + 0x80]
mov rcx, r14
call fcn.14034a300
cmp qword [rsp + 0x50], 0
je 0x1402fff46
add r12, 0x30
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x130], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x120], xmm1
movaps xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0xf0], r13
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xc8], rax
lea rax, [0x140037700]
mov qword [rsp + 0xd0], rax
lea rax, str.invalid_settings_payload_length__len
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rax, [rsp + 0x110]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], r14
lea rax, [0x1404b0958]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], 1
mov qword [rsp + 0xe8], r12
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rsp + 0xf8]
movaps xmmword [rsp + 0x80], xmm0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
call fcn.1403482e0
mov rcx, r15
mov byte [r15 + 4], 0x11
mov dword [r15], 2
jmp 0x1402ff841
mov byte [rcx + 4], 0xe
jmp 0x1402ff83b
lea rcx, str._8K_
mov rsi, r9
call fcn.1403ebd60
mov r9, rsi
mov edx, eax
test al, al
jne 0x1402ff8b4
jmp 0x1402ffcb9
lea r8, [0x1404b1078]
mov ecx, 1
mov edx, 1
call fcn.1403f1de0
lea r8, [0x1404b1090]
mov ecx, 4
mov edx, 4
call fcn.1403f1de0
lea r8, [0x1404b1090]
mov ecx, 2
mov edx, 2
call fcn.1403f1de0
lea r8, [0x1404b1090]
mov ecx, 5
mov edx, 5
call fcn.1403f1de0
lea r8, [0x1404b1090]
mov ecx, 3
mov edx, 3
call fcn.1403f1de0
lea rcx, str.FieldSet_corrupted__this_is_a_bug_C:Userswarden.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.14_srcproto_settings.rs
lea r8, [0x1404b0ed8]
mov edx, 0x22
call fcn.1403f1c50
int3