Function at 0x140046510
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x118]
sub rsp, 0x218
mov rax, qword [0x140183808]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x188]
mov r15d, r9d
mov rdi, qword [rbp + 0x1a8]
mov r12, r8
mov rbx, qword [rbp + 0x1b0]
mov r13, qword [rbp + 0x180]
mov r14, qword [rbp + 0x1a0]
mov qword [rsp + 0x78], rdx
xor edx, edx
mov esi, edx
mov dword [rbp - 0x78], edx
mov qword [rsp + 0x48], r8
mov qword [rbp - 0x70], rcx
mov qword [rbp], rax
mov qword [rbp + 0x10], rdi
mov qword [rbp - 0x68], rbx
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x1400465c4
test byte [rcx + 0x1c], 1
je 0x1400465c4
cmp byte [rcx + 0x19], 4
jb 0x1400465c4
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x132
call fcn.140004e50
mov rcx, qword [0x140183048]
xor edx, edx
mov rax, qword [rbp + 0x190]
or qword [rbp - 0x28], 0xffffffffffffffff
mov qword [rbp - 0x30], rax
mov eax, r15d
shr eax, 1
and al, 1
mov byte [rsp + 0x42], dl
mov dword [rsp + 0x44], eax
mov byte [rsp + 0x58], dl
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rdx
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x70], rdx
mov byte [rsp + 0x5a], dl
mov byte [rsp + 0x5b], dl
mov dword [rsp + 0x68], edx
mov dword [rbp - 0x20], edx
mov qword [rbp - 0x50], rdx
mov byte [rsp + 0x5c], dl
mov byte [rsp + 0x40], dl
mov qword [rsp + 0x60], rdx
mov byte [rsp + 0x59], dl
mov qword [rbp - 0x80], rdx
lea rax, [0x140183048]
cmp rcx, rax
je 0x14004665b
test byte [rcx + 0x1c], 1
je 0x14004665b
cmp byte [rcx + 0x19], 4
jb 0x14004665b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x133
mov r9d, r15d
call fcn.140004e7c
xor edx, edx
cmp r15d, 8
jb 0x14004666b
mov edi, 0x80070057
jmp 0x140046701
mov ecx, dword [rbp + 0x198]
test rbx, rbx
jne 0x14004667a
test ecx, ecx
jne 0x14004667f
test rdi, rdi
jne 0x140046686
mov edi, 0x80004003
jmp 0x1400466b7
mov rax, qword [r12]
cmp rax, qword [0x140162618]
jne 0x1400466a8
mov rax, qword [r12 + 8]
cmp rax, qword [0x140162620]
jne 0x1400466a8
mov edi, 0x80070057
jmp 0x1400466b7
cmp ecx, 0x104
jae 0x1400466be
mov dword [rdi], edx
mov edi, 0x8007007a
xor ebx, ebx
jmp 0x1400472ab
mov r12, rcx
lea r8, [rcx + rcx]
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [0x140184760]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x70]
xor eax, eax
mov byte [rsp + 0x42], 1
cmp qword [rcx + 0x10], rax
jne 0x1400467fe
mov edi, 0x8078000a
mov r12, qword [rsp + 0x48]
mov sil, byte [rsp + 0x40]
mov r15d, dword [rsp + 0x44]
mov r14b, sil
mov r13, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14004675d
test byte [rcx + 0x1c], 1
je 0x14004675d
cmp byte [rcx + 0x19], 4
jb 0x14004675d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov r9d, ebx
mov edx, 0x140
sub r9d, dword [rsp + 0x68]
call fcn.140004e7c
test sil, sil
jne 0x140046795
mov rax, qword [rsp + 0x78]
lea rdx, [rbp - 0x40]
movups xmm0, xmmword [r12]
sub ebx, dword [rsp + 0x68]
lea rcx, [rbp + 0x10]
movzx r8d, r15b
mov r9d, edi
movups xmm1, xmmword [rax]
mov dword [rsp + 0x20], ebx
movdqu xmmword [rbp - 0x40], xmm0
movdqu xmmword [rbp + 0x10], xmm1
call fcn.1400e8160
xor ebx, ebx
test edi, edi
jns 0x140047146
cmp byte [rsp + 0x5a], bl
je 0x140047077
call fcn.1401381dc
test eax, eax
jns 0x140047077
mov rcx, qword [0x140183048]
lea rsi, [0x140183048]
cmp rcx, rsi
je 0x14004707e
test byte [rcx + 0x1c], 1
je 0x14004707e
cmp byte [rcx + 0x19], 2
jb 0x14004707e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x141
mov r9d, eax
call fcn.140004e7c
jmp 0x14004707e
test r14, r14
mov eax, r15d
cmove r14, qword [rcx + 0x10]
and eax, 4
mov dword [rbp - 0x78], eax
je 0x140046a0d
mov rax, qword [rsp + 0x48]
lea r9, [rsp + 0x59]
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x40]
movups xmm0, xmmword [rax]
mov rax, qword [rsp + 0x78]
movdqu xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 0x40], xmm1
call fcn.140045bf0
mov edi, eax
xor eax, eax
test edi, edi
jns 0x14004689b
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x1400466fc
test byte [rcx + 0x1c], 1
je 0x1400466fc
cmp byte [rcx + 0x19], 2
jb 0x1400466fc
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x134
mov r9d, edi
call fcn.140004e7c
jmp 0x1400466fc
cmp byte [rsp + 0x59], al
je 0x140046972
mov r14, qword [rsp + 0x60]
mov rdx, r12
mov r8, r14
mov rcx, rbx
call fcn.14003bf98
mov edi, eax
test eax, eax
js 0x1400466fc
mov rax, qword [0x140183048]
lea rcx, [0x140183048]
cmp rax, rcx
je 0x14004692f
test byte [rax + 0x1c], 1
je 0x14004692f
cmp byte [rax + 0x19], 4
jb 0x14004692f
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.14001044c
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp - 0x78]
mov rbx, qword [rax]
call fcn.14001044c
mov rcx, qword [0x140183048]
lea r8, [0x14015df88]
mov edx, VarBstrCmp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
mov r9, qword [rax]
mov rcx, qword [rcx + 0x10]
call fcn.140006194
mov esi, 3
test sil, 2
je 0x140046948
mov rcx, qword [rbp - 0x78]
and esi, 0xfffffffd
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test sil, 1
je 0x14004695f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov rbx, qword [rbp - 0x68]
mov sil, 1
mov r15d, dword [rsp + 0x44]
xor ecx, ecx
jmp 0x140046fb1
mov rax, qword [0x140183048]
lea rcx, [0x140183048]
cmp rax, rcx
je 0x1400469da
test byte [rax + 0x1c], 1
je 0x1400469da
cmp byte [rax + 0x19], 4
jb 0x1400469da
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp + 0x20]
call fcn.14001044c
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rbx, qword [rax]
call fcn.14001044c
mov rcx, qword [0x140183048]
lea r8, [0x14015df88]
mov edx, VarR8Pow
mov qword [rsp + 0x20], rbx
mov r9, qword [rax]
mov rcx, qword [rcx + 0x10]
call fcn.140006004
mov esi, 0xc
test sil, 8
je 0x1400469f4
mov rcx, qword [rsp + 0x60]
and esi, 0xfffffff7
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test sil, 4
je 0x140046a0d
mov rcx, qword [rbp + 0x20]
and esi, 0xfffffffb
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
lea rcx, [0x140184760]
mov byte [rsp + 0x42], 0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x30]
mov r8d, 0xd0
call sub.msvcrt.dll_memset
mov rax, qword [r14]
lea r8, [rbp + 0x30]
mov rbx, qword [rsp + 0x78]
lea rdx, [rbp - 0x40]
mov r9b, 1
mov rcx, r14
mov rax, qword [rax + 0x58]
movups xmm0, xmmword [rbx]
movdqu xmmword [rbp - 0x40], xmm0
call qword [case.0x140005df3.0]
xor r11d, r11d
mov edi, eax
test eax, eax
js 0x1400466fc
mov r9d, dword [rbp + 0x70]
mov ecx, r11d
mov byte [rsp + 0x58], 1
test r9d, r9d
je 0x140046aa6
mov r8, qword [rbp + 0x78]
mov r10, qword [rsp + 0x48]
mov eax, ecx
imul rdx, rax, 0x78
mov rax, qword [rdx + r8]
cmp rax, qword [r10]
jne 0x140046a9f
mov rax, qword [rdx + r8 + 8]
cmp rax, qword [r10 + 8]
je 0x140046b1d
inc ecx
cmp ecx, r9d
jb 0x140046a85
mov rax, qword [0x140183048]
lea rcx, [0x140183048]
cmp rax, rcx
je 0x14004702f
test byte [rax + 0x1c], 1
je 0x14004702f
cmp byte [rax + 0x19], 2
jb 0x14004702f
mov rdx, rbx
lea rcx, [rbp]
or esi, 0x30
call fcn.14001044c
mov r12, qword [rsp + 0x48]
lea rcx, [rbp + 0x10]
mov rdx, r12
mov rbx, qword [rax]
call fcn.14001044c
mov rcx, qword [0x140183048]
lea r8, [0x14015df88]
mov edx, VarR8Pow
mov qword [rsp + 0x20], rbx
mov r9, qword [rax]
mov rcx, qword [rcx + 0x10]
call fcn.140006004
jmp 0x140047034
lea r14, [rdx + r8]
test r14, r14
je 0x140046aa6
cmp dword [rbp + 0x1b8], r11d
je 0x140046b45
lea rcx, [rbp - 0x30]
call fcn.140105860
xor r11d, r11d
mov edi, eax
test eax, eax
js 0x1400466fc
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], r11d
lea rdx, [rbp - 0x30]
mov rcx, r13
call fcn.14011d15c
mov edi, eax
test eax, eax
js 0x1400466fc
mov ebx, dword [rsp + 0x60]
test ebx, ebx
jne 0x140046bab
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x140046ba1
test byte [rcx + 0x1c], 1
je 0x140046ba1
cmp byte [rcx + 0x19], 2
jb 0x140046ba1
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, VarR8Pow
call fcn.140004e50
mov edi, 0x8078000c
jmp 0x1400466fc
cmp ebx, 4
je 0x140046bf2
mov rcx, qword [0x140183048]
lea rdi, [0x140183048]
cmp rcx, rdi
je 0x140046be7
test byte [rcx + 0x1c], 1
je 0x140046be7
cmp byte [rcx + 0x19], 4
jb 0x140046be7
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, reloc.OLEAUT32.dll_VarBstrCmp
mov r9d, ebx
call fcn.140004e7c
lea rcx, [rbp - 0x30]
call fcn.14005377c
jmp 0x140046bf9
lea rdi, [0x140183048]
mov ecx, ebx
call fcn.14009ad40
test al, 0x40
jne 0x140046c3e
mov rcx, qword [0x140183048]
cmp rcx, rdi
je 0x140046c34
test byte [rcx + 0x1c], 1
je 0x140046c34
cmp byte [rcx + 0x19], 2
jb 0x140046c34
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, reloc.OLEAUT32.dll_VarR8Pow
mov r9d, ebx
call fcn.140004e7c
mov edi, 0x8078004e
jmp 0x1400466fc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rsp + 0x68], eax
lea r9, [rbp - 0x30]
lea rax, [rbp - 0x60]
mov dl, 1
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x30]
lea rax, [rbp - 0x10]
mov rcx, r13
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
call fcn.14011ad0c
xor r13d, r13d
mov edi, eax
test eax, eax
js 0x1400466fc
mov edx, dword [rbp + 0xf4]
lea r9, [rsp + 0x5c]
mov ecx, dword [rbp + 0xf0]
lea r8, [rbp - 0x50]
call fcn.14011ea04
mov edi, eax
test eax, eax
js 0x1400466fc
mov rbx, qword [rbp - 0x50]
test rbx, rbx
jne 0x140046ccd
lea r8, str.wszVhdExtension___NULL
mov edx, 0x194d
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.14008f4c8
mov rcx, qword [rbp - 0x60]
lea rax, [rbp - 0x58]
mov r9, rbx
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x48]
xor r8d, r8d
mov rdx, rbx
call fcn.140119edc
mov edi, eax
test eax, eax
js 0x140046d54
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.140105978
mov edi, eax
test eax, eax
js 0x140046d54
mov rsi, qword [rbp - 0x58]
mov r8b, 1
mov rcx, rsi
call fcn.1401070a8
mov edi, eax
test eax, eax
jns 0x140046d5c
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x140046d54
test byte [rcx + 0x1c], 1
je 0x140046d54
cmp byte [rcx + 0x19], 2
jb 0x140046d54
mov edx, 0x13b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov r9, rsi
mov dword [rsp + 0x20], edi
call fcn.140005f80
mov r12, rbx
jmp 0x140046701
lea rcx, [rbp - 0x30]
call fcn.140105b24
mov r9, qword [rbp]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x30]
mov eax, dword [r14 + 0x40]
and r15d, 1
or r15d, 2
mov dword [rsp + 0x20], eax
mov rdx, rsi
lea r8d, [r15 + r15]
call fcn.140120d9c
mov edi, eax
test eax, eax
jns 0x140046dc2
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x140046d54
test byte [rcx + 0x1c], 1
je 0x140046d54
cmp byte [rcx + 0x19], 2
jb 0x140046d54
mov edx, 0x13c
jmp 0x140046d3d
mov r14b, 1
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x140046e06
test byte [rcx + 0x1c], r14b
je 0x140046e06
cmp byte [rcx + 0x19], 4
jb 0x140046e06
mov rax, qword [rsp + 0x70]
lea r8, [0x14015df88]
mov rcx, qword [rcx + 0x10]
mov edx, 0x13d
mov r9, rsi
mov qword [rsp + 0x20], rax
call fcn.140006004
mov r15d, dword [rsp + 0x44]
test r15b, r15b
je 0x140046ea5
mov rsi, qword [rbp - 0x70]
cmp dword [rsi + 0x24], r13d
jne 0x140046e2e
call fcn.140137f14
mov edi, eax
test eax, eax
js 0x140046e4a
mov byte [rsp + 0x5a], r14b
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
nop dword [rax + rax]
test eax, eax
je 0x140046e57
mov edi, 0x8007000e
mov sil, byte [rsp + 0x40]
mov r12, rbx
jmp 0x14004670e
mov rdx, qword [rbp - 0x80]
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call fcn.140138624
mov r13, qword [rsp + 0x50]
mov edi, eax
test eax, eax
js 0x140046e9d
mov rbx, qword [rbp - 0x68]
mov r8, r13
mov rcx, rbx
mov byte [rsp + 0x5b], r14b
mov rdx, r12
call fcn.14003bf98
xor ecx, ecx
mov edi, eax
test eax, eax
js 0x14004706d
inc dword [rsi + 0x24]
jmp 0x140046ece
mov r12, rbx
jmp 0x140046f86
mov rbx, qword [rbp - 0x68]
mov rdx, r12
mov r8, qword [rsp + 0x70]
mov rcx, rbx
call fcn.14003bf98
mov r13, qword [rsp + 0x50]
mov edi, eax
test eax, eax
js 0x14004706d
mov rsi, qword [rbp - 0x70]
xor ecx, ecx
cmp dword [rbp - 0x78], ecx
je 0x140046fac
lea rcx, [0x140184760]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
test r15b, r15b
jne 0x140046f07
lea r8, str.bNeedNetworkShare
mov edx, 0x19b2
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.14008f4c8
mov rax, qword [rsp + 0x78]
lea r8, [rbp - 0x40]
mov r12, qword [rsp + 0x48]
lea rdx, [rbp]
mov r9, r13
mov rcx, rsi
movups xmm1, xmmword [rax]
movups xmm0, xmmword [r12]
movdqu xmmword [rbp], xmm1
movdqu xmmword [rbp - 0x40], xmm0
call fcn.1400461e0
mov edi, eax
test eax, eax
jns 0x140046f90
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x140046f73
test byte [rcx + 0x1c], r14b
je 0x140046f73
cmp byte [rcx + 0x19], 2
jb 0x140046f73
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x13e
mov r9d, edi
call fcn.140004e7c
lea rcx, [0x140184760]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov sil, byte [rsp + 0x40]
jmp 0x140046713
lea rcx, [0x140184760]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov sil, byte [rsp + 0x40]
xor ecx, ecx
jmp 0x140046fb6
mov sil, byte [rsp + 0x40]
mov r12, qword [rsp + 0x48]
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], cx
jne 0x140046fba
mov rcx, qword [rbp + 0x10]
inc eax
mov dword [rcx], eax
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
mov r13b, byte [rsp + 0x58]
mov byte [rsp + 0x42], sil
mov r14b, r13b
cmp rcx, rax
je 0x14004670e
test byte [rcx + 0x1c], 1
mov byte [rsp + 0x42], sil
je 0x14004670e
cmp byte [rcx + 0x19], 4
mov byte [rsp + 0x42], sil
jb 0x14004670e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x13f
mov r9, rbx
call fcn.140005f10
mov byte [rsp + 0x42], sil
jmp 0x14004670e
mov r12, qword [rsp + 0x48]
test sil, 0x20
je 0x14004704d
mov rcx, qword [rbp + 0x10]
and esi, 0xffffffdf
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test sil, 0x10
je 0x140047063
mov rcx, qword [rbp]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov edi, 0x80780041
jmp 0x140046701
mov r12, qword [rsp + 0x48]
jmp 0x140046f86
lea rsi, [0x140183048]
cmp byte [rsp + 0x5b], bl
je 0x1400470c5
xor r8d, r8d
xor edx, edx
mov rcx, r13
call fcn.1400947d0
test eax, eax
jns 0x1400470c5
mov rcx, qword [0x140183048]
cmp rcx, rsi
je 0x1400470c5
test byte [rcx + 0x1c], 1
je 0x1400470c5
cmp byte [rcx + 0x19], 2
jb 0x1400470c5
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x142
mov r9d, eax
call fcn.140004e7c
test r14b, r14b
je 0x140047146
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x168]
call qword [case.0x140005df3.0]
test eax, eax
jns 0x140047119
mov rcx, qword [0x140183048]
cmp rcx, rsi
je 0x140047146
test byte [rcx + 0x1c], 1
je 0x140047146
cmp byte [rcx + 0x19], 2
jb 0x140047146
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x143
mov r9d, eax
call fcn.140004e7c
jmp 0x140047146
mov rcx, qword [0x140183048]
cmp rcx, rsi
je 0x140047146
test byte [rcx + 0x1c], 1
je 0x140047146
cmp byte [rcx + 0x19], 5
jb 0x140047146
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x144
call fcn.140004e50
lea rcx, [rbp - 0x30]
call fcn.140105b24
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140047164
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140047179
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14004718e
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400471a3
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r13, r13
je 0x1400471b7
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x1400471cf
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
cmp byte [rsp + 0x58], bl
je 0x1400471de
lea rcx, [rbp + 0x30]
call fcn.1400a173c
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400471f9
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + 0x70], rbx
cmp qword [rbp - 0x80], rbx
je 0x140047213
lea rcx, [rbp - 0x80]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop dword [rax + rax]
mov qword [rbp - 0x80], rbx
mov rcx, qword [0x140183048]
lea rsi, [0x140183048]
cmp rcx, rsi
je 0x14004727e
test byte [rcx + 0x1c], 1
je 0x140047251
cmp byte [rcx + 0x19], 5
jb 0x140047251
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x145
mov r9d, edi
call fcn.140004e7c
mov rcx, qword [0x140183048]
cmp rcx, rsi
je 0x14004727e
test byte [rcx + 0x1c], 1
je 0x14004727e
cmp byte [rcx + 0x19], 4
jb 0x14004727e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x146
call fcn.140004e50
mov rcx, qword [0x140183048]
test edi, edi
jns 0x1400472ab
cmp rcx, rsi
je 0x1400472ab
test byte [rcx + 0x1c], 1
je 0x1400472ab
cmp byte [rcx + 0x19], 2
jb 0x1400472ab
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x147
mov r9d, edi
call fcn.140004e7c
lea rcx, [rbp - 0x30]
call fcn.140005e00
cmp byte [rsp + 0x42], bl
je 0x1400472cd
lea rcx, [0x140184760]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1401534b0
add rsp, 0x218
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret