Function at 0x140219305
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.14021c537
mov ebp, dword [rsi]
mov r12, qword [rsi + 8]
mov r13, qword [rsi + 0x10]
cmp ebp, 0x5c
je 0x14021935f
cmp ebp, 0x2f
jne 0x140219410
mov qword [rsp + 0x68], rbx
mov rsi, qword [r14 + 0x30]
cmp ebp, 0x5c
jne 0x14021937e
test rsi, rsi
je 0x14021937e
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.14021c537
mov eax, dword [rbx]
mov rdi, qword [rbx + 8]
mov rbx, qword [rbx + 0x10]
cmp eax, 0x2f
je 0x1402193ac
cmp eax, 0x5c
jne 0x140219469
cmp eax, 0x5c
jne 0x1402193c2
test rsi, rsi
je 0x1402193c2
mov rax, qword [r14 + 0x38]
mov rcx, rsi
xor edx, edx
call qword [rax + 0x28]
movabs r12, 0x8000000000000000
lea rdx, [0x1403424a8]
lea r8, [0x1403424af]
mov rcx, r14
call fcn.1401008b9
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
call fcn.14021cc26
mov rdi, qword [rsi]
cmp rdi, r12
jne 0x140219567
mov bl, byte [rsp + 0x98]
jmp 0x1402195c6
mov rsi, qword [rsp + 0x1c8]
test rsi, rsi
je 0x1402195d3
cmp ebp, 0x23
je 0x1402199b0
cmp ebp, 0x3f
je 0x14021983d
cmp ebp, 0x110000
jne 0x1402199e0
cmp dword [rsi + 0x20], 0
je 0x140219c27
mov r8d, dword [rsi + 0x24]
mov rcx, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
lea r9, [0x140342488]
call fcn.14021b8aa
mov r8, rdx
jmp 0x140219c2f
lea rdx, [0x1403424a8]
lea r8, [0x1403424af]
mov rcx, r14
call fcn.1401008b9
mov rcx, r12
mov rdx, r13
call fcn.14021ce63
xor edi, edi
mov ecx, 7
mov qword [rsp + 0xe0], rcx
mov rcx, qword [rsp + 0x1c8]
test rcx, rcx
je 0x1402196fb
test al, al
mov rbx, qword [rsp + 0x68]
jne 0x140219745
call fcn.140218748
mov rcx, rax
mov r8d, 0x2f
call fcn.1402175ba
test rax, rax
je 0x140219d77
mov r8, rdx
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov rdx, rax
mov r9d, 0x2f
call fcn.140218023
cmp dword [rsi + 0x3c], 0x110000
je 0x140219d82
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.140216f27
lea r8, [0x1403424c8]
mov rcx, rax
call fcn.1400cc92c
mov rsi, rax
mov rdi, rdx
mov rcx, rax
call fcn.14021c99b
test al, al
je 0x140219702
mov rcx, r14
mov edx, 0x2f
call fcn.14004c829
add rdi, rsi
mov rcx, r14
mov rdx, rsi
mov r8, rdi
call fcn.1401008b9
jmp 0x140219743
mov r15, qword [rsp + 0x98]
mov r8, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xb0]
mov r13, qword [rsp + 0xb8]
test r8, r8
je 0x1402196f2
lea rbx, [rsp + 0x90]
mov rcx, rbx
mov rdx, r15
call fcn.1402179d6
mov rbx, qword [rbx]
lea rax, [r12 + 2]
cmp rbx, rax
jne 0x140219690
mov bl, byte [rsp + 0x98]
mov rcx, rdi
mov rdx, r15
call fcn.1400f7302
mov rax, qword [rsp + 0x68]
mov byte [rax + 8], bl
jmp 0x14021998c
lea rdx, str.file:___file:__
lea r8, [0x1403424a8]
mov rcx, r14
call fcn.1401008b9
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.14021ac71
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.14021c564
mov eax, dword [rsi]
cmp eax, 2
je 0x1402197c5
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 [0x140256e30]
movups xmmword [rbx + 0x2c], xmm0
mov dword [rbx + 0x3c], 7
mov byte [rbx + 0x40], 0
jmp 0x14021999b
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 0x140219850
lea rcx, [rsp + 0x70]
call fcn.14021cdda
test al, al
je 0x140219850
mov byte [rsp + 0xef], 0
mov rdx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.1402179c2
xor ebx, ebx
xor ebp, ebp
jmp 0x14021990e
mov rbx, qword [rsp + 0x68]
jmp 0x140219745
mov rsi, qword [rsp + 0x1c8]
mov rcx, rsi
call fcn.14021cf00
test rax, rax
je 0x140219743
mov r8, rdx
add r8, rax
mov rcx, r14
mov rdx, rax
call fcn.1401008b9
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 0x140219745
xor edi, edi
add ebp, 0xffffffd1
cmp ebp, 0x2d
ja 0x140219768
movabs rax, 0x200000010001
bt rax, rbp
jae 0x140219768
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.14021ac71
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.14021c564
mov eax, dword [rsi]
cmp eax, 2
jne 0x1402197e1
mov al, byte [rsp + 0x94]
mov byte [rbx + 8], al
movabs rax, 0x8000000000000000
mov qword [rbx], rax
jmp 0x14021998f
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 0x14021999b
cmp dword [rsi + 0x18], 0
je 0x140219b53
lea rax, [rsi + 0x1c]
jmp 0x140219b61
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, [0x1402172bc]
mov qword [rax + 8], rcx
lea rcx, str._A4_
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.14021759c
lea rdx, [0x1403425a0]
mov ecx, eax
call fcn.14021cad3
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.140217967
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.1400f7302
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 0x140219983
shr rdi, 0x20
test bl, bl
setne byte [rsp + 0x70]
test bpl, bpl
je 0x140219a2c
mov qword [rsp + 0x20], r13
lea r8, [rsp + 0x70]
mov rcx, r14
xor edx, edx
mov r9, rsi
call fcn.14021cb03
jmp 0x140219a55
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.1400f7302
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.14021bfe3
jmp 0x14021999b
mov rdi, qword [rsp + 0x88]
mov rcx, rdi
mov rdx, r15
call fcn.14021ce63
test al, al
je 0x140219b40
lea rdx, str.file:___file:__
lea r8, [0x1403424a8]
mov rcx, r14
call fcn.1401008b9
lea r8, [rsp + 0x90]
mov byte [r8], 0
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
jmp 0x140219607
mov rcx, r14
mov edx, 0x2f
call fcn.14004c829
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.14021ac71
mov rsi, rax
mov r15, rdx
cmp byte [rsp + 0x70], 0
jne 0x140219a8d
lea rbx, [rsp + 0x90]
mov r8d, 7
mov rcx, rbx
mov rdx, r14
mov r9, rdi
call fcn.140217813
mov rcx, rbx
call fcn.14003fd90
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.14021c564
mov eax, dword [rsi]
cmp eax, 2
jne 0x140219ad6
mov al, byte [rsp + 0x94]
mov rcx, qword [rsp + 0x68]
mov byte [rcx + 8], al
mov qword [rcx], r12
jmp 0x14021998f
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 0x14021999b
cmp dword [rsi + 0x18], 0
je 0x140219c7f
lea rax, [rsi + 0x1c]
jmp 0x140219c8d
cmp dword [rsi + 0x20], 0
je 0x140219d58
lea rax, [rsi + 0x24]
mov ebp, edi
mov r8d, dword [rax]
mov rcx, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
call fcn.14021c1e7
mov r8, rdx
add r8, rax
mov rcx, r14
mov rdx, rax
call fcn.1401008b9
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.14021c564
mov eax, dword [rdi]
cmp eax, 2
je 0x1402197c5
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 0x14021999b
mov rax, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
add r8, rax
mov rcx, r14
mov rdx, rax
call fcn.1401008b9
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 0x14021999b
cmp dword [rsi + 0x20], 0
je 0x140219d67
lea rax, [rsi + 0x24]
mov r13, rbx
mov r8d, dword [rax]
mov rcx, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
call fcn.14021c1e7
mov r8, rdx
add r8, rax
mov rcx, r14
mov rdx, rax
call fcn.1401008b9
mov r12d, dword [rsi + 0x3c]
mov rcx, r14
xor edx, edx
mov r8, r12
call fcn.14021ca7e
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.14021ac71
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.14021b2f0
jmp 0x14021999b
mov ebp, edi
mov rax, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
jmp 0x140219b76
mov r13, rbx
mov rax, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
jmp 0x140219ca3
mov dword [rsp + 0xcc], 0x110000
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, [0x1403424b0]
mov edx, 0x2b
call fcn.1400be6a0
int3