Function at 0x1400459e0
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 [0x140178010]
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 [rbp - 0x78], rdx
xor edx, edx
mov esi, edx
mov dword [rbp - 0x60], edx
mov qword [rsp + 0x48], r8
mov qword [rbp - 0x70], rcx
mov qword [rbp], rax
mov qword [rbp + 0x10], rdi
mov qword [rbp - 0x48], rbx
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140045a93
test byte [rcx + 0x1c], 1
je 0x140045a93
cmp byte [rcx + 0x19], 4
jb 0x140045a93
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x12c
call fcn.140004c6c
mov rcx, qword [0x1401782b0]
xor edx, edx
mov rax, qword [rbp + 0x190]
or qword [rbp - 0x38], 0xffffffffffffffff
mov qword [rbp - 0x40], rax
mov eax, r15d
shr eax, 1
and al, 1
mov byte [rsp + 0x50], dl
mov dword [rsp + 0x40], eax
mov byte [rsp + 0x73], dl
mov qword [rbp - 8], rdx
mov qword [rbp - 0x10], rdx
mov qword [rbp - 0x58], rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rdx
mov byte [rsp + 0x74], dl
mov byte [rsp + 0x71], dl
mov byte [rsp + 0x75], dl
mov dword [rbp - 0x80], edx
mov dword [rbp - 0x30], edx
mov qword [rbp - 0x50], rdx
mov byte [rsp + 0x76], dl
mov byte [rsp + 0x72], dl
mov qword [rsp + 0x78], rdx
mov byte [rsp + 0x70], dl
mov qword [rbp - 0x68], rdx
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140045b2e
test byte [rcx + 0x1c], 1
je 0x140045b2e
cmp byte [rcx + 0x19], 4
jb 0x140045b2e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x12d
mov r9d, r15d
call fcn.140004c90
xor edx, edx
cmp r15d, 8
jb 0x140045b3e
mov edi, 0x80070057
jmp 0x140045bcf
mov ecx, dword [rbp + 0x198]
test rbx, rbx
jne 0x140045b4d
test ecx, ecx
jne 0x140045b52
test rdi, rdi
jne 0x140045b59
mov edi, 0x80004003
jmp 0x140045b8a
mov rax, qword [r12]
cmp rax, qword [0x140161c08]
jne 0x140045b7b
mov rax, qword [r12 + 8]
cmp rax, qword [0x140161c10]
jne 0x140045b7b
mov edi, 0x80070057
jmp 0x140045b8a
cmp ecx, 0x104
jae 0x140045b92
mov dword [rdi], edx
mov edi, 0x8007007a
xor r12d, r12d
jmp 0x140046717
mov r12, rcx
lea r8, [rcx + rcx]
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [0x140179190]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbp - 0x70]
xor eax, eax
mov byte [rsp + 0x50], 1
cmp qword [rcx + 0x10], rax
jne 0x140045cca
mov edi, 0x8078000a
mov r12, qword [rsp + 0x48]
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov r15d, dword [rsp + 0x40]
mov r13, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140045c26
test byte [rcx + 0x1c], 1
je 0x140045c26
cmp byte [rcx + 0x19], 4
jb 0x140045c26
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov r9d, ebx
mov edx, reloc.OLEAUT32.dll_VarR8Pow
sub r9d, dword [rbp - 0x80]
call fcn.140004c90
xor eax, eax
cmp byte [rsp + 0x72], al
jne 0x140045c5f
mov rax, qword [rbp - 0x78]
lea rdx, [rbp - 0x20]
movups xmm0, xmmword [r12]
sub ebx, dword [rbp - 0x80]
lea rcx, [rbp + 0x10]
movzx r8d, r15b
mov r9d, edi
movups xmm1, xmmword [rax]
mov dword [rsp + 0x20], ebx
movdqu xmmword [rbp - 0x20], xmm0
movdqu xmmword [rbp + 0x10], xmm1
call fcn.1400dd2b0
xor r12d, r12d
test edi, edi
jns 0x1400465e6
cmp byte [rsp + 0x74], r12b
je 0x1400464fa
call fcn.14012cdf4
test eax, eax
jns 0x1400464fa
mov rcx, qword [0x1401782b0]
lea rbx, [0x1401782b0]
cmp rcx, rbx
je 0x140046501
test byte [rcx + 0x1c], 1
je 0x140046501
cmp byte [rcx + 0x19], 2
jb 0x140046501
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x13b
mov r9d, eax
call fcn.140004c90
jmp 0x140046501
test r14, r14
mov eax, r15d
cmove r14, qword [rcx + 0x10]
and eax, 4
mov dword [rbp - 0x60], eax
je 0x140045f2c
mov rax, qword [rsp + 0x48]
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x20]
movups xmm0, xmmword [rax]
mov rax, qword [rbp - 0x78]
movdqu xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 0x20], xmm1
call fcn.140045110
mov edi, eax
xor eax, eax
test edi, edi
jns 0x140045d66
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140045bca
test byte [rcx + 0x1c], 1
je 0x140045bca
cmp byte [rcx + 0x19], 2
jb 0x140045bca
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x12e
mov r9d, edi
call fcn.140004c90
jmp 0x140045bca
cmp byte [rsp + 0x70], al
je 0x140045e9e
mov r14, qword [rsp + 0x78]
mov rdx, r12
mov r8, r14
mov rcx, rbx
call fcn.14003b8c0
mov edi, eax
test eax, eax
js 0x140045bca
mov rax, qword [0x1401782b0]
lea rcx, [0x1401782b0]
cmp rax, rcx
je 0x140045df9
test byte [rax + 0x1c], 1
je 0x140045df9
cmp byte [rax + 0x19], 4
jb 0x140045df9
mov rdx, qword [rbp - 0x78]
lea rcx, [rsp + 0x78]
mov esi, 3
call fcn.140010344
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp - 0x60]
mov rbx, qword [rax]
call fcn.140010344
mov rcx, qword [0x1401782b0]
lea r8, [0x140152588]
mov edx, 0x12f
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
mov r9, qword [rax]
mov rcx, qword [rcx + 0x10]
call fcn.140005f64
test sil, 2
je 0x140045e0c
mov rcx, qword [rbp - 0x60]
and esi, 0xfffffffd
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test sil, 1
je 0x140045e1d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rbx, qword [rbp - 0x48]
xor ecx, ecx
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov r15d, dword [rsp + 0x40]
mov r13, qword [rsp + 0x58]
mov byte [rsp + 0x72], 1
mov r12, qword [rsp + 0x48]
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], cx
jne 0x140045e45
mov rcx, qword [rbp + 0x10]
inc eax
mov dword [rcx], eax
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140045be3
test byte [rcx + 0x1c], 1
je 0x140045be3
cmp byte [rcx + 0x19], 4
jb 0x140045be3
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, reloc.OLEAUT32.dll_VarBstrCmp
mov r9, rbx
call fcn.140005c6c
jmp 0x140045be3
mov rax, qword [0x1401782b0]
lea rcx, [0x1401782b0]
cmp rax, rcx
je 0x140045f05
test byte [rax + 0x1c], 1
je 0x140045f05
cmp byte [rax + 0x19], 4
jb 0x140045f05
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp + 0x20]
mov esi, 0xc
call fcn.140010344
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x78]
mov rbx, qword [rax]
call fcn.140010344
mov rcx, qword [0x1401782b0]
lea r8, [0x140152588]
mov edx, 0x130
mov qword [rsp + 0x20], rbx
mov r9, qword [rax]
mov rcx, qword [rcx + 0x10]
call fcn.140005d7c
test sil, 8
je 0x140045f19
mov rcx, qword [rsp + 0x78]
and esi, 0xfffffff7
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test sil, 4
je 0x140045f2c
mov rcx, qword [rbp + 0x20]
and esi, 0xfffffffb
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [0x140179190]
mov byte [rsp + 0x50], 0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edx, edx
lea rcx, [rbp + 0x30]
mov r8d, 0xd0
call sub.msvcrt.dll_memset
mov rax, qword [rbp - 0x78]
movups xmm0, xmmword [rax]
mov rax, qword [r14]
movdqu xmmword [rbp - 0x20], xmm0
mov rbx, qword [rax + 0x58]
mov rcx, rbx
call qword [0x14014cce0]
mov r9b, 1
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x20]
mov rcx, r14
call rbx
xor ebx, ebx
mov edi, eax
test eax, eax
js 0x140045bca
mov r8d, dword [rbp + 0x70]
mov ecx, ebx
mov byte [rsp + 0x73], 1
test r8d, r8d
je 0x140045fbf
mov r9, qword [rsp + 0x48]
mov eax, ecx
imul rdx, rax, 0x78
add rdx, qword [rbp + 0x78]
mov rax, qword [rdx]
cmp rax, qword [r9]
jne 0x140045fb8
mov rax, qword [rdx + 8]
cmp rax, qword [r9 + 8]
je 0x140046037
inc ecx
cmp ecx, r8d
jb 0x140045f9c
mov rax, qword [0x1401782b0]
lea rcx, [0x1401782b0]
cmp rax, rcx
je 0x1400464c8
test byte [rax + 0x1c], 1
je 0x1400464c8
cmp byte [rax + 0x19], 2
jb 0x1400464c8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp]
or esi, 0x30
call fcn.140010344
mov r12, qword [rsp + 0x48]
lea rcx, [rbp + 0x10]
mov rdx, r12
mov rbx, qword [rax]
call fcn.140010344
mov rcx, qword [0x1401782b0]
lea r8, [0x140152588]
mov edx, 0x131
mov qword [rsp + 0x20], rbx
mov r9, qword [rax]
mov rcx, qword [rcx + 0x10]
call fcn.140005d7c
jmp 0x1400464cd
mov eax, ecx
imul r14, rax, 0x78
add r14, qword [rbp + 0x78]
je 0x140045fbf
cmp dword [rbp + 0x1b8], ebx
je 0x140046062
lea rcx, [rbp - 0x40]
call fcn.1400fc5c8
mov edi, eax
test eax, eax
js 0x140045bca
lea r8, [rsp + 0x78]
mov dword [rsp + 0x78], ebx
lea rdx, [rbp - 0x40]
mov rcx, r13
call fcn.140113644
mov edi, eax
test eax, eax
js 0x140045bca
mov ebx, dword [rsp + 0x78]
test ebx, ebx
jne 0x1400460c7
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400460bd
test byte [rcx + 0x1c], 1
je 0x1400460bd
cmp byte [rcx + 0x19], 2
jb 0x1400460bd
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x132
call fcn.140004c6c
mov edi, 0x8078000c
jmp 0x140045bca
cmp ebx, 4
je 0x14004610e
mov rcx, qword [0x1401782b0]
lea rsi, [0x1401782b0]
cmp rcx, rsi
je 0x140046103
test byte [rcx + 0x1c], 1
je 0x140046103
cmp byte [rcx + 0x19], 4
jb 0x140046103
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x133
mov r9d, ebx
call fcn.140004c90
lea rcx, [rbp - 0x40]
call fcn.140052bbc
jmp 0x140046115
lea rsi, [0x1401782b0]
mov ecx, ebx
call fcn.14009141c
test al, 0x40
jne 0x14004615a
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x140046150
test byte [rcx + 0x1c], 1
je 0x140046150
cmp byte [rcx + 0x19], 2
jb 0x140046150
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x134
mov r9d, ebx
call fcn.140004c90
mov edi, 0x8078004e
jmp 0x140045bca
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x80], eax
lea r9, [rbp - 0x40]
lea rax, [rbp - 0x58]
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 - 8]
mov qword [rsp + 0x20], rax
call fcn.140111350
xor r13d, r13d
mov edi, eax
test eax, eax
js 0x140045bca
mov edx, dword [rbp + 0xf4]
lea r9, [rsp + 0x76]
mov ecx, dword [rbp + 0xf0]
lea r8, [rbp - 0x50]
call fcn.140114d8c
mov edi, eax
test eax, eax
js 0x140045bca
mov rbx, qword [rbp - 0x50]
test rbx, rbx
jne 0x1400461e2
lea r8, str.wszVhdExtension___NULL
mov edx, 0x191b
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.14008624c
mov rcx, qword [rbp - 0x58]
lea rax, [rsp + 0x68]
mov r9, rbx
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x48]
xor r8d, r8d
mov rdx, rbx
call fcn.14011057c
mov edi, eax
test eax, eax
js 0x1400464c0
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.1400fc6dc
mov edi, eax
test eax, eax
js 0x1400464c0
mov rcx, qword [rsp + 0x68]
mov r8b, 1
call fcn.1400fdc98
mov edi, eax
test eax, eax
jns 0x140046282
mov rcx, qword [0x1401782b0]
mov r14, qword [rsp + 0x68]
cmp rcx, rsi
je 0x1400464a7
test byte [rcx + 0x1c], 1
je 0x1400464a7
cmp byte [rcx + 0x19], 2
jb 0x1400464a7
mov edx, VarBstrCmp
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov r9, r14
mov dword [rsp + 0x20], eax
call fcn.140005ce8
mov r12, rbx
jmp 0x140045bd4
lea rcx, [rbp - 0x40]
call fcn.1400fc870
mov r9, qword [rbp]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x40]
mov eax, dword [r14 + 0x40]
and r15d, 1
mov r14, qword [rsp + 0x68]
or r15d, 2
mov rdx, r14
mov dword [rsp + 0x20], eax
lea r8d, [r15 + r15]
call fcn.140116b00
mov edi, eax
test eax, eax
jns 0x1400462e3
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x14004627a
test byte [rcx + 0x1c], 1
je 0x14004627a
cmp byte [rcx + 0x19], 2
jb 0x14004627a
mov edx, VarR8Pow
jmp 0x140046263
mov byte [rsp + 0x71], 1
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x140046324
test byte [rcx + 0x1c], 1
je 0x140046324
cmp byte [rcx + 0x19], 4
mov rsi, qword [rsp + 0x60]
jb 0x140046329
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, VarR8Pow
mov qword [rsp + 0x20], rsi
mov r9, r14
call fcn.140005d7c
jmp 0x140046329
mov rsi, qword [rsp + 0x60]
mov r15d, dword [rsp + 0x40]
test r15b, r15b
je 0x1400463bf
mov rcx, qword [rbp - 0x70]
cmp dword [rcx + 0x24], r13d
jne 0x140046351
call fcn.14012cb68
mov edi, eax
test eax, eax
js 0x140046367
mov byte [rsp + 0x74], 1
lea rdx, [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
je 0x14004636f
mov edi, 0x8007000e
mov r12, rbx
jmp 0x140045bde
mov rdx, qword [rbp - 0x68]
lea r8, [rsp + 0x58]
mov rcx, rsi
call fcn.14012d1f4
mov r13, qword [rsp + 0x58]
mov edi, eax
test eax, eax
js 0x1400463b7
mov rbx, qword [rbp - 0x48]
mov r8, r13
mov rcx, rbx
mov byte [rsp + 0x75], 1
mov rdx, r12
call fcn.14003b8c0
xor ecx, ecx
mov edi, eax
test eax, eax
js 0x1400464b6
mov rax, qword [rbp - 0x70]
inc dword [rax + 0x24]
jmp 0x1400463e2
mov r12, rbx
jmp 0x140045be3
mov rbx, qword [rbp - 0x48]
mov r8, rsi
mov rcx, rbx
mov rdx, r12
call fcn.14003b8c0
mov r13, qword [rsp + 0x58]
mov edi, eax
test eax, eax
js 0x1400464b6
xor ecx, ecx
cmp dword [rbp - 0x60], ecx
je 0x140045e3c
lea rcx, [0x140179190]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test r15b, r15b
jne 0x140046415
lea r8, str.bNeedNetworkShare
mov edx, 0x1980
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.14008624c
mov rax, qword [rbp - 0x78]
lea r8, [rbp - 0x20]
mov r12, qword [rsp + 0x48]
lea rdx, [rbp]
mov rcx, qword [rbp - 0x70]
mov r9, r13
movups xmm1, xmmword [rax]
movups xmm0, xmmword [r12]
movdqu xmmword [rbp], xmm1
movdqu xmmword [rbp - 0x20], xmm0
call fcn.1400456c8
mov edi, eax
test eax, eax
jns 0x140046493
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140046481
test byte [rcx + 0x1c], 1
je 0x140046481
cmp byte [rcx + 0x19], 2
jb 0x140046481
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, VarR8Pow
mov r9d, edi
call fcn.140004c90
lea rcx, [0x140179190]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140045be3
lea rcx, [0x140179190]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
jmp 0x140045e41
mov rsi, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
mov r15d, dword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
jmp 0x140045be3
mov r12, rbx
jmp 0x140045bcf
mov r12, qword [rsp + 0x48]
test sil, 0x20
je 0x1400464e0
mov rcx, qword [rbp + 0x10]
and esi, 0xffffffdf
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test sil, 0x10
je 0x1400464f0
mov rcx, qword [rbp]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, 0x80780041
jmp 0x140045bcf
lea rbx, [0x1401782b0]
cmp byte [rsp + 0x75], r12b
je 0x140046549
xor r8d, r8d
xor edx, edx
mov rcx, r13
call fcn.14008b188
test eax, eax
jns 0x140046549
mov rcx, qword [0x1401782b0]
cmp rcx, rbx
je 0x140046549
test byte [rcx + 0x1c], 1
je 0x140046549
cmp byte [rcx + 0x19], 2
jb 0x140046549
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x13c
mov r9d, eax
call fcn.140004c90
cmp byte [rsp + 0x71], r12b
je 0x1400465e6
mov r15, qword [rbp - 0x70]
mov rax, qword [r15]
mov rbx, qword [rax + 0x168]
mov rcx, rbx
call qword [0x14014cce0]
mov rdx, rsi
mov rcx, r15
call rbx
test eax, eax
jns 0x1400465b0
mov rcx, qword [0x1401782b0]
lea rbx, [0x1401782b0]
cmp rcx, rbx
je 0x1400465ed
test byte [rcx + 0x1c], 1
je 0x1400465ed
cmp byte [rcx + 0x19], 2
jb 0x1400465ed
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x13d
mov r9d, eax
call fcn.140004c90
jmp 0x1400465ed
mov rcx, qword [0x1401782b0]
lea rbx, [0x1401782b0]
cmp rcx, rbx
je 0x1400465ed
test byte [rcx + 0x1c], 1
je 0x1400465ed
cmp byte [rcx + 0x19], 5
jb 0x1400465ed
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x13e
call fcn.140004c6c
jmp 0x1400465ed
lea rbx, [0x1401782b0]
lea rcx, [rbp - 0x40]
call fcn.1400fc870
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140046605
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140046614
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140046626
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r14, r14
je 0x140046634
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r13, r13
je 0x140046642
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x140046654
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp byte [rsp + 0x73], r12b
je 0x140046664
lea rcx, [rbp + 0x30]
call fcn.140097a9c
test rsi, rsi
je 0x140046672
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp qword [rbp - 0x68], r12
je 0x140046686
lea rcx, [rbp - 0x68]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
mov qword [rbp - 0x68], r12
mov rcx, qword [0x1401782b0]
cmp rcx, rbx
je 0x1400466ea
test byte [rcx + 0x1c], 1
je 0x1400466bd
cmp byte [rcx + 0x19], 5
jb 0x1400466bd
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x13f
mov r9d, edi
call fcn.140004c90
mov rcx, qword [0x1401782b0]
cmp rcx, rbx
je 0x1400466ea
test byte [rcx + 0x1c], 1
je 0x1400466ea
cmp byte [rcx + 0x19], 4
jb 0x1400466ea
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x140
call fcn.140004c6c
mov rcx, qword [0x1401782b0]
test edi, edi
jns 0x140046717
cmp rcx, rbx
je 0x140046717
test byte [rcx + 0x1c], 1
je 0x140046717
cmp byte [rcx + 0x19], 2
jb 0x140046717
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x141
mov r9d, edi
call fcn.140004c90
lea rcx, [rbp - 0x40]
call fcn.140005b7c
cmp byte [rsp + 0x50], r12b
je 0x140046734
lea rcx, [0x140179190]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1401474d0
add rsp, 0x218
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret