Function at 0x140081534
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, [0x1400f3190]
mov r15, qword [rbp + 0x6f]
mov rbx, qword [rbp + 0x57]
mov rcx, qword [0x1400f3190]
cmp rcx, rax
je 0x1400815fd
test byte [rcx + 0x1c], 1
je 0x1400815fd
cmp byte [rcx + 0x19], 5
jb 0x1400815fd
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.14007d410
mov rax, qword [0x1400f6030]
lea rcx, [0x1400f6030]
mov rax, qword [rax + 0x18]
call qword [str.__f_]
add rax, 0x18
mov qword [rbp - 0x29], rax
mov ecx, 0x60
call fcn.1400c065c
mov rsi, rax
mov qword [rbp - 0x19], rax
xor edi, edi
mov eax, 0x8007000e
test rsi, rsi
cmove edi, eax
mov rcx, qword [0x1400f3190]
lea rax, [0x1400f3190]
cmp rcx, rax
je 0x140081684
test byte [rcx + 0x1c], 2
je 0x140081684
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x140081684
mov edx, 0x4d
mov qword [rsp + 0x20], rsi
mov r9d, edi
lea r8, [0x1400d8668]
mov rcx, qword [rcx + 0x10]
call fcn.14000aa98
test edi, edi
js 0x140081bcf
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.140080fc4
mov edi, eax
xor r12d, r12d
test eax, eax
js 0x140081bcf
test rbx, rbx
je 0x140081711
cmp r12w, word [rbx]
je 0x140081711
lea edx, [r12 + 0x2e]
lea rcx, [rbp - 0x29]
call fcn.14001f210
or r13, 0xffffffffffffffff
mov rax, r13
inc rax
cmp word [rbx + rax*2], r12w
jne 0x1400816f3
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140004638
jmp 0x1400817de
mov rax, qword [0x1400f6030]
lea rcx, [0x1400f6030]
mov rax, qword [rax + 0x18]
call qword [str.__f_]
add rax, 0x18
mov qword [rbp - 0x11], rax
lea r8, [rbp - 0x11]
mov rdx, qword [r14]
lea rcx, [0x1400f67c0]
call fcn.14005bbdc
cmp al, 1
jne 0x1400817af
lea r8, [0x1400cf170]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x11]
call fcn.14002de48
nop
mov rbx, qword [rbp - 9]
cmp dword [rbx - 0x10], r12d
je 0x140081786
mov edx, 0x2e
lea rcx, [rbp - 0x29]
call fcn.14001f210
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140004638
nop
lea rdx, [rbx - 0x18]
or r13, 0xffffffffffffffff
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1400817b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.__f_]
jmp 0x1400817b3
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 0x1400817da
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.__f_]
mov rsi, qword [rbp - 0x19]
test r15, r15
je 0x14008180d
mov edx, 0x3f
lea rcx, [rbp - 0x29]
call fcn.14001f210
mov rax, r13
inc rax
cmp word [r15 + rax*2], r12w
jne 0x1400817f4
mov r8d, eax
mov rdx, r15
lea rcx, [rbp - 0x29]
call fcn.140004638
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 [0x1400f3190]
lea r15, [0x1400f3190]
cmp rcx, r15
je 0x140081871
test byte [rcx + 0x1c], 2
je 0x140081871
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x140081871
mov edx, 0x4e
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400d8668]
mov rcx, qword [rcx + 0x10]
call fcn.14000a6a4
test edi, edi
js 0x140081bd6
mov rax, qword [0x1400f6030]
lea rcx, [0x1400f6030]
mov rax, qword [rax + 0x18]
call qword [str.__f_]
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 0x1400818bb
lea rcx, [rbp - 0x21]
call fcn.140004f6c
mov rbx, qword [rbp + 0x5f]
test rbx, rbx
jne 0x1400818c9
mov eax, r12d
jmp 0x1400818d6
mov rax, r13
inc rax
cmp word [rbx + rax*2], r12w
jne 0x1400818cc
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.140004638
lea rdx, [0x1400d7968]
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x1400818ef
mov r8d, eax
lea rcx, [rbp - 0x21]
call fcn.140004638
mov rdx, qword [r14]
test rdx, rdx
jne 0x140081912
mov eax, r12d
jmp 0x14008191f
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140081915
mov r8d, eax
lea rcx, [rbp - 0x21]
call fcn.140004638
mov edx, 0x3a
lea rcx, [rbp - 0x21]
call fcn.14001f210
mov r15, qword [rbp + 0x67]
test r15, r15
jne 0x140081947
mov eax, r12d
jmp 0x140081954
mov rax, r13
inc rax
cmp word [r15 + rax*2], r12w
jne 0x14008194a
mov r8d, eax
mov rdx, r15
lea rcx, [rbp - 0x21]
call fcn.140004638
mov qword [rsp + 0x20], r15
mov r9, qword [r14]
mov r8, rbx
lea rdx, str._ls::_ls:_ls
lea rcx, [rbp - 0x21]
call fcn.140008fe8
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 [0x1400f3190]
lea r15, [0x1400f3190]
cmp rcx, r15
je 0x1400819e7
test byte [rcx + 0x1c], 2
je 0x1400819e7
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x1400819e7
mov edx, 0x4f
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400d8668]
mov rcx, qword [rcx + 0x10]
call fcn.14000a6a4
nop
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140081a0a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.__f_]
mov rsi, qword [rbp - 0x19]
test edi, edi
js 0x140081bd6
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x140081a8d
mov rax, r13
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140081a22
test rax, rax
je 0x140081a8d
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 [0x1400f3190]
cmp rcx, r15
je 0x140081a92
test byte [rcx + 0x1c], 2
je 0x140081a92
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x140081a92
mov edx, 0x50
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400d8668]
mov rcx, qword [rcx + 0x10]
call fcn.14000a6a4
jmp 0x140081a92
mov ebx, 0x8007000e
test edi, edi
js 0x140081bd6
mov rcx, qword [r14 + 0x30]
test rcx, rcx
je 0x140081b0a
mov rax, r13
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140081aa6
test rax, rax
je 0x140081b0a
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r8, rax
mov qword [rsi + 0x10], rax
test rax, rax
cmove edi, ebx
mov rcx, qword [0x1400f3190]
cmp rcx, r15
je 0x140081b0a
test byte [rcx + 0x1c], 2
je 0x140081b0a
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x140081b0a
mov edx, 0x51
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400d8668]
mov rcx, qword [rcx + 0x10]
call fcn.14000a6a4
test edi, edi
js 0x140081bd6
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, [0x1400cbed0]
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 0x140081bb6
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 0x140081bb6
mov eax, dword [r14 + 0x88]
mov dword [rsi + 0x5c], eax
jmp 0x140081bba
mov dword [rsi + 0x5c], r12d
lea rdx, [rbp - 0x19]
mov rbx, qword [rbp + 0x87]
mov rcx, rbx
call fcn.14009234c
jmp 0x140081c11
lea r15, [0x1400f3190]
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 [0x1400f3190]
cmp rcx, r15
je 0x140081c58
test byte [rcx + 0x1c], 1
je 0x140081c58
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x140081c58
mov rax, qword [rbx + 0x10]
mov edx, 0x52
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [0x1400d8668]
mov rcx, qword [rcx + 0x10]
call fcn.14000aa98
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 0x140081c7f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.__f_]
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