Function at 0x140109cf0
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, 0xd8
mov ebx, r9d
mov rdi, rcx
mov rsi, qword [rsp + 0x180]
mov r11, qword [rsp + 0x178]
mov r9d, dword [rsp + 0x170]
movzx eax, word [rsp + 0x168]
mov word [rsp + 0x56], ax
movzx ecx, word [rsp + 0x160]
mov r10, qword [rsp + 0x158]
mov ebp, dword [rsp + 0x150]
mov r13d, dword [rsp + 0x148]
mov r15d, dword [rsp + 0x140]
mov r14d, ebx
lea rax, [r14 + 1]
cmp rax, r9
mov word [rsp + 0x54], cx
mov dword [rsp + 0x9c], r15d
mov qword [rsp + 0xc8], r10
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0x48], rdx
jne 0x140109dc2
mov dword [rsp + 0x3c], r13d
mov esi, ebp
mov r13, qword [rdx + 8]
mov r12, qword [rdx + 0x10]
mov rbp, r12
sub rbp, r9
jbe 0x140109e14
cmp byte [r13 + r9], 0xbf
mov rax, r14
jg 0x140109e19
lea rax, [0x14016b478]
mov qword [rsp + 0x20], rax
mov rcx, r13
mov r8, r9
mov rdx, r12
mov r9, r12
call fcn.1401191b0
mov qword [rsp + 0x90], r14
lea rax, [r14 + 3]
cmp rax, r9
jne 0x140109e41
mov qword [rsp + 0x40], r11
mov dword [rsp + 0x3c], r13d
mov byte [rsp + 0x37], r8b
mov r13, qword [rdx + 8]
mov r12, qword [rdx + 0x10]
test ebx, ebx
mov rax, qword [rsp + 0x90]
je 0x140109ed5
cmp r12, rax
jbe 0x140109ecf
cmp byte [r13 + rax], 0xbf
jg 0x140109ed5
jmp 0x14010a51c
mov rax, r14
jne 0x140109da5
cmp rbp, 2
jb 0x140109e29
cmp word [r13 + r9], 0x2f2f
je 0x140109ea2
test ebx, ebx
mov ebp, esi
je 0x140109e4f
cmp r12, rax
jbe 0x140109e49
cmp byte [r13 + rax], 0xbf
jg 0x140109e4f
jmp 0x14010a536
mov rsi, r9
jmp 0x140109f5d
jne 0x14010a536
mov rsi, r9
sub r12, rax
cmp r12, 3
jae 0x140109e65
mov r13d, dword [rsp + 0x3c]
jmp 0x140109f5d
mov rcx, rax
movzx eax, word [r13 + rax]
xor eax, 0x2f3a
movzx ecx, byte [r13 + rcx + 2]
xor ecx, 0x2f
or cx, ax
mov r13d, dword [rsp + 0x3c]
jne 0x140109f5d
lea rcx, [0x14016b3f3]
lea r8, [0x14016b4a8]
mov edx, 0x4f
call fcn.140118cc0
cmp r12, r9
jbe 0x14010a04b
cmp byte [r13 + r9], 0xbf
jg 0x14010a051
lea rcx, str.assertion_failed:_self.is_char_boundary_idx_
lea r8, [0x14016afb8]
mov edx, 0x2c
call fcn.140118cc0
jne 0x14010a51c
cmp r12, r9
jbe 0x140109f24
cmp byte [r13 + r9], 0xbf
jle 0x14010a51c
mov dword [rsp + 0x38], ebp
mov r8, r9
sub r8, rax
lea rbp, [rax + r13]
mov rsi, r9
lea rdx, [0x14016b3b0]
mov rcx, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14010a0c4
movzx r8d, byte [rsp + 0x37]
mov ebp, dword [rsp + 0x38]
mov r13d, dword [rsp + 0x3c]
mov r11, qword [rsp + 0x40]
jmp 0x140109f5d
jne 0x14010a51c
mov rsi, r9
mov r8, r9
sub r8, rax
add r13, rax
lea rdx, [0x14016b3b0]
mov rcx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
movzx r8d, byte [rsp + 0x37]
mov r13d, dword [rsp + 0x3c]
mov r11, qword [rsp + 0x40]
je 0x14010a553
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea rcx, [rsp + 0x58]
mov r14, qword [rsp + 0x48]
mov rdx, r14
mov r9d, ebx
call fcn.14010d490
mov eax, dword [rsp + 0x58]
cmp eax, 2
jne 0x140109fd3
movzx eax, byte [rsp + 0x5c]
mov byte [rdi + 8], al
movabs rax, 0x8000000000000000
mov qword [rdi], rax
cmp qword [r14], 0
je 0x14010a037
mov r8, qword [r14 + 8]
mov rcx, qword [0x14017de28]
xor edx, edx
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [rsp + 0x64]
mov rdx, qword [rsp + 0x5c]
mov r8, qword [r14 + 0x10]
mov qword [rdi + 0x10], r8
movups xmm0, xmmword [r14]
movups xmmword [rdi], xmm0
mov r8, qword [rsp + 0xc8]
movups xmm0, xmmword [r8]
movups xmmword [rdi + 0x40], xmm0
movzx r8d, byte [r8 + 0x10]
mov byte [rdi + 0x50], r8b
mov dword [rdi + 0x18], eax
mov qword [rdi + 0x1c], rdx
mov dword [rdi + 0x24], ecx
movzx eax, word [rsp + 0x54]
mov word [rdi + 0x28], ax
movzx eax, word [rsp + 0x56]
mov word [rdi + 0x2a], ax
mov dword [rdi + 0x2c], ebx
mov eax, dword [rsp + 0x9c]
mov dword [rdi + 0x30], eax
mov dword [rdi + 0x34], r13d
mov dword [rdi + 0x38], ebp
mov dword [rdi + 0x3c], esi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jne 0x140109eb7
mov qword [rsp + 0x40], r11
mov byte [rsp + 0x37], r8b
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
sub rax, r12
cmp rax, 1
jbe 0x14010a2c7
mov r15, r9
lea rdx, [r9 + r13]
lea rcx, [r9 + r13]
add rcx, 2
mov r8, rbp
call sub.VCRUNTIME140.dll_memmove
mov r9, r15
mov word [r13 + r15], 0x2e2f
add r12, 2
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x10], r12
add r9d, 2
mov r13, qword [rax + 8]
movzx r8d, byte [rsp + 0x37]
mov r11, qword [rsp + 0x40]
mov rax, r14
test ebx, ebx
mov ebp, esi
jne 0x140109e2f
jmp 0x140109e4f
cmp byte [r13 + rsi], 0x2f
movzx r8d, byte [rsp + 0x37]
mov rdx, rsi
mov r11, qword [rsp + 0x40]
jne 0x14010a565
lea r9, [rdx + 1]
cmp r9, r12
mov rcx, qword [rsp + 0x90]
jae 0x14010a100
cmp byte [r13 + r9], 0x2f
jne 0x14010a100
mov ebp, dword [rsp + 0x38]
jmp 0x14010a456
test ebx, ebx
je 0x14010a129
cmp r12, rcx
jbe 0x14010a127
cmp byte [rbp], 0xbf
jg 0x14010a129
lea rcx, str.assertion_failed:_self.is_char_boundary_n__rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14library_alloc_src_string.rs
lea r8, [0x14016ba88]
mov edx, 0x2a
call fcn.140118cc0
jne 0x14010a10f
cmp byte [r13 + rdx], 0xbf
jle 0x14010a57e
cmp ebx, edx
ja 0x14010a596
cmp r12, rdx
jb 0x14010a5a2
mov r8, qword [rsp + 0x48]
mov qword [r8 + 0x10], rcx
mov r10, r12
mov qword [rsp + 0x70], rdx
lea r15, [rsp + 0x80]
sub r10, rdx
mov qword [rsp + 0x78], r10
mov qword [rsp + 0x68], r8
lea rax, [0x14016b7e2]
mov qword [rsp + 0x80], rax
lea rax, [0x14016b7e3]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x60], 1
jne 0x14010a1c0
mov rsi, rdx
mov rcx, r8
mov rdx, r15
call fcn.140111670
movzx r8d, byte [rsp + 0x37]
mov ebp, dword [rsp + 0x38]
mov r11, qword [rsp + 0x40]
jmp 0x14010a3e8
cmp ebx, edx
jne 0x14010a259
mov r13, r9
mov rsi, rdx
mov r14, qword [rsp + 0x48]
cmp qword [r14], r12
je 0x14010a4c2
mov rdx, qword [r14 + 8]
lea rcx, [rdx + rsi]
inc rcx
add rdx, rsi
mov r8, r10
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x70], r13
mov rcx, qword [r14 + 0x10]
lea rax, [0x14016b7e2]
cmp rcx, r13
movzx r8d, byte [rsp + 0x37]
mov ebp, dword [rsp + 0x38]
mov r11, qword [rsp + 0x40]
je 0x14010a28f
mov rax, rsi
sub rax, rcx
add rcx, qword [r14 + 8]
inc rax
xor r10d, r10d
lea rdx, [0x14016b7e2]
cmp r10, 1
je 0x14010a3e8
mov r9, r10
movzx r10d, byte [r10 + rdx]
mov byte [rcx + r9], r10b
inc qword [r14 + 0x10]
lea r10, [r9 + 1]
cmp rax, r10
jne 0x14010a22d
lea rax, [r9 + rdx]
inc rax
jmp 0x14010a287
mov rsi, rdx
add r13, rdx
mov byte [rbp], 0x3a
inc rbp
mov rcx, qword [rsp + 0x48]
inc qword [rcx + 0x10]
cmp rbp, r13
movzx r8d, byte [rsp + 0x37]
mov ebp, dword [rsp + 0x38]
mov r11, qword [rsp + 0x40]
jne 0x14010a3e8
mov qword [rsp + 0x80], rax
lea r14, [0x14016b7e2]
sub r14, rax
inc r14
js 0x14010a5b4
je 0x14010a2ec
movzx eax, byte [0x14017dea0]
xor ecx, ecx
mov rdx, r14
call fcn.1400f8170
test rax, rax
jne 0x14010a2f4
mov ecx, 1
mov rdx, r14
call fcn.140118730
mov r8d, 2
mov r13, qword [rsp + 0x48]
mov rcx, r13
mov r15, r9
mov rdx, r12
call fcn.140118770
mov r9, r15
mov r13, qword [r13 + 8]
jmp 0x14010a070
mov eax, 1
xor r14d, r14d
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], 0
lea rcx, [rsp + 0xa0]
mov rdx, r15
call fcn.140111670
mov r8, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xb0]
test r13, r13
je 0x14010a3b7
mov qword [rsp + 0xc0], r8
mov rbp, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov r8, qword [rsp + 0x78]
lea rdx, [r8 + r12]
mov rax, qword [rbp]
sub rax, rdx
cmp rax, r13
jb 0x14010a4ed
lea r15, [r12 + r13]
mov rcx, qword [rbp + 8]
lea rdx, [rcx + r12]
add rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x70], r15
mov rax, qword [rbp + 0x10]
cmp rax, r15
mov r8, qword [rsp + 0xc0]
je 0x14010a3b7
sub r12, rax
add rax, qword [rbp + 8]
add r12, r13
xor ecx, ecx
cmp r13, rcx
je 0x14010a3b7
movzx edx, byte [r14 + rcx]
mov byte [rax + rcx], dl
inc qword [rbp + 0x10]
inc rcx
cmp r12, rcx
jne 0x14010a39e
test r8, r8
movzx r8d, byte [rsp + 0x37]
mov ebp, dword [rsp + 0x38]
mov r11, qword [rsp + 0x40]
je 0x14010a3e8
mov rcx, qword [0x14017de28]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r11, qword [rsp + 0x40]
movzx r8d, byte [rsp + 0x37]
mov rax, qword [rsp + 0x60]
mov r12, qword [rsp + 0x78]
cmp rax, qword [rsp + 0x58]
test r12, r12
je 0x14010a43b
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
lea r13, [rax + 0x10]
mov rbp, qword [rax + 0x10]
cmp rdx, rbp
je 0x14010a430
mov rcx, qword [rax + 8]
add rdx, rcx
add rcx, rbp
mov r8, r12
call sub.VCRUNTIME140.dll_memmove
mov r11, qword [rsp + 0x40]
movzx r8d, byte [rsp + 0x37]
add rbp, r12
mov qword [r13], rbp
mov ebp, dword [rsp + 0x38]
mov rdx, rsi
add edx, 0xfffffffe
mov rax, qword [rsp + 0x48]
mov r13, qword [rax + 8]
mov r12, qword [rax + 0x10]
mov rcx, qword [rsp + 0x90]
test ebx, ebx
je 0x14010a478
cmp r12, rcx
jbe 0x14010a476
cmp byte [r13 + rcx], 0xbf
jg 0x14010a478
mov r8, rcx
lea rax, [0x14016b3d8]
jmp 0x14010a540
jne 0x14010a467
mov rsi, rdx
sub r12, rcx
cmp r12, 3
jb 0x140109e5b
movzx eax, word [r13 + rcx]
xor eax, 0x2f3a
movzx ecx, byte [r13 + rcx + 2]
xor ecx, 0x2f
or cx, ax
mov r13d, dword [rsp + 0x3c]
jne 0x140109f5d
lea rcx, [0x14016b3f3]
lea r8, [0x14016b448]
mov edx, 0x4f
call fcn.140118cc0
mov qword [rsp + 0x20], 1
mov r8d, 1
mov r9d, 1
mov rcx, r14
mov rdx, r12
mov r12, r10
call fcn.14011b900
mov r10, r12
jmp 0x14010a1dc
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rbp
mov qword [rsp + 0xb8], r8
mov r8, r13
call fcn.14011b900
mov r8, qword [rsp + 0xb8]
jmp 0x14010a368
mov r8, rax
lea rax, [0x14016b398]
mov qword [rsp + 0x20], rax
mov rcx, r13
mov rdx, r12
call fcn.1401191b0
mov r8, rax
lea rax, [0x14016b490]
mov qword [rsp + 0x20], rax
mov rcx, r13
mov rdx, r12
mov r9, r12
call fcn.1401191b0
lea r8, [0x14016b3b8]
mov rcx, rsi
mov rdx, r12
call fcn.140118ba0
mov qword [rsp + 0x58], 0
add r13, rdx
lea rdx, [rsp + 0x58]
mov rcx, r13
call fcn.14011ff20
lea rcx, str.assertion_failed:_self.is_char_boundary_n__rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14library_alloc_src_string.rs
lea r8, [0x14016baa0]
mov edx, 0x2a
call fcn.140118cc0
lea r8, str._rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14library_alloc_src_vecmod.rs
call fcn.140118ff0
lea r8, str._rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14library_alloc_src_vecmod.rs
mov rcx, rdx
mov rdx, r12
call fcn.140118c50
xor ecx, ecx
mov rdx, r14
call fcn.140118730
int3