Function at 0x1400994b9
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, 0x158
mov r15, r9
mov r14, rdx
mov rbx, rcx
mov dil, byte [rsp + 0x1c0]
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov qword [rsp + 0x88], r8
mov rdx, r8
mov r8, r9
call fcn.14009c67a
mov ebp, dword [rsi]
mov r12, qword [rsi + 8]
mov r13, qword [rsi + 0x10]
cmp ebp, 0x5c
je 0x140099513
cmp ebp, 0x2f
jne 0x1400995c4
mov qword [rsp + 0x68], rbx
mov rsi, qword [r14 + 0x30]
cmp ebp, 0x5c
jne 0x140099532
test rsi, rsi
je 0x140099532
mov rax, qword [r14 + 0x38]
mov rcx, rsi
xor edx, edx
call qword [rax + 0x28]
lea rbx, [rsp + 0x90]
mov rcx, rbx
mov rdx, r12
mov r8, r13
call fcn.14009c67a
mov eax, dword [rbx]
mov rdi, qword [rbx + 8]
mov rbx, qword [rbx + 0x10]
cmp eax, 0x2f
je 0x140099560
cmp eax, 0x5c
jne 0x14009961d
cmp eax, 0x5c
jne 0x140099576
test rsi, rsi
je 0x140099576
mov rax, qword [r14 + 0x38]
mov rcx, rsi
xor edx, edx
call qword [rax + 0x28]
movabs r12, 0x8000000000000000
lea rdx, [0x1401672e0]
lea r8, [0x1401672e7]
mov rcx, r14
call fcn.140035b7d
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
call fcn.14009cd6e
mov rdi, qword [rsi]
cmp rdi, r12
jne 0x14009971b
mov bl, byte [rsp + 0x98]
jmp 0x14009977a
mov rsi, qword [rsp + 0x1c8]
test rsi, rsi
je 0x140099787
cmp ebp, 0x23
je 0x140099b64
cmp ebp, 0x3f
je 0x1400999f1
cmp ebp, 0x110000
jne 0x140099b94
cmp dword [rsi + 0x20], 0
je 0x140099ddb
mov r8d, dword [rsi + 0x24]
mov rcx, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
lea r9, [0x1401672c0]
call fcn.14009ba36
mov r8, rdx
jmp 0x140099de3
lea rdx, [0x1401672e0]
lea r8, [0x1401672e7]
mov rcx, r14
call fcn.140035b7d
mov rcx, r12
mov rdx, r13
call fcn.14009cfab
xor edi, edi
mov ecx, 7
mov qword [rsp + 0xe0], rcx
mov rcx, qword [rsp + 0x1c8]
test rcx, rcx
je 0x1400998af
test al, al
mov rbx, qword [rsp + 0x68]
jne 0x1400998f9
call fcn.1400988fc
mov rcx, rax
mov r8d, 0x2f
call case.0x140045569.1198
test rax, rax
je 0x140099f2b
mov r8, rdx
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov rdx, rax
mov r9d, 0x2f
call fcn.1400981ce
cmp dword [rsi + 0x3c], 0x110000
je 0x140099f36
lea rax, [rsp + 0x110]
lea rsi, [rsp + 0x90]
mov ecx, 9
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
mov rcx, rax
call fcn.140096e92
lea r8, [0x140167300]
mov rcx, rax
call fcn.140092d86
mov rsi, rax
mov rdi, rdx
mov rcx, rax
call fcn.14009cae3
test al, al
je 0x1400998b6
mov rcx, r14
mov edx, 0x2f
call fcn.14009757d
add rdi, rsi
mov rcx, r14
mov rdx, rsi
mov r8, rdi
call fcn.140035b7d
jmp 0x1400998f7
mov r15, qword [rsp + 0x98]
mov r8, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xb0]
mov r13, qword [rsp + 0xb8]
test r8, r8
je 0x1400998a6
lea rbx, [rsp + 0x90]
mov rcx, rbx
mov rdx, r15
call fcn.140097ba2
mov rbx, qword [rbx]
lea rax, [r12 + 2]
cmp rbx, rax
jne 0x140099844
mov bl, byte [rsp + 0x98]
mov rcx, rdi
mov rdx, r15
call fcn.1400305ba
mov rax, qword [rsp + 0x68]
mov byte [rax + 8], bl
jmp 0x140099b40
lea rdx, str.file:___file:__
lea r8, [0x1401672e0]
mov rcx, r14
call fcn.140035b7d
lea r8, [rsp + 0x90]
mov byte [r8], 0
mov qword [rsp + 0x28], r15
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 7
mov rcx, r14
xor edx, edx
call fcn.14009ae00
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
mov r9d, 4
call fcn.14009c6a7
mov eax, dword [rsi]
cmp eax, 2
je 0x140099979
mov rcx, qword [rsp + 0x94]
mov edx, dword [rsp + 0x9c]
mov r8, qword [r14 + 0x10]
mov qword [rbx + 0x10], r8
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
mov dword [rbx + 0x18], eax
mov qword [rbx + 0x1c], rcx
mov dword [rbx + 0x24], edx
and word [rbx + 0x28], 0
movaps xmm0, xmmword [0x1400a3760]
movups xmmword [rbx + 0x2c], xmm0
mov dword [rbx + 0x3c], 7
mov byte [rbx + 0x40], 0
jmp 0x140099b4f
mov al, byte [rsp + 0x98]
mov rcx, qword [rsp + 0x99]
mov qword [rsp + 0x79], rcx
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x70], rbx
mov byte [rsp + 0x78], al
lea rax, [r12 + 1]
cmp rbx, rax
jle 0x140099a04
lea rcx, [rsp + 0x70]
call fcn.14009cf22
test al, al
je 0x140099a04
mov byte [rsp + 0xef], 0
mov rdx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.140097b8e
xor ebx, ebx
xor ebp, ebp
jmp 0x140099ac2
mov rbx, qword [rsp + 0x68]
jmp 0x1400998f9
mov rsi, qword [rsp + 0x1c8]
mov rcx, rsi
call fcn.14009d048
test rax, rax
je 0x1400998f7
mov r8, rdx
add r8, rax
mov rcx, r14
mov rdx, rax
call fcn.140035b7d
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0xe0], rax
mov dil, byte [rsi + 0x40]
movups xmm0, xmmword [rsi + 0x41]
movaps xmmword [rsp + 0x70], xmm0
jmp 0x1400998f9
xor edi, edi
add ebp, 0xffffffd1
cmp ebp, 0x2d
ja 0x14009991c
movabs rax, 0x200000010001
bt rax, rbp
jae 0x14009991c
mov r12, qword [rsp + 0x88]
mov r13, r15
lea r8, [rsp + 0x90]
mov byte [r8], 0
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r12
mov rcx, r14
xor edx, edx
mov r15, qword [rsp + 0xe0]
mov r9, r15
call fcn.14009ae00
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov rdx, r14
mov r8b, byte [rsp + 0x1c0]
mov r9d, 4
call fcn.14009c6a7
mov eax, dword [rsi]
cmp eax, 2
jne 0x140099995
mov al, byte [rsp + 0x94]
mov byte [rbx + 8], al
movabs rax, 0x8000000000000000
mov qword [rbx], rax
jmp 0x140099b43
mov rcx, qword [rsp + 0x94]
mov edx, dword [rsp + 0x9c]
mov r8, qword [r14 + 0x10]
mov qword [rbx + 0x10], r8
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x41], xmm0
mov dword [rbx + 0x18], eax
mov qword [rbx + 0x1c], rcx
mov dword [rbx + 0x24], edx
and word [rbx + 0x28], 0
movabs rax, 0x700000004
mov qword [rbx + 0x2c], rax
mov dword [rbx + 0x34], 7
mov dword [rbx + 0x38], r15d
mov dword [rbx + 0x3c], r15d
mov byte [rbx + 0x40], dil
jmp 0x140099b4f
cmp dword [rsi + 0x18], 0
je 0x140099d07
lea rax, [rsi + 0x1c]
jmp 0x140099d15
mov rax, qword [rsp + 0x80]
lea rbp, [rsp + 0x110]
mov qword [rbp + 0x10], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp], rax
mov al, byte [rsp + 0x78]
mov byte [rbp + 8], al
mov eax, dword [rsp + 0x79]
mov dword [rbp + 9], eax
movzx eax, word [rsp + 0x7d]
mov word [rbp + 0xd], ax
lea rax, [rsp + 0x100]
mov qword [rax], rbp
lea rcx, [0x14009726b]
mov qword [rax + 8], rcx
lea rcx, [0x140167118]
lea rbx, [rsp + 0x90]
mov qword [rbx], rcx
mov ecx, 1
mov qword [rbx + 8], rcx
and qword [rbx + 0x20], 0
mov dl, byte [rsp + 0x7f]
mov byte [rbp + 0xf], dl
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
mov rcx, r14
mov rdx, rbx
call fcn.14009754b
lea rdx, [0x1401673d8]
mov ecx, eax
call fcn.14009cc1b
mov rax, qword [rbp + 0x10]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [rbp]
movaps xmmword [rbx], xmm0
lea rbx, [rsp + 0xef]
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.140097b33
mov bpl, 1
mov bl, byte [rbx]
movups xmm0, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0x110], xmm0
mov rcx, rdi
mov rdx, r15
call fcn.1400305ba
mov r15, qword [r14 + 0x10]
mov rax, r15
shr rax, 0x20
mov rcx, r15
shl rcx, 0x20
or rcx, 0x900
test rax, rax
mov edi, 0x901
cmove rdi, rcx
test dil, dil
jne 0x140099b37
shr rdi, 0x20
test bl, bl
setne byte [rsp + 0x70]
test bpl, bpl
je 0x140099be0
mov qword [rsp + 0x20], r13
lea r8, [rsp + 0x70]
mov rcx, r14
xor edx, edx
mov r9, rsi
call fcn.14009cc4b
jmp 0x140099c09
mov rax, qword [rsp + 0x68]
mov byte [rax + 8], 9
mov qword [rax], r12
mov rcx, qword [r14]
mov rdx, qword [r14 + 8]
call fcn.1400305ba
nop
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [rsp + 0x90]
mov ecx, 9
mov rdi, rdx
mov r8, rsi
mov rsi, r14
rep movsq qword [rdi], qword [rsi]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov r9, qword [rsp + 0x88]
call fcn.14009c16f
jmp 0x140099b4f
mov rdi, qword [rsp + 0x88]
mov rcx, rdi
mov rdx, r15
call fcn.14009cfab
test al, al
je 0x140099cf4
lea rdx, str.file:___file:__
lea r8, [0x1401672e0]
mov rcx, r14
call fcn.140035b7d
lea r8, [rsp + 0x90]
mov byte [r8], 0
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
jmp 0x1400997bb
mov rcx, r14
mov edx, 0x2f
call fcn.14009757d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x70]
mov rcx, r14
xor edx, edx
mov r9, r15
call fcn.14009ae00
mov rsi, rax
mov r15, rdx
cmp byte [rsp + 0x70], 0
jne 0x140099c41
lea rbx, [rsp + 0x90]
mov r8d, 7
mov rcx, rbx
mov rdx, r14
mov r9, rdi
call fcn.1400978f9
mov rcx, rbx
call fcn.14000cae0
mov edi, 7
xor ebx, ebx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rsi
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov rdx, r14
mov r8b, byte [rsp + 0x1c0]
mov r9d, 4
call fcn.14009c6a7
mov eax, dword [rsi]
cmp eax, 2
jne 0x140099c8a
mov al, byte [rsp + 0x94]
mov rcx, qword [rsp + 0x68]
mov byte [rcx + 8], al
mov qword [rcx], r12
jmp 0x140099b43
mov rcx, qword [rsp + 0x94]
mov edx, dword [rsp + 0x9c]
mov r8, qword [r14 + 0x10]
mov r9, qword [rsp + 0x68]
mov qword [r9 + 0x10], r8
movups xmm0, xmmword [r14]
movups xmmword [r9], xmm0
movaps xmm0, xmmword [rsp + 0x110]
movups xmmword [r9 + 0x41], xmm0
mov dword [r9 + 0x18], eax
mov qword [r9 + 0x1c], rcx
mov dword [r9 + 0x24], edx
and word [r9 + 0x28], 0
movabs rax, 0x700000004
mov qword [r9 + 0x2c], rax
mov dword [r9 + 0x34], 7
mov dword [r9 + 0x38], edi
mov dword [r9 + 0x3c], edi
mov byte [r9 + 0x40], bl
jmp 0x140099b4f
cmp dword [rsi + 0x18], 0
je 0x140099e33
lea rax, [rsi + 0x1c]
jmp 0x140099e41
cmp dword [rsi + 0x20], 0
je 0x140099f0c
lea rax, [rsi + 0x24]
mov ebp, edi
mov r8d, dword [rax]
mov rcx, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
call fcn.14009c373
mov r8, rdx
add r8, rax
mov rcx, r14
mov rdx, rax
call fcn.140035b7d
mov r12, rsi
mov esi, dword [rsi + 0x2c]
mov qword [rsp + 0x28], r15
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x90]
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
mov r9d, esi
call fcn.14009c6a7
mov eax, dword [rdi]
cmp eax, 2
je 0x140099979
mov ecx, dword [rsp + 0x94]
mov rdx, qword [rsp + 0x98]
mov r8, qword [r14 + 0x10]
mov qword [rbx + 0x10], r8
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
mov r8, qword [r12 + 0x30]
mov r9d, dword [r12 + 0x38]
movups xmm0, xmmword [r12 + 0x40]
movups xmmword [rbx + 0x40], xmm0
mov r10b, byte [r12 + 0x50]
mov byte [rbx + 0x50], r10b
mov r10d, dword [r12 + 0x28]
mov r11d, dword [r12 + 0x3c]
mov dword [rbx + 0x18], eax
mov dword [rbx + 0x1c], ecx
mov qword [rbx + 0x20], rdx
mov dword [rbx + 0x28], r10d
mov dword [rbx + 0x2c], esi
mov qword [rbx + 0x30], r8
mov dword [rbx + 0x38], r9d
mov dword [rbx + 0x3c], r11d
jmp 0x140099b4f
mov rax, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
add r8, rax
mov rcx, r14
mov rdx, rax
call fcn.140035b7d
mov rax, qword [r14 + 0x10]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rsi + 0x2c]
movups xmm1, xmmword [rsi + 0x40]
movups xmmword [rbx + 0x40], xmm1
mov al, byte [rsi + 0x50]
mov byte [rbx + 0x50], al
mov eax, dword [rsi + 0x28]
mov rcx, qword [rsi + 0x18]
mov qword [rbx + 0x18], rcx
and dword [rbx + 0x20], 0
mov ecx, dword [rsi + 0x3c]
mov dword [rbx + 0x28], eax
movups xmmword [rbx + 0x2c], xmm0
mov dword [rbx + 0x3c], ecx
jmp 0x140099b4f
cmp dword [rsi + 0x20], 0
je 0x140099f1b
lea rax, [rsi + 0x24]
mov r13, rbx
mov r8d, dword [rax]
mov rcx, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
call fcn.14009c373
mov r8, rdx
add r8, rax
mov rcx, r14
mov rdx, rax
call fcn.140035b7d
mov r12d, dword [rsi + 0x3c]
mov rcx, r14
xor edx, edx
mov r8, r12
call fcn.14009cbc6
lea r8, [rsp + 0x90]
mov byte [r8], 1
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
mov rcx, r14
xor edx, edx
mov r9, r12
call fcn.14009ae00
lea r8, [rsp + 0x90]
mov ecx, 9
mov rdi, r8
mov rbx, rsi
mov rsi, r14
rep movsq qword [rdi], qword [rsi]
mov r9d, dword [rbx + 0x2c]
mov ecx, dword [rbx + 0x30]
mov r10d, dword [rbx + 0x34]
mov r11d, dword [rbx + 0x38]
lea rsi, [rbx + 0x40]
movzx edi, word [rbx + 0x28]
movzx ebx, word [rbx + 0x2a]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], r12d
mov word [rsp + 0x48], bx
mov word [rsp + 0x40], di
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], ecx
mov rcx, r13
mov rdx, r8
xor r8d, r8d
call fcn.14009b478
jmp 0x140099b4f
mov ebp, edi
mov rax, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
jmp 0x140099d2a
mov r13, rbx
mov rax, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
jmp 0x140099e57
mov dword [rsp + 0xcc], 0x110000
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, [0x1401672e8]
mov edx, 0x2b
call fcn.14009f310
int3