Function at 0x140046160
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 [0x14017a608]
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 [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140046214
test byte [rcx + 0x1c], 1
je 0x140046214
cmp byte [rcx + 0x19], 4
jb 0x140046214
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x132
call fcn.140004b70
mov rcx, qword [0x14017a048]
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, [0x14017a048]
cmp rcx, rax
je 0x1400462ab
test byte [rcx + 0x1c], 1
je 0x1400462ab
cmp byte [rcx + 0x19], 4
jb 0x1400462ab
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x133
mov r9d, r15d
call fcn.140004b9c
xor edx, edx
cmp r15d, 8
jb 0x1400462bb
mov edi, 0x80070057
jmp 0x140046351
mov ecx, dword [rbp + 0x198]
test rbx, rbx
jne 0x1400462ca
test ecx, ecx
jne 0x1400462cf
test rdi, rdi
jne 0x1400462d6
mov edi, 0x80004003
jmp 0x140046307
mov rax, qword [r12]
cmp rax, qword [0x140159df8]
jne 0x1400462f8
mov rax, qword [r12 + 8]
cmp rax, qword [0x140159e00]
jne 0x1400462f8
mov edi, 0x80070057
jmp 0x140046307
cmp ecx, 0x104
jae 0x14004630e
mov dword [rdi], edx
mov edi, 0x8007007a
xor ebx, ebx
jmp 0x140046efb
mov r12, rcx
lea r8, [rcx + rcx]
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [0x14017b300]
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 0x14004644e
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 [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400463ad
test byte [rcx + 0x1c], 1
je 0x1400463ad
cmp byte [rcx + 0x19], 4
jb 0x1400463ad
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov r9d, ebx
mov edx, 0x140
sub r9d, dword [rsp + 0x68]
call fcn.140004b9c
test sil, sil
jne 0x1400463e5
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.1400e0360
xor ebx, ebx
test edi, edi
jns 0x140046d96
cmp byte [rsp + 0x5a], bl
je 0x140046cc7
call fcn.1401303b4
test eax, eax
jns 0x140046cc7
mov rcx, qword [0x14017a048]
lea rsi, [0x14017a048]
cmp rcx, rsi
je 0x140046cce
test byte [rcx + 0x1c], 1
je 0x140046cce
cmp byte [rcx + 0x19], 2
jb 0x140046cce
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x141
mov r9d, eax
call fcn.140004b9c
jmp 0x140046cce
test r14, r14
mov eax, r15d
cmove r14, qword [rcx + 0x10]
and eax, 4
mov dword [rbp - 0x78], eax
je 0x14004665d
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.140045840
mov edi, eax
xor eax, eax
test edi, edi
jns 0x1400464eb
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14004634c
test byte [rcx + 0x1c], 1
je 0x14004634c
cmp byte [rcx + 0x19], 2
jb 0x14004634c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x134
mov r9d, edi
call fcn.140004b9c
jmp 0x14004634c
cmp byte [rsp + 0x59], al
je 0x1400465c2
mov r14, qword [rsp + 0x60]
mov rdx, r12
mov r8, r14
mov rcx, rbx
call fcn.14003bbe8
mov edi, eax
test eax, eax
js 0x14004634c
mov rax, qword [0x14017a048]
lea rcx, [0x14017a048]
cmp rax, rcx
je 0x14004657f
test byte [rax + 0x1c], 1
je 0x14004657f
cmp byte [rax + 0x19], 4
jb 0x14004657f
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.14001012c
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp - 0x78]
mov rbx, qword [rax]
call fcn.14001012c
mov rcx, qword [0x14017a048]
lea r8, [0x140155bf8]
mov edx, VarBstrCmp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
mov r9, qword [rax]
mov rcx, qword [rcx + 0x10]
call fcn.140005eb4
mov esi, 3
test sil, 2
je 0x140046598
mov rcx, qword [rbp - 0x78]
and esi, 0xfffffffd
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test sil, 1
je 0x1400465af
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 0x140046c01
mov rax, qword [0x14017a048]
lea rcx, [0x14017a048]
cmp rax, rcx
je 0x14004662a
test byte [rax + 0x1c], 1
je 0x14004662a
cmp byte [rax + 0x19], 4
jb 0x14004662a
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp + 0x20]
call fcn.14001012c
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rbx, qword [rax]
call fcn.14001012c
mov rcx, qword [0x14017a048]
lea r8, [0x140155bf8]
mov edx, VarR8Pow
mov qword [rsp + 0x20], rbx
mov r9, qword [rax]
mov rcx, qword [rcx + 0x10]
call fcn.140005d24
mov esi, 0xc
test sil, 8
je 0x140046644
mov rcx, qword [rsp + 0x60]
and esi, 0xfffffff7
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test sil, 4
je 0x14004665d
mov rcx, qword [rbp + 0x20]
and esi, 0xfffffffb
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
lea rcx, [0x14017b300]
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.0x140005b13.0]
xor r11d, r11d
mov edi, eax
test eax, eax
js 0x14004634c
mov r9d, dword [rbp + 0x70]
mov ecx, r11d
mov byte [rsp + 0x58], 1
test r9d, r9d
je 0x1400466f6
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 0x1400466ef
mov rax, qword [rdx + r8 + 8]
cmp rax, qword [r10 + 8]
je 0x14004676d
inc ecx
cmp ecx, r9d
jb 0x1400466d5
mov rax, qword [0x14017a048]
lea rcx, [0x14017a048]
cmp rax, rcx
je 0x140046c7f
test byte [rax + 0x1c], 1
je 0x140046c7f
cmp byte [rax + 0x19], 2
jb 0x140046c7f
mov rdx, rbx
lea rcx, [rbp]
or esi, 0x30
call fcn.14001012c
mov r12, qword [rsp + 0x48]
lea rcx, [rbp + 0x10]
mov rdx, r12
mov rbx, qword [rax]
call fcn.14001012c
mov rcx, qword [0x14017a048]
lea r8, [0x140155bf8]
mov edx, VarR8Pow
mov qword [rsp + 0x20], rbx
mov r9, qword [rax]
mov rcx, qword [rcx + 0x10]
call fcn.140005d24
jmp 0x140046c84
lea r14, [rdx + r8]
test r14, r14
je 0x1400466f6
cmp dword [rbp + 0x1b8], r11d
je 0x140046795
lea rcx, [rbp - 0x30]
call fcn.1400fda60
xor r11d, r11d
mov edi, eax
test eax, eax
js 0x14004634c
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], r11d
lea rdx, [rbp - 0x30]
mov rcx, r13
call fcn.14011535c
mov edi, eax
test eax, eax
js 0x14004634c
mov ebx, dword [rsp + 0x60]
test ebx, ebx
jne 0x1400467fb
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400467f1
test byte [rcx + 0x1c], 1
je 0x1400467f1
cmp byte [rcx + 0x19], 2
jb 0x1400467f1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, VarR8Pow
call fcn.140004b70
mov edi, 0x8078000c
jmp 0x14004634c
cmp ebx, 4
je 0x140046842
mov rcx, qword [0x14017a048]
lea rdi, [0x14017a048]
cmp rcx, rdi
je 0x140046837
test byte [rcx + 0x1c], 1
je 0x140046837
cmp byte [rcx + 0x19], 4
jb 0x140046837
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, reloc.OLEAUT32.dll_VarBstrCmp
mov r9d, ebx
call fcn.140004b9c
lea rcx, [rbp - 0x30]
call fcn.14005313c
jmp 0x140046849
lea rdi, [0x14017a048]
mov ecx, ebx
call fcn.140092f40
test al, 0x40
jne 0x14004688e
mov rcx, qword [0x14017a048]
cmp rcx, rdi
je 0x140046884
test byte [rcx + 0x1c], 1
je 0x140046884
cmp byte [rcx + 0x19], 2
jb 0x140046884
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, reloc.OLEAUT32.dll_VarR8Pow
mov r9d, ebx
call fcn.140004b9c
mov edi, 0x8078004e
jmp 0x14004634c
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.140112f0c
xor r13d, r13d
mov edi, eax
test eax, eax
js 0x14004634c
mov edx, dword [rbp + 0xf4]
lea r9, [rsp + 0x5c]
mov ecx, dword [rbp + 0xf0]
lea r8, [rbp - 0x50]
call fcn.140116c04
mov edi, eax
test eax, eax
js 0x14004634c
mov rbx, qword [rbp - 0x50]
test rbx, rbx
jne 0x14004691d
lea r8, str.wszVhdExtension___NULL
mov edx, 0x194d
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.1400876c8
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.1401120dc
mov edi, eax
test eax, eax
js 0x1400469a4
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.1400fdb78
mov edi, eax
test eax, eax
js 0x1400469a4
mov rsi, qword [rbp - 0x58]
mov r8b, 1
mov rcx, rsi
call fcn.1400ff2a8
mov edi, eax
test eax, eax
jns 0x1400469ac
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400469a4
test byte [rcx + 0x1c], 1
je 0x1400469a4
cmp byte [rcx + 0x19], 2
jb 0x1400469a4
mov edx, 0x13b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov r9, rsi
mov dword [rsp + 0x20], edi
call fcn.140005ca0
mov r12, rbx
jmp 0x140046351
lea rcx, [rbp - 0x30]
call fcn.1400fdd24
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.140118f9c
mov edi, eax
test eax, eax
jns 0x140046a12
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400469a4
test byte [rcx + 0x1c], 1
je 0x1400469a4
cmp byte [rcx + 0x19], 2
jb 0x1400469a4
mov edx, 0x13c
jmp 0x14004698d
mov r14b, 1
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140046a56
test byte [rcx + 0x1c], r14b
je 0x140046a56
cmp byte [rcx + 0x19], 4
jb 0x140046a56
mov rax, qword [rsp + 0x70]
lea r8, [0x140155bf8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x13d
mov r9, rsi
mov qword [rsp + 0x20], rax
call fcn.140005d24
mov r15d, dword [rsp + 0x44]
test r15b, r15b
je 0x140046af5
mov rsi, qword [rbp - 0x70]
cmp dword [rsi + 0x24], r13d
jne 0x140046a7e
call fcn.1401300ec
mov edi, eax
test eax, eax
js 0x140046a9a
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 0x140046aa7
mov edi, 0x8007000e
mov sil, byte [rsp + 0x40]
mov r12, rbx
jmp 0x14004635e
mov rdx, qword [rbp - 0x80]
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call fcn.1401307fc
mov r13, qword [rsp + 0x50]
mov edi, eax
test eax, eax
js 0x140046aed
mov rbx, qword [rbp - 0x68]
mov r8, r13
mov rcx, rbx
mov byte [rsp + 0x5b], r14b
mov rdx, r12
call fcn.14003bbe8
xor ecx, ecx
mov edi, eax
test eax, eax
js 0x140046cbd
inc dword [rsi + 0x24]
jmp 0x140046b1e
mov r12, rbx
jmp 0x140046bd6
mov rbx, qword [rbp - 0x68]
mov rdx, r12
mov r8, qword [rsp + 0x70]
mov rcx, rbx
call fcn.14003bbe8
mov r13, qword [rsp + 0x50]
mov edi, eax
test eax, eax
js 0x140046cbd
mov rsi, qword [rbp - 0x70]
xor ecx, ecx
cmp dword [rbp - 0x78], ecx
je 0x140046bfc
lea rcx, [0x14017b300]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
test r15b, r15b
jne 0x140046b57
lea r8, str.bNeedNetworkShare
mov edx, 0x19b2
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.1400876c8
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.140045e30
mov edi, eax
test eax, eax
jns 0x140046be0
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140046bc3
test byte [rcx + 0x1c], r14b
je 0x140046bc3
cmp byte [rcx + 0x19], 2
jb 0x140046bc3
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x13e
mov r9d, edi
call fcn.140004b9c
lea rcx, [0x14017b300]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov sil, byte [rsp + 0x40]
jmp 0x140046363
lea rcx, [0x14017b300]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov sil, byte [rsp + 0x40]
xor ecx, ecx
jmp 0x140046c06
mov sil, byte [rsp + 0x40]
mov r12, qword [rsp + 0x48]
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], cx
jne 0x140046c0a
mov rcx, qword [rbp + 0x10]
inc eax
mov dword [rcx], eax
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
mov r13b, byte [rsp + 0x58]
mov byte [rsp + 0x42], sil
mov r14b, r13b
cmp rcx, rax
je 0x14004635e
test byte [rcx + 0x1c], 1
mov byte [rsp + 0x42], sil
je 0x14004635e
cmp byte [rcx + 0x19], 4
mov byte [rsp + 0x42], sil
jb 0x14004635e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x13f
mov r9, rbx
call fcn.140005c30
mov byte [rsp + 0x42], sil
jmp 0x14004635e
mov r12, qword [rsp + 0x48]
test sil, 0x20
je 0x140046c9d
mov rcx, qword [rbp + 0x10]
and esi, 0xffffffdf
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test sil, 0x10
je 0x140046cb3
mov rcx, qword [rbp]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov edi, 0x80780041
jmp 0x140046351
mov r12, qword [rsp + 0x48]
jmp 0x140046bd6
lea rsi, [0x14017a048]
cmp byte [rsp + 0x5b], bl
je 0x140046d15
xor r8d, r8d
xor edx, edx
mov rcx, r13
call fcn.14008c9d0
test eax, eax
jns 0x140046d15
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x140046d15
test byte [rcx + 0x1c], 1
je 0x140046d15
cmp byte [rcx + 0x19], 2
jb 0x140046d15
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x142
mov r9d, eax
call fcn.140004b9c
test r14b, r14b
je 0x140046d96
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x168]
call qword [case.0x140005b13.0]
test eax, eax
jns 0x140046d69
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x140046d96
test byte [rcx + 0x1c], 1
je 0x140046d96
cmp byte [rcx + 0x19], 2
jb 0x140046d96
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x143
mov r9d, eax
call fcn.140004b9c
jmp 0x140046d96
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x140046d96
test byte [rcx + 0x1c], 1
je 0x140046d96
cmp byte [rcx + 0x19], 5
jb 0x140046d96
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x144
call fcn.140004b70
lea rcx, [rbp - 0x30]
call fcn.1400fdd24
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140046db4
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140046dc9
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140046dde
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140046df3
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r13, r13
je 0x140046e07
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x140046e1f
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
cmp byte [rsp + 0x58], bl
je 0x140046e2e
lea rcx, [rbp + 0x30]
call fcn.14009993c
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140046e49
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + 0x70], rbx
cmp qword [rbp - 0x80], rbx
je 0x140046e63
lea rcx, [rbp - 0x80]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop dword [rax + rax]
mov qword [rbp - 0x80], rbx
mov rcx, qword [0x14017a048]
lea rsi, [0x14017a048]
cmp rcx, rsi
je 0x140046ece
test byte [rcx + 0x1c], 1
je 0x140046ea1
cmp byte [rcx + 0x19], 5
jb 0x140046ea1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x145
mov r9d, edi
call fcn.140004b9c
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x140046ece
test byte [rcx + 0x1c], 1
je 0x140046ece
cmp byte [rcx + 0x19], 4
jb 0x140046ece
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x146
call fcn.140004b70
mov rcx, qword [0x14017a048]
test edi, edi
jns 0x140046efb
cmp rcx, rsi
je 0x140046efb
test byte [rcx + 0x1c], 1
je 0x140046efb
cmp byte [rcx + 0x19], 2
jb 0x140046efb
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155bf8]
mov edx, 0x147
mov r9d, edi
call fcn.140004b9c
lea rcx, [rbp - 0x30]
call fcn.140005b20
cmp byte [rsp + 0x42], bl
je 0x140046f1d
lea rcx, [0x14017b300]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14014b700
add rsp, 0x218
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret