Function at 0x140104a20
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 0x140104af2
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 0x140104b44
cmp byte [r13 + r9], 0xbf
mov rax, r14
jg 0x140104b49
lea rax, [0x14018bba8]
mov qword [rsp + 0x20], rax
mov rcx, r13
mov r8, r9
mov rdx, r12
mov r9, r12
call fcn.1401220d0
mov qword [rsp + 0x90], r14
lea rax, [r14 + 3]
cmp rax, r9
jne 0x140104b71
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 0x140104c05
cmp r12, rax
jbe 0x140104bff
cmp byte [r13 + rax], 0xbf
jg 0x140104c05
jmp 0x14010524c
mov rax, r14
jne 0x140104ad5
cmp rbp, 2
jb 0x140104b59
cmp word [r13 + r9], 0x2f2f
je 0x140104bd2
test ebx, ebx
mov ebp, esi
je 0x140104b7f
cmp r12, rax
jbe 0x140104b79
cmp byte [r13 + rax], 0xbf
jg 0x140104b7f
jmp 0x140105266
mov rsi, r9
jmp 0x140104c8d
jne 0x140105266
mov rsi, r9
sub r12, rax
cmp r12, 3
jae 0x140104b95
mov r13d, dword [rsp + 0x3c]
jmp 0x140104c8d
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 0x140104c8d
lea rcx, [0x14018bb23]
lea r8, [0x14018bbd8]
mov edx, 0x4f
call fcn.140121b80
cmp r12, r9
jbe 0x140104d7b
cmp byte [r13 + r9], 0xbf
jg 0x140104d81
lea rcx, str.assertion_failed:_self.is_char_boundary_idx_
lea r8, [0x14018b6d8]
mov edx, 0x2c
call fcn.140121b80
jne 0x14010524c
cmp r12, r9
jbe 0x140104c54
cmp byte [r13 + r9], 0xbf
jle 0x14010524c
mov dword [rsp + 0x38], ebp
mov r8, r9
sub r8, rax
lea rbp, [rax + r13]
mov rsi, r9
lea rdx, [0x14018bae0]
mov rcx, rbp
call fcn.1401215d0
test eax, eax
je 0x140104df4
movzx r8d, byte [rsp + 0x37]
mov ebp, dword [rsp + 0x38]
mov r13d, dword [rsp + 0x3c]
mov r11, qword [rsp + 0x40]
jmp 0x140104c8d
jne 0x14010524c
mov rsi, r9
mov r8, r9
sub r8, rax
add r13, rax
lea rdx, [0x14018bae0]
mov rcx, r13
call fcn.1401215d0
test eax, eax
movzx r8d, byte [rsp + 0x37]
mov r13d, dword [rsp + 0x3c]
mov r11, qword [rsp + 0x40]
je 0x140105283
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.1401081c0
mov eax, dword [rsp + 0x58]
cmp eax, 2
jne 0x140104d03
movzx eax, byte [rsp + 0x5c]
mov byte [rdi + 8], al
movabs rax, 0x8000000000000000
mov qword [rdi], rax
cmp qword [r14], 0
je 0x140104d67
mov r8, qword [r14 + 8]
mov rcx, qword [0x14019f258]
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 0x140104be7
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 0x140104ff7
mov r15, r9
lea rdx, [r9 + r13]
lea rcx, [r9 + r13]
add rcx, 2
mov r8, rbp
call fcn.140120b90
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 0x140104b5f
jmp 0x140104b7f
cmp byte [r13 + rsi], 0x2f
movzx r8d, byte [rsp + 0x37]
mov rdx, rsi
mov r11, qword [rsp + 0x40]
jne 0x140105295
lea r9, [rdx + 1]
cmp r9, r12
mov rcx, qword [rsp + 0x90]
jae 0x140104e30
cmp byte [r13 + r9], 0x2f
jne 0x140104e30
mov ebp, dword [rsp + 0x38]
jmp 0x140105186
test ebx, ebx
je 0x140104e59
cmp r12, rcx
jbe 0x140104e57
cmp byte [rbp], 0xbf
jg 0x140104e59
lea rcx, str.assertion_failed:_self.is_char_boundary_n__rustc_636d7ff91b9847d6d43c7bbe023568828f6e3246library_alloc_src_string.rs
lea r8, [0x14018c080]
mov edx, 0x2a
call fcn.140121b80
jne 0x140104e3f
cmp byte [r13 + rdx], 0xbf
jle 0x1401052ae
cmp ebx, edx
ja 0x1401052c6
cmp r12, rdx
jb 0x1401052d2
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, [0x14018bf1a]
mov qword [rsp + 0x80], rax
lea rax, [0x14018bf1b]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x60], 1
jne 0x140104ef0
mov rsi, rdx
mov rcx, r8
mov rdx, r15
call fcn.14010b360
movzx r8d, byte [rsp + 0x37]
mov ebp, dword [rsp + 0x38]
mov r11, qword [rsp + 0x40]
jmp 0x140105118
cmp ebx, edx
jne 0x140104f89
mov r13, r9
mov rsi, rdx
mov r14, qword [rsp + 0x48]
cmp qword [r14], r12
je 0x1401051f2
mov rdx, qword [r14 + 8]
lea rcx, [rdx + rsi]
inc rcx
add rdx, rsi
mov r8, r10
call fcn.140120b90
mov qword [rsp + 0x70], r13
mov rcx, qword [r14 + 0x10]
lea rax, [0x14018bf1a]
cmp rcx, r13
movzx r8d, byte [rsp + 0x37]
mov ebp, dword [rsp + 0x38]
mov r11, qword [rsp + 0x40]
je 0x140104fbf
mov rax, rsi
sub rax, rcx
add rcx, qword [r14 + 8]
inc rax
xor r10d, r10d
lea rdx, [0x14018bf1a]
cmp r10, 1
je 0x140105118
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 0x140104f5d
lea rax, [r9 + rdx]
inc rax
jmp 0x140104fb7
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 0x140105118
mov qword [rsp + 0x80], rax
lea r14, [0x14018bf1a]
sub r14, rax
inc r14
js 0x1401052e4
je 0x14010501c
movzx eax, byte [0x14019f308]
xor ecx, ecx
mov rdx, r14
call fcn.1400e7f40
test rax, rax
jne 0x140105024
mov ecx, 1
mov rdx, r14
call fcn.1401216a0
mov r8d, 2
mov r13, qword [rsp + 0x48]
mov rcx, r13
mov r15, r9
mov rdx, r12
call fcn.1401216e0
mov r9, r15
mov r13, qword [r13 + 8]
jmp 0x140104da0
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.14010b360
mov r8, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xb0]
test r13, r13
je 0x1401050e7
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 0x14010521d
lea r15, [r12 + r13]
mov rcx, qword [rbp + 8]
lea rdx, [rcx + r12]
add rcx, r15
call fcn.140120b90
mov qword [rsp + 0x70], r15
mov rax, qword [rbp + 0x10]
cmp rax, r15
mov r8, qword [rsp + 0xc0]
je 0x1401050e7
sub r12, rax
add rax, qword [rbp + 8]
add r12, r13
xor ecx, ecx
cmp r13, rcx
je 0x1401050e7
movzx edx, byte [r14 + rcx]
mov byte [rax + rcx], dl
inc qword [rbp + 0x10]
inc rcx
cmp r12, rcx
jne 0x1401050ce
test r8, r8
movzx r8d, byte [rsp + 0x37]
mov ebp, dword [rsp + 0x38]
mov r11, qword [rsp + 0x40]
je 0x140105118
mov rcx, qword [0x14019f258]
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 0x14010516b
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
lea r13, [rax + 0x10]
mov rbp, qword [rax + 0x10]
cmp rdx, rbp
je 0x140105160
mov rcx, qword [rax + 8]
add rdx, rcx
add rcx, rbp
mov r8, r12
call fcn.140120b90
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 0x1401051a8
cmp r12, rcx
jbe 0x1401051a6
cmp byte [r13 + rcx], 0xbf
jg 0x1401051a8
mov r8, rcx
lea rax, [0x14018bb08]
jmp 0x140105270
jne 0x140105197
mov rsi, rdx
sub r12, rcx
cmp r12, 3
jb 0x140104b8b
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 0x140104c8d
lea rcx, [0x14018bb23]
lea r8, [0x14018bb78]
mov edx, 0x4f
call fcn.140121b80
mov qword [rsp + 0x20], 1
mov r8d, 1
mov r9d, 1
mov rcx, r14
mov rdx, r12
mov r12, r10
call fcn.140128e10
mov r10, r12
jmp 0x140104f0c
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rbp
mov qword [rsp + 0xb8], r8
mov r8, r13
call fcn.140128e10
mov r8, qword [rsp + 0xb8]
jmp 0x140105098
mov r8, rax
lea rax, [0x14018bac8]
mov qword [rsp + 0x20], rax
mov rcx, r13
mov rdx, r12
call fcn.1401220d0
mov r8, rax
lea rax, [0x14018bbc0]
mov qword [rsp + 0x20], rax
mov rcx, r13
mov rdx, r12
mov r9, r12
call fcn.1401220d0
lea r8, [0x14018bae8]
mov rcx, rsi
mov rdx, r12
call fcn.140121a60
mov qword [rsp + 0x58], 0
add r13, rdx
lea rdx, [rsp + 0x58]
mov rcx, r13
call fcn.14012baa0
lea rcx, str.assertion_failed:_self.is_char_boundary_n__rustc_636d7ff91b9847d6d43c7bbe023568828f6e3246library_alloc_src_string.rs
lea r8, [0x14018c098]
mov edx, 0x2a
call fcn.140121b80
lea r8, str._rustc_636d7ff91b9847d6d43c7bbe023568828f6e3246library_alloc_src_vecmod.rs
call fcn.140121eb0
lea r8, str._rustc_636d7ff91b9847d6d43c7bbe023568828f6e3246library_alloc_src_vecmod.rs
mov rcx, rdx
mov rdx, r12
call fcn.140121b10
xor ecx, ecx
mov rdx, r14
call fcn.1401216a0
int3