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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf60
mov qword [r11 - 0xeb8], 0xfffffffffffffffe
mov rdi, rdx
mov r13, rcx
lea r12, [0x1400021b0]
mov qword [r11 - 0xce8], r12
lea rax, [0x140002520]
mov qword [r11 - 0xce0], rax
lea rax, [0x140002198]
mov qword [r11 - 0xcd8], rax
mov dword [rsp + 0x2c8], 0x314
mov r15d, 1
mov dword [r11 - 0xccc], r15d
mov dword [rsp + 0x2d0], 0xff
xor ebx, ebx
mov dword [rsp + 0x350], 0x1000000
xor edx, edx
lea r8d, [r15 + 0x77]
lea rcx, [r11 - 0xcc0]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x50]
call fcn.140052e50
nop
xor eax, eax
lock cmpxchg dword [r13 + 0x168], r15d
jne 0x140067894
lea rdi, [0x140005710]
mov qword [rsp + 0xa90], rdi
lea rax, [0x140005850]
mov qword [rsp + 0xa98], rax
lea r14, [0x140005768]
mov qword [rsp + 0xaa0], r14
mov dword [rsp + 0xaa8], 0x245
mov dword [rsp + 0xaac], 4
mov dword [rsp + 0xab0], 0xff
mov dword [rsp + 0xb30], 0x1000000
xor edx, edx
lea r8d, [r15 + 0x77]
lea rcx, [rsp + 0xab8]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0xa90]
lea rcx, [rsp + 0xe80]
call fcn.140052e50
nop
mov rsi, qword [0x140154b20]
test rsi, rsi
je 0x1400521cd
mov qword [rsp + 0x550], rdi
lea rax, [0x140005780]
mov qword [rsp + 0x558], rax
mov qword [rsp + 0x560], r14
mov dword [rsp + 0x568], 0x96
mov dword [rsp + 0x56c], 4
mov dword [rsp + 0x570], 0xff
mov dword [rsp + 0x5f0], 0x1000000
xor edx, edx
lea r8d, [r15 + 0x77]
lea rcx, [rsp + 0x578]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x550]
lea rcx, [rsp + 0xef0]
call fcn.140052e50
nop
mov rsi, qword [rsi + 8]
test rsi, rsi
je 0x14005218c
mov rax, qword [rsi]
mov rdi, qword [rax + 0x28]
mov rcx, rdi
call qword [fcn.14005e6a0]
mov rcx, rsi
call rdi
nop
lea rcx, [rsp + 0xef0]
call fcn.140050f50
mov rdi, qword [0x140154b20]
test rdi, rdi
je 0x1400521c6
mov rax, qword [rdi]
mov rsi, qword [rax]
lea rax, [fcn.14005d210]
cmp rsi, rax
jne 0x1400678b2
mov edx, r15d
mov rcx, rdi
call fcn.14005d210
mov qword [0x140154b20], rbx
lea rcx, [rsp + 0xe80]
call fcn.140050f50
lea rax, [0x140005940]
mov qword [rsp + 0x940], rax
lea rax, [0x140005a90]
mov qword [rsp + 0x948], rax
lea rax, [0x1400058a0]
mov qword [rsp + 0x950], rax
mov dword [rsp + 0x958], 0x97
mov dword [rsp + 0x95c], 4
mov dword [rsp + 0x960], 0xff
mov dword [rsp + 0x9e0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x968]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x940]
lea rcx, [rsp + 0xda0]
call fcn.140052e50
nop
cmp qword [0x140154d60], 0
je 0x1400522a2
call fcn.14005cca0
mov rdi, qword [0x140154d60]
test rdi, rdi
je 0x14005229b
mov rax, qword [rdi]
mov rsi, qword [rax]
lea rax, [fcn.14005d3d0]
cmp rsi, rax
jne 0x1400678c9
mov edx, r15d
mov rcx, rdi
call fcn.14005d3d0
mov qword [0x140154d60], rbx
lea rcx, [rsp + 0xda0]
call fcn.140050f50
call fcn.140058a80
lea rax, [0x140005df0]
mov qword [rsp + 0x6a0], rax
lea rax, [0x140005e50]
mov qword [rsp + 0x6a8], rax
lea rax, [0x140005d90]
mov qword [rsp + 0x6b0], rax
mov dword [rsp + 0x6b8], 0xf6
mov dword [rsp + 0x6bc], 4
mov dword [rsp + 0x6c0], 0xff
mov dword [rsp + 0x740], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x6c8]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x6a0]
lea rcx, [rsp + 0xe10]
call fcn.140052e50
nop
mov rdi, qword [0x140154b30]
test rdi, rdi
je 0x14005236d
mov rax, qword [rdi]
mov rsi, qword [rax]
lea rax, [fcn.14005d2d0]
cmp rsi, rax
jne 0x1400678e0
mov edx, r15d
mov rcx, rdi
call fcn.14005d2d0
mov qword [0x140154b30], rbx
lea rcx, [rsp + 0xe10]
call fcn.140050f50
lea r14, [r13 + 0x170]
cmp qword [r14], 0
je 0x14005247b
mov qword [rsp + 0xbe0], r12
lea rax, [0x140002520]
mov qword [rsp + 0xbe8], rax
lea rax, [0x140002198]
mov qword [rsp + 0xbf0], rax
mov dword [rsp + 0xbf8], 0x32d
mov dword [rsp + 0xbfc], r15d
mov dword [rsp + 0xc00], 0xff
mov dword [rsp + 0xc80], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xc08]
call sub.msvcrt.dll_memset
lea r8, [0x140002560]
lea rdx, [rsp + 0xbe0]
lea rcx, [rsp + 0x50]
call fcn.1400510b0
mov rsi, qword [r14]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [fcn.14005e6a0]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 5
lea r9, [0x140001930]
xor r8d, r8d
lea rdx, [0x14005d090]
mov rcx, rsi
call rdi
mov edi, eax
mov dword [rsp + 0x58], eax
test eax, eax
js 0x1400678f7
lea rcx, [r13 + 0x178]
call fcn.14005b760
test r14, r14
je 0x14005247b
mov rsi, qword [r14]
test rsi, rsi
je 0x140052478
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.14005e6a0]
mov rcx, rsi
call rdi
mov qword [r14], rbx
call fcn.140056800
lea rax, [0x1400031a0]
mov qword [rsp + 0x358], rax
lea rax, [0x140003270]
mov qword [rsp + 0x360], rax
lea rax, [0x140003180]
mov qword [rsp + 0x368], rax
mov dword [rsp + 0x370], 0x19c
mov dword [rsp + 0x374], r15d
mov dword [rsp + 0x378], 0xff
mov dword [rsp + 0x3f8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x380]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x358]
lea rcx, [rsp + 0xd30]
call fcn.140052e50
nop
mov r14d, ebx
lea rdx, [fcn.140050320]
mov rcx, qword [0x140154f28]
cmp r14d, dword [0x140154f30]
jb 0x140052d78
mov rax, qword [0x140154f20]
test rax, rax
je 0x140052543
mov rcx, rax
call qword [sym.imp.msvcrt.dll_free]
mov qword [0x140154f20], rbx
mov rcx, qword [0x140154f28]
test rcx, rcx
je 0x140052555
call qword [sym.imp.msvcrt.dll_free]
mov qword [0x140154f28], rbx
mov dword [0x140154f30], ebx
lea rcx, [rsp + 0xd30]
call fcn.140050f50
nop
call fcn.140056550
nop
lea r12, [0x1400021b0]
lea rsi, [0x140002520]
lea r14, [0x140002198]
mov rdi, qword [rsp + 0xfa8]
cmp byte [rdi], 0
je 0x14005259a
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoUninitialize]
mov byte [rdi], 0
mov rcx, qword [r13 + 0x148]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x1400679a9
cmp dword [0x140154b14], 0
je 0x140052e25
cmp dword [0x140154b10], 2
jne 0x140067bd8
cmp byte [r13 + 0x151], 0
je 0x140067bd8
mov rsi, qword [r13 + 0x160]
lea r14, [0x140003db0]
mov qword [rsp + 0x5f8], r14
lea rdi, [0x140004010]
mov qword [rsp + 0x600], rdi
lea r12, [0x140003d98]
mov qword [rsp + 0x608], r12
mov dword [rsp + 0x610], 0x6c1
mov dword [rsp + 0x614], r15d
mov dword [rsp + 0x618], 0xff
mov dword [rsp + 0x698], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x620]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x5f8]
lea rcx, [rsp + 0xf0]
call fcn.140052e50
nop
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x140067a25
call qword [sym.imp.api_ms_win_service_private_l1_1_1.dll_I_ScUnregisterDeviceNotification]
test eax, eax
je 0x140067a38
mov qword [rsi + 0x18], rbx
mov rdi, rbx
mov rcx, qword [rsp + rdi*8 + 0x130]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rsp + rdi*8 + 0x130], rbx
inc rdi
cmp rdi, 4
jl 0x140052682
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rsp + 0x124]
mov eax, 0x10624dd3
mul r9d
mov r10d, edx
shr r10d, 6
imul ecx, r10d, 0x3e8
mov edi, r9d
sub edi, ecx
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
mov eax, 0x45e7b273
mul r9d
mov ecx, edx
shr ecx, 0xe
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
mov eax, 0x95217cb1
mul r9d
mov r11d, edx
shr r11d, 0x15
mov eax, 0x88888889
mul r11d
shr edx, 5
imul eax, edx, 0x3c
sub r11d, eax
mov r8d, dword [rsp + 0x128]
cmp r8d, 0xff
jne 0x140052731
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r11d
lea r9, [0x1400043e0]
lea rdx, [0x1400043d0]
lea rcx, [rsp + 0xf0]
call fcn.140051070
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
lea rdi, [0x140004010]
mov qword [rsp + 0x898], r14
mov qword [rsp + 0x8a0], rdi
mov qword [rsp + 0x8a8], r12
mov dword [rsp + 0x8b0], 0x6c1
mov dword [rsp + 0x8b4], r15d
mov dword [rsp + 0x8b8], 0xff
mov dword [rsp + 0x938], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x8c0]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x898]
lea rcx, [rsp + 0x1d0]
call fcn.140052e50
nop
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x140067ab6
call qword [sym.imp.api_ms_win_service_private_l1_1_1.dll_I_ScUnregisterDeviceNotification]
test eax, eax
je 0x140067ac9
mov qword [rsi + 0x10], rbx
mov rdi, rbx
mov rcx, qword [rsp + rdi*8 + 0x210]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rsp + rdi*8 + 0x210], rbx
inc rdi
cmp rdi, 4
jl 0x140052812
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rsp + 0x204]
mov eax, 0x10624dd3
mul r9d
mov r10d, edx
shr r10d, 6
imul ecx, r10d, 0x3e8
mov edi, r9d
sub edi, ecx
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
mov eax, 0x45e7b273
mul r9d
mov ecx, edx
shr ecx, 0xe
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
mov eax, 0x95217cb1
mul r9d
mov r11d, edx
shr r11d, 0x15
mov eax, 0x88888889
mul r11d
shr edx, 5
imul eax, edx, 0x3c
sub r11d, eax
mov r8d, dword [rsp + 0x208]
cmp r8d, 0xff
jne 0x1400528c1
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x1d8]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r11d
lea r9, [0x1400043e0]
lea rdx, [0x1400043d0]
lea rcx, [rsp + 0x1d0]
call fcn.140051070
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
lea rdi, [0x140004010]
mov qword [rsp + 0xb38], r14
mov qword [rsp + 0xb40], rdi
mov qword [rsp + 0xb48], r12
mov dword [rsp + 0xb50], 0x6c1
mov dword [rsp + 0xb54], r15d
mov dword [rsp + 0xb58], 0xff
mov dword [rsp + 0xbd8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb60]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0xb38]
lea rcx, [rsp + 0x160]
call fcn.140052e50
nop
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140067b47
call qword [sym.imp.api_ms_win_service_private_l1_1_1.dll_I_ScUnregisterDeviceNotification]
test eax, eax
je 0x140067b5a
mov qword [rsi + 8], rbx
mov rdi, rbx
mov rcx, qword [rsp + rdi*8 + 0x1a0]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rsp + rdi*8 + 0x1a0], rbx
inc rdi
cmp rdi, 4
jl 0x1400529a2
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rsp + 0x194]
mov eax, 0x10624dd3
mul r9d
mov r10d, edx
shr r10d, 6
imul ecx, r10d, 0x3e8
mov edi, r9d
sub edi, ecx
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
mov eax, 0x45e7b273
mul r9d
mov ecx, edx
shr ecx, 0xe
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
mov eax, 0x95217cb1
mul r9d
mov r11d, edx
shr r11d, 0x15
mov eax, 0x88888889
mul r11d
shr edx, 5
imul eax, edx, 0x3c
sub r11d, eax
mov r8d, dword [rsp + 0x198]
cmp r8d, 0xff
jne 0x140052a51
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r11d
lea r9, [0x1400043e0]
lea rdx, [0x1400043d0]
lea rcx, [rsp + 0x160]
call fcn.140051070
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
mov rsi, qword [r13 + 0x160]
test rsi, rsi
je 0x140052c69
mov qword [rsp + 0x400], r14
lea rax, [0x140003e10]
mov qword [rsp + 0x408], rax
mov qword [rsp + 0x410], r12
mov dword [rsp + 0x418], 0x617
mov dword [rsp + 0x41c], r15d
mov dword [rsp + 0x420], 0xff
mov dword [rsp + 0x4a0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x428]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x400]
lea rcx, [rsp + 0x240]
call fcn.140052e50
mov rdi, rbx
mov rcx, qword [rsp + rdi*8 + 0x280]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rsp + rdi*8 + 0x280], rbx
inc rdi
cmp rdi, 4
jl 0x140052b22
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov r8d, eax
sub r8d, dword [rsp + 0x274]
mov eax, 0x10624dd3
mul r8d
mov r9d, edx
shr r9d, 6
imul ecx, r9d, 0x3e8
mov edi, r8d
sub edi, ecx
mov eax, 0x88888889
mul r9d
shr edx, 5
imul eax, edx, 0x3c
sub r9d, eax
mov eax, 0x45e7b273
mul r8d
mov r10d, edx
shr r10d, 0xe
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
mov eax, 0x95217cb1
mul r8d
mov r11d, edx
shr r11d, 0x15
mov eax, 0x88888889
mul r11d
shr edx, 5
imul eax, edx, 0x3c
sub r11d, eax
mov ecx, dword [rsp + 0x278]
cmp ecx, 0xff
jne 0x140052bd2
mov ecx, RegisterTypeLib
mov eax, dword [rsp + 0x248]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea r9, [0x1400043e0]
mov r8d, ecx
lea rdx, [0x1400043d0]
lea rcx, [rsp + 0x240]
call fcn.140051070
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
lea rcx, [rsi + 0x38]
mov eax, dword [rcx + 0x28]
cmp eax, 1
jne 0x140052c33
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_DeleteCriticalSection]
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [rsi + 0x28]
mov qword [rax + 8], rax
mov qword [rsi + 0x30], rbx
cmp rcx, qword [rsi + 0x28]
jne 0x140067beb
mov rcx, qword [rsi + 0x28]
call fcn.14005d774
mov qword [rsi + 0x28], rbx
mov rcx, rsi
call fcn.14005d774
nop
mov rdi, rbx
mov rcx, qword [rsp + rdi*8 + 0x90]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rsp + rdi*8 + 0x90], rbx
inc rdi
cmp rdi, 4
jl 0x140052c6c
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov r8d, eax
sub r8d, dword [rsp + 0x84]
mov eax, 0x10624dd3
mul r8d
mov r9d, edx
shr r9d, 6
imul ecx, r9d, 0x3e8
mov ebx, r8d
sub ebx, ecx
mov eax, 0x88888889
mul r9d
shr edx, 5
imul ecx, edx, 0x3c
sub r9d, ecx
mov eax, 0x45e7b273
mul r8d
mov r10d, edx
shr r10d, 0xe
mov eax, 0x88888889
mul r10d
shr edx, 5
imul ecx, edx, 0x3c
sub r10d, ecx
mov eax, 0x95217cb1
mul r8d
mov r11d, edx
shr r11d, 0x15
mov eax, 0x88888889
mul r11d
shr edx, 5
imul eax, edx, 0x3c
sub r11d, eax
mov ecx, dword [rsp + 0x88]
cmp ecx, 0xff
jne 0x140052d1c
mov ecx, RegisterTypeLib
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea r9, [0x1400043e0]
mov r8d, ecx
lea rdx, [0x1400043d0]
lea rcx, [rsp + 0x50]
call fcn.140051070
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
add rsp, 0xf60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
movsxd rax, r14d
mov rdi, qword [rcx + rax*8]
test rdi, rdi
je 0x140052e09
cmp qword [rdi], 0
je 0x140052ddd
mov esi, ebx
cmp esi, dword [rdi + 0x10]
jge 0x140052dd1
movsxd rcx, esi
mov rax, qword [rdi + 8]
mov r12, qword [rax + rcx*8]
test r12, r12
je 0x140052dcd
mov rax, qword [r12]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xfb0], rax
cmp rax, rdx
jne 0x14006797b
mov rcx, r12
call fcn.140050320
lea rdx, [fcn.140050320]
inc esi
jmp 0x140052d90
mov rcx, qword [rdi]
call qword [sym.imp.msvcrt.dll_free]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140052df0
call qword [sym.imp.msvcrt.dll_free]
mov qword [rdi + 8], rbx
mov dword [rdi + 0x10], ebx
mov rcx, rdi
call fcn.14005d774
mov rcx, qword [0x140154f28]
lea rdx, [fcn.140050320]
inc r14d
jmp 0x140052513
call fcn.1401041c8
jmp 0x1400525bc
cmp byte [rdi], 0
je 0x1400678a2
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoUninitialize]
mov byte [rdi], 0
lea rcx, [rsp + 0x50]
call fcn.140050f50
nop
jmp 0x140052d65
mov rcx, rsi
call qword [fcn.14005e6a0]
mov edx, r15d
mov rcx, rdi
call rsi
nop
jmp 0x1400521c6
mov rcx, rsi
call qword [fcn.14005e6a0]
mov edx, r15d
mov rcx, rdi
call rsi
nop
jmp 0x14005229b
mov rcx, rsi
call qword [fcn.14005e6a0]
mov edx, r15d
mov rcx, rdi
call rsi
nop
jmp 0x140052366
mov qword [rsp + 0x7f0], r12
lea rax, [0x140002520]
mov qword [rsp + 0x7f8], rax
lea rax, [0x140002198]
mov qword [rsp + 0x800], rax
mov dword [rsp + 0x808], 0x330
mov dword [rsp + 0x80c], r15d
mov dword [rsp + 0x810], 0xff
mov dword [rsp + 0x890], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x818]
call sub.msvcrt.dll_memset
mov r9d, edi
lea r8, [0x14000e220]
lea rdx, [rsp + 0x7f0]
lea rcx, [rsp + 0x50]
call fcn.1400510b0
nop
jmp 0x14005244a
mov rcx, rax
call qword [fcn.14005e6a0]
mov rcx, r12
call qword [rsp + 0xfb0]
nop
jmp 0x140052dc6
mov qword [rsp + 0x4a8], r12
mov qword [rsp + 0x4b0], rsi
mov qword [rsp + 0x4b8], r14
mov dword [rsp + 0x4c0], 0x34f
mov dword [rsp + 0x4c4], r15d
mov dword [rsp + 0x4c8], 0xff
mov dword [rsp + 0x548], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x4d0]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
lea r8, [0x14000e2c0]
lea rdx, [rsp + 0x4a8]
lea rcx, [rsp + 0x50]
call fcn.1400510b0
nop
jmp 0x1400525af
lea rcx, [rsp + 0xf0]
call fcn.140050f50
nop
jmp 0x140052783
mov qword [rsp + 0x748], r14
mov qword [rsp + 0x750], rdi
mov qword [rsp + 0x758], r12
mov dword [rsp + 0x760], 0x6c4
mov dword [rsp + 0x764], r15d
mov dword [rsp + 0x768], 0xff
mov dword [rsp + 0x7e8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x770]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, qword [rsi]
lea r8, [0x140004090]
lea rdx, [rsp + 0x748]
lea rcx, [rsp + 0xf0]
call fcn.140103888
nop
lea rcx, [rsp + 0x1d0]
call fcn.140050f50
nop
jmp 0x140052913
mov qword [rsp + 0x9e8], r14
mov qword [rsp + 0x9f0], rdi
mov qword [rsp + 0x9f8], r12
mov dword [rsp + 0xa00], 0x6c4
mov dword [rsp + 0xa04], r15d
mov dword [rsp + 0xa08], 0xff
mov dword [rsp + 0xa88], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xa10]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, qword [rsi]
lea r8, [0x140004090]
lea rdx, [rsp + 0x9e8]
lea rcx, [rsp + 0x1d0]
call fcn.140103888
nop
lea rcx, [rsp + 0x160]
call fcn.140050f50
nop
jmp 0x140052a9c
mov qword [rsp + 0xc88], r14
mov qword [rsp + 0xc90], rdi
mov qword [rsp + 0xc98], r12
mov dword [rsp + 0xca0], 0x6c4
mov dword [rsp + 0xca4], r15d
mov dword [rsp + 0xca8], 0xff
mov dword [rsp + 0xd28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xcb0]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, qword [rsi]
lea r8, [0x140004090]
lea rdx, [rsp + 0xc88]
lea rcx, [rsp + 0x160]
call fcn.140103888
nop
lea r14, [0x140003db0]
lea r12, [0x140003d98]
jmp 0x140052a9c
mov rdi, qword [rcx]
call fcn.14005d774
mov rcx, rdi
cmp rdi, qword [rsi + 0x28]
jne 0x140067beb
jmp 0x140052c53