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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r13, r9
mov r9, r8
mov r10, rdx
mov r15, rcx
lea rdx, [0x140106190]
mov eax, 5
mov r12, qword [rbp + 0x7f]
mov rbx, qword [rbp + 0x67]
mov rcx, qword [0x140106190]
cmp rcx, rdx
je 0x1400896ca
test byte [rcx + 0x1c], 1
je 0x1400896ca
cmp byte [rcx + 0x19], al
jb 0x1400896ca
mov r11, qword [rbp + 0x97]
mov rax, qword [r11 + 0x10]
lea r8, str._NULL_
mov rdx, r8
test r12, r12
cmovne rdx, r12
test rbx, rbx
cmovne r8, rbx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], r11
mov eax, dword [rbp + 0x8f]
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x50], rdx
mov rax, qword [rbp + 0x77]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x6f]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r10
mov r9, r15
mov rcx, qword [rcx + 0x10]
call fcn.140084c98
mov rax, qword [0x140108fd0]
lea rcx, [0x140108fd0]
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
add rax, 0x18
mov qword [rbp - 0x29], rax
mov ecx, 0x60
call fcn.1400cb8b8
mov rsi, rax
mov qword [rbp - 0x19], rax
xor edi, edi
mov eax, 0x8007000e
test rsi, rsi
cmove edi, eax
mov r14d, 2
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x140089758
test byte [rcx + 0x1c], r14b
je 0x140089758
movzx edx, byte [rcx + 0x19]
mov eax, r14d
test edi, edi
lea r8d, [r14 + 3]
cmovns eax, r8d
cmp edx, eax
jl 0x140089758
lea edx, [r14 + 0x59]
mov qword [rsp + 0x20], rsi
mov r9d, edi
lea r8, [0x1400e7258]
mov rcx, qword [rcx + 0x10]
call fcn.14000acd0
test edi, edi
js 0x140089ca4
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 + 0x8f]
mov dword [rsp + 0x28], eax
mov rax, qword [r15 + 0x18]
mov qword [rsp + 0x20], rax
mov r9, r13
mov r8, qword [rbp + 0x57]
mov rdx, qword [r15 + 0x10]
mov rcx, qword [rbp + 0x4f]
call fcn.1400890a8
mov edi, eax
xor r13d, r13d
test eax, eax
js 0x140089ca4
test rbx, rbx
je 0x1400897e5
cmp r13w, word [rbx]
je 0x1400897e5
lea edx, [r13 + 0x2e]
lea rcx, [rbp - 0x29]
call fcn.140023fc8
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], r13w
jne 0x1400897c7
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140004588
jmp 0x1400898a5
mov rax, qword [0x140108fd0]
lea rcx, [0x140108fd0]
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
add rax, 0x18
mov qword [rbp - 0x11], rax
lea r8, [rbp - 0x11]
mov rdx, qword [r15]
lea rcx, [0x140109720]
call fcn.140063ff0
cmp al, 1
jne 0x14008987c
lea r8, [0x1400ddd60]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x11]
call fcn.140034020
nop
mov rbx, qword [rbp - 9]
cmp dword [rbx - 0x10], r13d
je 0x14008985a
mov edx, 0x2e
lea rcx, [rbp - 0x29]
call fcn.140023fc8
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140004588
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008987c
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
nop
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400898a1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
mov rsi, qword [rbp - 0x19]
test r12, r12
je 0x1400898d5
mov edx, 0x3f
lea rcx, [rbp - 0x29]
call fcn.140023fc8
or rax, 0xffffffffffffffff
inc rax
cmp word [r12 + rax*2], r13w
jne 0x1400898bc
mov r8d, eax
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.140004588
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 rbx, [0x140106190]
cmp rcx, rbx
je 0x14008993c
test byte [rcx + 0x1c], r14b
je 0x14008993c
movzx edx, byte [rcx + 0x19]
mov eax, r14d
test edi, edi
mov r9d, 5
cmovns eax, r9d
cmp edx, eax
jl 0x14008993c
lea edx, [r9 + 0x57]
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400e7258]
mov rcx, qword [rcx + 0x10]
call fcn.14000a51c
test edi, edi
js 0x140089ca4
mov rax, qword [0x140108fd0]
lea rcx, [0x140108fd0]
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.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 0x140089986
lea rcx, [rbp - 0x21]
call fcn.140004ef4
mov rbx, qword [rbp + 0x6f]
test rbx, rbx
jne 0x140089994
mov eax, r13d
jmp 0x1400899a2
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], r13w
jne 0x140089998
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.140004588
mov r8d, 3
lea rdx, [0x1400e6538]
lea rcx, [rbp - 0x21]
call fcn.140004588
mov rdx, qword [r15]
test rdx, rdx
jne 0x1400899d4
mov eax, r13d
jmp 0x1400899e2
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], r13w
jne 0x1400899d8
mov r8d, eax
lea rcx, [rbp - 0x21]
call fcn.140004588
mov edx, 0x3a
lea rcx, [rbp - 0x21]
call fcn.140023fc8
mov r12, qword [rbp + 0x77]
test r12, r12
jne 0x140089a0a
mov eax, r13d
jmp 0x140089a18
or rax, 0xffffffffffffffff
inc rax
cmp word [r12 + rax*2], r13w
jne 0x140089a0e
mov r8d, eax
mov rdx, r12
lea rcx, [rbp - 0x21]
call fcn.140004588
mov qword [rsp + 0x20], r12
mov r9, qword [r15]
mov r8, rbx
lea rdx, str._ls::_ls:_ls
lea rcx, [rbp - 0x21]
call fcn.140008d6c
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 rax, [0x140106190]
mov r12d, 5
cmp rcx, rax
je 0x140089aaf
test byte [rcx + 0x1c], r14b
je 0x140089aaf
movzx edx, byte [rcx + 0x19]
mov eax, r14d
test edi, edi
cmovns eax, r12d
cmp edx, eax
jl 0x140089aaf
lea edx, [r12 + 0x58]
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400e7258]
mov rcx, qword [rcx + 0x10]
call fcn.14000a51c
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140089ad0
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
mov rsi, qword [rbp - 0x19]
test edi, edi
js 0x140089ca4
mov rcx, qword [r15 + 0x20]
test rcx, rcx
je 0x140089b59
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r13w
jne 0x140089ae9
test rax, rax
je 0x140089b59
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r8, rax
mov qword [rsi + 0x30], rax
test rax, rax
mov eax, 0x8007000e
cmove edi, eax
mov rcx, qword [0x140106190]
lea rbx, [0x140106190]
cmp rcx, rbx
je 0x140089b60
test byte [rcx + 0x1c], r14b
je 0x140089b60
movzx edx, byte [rcx + 0x19]
mov eax, r14d
test edi, edi
cmovns eax, r12d
cmp edx, eax
jl 0x140089b60
mov edx, 0x5e
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400e7258]
mov rcx, qword [rcx + 0x10]
call fcn.14000a51c
jmp 0x140089b60
lea rbx, [0x140106190]
test edi, edi
js 0x140089ca4
mov rcx, qword [r15 + 0x30]
test rcx, rcx
je 0x140089bdc
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r13w
jne 0x140089b75
test rax, rax
je 0x140089bdc
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r8, rax
mov qword [rsi + 0x10], rax
test rax, rax
mov eax, 0x8007000e
cmove edi, eax
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x140089bdc
test byte [rcx + 0x1c], r14b
je 0x140089bdc
movzx edx, byte [rcx + 0x19]
mov eax, r14d
test edi, edi
cmovns eax, r12d
cmp edx, eax
jl 0x140089bdc
mov edx, 0x5f
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400e7258]
mov rcx, qword [rcx + 0x10]
call fcn.14000a51c
test edi, edi
js 0x140089ca4
mov rax, qword [r15 + 0x38]
mov qword [rsi + 8], rax
mov eax, dword [r15 + 0x40]
mov dword [rsi + 0x18], eax
mov eax, dword [r15 + 0x48]
mov dword [rsi + 0x1c], eax
mov eax, dword [r15 + 0x4c]
mov dword [rsi + 0x20], eax
mov eax, dword [r15 + 0x50]
mov dword [rsi + 0x38], eax
mov eax, dword [r15 + 0x54]
mov dword [rsi + 0x3c], eax
mov eax, dword [r15 + 0x58]
mov dword [rsi + 0x40], eax
mov eax, dword [r15 + 0x5c]
mov dword [rsi + 0x44], eax
lea rbx, [r15 + 0x70]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [0x1400e7ba0]
mov rcx, rbx
call sub.msvcrt.dll_memcmp
lea rcx, [r15 + 0x60]
test eax, eax
cmovne rcx, rbx
movups xmm0, xmmword [rcx]
movdqu xmmword [rsi + 0x48], xmm0
mov eax, dword [rbp + 0x87]
mov dword [rsi + 0x58], eax
test eax, eax
je 0x140089c8b
or dword [rsp + 0x28], 0xffffffff
lea rax, str.video_mpeg
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
mov r8, qword [r15]
lea edx, [r9 + 2]
lea ecx, [rdx + 0x7e]
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, r14d
jne 0x140089c8b
mov eax, dword [r15 + 0x88]
mov dword [rsi + 0x5c], eax
jmp 0x140089c8f
mov dword [rsi + 0x5c], r13d
lea rdx, [rbp - 0x19]
mov rbx, qword [rbp + 0x97]
mov rcx, rbx
call fcn.14009aa70
jmp 0x140089cdb
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 + 0x97]
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x140089d2a
test byte [rcx + 0x1c], 1
je 0x140089d2a
movzx eax, byte [rcx + 0x19]
test edi, edi
mov edx, 5
cmovns r14d, edx
cmp eax, r14d
jl 0x140089d2a
mov rax, qword [rbx + 0x10]
mov edx, 0x60
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [0x1400e7258]
mov rcx, qword [rcx + 0x10]
call fcn.14000acd0
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140089d4f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
mov eax, edi
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret