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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0xd0
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x140210348]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x80], r8
mov rbp, rdx
mov qword [rsp + 0x40], rdx
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x50], rdi
mov rbx, r8
mov dword [rsp + 0x20], edi
lea rcx, [r11 - 0x30]
lea rdx, [0x140000000]
mov rax, qword [rdx + 0x1acbd0]
mov qword [rcx], rax
mov rax, qword [rdx + 0x1acbd8]
mov qword [rcx + 8], rax
test rbp, rbp
jne 0x14005d9e6
xor eax, eax
jmp 0x14005e15e
mov rax, qword [rbp]
lea rdx, [rsp + 0x78]
mov rcx, rbp
call qword [rax + 0x30]
test eax, eax
jns 0x14005da00
xor eax, eax
jmp 0x14005e15e
mov rax, qword [rbp]
lea rdx, [rsp + 0xb8]
mov rcx, rbp
call qword [rax + 0x38]
test eax, eax
jns 0x14005da1d
xor eax, eax
jmp 0x14005e15e
mov rax, qword [rbp]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [rax + 0x20]
test eax, eax
jns 0x14005da37
xor eax, eax
jmp 0x14005e15e
lea rcx, [rsi + 0x180]
mov edx, 1
call fcn.1401555d4
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14005e15e
mov eax, dword [rsp + 0x78]
test eax, eax
jne 0x14005db55
mov qword [rsp + 0x60], rdi
mov ebp, edi
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
lea rdx, [0x1401acc10]
call qword [rax]
test eax, eax
jns 0x14005da8a
xor eax, eax
jmp 0x14005e15e
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rsp + 0x88]
call qword [rax + 0x18]
mov edi, eax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14005dab4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x60], rbp
test edi, edi
jns 0x14005dabf
xor eax, eax
jmp 0x14005e15e
mov r8, rbx
test rbx, rbx
je 0x14005dae7
lea rdi, [0x14019cf88]
mov rsi, qword [rbx + 8]
mov edx, 1
mov rcx, rdx
repe cmpsw word [rsi], word [rdi]
cmovne ebp, edx
mov rsi, qword [rsp + 0x48]
jmp 0x14005daec
mov edx, 1
mov eax, dword [rsp + 0x88]
cmp eax, 4
je 0x14005db05
cmp eax, 3
je 0x14005db05
test ebp, ebp
je 0x14005e01f
test r8, r8
je 0x14005db4b
lea rdi, [0x14019cf88]
mov rsi, qword [r8 + 8]
mov rcx, rdx
repe cmpsw word [rsi], word [rdi]
jne 0x14005db31
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x10]
mov rcx, r8
call fcn.1400df100
mov r8, rbx
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + 0x16c], 0
je 0x14005db4b
mov edx, dword [rsp + 0x20]
mov rcx, r8
call fcn.1400df040
mov eax, 1
jmp 0x14005e15e
cmp eax, 1
jne 0x14005e024
mov dword [rsp + 0x34], edi
mov rax, qword [rbp]
lea rdx, [rsp + 0x34]
mov rcx, rbp
call qword [rax + 0x40]
test eax, eax
jns 0x14005db7c
xor eax, eax
jmp 0x14005e15e
mov ecx, edi
mov dword [rsp + 0x58], ecx
cmp dword [rsp + 0x34], ecx
jbe 0x14005e024
nop
mov rax, qword [rbp]
lea r8, [rsp + 0x38]
mov edx, ecx
mov rcx, rbp
call qword [rax + 0x48]
test eax, eax
js 0x14005e008
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0xa8]
call qword [rax + 0x20]
mov edi, eax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14005dbd7
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [rsp + 0x38], 0
test edi, edi
js 0x14005e008
lea rdi, [0x140000000]
lea rcx, [rsp + 0xa8]
mov rdx, qword [rdi + 0x1acc60]
cmp rdx, qword [rcx]
jne 0x14005dc0b
mov rdx, qword [rdi + 0x1acc68]
cmp rdx, qword [rcx + 8]
jne 0x14005dc0b
xor eax, eax
jmp 0x14005dc10
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x14005dc70
lea rcx, [rsp + 0xa8]
mov rdx, qword [rdi + 0x1acc70]
cmp rdx, qword [rcx]
jne 0x14005dc39
mov rdx, qword [rdi + 0x1acc78]
cmp rdx, qword [rcx + 8]
jne 0x14005dc39
xor eax, eax
jmp 0x14005dc3e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x14005dc70
lea rcx, [rsp + 0xa8]
mov rdx, qword [rdi + 0x1acc80]
cmp rdx, qword [rcx]
jne 0x14005dc67
mov rdx, qword [rdi + 0x1acc88]
cmp rdx, qword [rcx + 8]
jne 0x14005dc67
xor eax, eax
jmp 0x14005dc6c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14005dcdb
test rbx, rbx
jne 0x14005dcdb
mov ecx, 0x100
call fcn.14013d028
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x14005dca2
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx + 0x10]
mov rcx, rax
call fcn.1400dc710
mov rbx, rax
jmp 0x14005dca4
xor ebx, ebx
test rbx, rbx
je 0x14005e077
lea rcx, [rsi + 0x1e0]
mov rdx, rbx
call fcn.14014f220
lea rdx, [rsi + 0x118]
lea rcx, [rsp + 0x98]
call fcn.140001cd0
mov rdx, rax
mov rcx, rbx
call fcn.1400de610
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x14005dd1a
lea rdi, [0x14019cf88]
mov rsi, qword [rax + 8]
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
jne 0x14005dd15
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx + 0x10]
mov rcx, rax
call fcn.1400df100
mov rsi, qword [rsp + 0x48]
jmp 0x14005dd1a
mov rsi, qword [rsp + 0x48]
mov qword [rsp + 0x68], 0
mov rax, qword [rbp]
lea rdx, [rsp + 0x68]
mov rcx, rbp
call qword [rax + 0x18]
mov edi, eax
lea rdx, [0x14019cf88]
lea rcx, [rsp + 0x28]
call fcn.140002000
nop
test edi, edi
js 0x14005dd64
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x28]
call fcn.1400407c0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdi, [0x140000000]
lea rcx, [rsp + 0xa8]
mov rdx, qword [rdi + 0x1acc60]
cmp rdx, qword [rcx]
jne 0x14005dd90
mov rdx, qword [rdi + 0x1acc68]
cmp rdx, qword [rcx + 8]
jne 0x14005dd90
xor eax, eax
jmp 0x14005dd95
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14005ddac
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x1c], 1
mov dword [rbx + 0x18], eax
jmp 0x14005dfe7
lea rcx, [rsp + 0xa8]
mov rdx, qword [rdi + 0x1acc70]
cmp rdx, qword [rcx]
jne 0x14005ddd1
mov rdx, qword [rdi + 0x1acc78]
cmp rdx, qword [rcx + 8]
jne 0x14005ddd1
xor eax, eax
jmp 0x14005ddd6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14005de75
mov rcx, qword [rsp + 0x28]
call fcn.14005ecc0
test eax, eax
je 0x14005de06
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x34], 1
mov dword [rbx + 0x30], eax
mov dword [rbx + 0x38], 0
jmp 0x14005dfe7
mov rcx, qword [rsp + 0x28]
call fcn.14005efa0
test eax, eax
je 0x14005de20
mov dword [rbx + 0xe0], 1
jmp 0x14005de38
mov rcx, qword [rsp + 0x28]
call fcn.14005f110
test eax, eax
je 0x14005de38
mov dword [rbx + 0xe8], 1
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x24], 1
mov dword [rbx + 0x20], eax
cmp dword [rsi + 0x1d8], 3
jne 0x14005de63
mov rdx, qword [rsi + 0x130]
mov rcx, rbx
call fcn.1400de460
jmp 0x14005dfe7
mov rdx, qword [rsp + 0x28]
mov rcx, rbx
call fcn.1400de460
jmp 0x14005dfe7
lea rcx, [rsp + 0xa8]
mov rdx, qword [rdi + 0x1acc80]
cmp rdx, qword [rcx]
jne 0x14005de9a
mov rdx, qword [rdi + 0x1acc88]
cmp rdx, qword [rcx + 8]
jne 0x14005de9a
xor eax, eax
jmp 0x14005de9f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14005dec4
mov rcx, qword [rsp + 0x28]
call fcn.14005ecc0
test eax, eax
je 0x14005dec4
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x2c], 1
mov dword [rbx + 0x28], eax
jmp 0x14005dfe7
lea rcx, [rsp + 0xa8]
mov rdx, qword [rdi + 0x1acc80]
cmp rdx, qword [rcx]
jne 0x14005dee9
mov rdx, qword [rdi + 0x1acc88]
cmp rdx, qword [rcx + 8]
jne 0x14005dee9
xor eax, eax
jmp 0x14005deee
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14005df13
mov rcx, qword [rsp + 0x28]
call fcn.14005ee30
test eax, eax
je 0x14005df13
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x40], 1
mov dword [rbx + 0x3c], eax
jmp 0x14005dfe7
lea rcx, [rsp + 0xa8]
mov rdx, qword [rdi + 0x1acc80]
cmp rdx, qword [rcx]
jne 0x14005df38
mov rdx, qword [rdi + 0x1acc88]
cmp rdx, qword [rcx + 8]
jne 0x14005df38
xor eax, eax
jmp 0x14005df3d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14005df6c
mov rcx, qword [rsp + 0x28]
call fcn.14005f280
test eax, eax
je 0x14005df6c
mov eax, dword [rsp + 0x20]
mov ecx, 1
mov dword [rbx + 0xec], ecx
mov dword [rbx + 0xf4], eax
mov dword [rsi + 0x370], ecx
jmp 0x14005dfe7
lea rcx, [rsp + 0xa8]
mov rdx, qword [rdi + 0x1acc90]
cmp rdx, qword [rcx]
jne 0x14005df91
mov rdx, qword [rdi + 0x1acc98]
cmp rdx, qword [rcx + 8]
jne 0x14005df91
xor eax, eax
jmp 0x14005df96
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14005dfe7
cmp dword [rsi + 0x170], eax
je 0x14005dfe7
cmp dword [rsi + 0x1d8], 4
jne 0x14005dfe7
mov eax, dword [rsp + 0x20]
mov ecx, 1
mov dword [rbx + 0x34], ecx
mov dword [rbx + 0x30], eax
mov dword [rbx + 0x38], ecx
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x14005dfe7
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rbx + 0xf8]
call fcn.140002390
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14005e008
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, dword [rsp + 0x58]
add ecx, 1
mov dword [rsp + 0x58], ecx
cmp ecx, dword [rsp + 0x34]
jb 0x14005db90
jmp 0x14005e024
mov rbp, qword [rsp + 0x40]
cmp dword [rsi + 0x168], 0
je 0x14005e03e
mov rax, qword [rbp]
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [rax + 0x50]
jmp 0x14005e04d
mov rax, qword [rbp]
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [rax + 0x58]
test eax, eax
jns 0x14005e05b
mov eax, 1
jmp 0x14005e15e
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 0x18]
test eax, eax
jns 0x14005e0a7
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14005e090
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14005e0a0
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
jmp 0x14005e15e
xor edi, edi
cmp dword [rsp + 0x30], edi
jbe 0x14005e159
xor ebp, ebp
nop
nop
nop
mov qword [rsp + 0x40], rbp
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov edx, edi
call qword [rax + 0x20]
test eax, eax
js 0x14005e147
cmp dword [rsp + 0x30], 1
ja 0x14005e11c
lea rax, [rsp + 0xb8]
lea rcx, [0x140000000]
lea rcx, [rcx + 0x1acca0]
mov rdx, qword [rax]
cmp rdx, qword [rcx]
jne 0x14005e10e
mov rdx, qword [rax + 8]
cmp rdx, qword [rcx + 8]
jne 0x14005e10e
mov eax, ebp
jmp 0x14005e113
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x14005e11c
mov r8, rbx
jmp 0x14005e11f
mov r8, rbp
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14005d960
mov esi, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005e13e
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test esi, esi
je 0x14005e155
mov rsi, qword [rsp + 0x48]
add edi, 1
cmp edi, dword [rsp + 0x30]
jae 0x14005e159
jmp 0x14005e0c0
xor eax, eax
jmp 0x14005e15e
mov eax, 1
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14015d000
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret