Function at 0x140089364
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [r11 - 0x2f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov r12, r9
mov r13, r8
mov r9, rdx
mov r14, rcx
lea rax, [0x140106190]
mov r15, qword [rbp + 0x6f]
mov rbx, qword [rbp + 0x57]
mov rcx, qword [0x140106190]
cmp rcx, rax
je 0x14008942d
test byte [rcx + 0x1c], 1
je 0x14008942d
cmp byte [rcx + 0x19], 5
jb 0x14008942d
mov r10, qword [rbp + 0x87]
mov rax, qword [r10 + 0x10]
lea r8, str._NULL_
mov rdx, r8
test r15, r15
cmovne rdx, r15
test rbx, rbx
cmovne r8, rbx
mov qword [r11 - 0x60], rax
mov qword [r11 - 0x68], r10
mov eax, dword [rbp + 0x7f]
mov dword [rsp + 0x58], eax
mov qword [r11 - 0x78], rdx
mov rax, qword [rbp + 0x67]
mov qword [r11 - 0x80], rax
mov rax, qword [rbp + 0x5f]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r9
mov r9, r14
mov rcx, qword [rcx + 0x10]
call fcn.140084a90
mov rax, qword [str.Xr_r_]
lea rcx, str.Xr_r_
mov rax, qword [rax + 0x18]
call qword [case.0x14006d218.0]
add rax, 0x18
mov qword [rbp - 0x29], rax
mov ecx, 0x60
call fcn.1400cbc5c
mov rsi, rax
mov qword [rbp - 0x19], rax
xor edi, edi
mov eax, 0x8007000e
test rsi, rsi
cmove edi, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x1400894b4
test byte [rcx + 0x1c], 2
je 0x1400894b4
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x1400894b4
mov edx, 0x5b
mov qword [rsp + 0x20], rsi
mov r9d, edi
lea r8, str._e._n8
mov rcx, qword [rcx + 0x10]
call fcn.14000a9bc
test edi, edi
js 0x1400899ff
xor edx, edx
lea r8d, [rdx + 0x60]
mov rcx, rsi
call sub.msvcrt.dll_memset
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x7f]
mov dword [rsp + 0x28], eax
mov rax, qword [r14 + 0x18]
mov qword [rsp + 0x20], rax
mov r9, r12
mov r8, r13
mov rdx, qword [r14 + 0x10]
mov rcx, qword [rbp + 0x3f]
call fcn.140088dfc
mov edi, eax
xor r12d, r12d
test eax, eax
js 0x1400899ff
test rbx, rbx
je 0x140089541
cmp r12w, word [rbx]
je 0x140089541
lea edx, [r12 + 0x2e]
lea rcx, [rbp - 0x29]
call fcn.140023598
or r13, 0xffffffffffffffff
mov rax, r13
inc rax
cmp word [rbx + rax*2], r12w
jne 0x140089523
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.1400044f8
jmp 0x14008960e
mov rax, qword [str.Xr_r_]
lea rcx, str.Xr_r_
mov rax, qword [rax + 0x18]
call qword [case.0x14006d218.0]
add rax, 0x18
mov qword [rbp - 0x11], rax
lea r8, [rbp - 0x11]
mov rdx, qword [r14]
lea rcx, [0x1401097c0]
call fcn.140062a34
cmp al, 1
jne 0x1400895df
lea r8, [0x1400dd3e0]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x11]
call fcn.140033658
nop
mov rbx, qword [rbp - 9]
cmp dword [rbx - 0x10], r12d
je 0x1400895b6
mov edx, 0x2e
lea rcx, [rbp - 0x29]
call fcn.140023598
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.1400044f8
nop
lea rdx, [rbx - 0x18]
or r13, 0xffffffffffffffff
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1400895e3
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
jmp 0x1400895e3
or r13, 0xffffffffffffffff
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14008960a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
mov rsi, qword [rbp - 0x19]
test r15, r15
je 0x14008963d
mov edx, 0x3f
lea rcx, [rbp - 0x29]
call fcn.140023598
mov rax, r13
inc rax
cmp word [r15 + rax*2], r12w
jne 0x140089624
mov r8d, eax
mov rdx, r15
lea rcx, [rbp - 0x29]
call fcn.1400044f8
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r8, rax
mov qword [rsi], rax
test rax, rax
mov eax, 0x8007000e
cmove edi, eax
mov rcx, qword [0x140106190]
lea r15, [0x140106190]
cmp rcx, r15
je 0x1400896a1
test byte [rcx + 0x1c], 2
je 0x1400896a1
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x1400896a1
mov edx, 0x5c
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, str._e._n8
mov rcx, qword [rcx + 0x10]
call fcn.14000a238
test edi, edi
js 0x140089a06
mov rax, qword [str.Xr_r_]
lea rcx, str.Xr_r_
mov rax, qword [rax + 0x18]
call qword [case.0x14006d218.0]
add rax, 0x18
mov qword [rbp - 0x21], rax
mov r8d, 1
sub r8d, dword [rax - 8]
mov ecx, dword [rax - 0xc]
mov edx, 0x80
sub ecx, edx
or ecx, r8d
jge 0x1400896eb
lea rcx, [rbp - 0x21]
call fcn.140004de0
mov rbx, qword [rbp + 0x5f]
test rbx, rbx
jne 0x1400896f9
mov eax, r12d
jmp 0x140089706
mov rax, r13
inc rax
cmp word [rbx + rax*2], r12w
jne 0x1400896fc
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.1400044f8
lea rdx, [0x1400e5c28]
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x14008971f
mov r8d, eax
lea rcx, [rbp - 0x21]
call fcn.1400044f8
mov rdx, qword [r14]
test rdx, rdx
jne 0x140089742
mov eax, r12d
jmp 0x14008974f
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140089745
mov r8d, eax
lea rcx, [rbp - 0x21]
call fcn.1400044f8
mov edx, 0x3a
lea rcx, [rbp - 0x21]
call fcn.140023598
mov r15, qword [rbp + 0x67]
test r15, r15
jne 0x140089777
mov eax, r12d
jmp 0x140089784
mov rax, r13
inc rax
cmp word [r15 + rax*2], r12w
jne 0x14008977a
mov r8d, eax
mov rdx, r15
lea rcx, [rbp - 0x21]
call fcn.1400044f8
mov qword [rsp + 0x20], r15
mov r9, qword [r14]
mov r8, rbx
lea rdx, str._ls::_ls:_ls
lea rcx, [rbp - 0x21]
call fcn.140008b90
mov rbx, qword [rbp - 0x21]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r8, rax
mov qword [rsi + 0x28], rax
test rax, rax
mov eax, 0x8007000e
cmove edi, eax
mov rcx, qword [0x140106190]
lea r15, [0x140106190]
cmp rcx, r15
je 0x140089817
test byte [rcx + 0x1c], 2
je 0x140089817
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x140089817
mov edx, 0x5d
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, str._e._n8
mov rcx, qword [rcx + 0x10]
call fcn.14000a238
nop
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14008983a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
mov rsi, qword [rbp - 0x19]
test edi, edi
js 0x140089a06
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x1400898bd
mov rax, r13
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140089852
test rax, rax
je 0x1400898bd
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r8, rax
mov qword [rsi + 0x30], rax
test rax, rax
mov ebx, 0x8007000e
cmove edi, ebx
mov rcx, qword [0x140106190]
cmp rcx, r15
je 0x1400898c2
test byte [rcx + 0x1c], 2
je 0x1400898c2
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x1400898c2
mov edx, 0x5e
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, str._e._n8
mov rcx, qword [rcx + 0x10]
call fcn.14000a238
jmp 0x1400898c2
mov ebx, 0x8007000e
test edi, edi
js 0x140089a06
mov rcx, qword [r14 + 0x30]
test rcx, rcx
je 0x14008993a
mov rax, r13
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1400898d6
test rax, rax
je 0x14008993a
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r8, rax
mov qword [rsi + 0x10], rax
test rax, rax
cmove edi, ebx
mov rcx, qword [0x140106190]
cmp rcx, r15
je 0x14008993a
test byte [rcx + 0x1c], 2
je 0x14008993a
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x14008993a
mov edx, 0x5f
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, str._e._n8
mov rcx, qword [rcx + 0x10]
call fcn.14000a238
test edi, edi
js 0x140089a06
mov rax, qword [r14 + 0x38]
mov qword [rsi + 8], rax
mov eax, dword [r14 + 0x40]
mov dword [rsi + 0x18], eax
mov eax, dword [r14 + 0x48]
mov dword [rsi + 0x1c], eax
mov eax, dword [r14 + 0x4c]
mov dword [rsi + 0x20], eax
mov eax, dword [r14 + 0x50]
mov dword [rsi + 0x38], eax
mov eax, dword [r14 + 0x54]
mov dword [rsi + 0x3c], eax
mov eax, dword [r14 + 0x58]
mov dword [rsi + 0x40], eax
mov eax, dword [r14 + 0x5c]
mov dword [rsi + 0x44], eax
lea rbx, [r14 + 0x70]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [0x1400da010]
mov rcx, rbx
call sub.msvcrt.dll_memcmp
lea rcx, [r14 + 0x60]
test eax, eax
cmovne rcx, rbx
movups xmm0, xmmword [rcx]
movdqu xmmword [rsi + 0x48], xmm0
mov eax, dword [rbp + 0x77]
mov dword [rsi + 0x58], eax
test eax, eax
je 0x1400899e6
mov dword [rsp + 0x28], r13d
lea rax, str.video_mpeg
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8, qword [r14]
mov edx, 1
lea ecx, [rdx + 0x7e]
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x1400899e6
mov eax, dword [r14 + 0x88]
mov dword [rsi + 0x5c], eax
jmp 0x1400899ea
mov dword [rsi + 0x5c], r12d
lea rdx, [rbp - 0x19]
mov rbx, qword [rbp + 0x87]
mov rcx, rbx
call fcn.14009ad30
jmp 0x140089a41
lea r15, [0x140106190]
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsi]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov rbx, qword [rbp + 0x87]
or r13, 0xffffffffffffffff
mov rcx, qword [0x140106190]
cmp rcx, r15
je 0x140089a8d
test byte [rcx + 0x1c], 1
je 0x140089a8d
mov r9d, edi
sar r9d, 0x1f
and r9d, 0xfffffffd
add r9d, 5
movzx eax, byte [rcx + 0x19]
cmp eax, r9d
jl 0x140089a8d
mov rax, qword [rbx + 0x10]
mov edx, 0x60
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, str._e._n8
mov rcx, qword [rcx + 0x10]
call fcn.14000a9bc
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140089ab4
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
mov eax, edi
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret