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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp + 0x2f], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov r13, r9
mov rbx, r8
mov r12, rdx
mov r14, rcx
xor esi, esi
lea r15d, [rsi + 2]
test byte [0x14010bc00], r15b
je 0x14009e749
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r9
mov r9, rbx
mov r8, rdx
lea rdx, [0x1400db238]
call fcn.1400859c8
lea rax, [0x140106190]
mov edx, 5
mov rcx, qword [0x140106190]
cmp rcx, rax
je 0x14009e78e
test byte [rcx + 0x1c], 1
je 0x14009e78e
cmp byte [rcx + 0x19], dl
jb 0x14009e78e
mov edx, 0x40
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov r9, r12
lea r8, [0x1400e6c98]
mov rcx, qword [rcx + 0x10]
call fcn.140020168
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x49], rsi
mov dword [rbp - 0x51], esi
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 - 0x59], rax
lea r9, [rbp - 0x31]
mov r8, r13
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.MFPlat.DLL_MFCreateAsyncResult]
mov edi, eax
mov r10, qword [0x140106190]
lea rbx, [0x140106190]
cmp r10, rbx
je 0x14009e81f
test byte [r10 + 0x1c], r15b
je 0x14009e81f
movzx r8d, byte [r10 + 0x19]
mov edx, r15d
test eax, eax
mov eax, 5
cmovns edx, eax
cmp r8d, edx
jb 0x14009e81f
lea edx, [rax + 0x3c]
mov r9d, edi
lea r8, [0x1400e6c98]
mov rcx, qword [r10 + 0x10]
call fcn.1400035ec
mov r10, qword [0x140106190]
test edi, edi
js 0x14009f0e3
mov rax, qword [r12]
lea r8, [rbp - 0x39]
lea rdx, [0x1400da628]
mov rcx, r12
mov rax, qword [rax]
call qword [case.0x14006d218.0]
mov edi, eax
mov r10, qword [0x140106190]
cmp r10, rbx
je 0x14009e894
test byte [r10 + 0x1c], r15b
je 0x14009e894
movzx ecx, byte [r10 + 0x19]
mov eax, r15d
test edi, edi
mov edx, 5
cmovns eax, edx
cmp ecx, eax
jb 0x14009e894
mov edx, 0x42
mov rax, qword [rbp - 0x39]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [0x1400e6c98]
mov rcx, qword [r10 + 0x10]
call fcn.14000a9bc
mov r10, qword [0x140106190]
test edi, edi
js 0x14009f0e3
lea r8, [rbp - 0x49]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, eax
test eax, eax
js 0x14009f0dc
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
lea r9, [rbp - 0x51]
mov r8d, 0x52
lea rdx, str.__xml_version_1.0____r_n_server_xmlns_urn:schemas_microsoft_com:WMPNSSRME_1_0____r_n
mov rax, qword [rax + 0x20]
call qword [case.0x14006d218.0]
mov edi, eax
test eax, eax
jns 0x14009e90f
mov r10, qword [0x140106190]
cmp r10, rbx
je 0x14009e916
test byte [r10 + 0x1c], r15b
je 0x14009e916
cmp byte [r10 + 0x19], r15b
jb 0x14009e916
mov edx, 0x43
mov r9d, eax
lea r8, [0x1400e6c98]
mov rcx, qword [r10 + 0x10]
call fcn.1400035ec
mov r10, qword [0x140106190]
mov r15d, dword [rbp - 0x51]
test edi, edi
js 0x14009f0e3
cmp qword [r14 + 0x90], rsi
je 0x14009eb7e
mov edx, esi
cmp dword [r14 + 0x98], esi
jbe 0x14009e957
mov r8, qword [r14 + 0x88]
mov eax, edx
mov rcx, qword [r8 + rax*8]
test rcx, rcx
jne 0x14009e95a
inc edx
cmp edx, dword [r14 + 0x98]
jb 0x14009e941
mov rcx, rsi
mov qword [rbp - 1], rcx
test rcx, rcx
je 0x14009eb7e
lea rdx, [rbp - 1]
lea rcx, [r14 + 0x88]
call fcn.140018ea8
mov rbx, qword [rax]
cmp dword [rbx + 8], esi
je 0x14009eb75
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, str._library__r_n_UDN_
lea rcx, [rbp - 0x59]
call fcn.1400044f8
lea rsi, [rbx + 0x10]
mov rax, qword [rsi]
cmp dword [rax - 0x10], 2
jle 0x14009ea14
mov r8d, 5
lea rdx, str.uuid:
lea rcx, [rbp - 0x59]
call fcn.1400044f8
mov rax, qword [rsi]
mov r9d, dword [rax - 0x10]
add r9d, 0xfffffffe
mov r8d, 1
lea rdx, [rbp + 0x27]
mov rcx, rsi
call fcn.1400045ac
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x59]
call fcn.1400044f8
nop
mov rdx, qword [rbp + 0x27]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor esi, esi
sub eax, 1
jg 0x14009ea16
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
jmp 0x14009ea16
xor esi, esi
mov r8d, reloc.OLEAUT32.dll_SafeArrayAccessData
lea rdx, str.__UDN__r_n_friendlyName_
lea rcx, [rbp - 0x59]
call fcn.1400044f8
mov r8, qword [rbx + 0x20]
mov rax, qword [rbp - 0x59]
mov dword [rsp + 0x20], esi
mov r9d, dword [r8 - 0x10]
mov edx, dword [rax - 0x10]
lea rcx, [rbp - 0x59]
call fcn.1400c7308
mov r8d, 0x50
lea rdx, str.__friendlyName__r_n_manufacturer_Microsoft_Corporation__manufacturer__r_n_modelName_
lea rcx, [rbp - 0x59]
call fcn.1400044f8
mov rdx, qword [rbx + 0x28]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x59]
call fcn.1400044f8
mov r8d, reloc.OLEAUT32.dll_DispGetParam
lea rdx, str.__modelName__r_n_modelNumber_
lea rcx, [rbp - 0x59]
call fcn.1400044f8
mov rdx, qword [rbx + 0x30]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x59]
call fcn.1400044f8
mov r8d, 0x1e
lea rdx, str.__modelNumber__r_n_serialNumber_
lea rcx, [rbp - 0x59]
call fcn.1400044f8
mov rdx, qword [rbx + 0x18]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x59]
call fcn.1400044f8
mov r8d, SafeArrayUnlock
lea rdx, str.__serialNumber__r_n
lea rcx, [rbp - 0x59]
call fcn.1400044f8
mov qword [rbp - 0x29], rsi
and qword [rbp - 0x21], 0
lea rdx, [rbp - 0x29]
mov rcx, qword [rbx]
call fcn.14001d698
test eax, eax
js 0x14009eb55
mov eax, dword [rbp - 0x21]
test eax, eax
jle 0x14009eb55
mov ebx, esi
mov r8d, reloc.WSOCK32.dll_inet_ntoa
lea rdx, str._remoteUrl_
lea rcx, [rbp - 0x59]
call fcn.1400044f8
test rsi, rsi
js 0x14009f1d4
cmp ebx, dword [rbp - 0x21]
jge 0x14009f1d4
mov rax, qword [rbp - 0x29]
mov rdx, qword [rax + rsi]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x59]
call fcn.1400044f8
mov r8d, SafeArrayDestroy
lea rdx, str.__remoteUrl__r_n
lea rcx, [rbp - 0x59]
call fcn.1400044f8
inc ebx
add rsi, 8
cmp ebx, dword [rbp - 0x21]
jl 0x14009eaf5
xor esi, esi
mov r8d, SafeArrayDestroy
lea rdx, str.__library__r_n
lea rcx, [rbp - 0x59]
call fcn.1400044f8
nop
lea rcx, [rbp - 0x29]
call fcn.14001817c
cmp qword [rbp - 1], rsi
jmp 0x14009e961
mov qword [rbp - 0x19], rsi
and qword [rbp - 0x11], 0
lea rcx, [rbp - 0x19]
call fcn.1400a1820
test eax, eax
js 0x14009ebf9
mov ebx, esi
cmp dword [rbp - 0x11], esi
jle 0x14009ebf9
mov r8d, 0xa
lea rdx, str._onlineID_
lea rcx, [rbp - 0x59]
call fcn.1400044f8
test rsi, rsi
js 0x14009f1df
cmp ebx, dword [rbp - 0x11]
jge 0x14009f1df
mov rax, qword [rbp - 0x19]
mov rdx, qword [rax + rsi]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x59]
call fcn.1400044f8
mov r8d, SafeArrayDestroy
lea rdx, str.__onlineID__r_n
lea rcx, [rbp - 0x59]
call fcn.1400044f8
inc ebx
add rsi, 8
cmp ebx, dword [rbp - 0x11]
jl 0x14009eb9b
lea rcx, [rbp - 0x19]
call fcn.14001817c
mov rax, qword [str.Xr_r_]
lea rcx, str.Xr_r_
mov rax, qword [rax + 0x18]
call qword [case.0x14006d218.0]
lea rbx, [rax + 0x18]
mov qword [rbp + 7], rbx
mov r14, qword [rbp - 0x59]
mov eax, dword [r14 - 0x10]
lea esi, [rax*2 + 1]
add esi, eax
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x14009ec53
mov edx, esi
lea rcx, [rbp + 7]
call fcn.140033e30
mov rbx, qword [rbp + 7]
xor ecx, ecx
test esi, esi
js 0x14009f1f5
cmp esi, dword [rbx - 0xc]
jg 0x14009f1f5
mov dword [rbx - 0x10], esi
movsxd rax, esi
mov byte [rax + rbx], cl
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
mov r9d, dword [r14 - 0x10]
mov r8, qword [rbp - 0x59]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
test eax, eax
jne 0x14009ecf2
cmp dword [r14 - 0x10], eax
je 0x14009ecf2
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
lea r14d, [rsi + 2]
cmp rcx, rax
je 0x14009ecf8
test byte [rcx + 0x1c], r14b
je 0x14009ecf8
cmp byte [rcx + 0x19], r14b
jb 0x14009ecf8
lea edx, [rsi + 0x44]
mov r9d, edi
lea r8, [0x1400e6c98]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
jmp 0x14009ecf8
mov r14d, 2
and dword [rbp - 0x51], 0
test edi, edi
js 0x14009ed92
cmp esi, 0xffffffff
jne 0x14009ed16
or rsi, 0xffffffffffffffff
inc rsi
cmp byte [rbx + rsi], 0
jne 0x14009ed0d
test esi, esi
js 0x14009f1ea
cmp esi, dword [rbx - 0xc]
jg 0x14009f1ea
mov dword [rbx - 0x10], esi
movsxd rax, esi
xor esi, esi
mov byte [rax + rbx], sil
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
lea r9, [rbp - 0x51]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x14006d218.0]
mov edi, eax
test eax, eax
jns 0x14009ed8c
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14009ed94
test byte [rcx + 0x1c], r14b
je 0x14009ed94
cmp byte [rcx + 0x19], r14b
jb 0x14009ed94
lea edx, [rsi + 0x45]
mov r9d, edi
lea r8, [0x1400e6c98]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
jmp 0x14009ed94
add r15d, dword [rbp - 0x51]
jmp 0x14009ed94
xor esi, esi
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14009edb5
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
test edi, edi
js 0x14009f0d5
mov dword [rbp - 0x51], esi
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
lea r9, [rbp - 0x51]
mov r8d, reloc.WSOCK32.dll_inet_ntoa
lea rdx, str.__server__r_n
mov rax, qword [rax + 0x20]
call qword [case.0x14006d218.0]
mov edi, eax
add r15d, dword [rbp - 0x51]
test eax, eax
js 0x14009f0d5
mov edx, r15d
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [case.0x14006d218.0]
mov edi, eax
test eax, eax
js 0x14009f0d5
cmp qword [rbp - 0x49], rsi
je 0x14009f009
mov qword [rbp - 9], rsi
mov qword [rbp - 0x41], rsi
lea rcx, [rbp - 0x41]
call qword [sym.imp.MFPlat.DLL_CreatePropertyStore]
mov edi, eax
mov r10, qword [0x140106190]
lea rbx, [0x140106190]
mov r15d, 5
cmp r10, rbx
je 0x14009ee84
test byte [r10 + 0x1c], r14b
je 0x14009ee84
movzx ecx, byte [r10 + 0x19]
mov eax, r14d
test edi, edi
cmovns eax, r15d
cmp ecx, eax
jb 0x14009ee84
lea edx, [r15 + 0x41]
mov rax, qword [rbp - 0x41]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [0x1400e6c98]
mov rcx, qword [r10 + 0x10]
call fcn.14000a9bc
mov r10, qword [0x140106190]
test edi, edi
js 0x14009efd4
xor eax, eax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x1f], rax
mov eax, 0x1f
mov word [rbp + 0xf], ax
lea rax, str.text_xml___charset_UTF_8_
mov qword [rbp + 0x17], rax
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
lea r8, [rbp + 0xf]
lea rdx, [0x1400da2e0]
mov rax, qword [rax + 0x30]
call qword [case.0x14006d218.0]
mov edi, eax
mov r10, qword [0x140106190]
cmp r10, rbx
je 0x14009ef14
test byte [r10 + 0x1c], r14b
je 0x14009ef14
movzx ecx, byte [r10 + 0x19]
mov eax, r14d
test edi, edi
cmovns eax, r15d
cmp ecx, eax
jb 0x14009ef14
mov edx, 0x47
mov rax, qword [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [0x1400e6c98]
mov rcx, qword [r10 + 0x10]
call fcn.14000a238
mov r10, qword [0x140106190]
test edi, edi
js 0x14009efd4
lea rdx, [rbp - 9]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.MFPlat.DLL_MFCreateMFByteStreamOnStream]
mov edi, eax
mov r10, qword [0x140106190]
cmp r10, rbx
je 0x14009ef6f
test byte [r10 + 0x1c], r14b
je 0x14009ef6f
movzx ecx, byte [r10 + 0x19]
mov eax, r14d
test edi, edi
cmovns eax, r15d
cmp ecx, eax
jb 0x14009ef6f
mov edx, 0x48
mov r9d, edi
lea r8, [0x1400e6c98]
mov rcx, qword [r10 + 0x10]
call fcn.1400035ec
mov r10, qword [0x140106190]
test edi, edi
js 0x14009efd4
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
mov r8, qword [rbp - 0x41]
mov rdx, qword [rbp - 9]
mov rax, qword [rax + 0x168]
call qword [case.0x14006d218.0]
mov edi, eax
mov r10, qword [0x140106190]
cmp r10, rbx
je 0x14009efd4
test byte [r10 + 0x1c], r14b
je 0x14009efd4
movzx ecx, byte [r10 + 0x19]
mov eax, r14d
test edi, edi
cmovns eax, r15d
cmp ecx, eax
jb 0x14009efd4
mov edx, 0x49
mov r9d, edi
lea r8, [0x1400e6c98]
mov rcx, qword [r10 + 0x10]
call fcn.1400035ec
mov r10, qword [0x140106190]
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x14009eff1
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
mov r10, qword [0x140106190]
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14009f017
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
jmp 0x14009f010
lea rbx, [0x140106190]
mov r10, qword [0x140106190]
test edi, edi
js 0x14009f0e3
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
mov edx, edi
mov rax, qword [rax + 0x28]
call qword [case.0x14006d218.0]
mov edi, eax
mov r10, qword [0x140106190]
mov r15d, 5
cmp r10, rbx
je 0x14009f07c
test byte [r10 + 0x1c], r14b
je 0x14009f07c
movzx ecx, byte [r10 + 0x19]
mov eax, r14d
test edi, edi
cmovns eax, r15d
cmp ecx, eax
jb 0x14009f07c
lea edx, [r15 + 0x45]
mov r9d, edi
lea r8, [0x1400e6c98]
mov rcx, qword [r10 + 0x10]
call fcn.1400035ec
mov r10, qword [0x140106190]
test edi, edi
js 0x14009f0e3
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.MFPlat.DLL_MFInvokeCallback]
mov edi, eax
mov r10, qword [0x140106190]
cmp r10, rbx
je 0x14009f121
test byte [r10 + 0x1c], r14b
je 0x14009f0e3
movzx ecx, byte [r10 + 0x19]
mov eax, r14d
test edi, edi
cmovns eax, r15d
cmp ecx, eax
jb 0x14009f0e3
mov edx, 0x4b
mov r9d, edi
lea r8, [0x1400e6c98]
mov rcx, qword [r10 + 0x10]
call fcn.1400035ec
mov r10, qword [0x140106190]
jmp 0x14009f0e9
lea rbx, [0x140106190]
mov r10, qword [0x140106190]
mov r15d, 5
cmp r10, rbx
je 0x14009f121
test byte [r10 + 0x1c], 1
je 0x14009f121
mov ecx, edi
sar ecx, 0x1f
and ecx, 0xfffffffd
add ecx, r15d
movzx eax, byte [r10 + 0x19]
cmp eax, ecx
jl 0x14009f121
mov edx, 0x4c
mov r9d, edi
lea r8, [0x1400e6c98]
mov rcx, qword [r10 + 0x10]
call fcn.1400035ec
test byte [0x14010bc00], 2
je 0x14009f147
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r13
mov r9, qword [rbp + 0x77]
mov r8, r12
lea rdx, [0x1400db228]
call fcn.1400859c8
nop
mov rdx, qword [rbp - 0x59]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14009f16d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
nop
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14009f184
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14009f19b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14009f1b1
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
mov eax, edi
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0xc000008c
call fcn.140004f50
nop
mov ecx, 0xc000008c
call fcn.140004f50
nop
mov ecx, 0x80070057
call fcn.140004f64
int3
mov ecx, 0x80070057
call fcn.140004f64
int3