Function at 0x14000d230
Capabilities:
Check for time delay via gettickcount
Persist via windows service
Set registry value
Start http server

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rbp + 0xf8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140109388]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rsi, rcx
lea rbx, [0x140106190]
mov r12d, 1
lea r15, [0x1400dcd50]
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000d2ac
test byte [rcx + 0x1c], r12b
je 0x14000d2ac
lea edx, [r12 + 0x5d]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140003538
xor edi, edi
mov qword [rbp - 8], rdi
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20106
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_Media_Player_NSS3.0Devices
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r13d, [rdi + 4]
test eax, eax
jne 0x14000d34b
mov rbx, qword [rbp - 8]
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x28], r13d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, str.AliveDeviceCount
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x70], edi
mov dword [rsp + 0x28], r13d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, str.FunctionalDMRCount
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14000d344
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rbx, [0x140106190]
call fcn.140017304
test eax, eax
jne 0x14000d3bc
call fcn.140017514
test eax, eax
jne 0x14000d3bc
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000f014
lea r14d, [rax + 2]
test byte [rcx + 0x1c], r14b
je 0x14000d393
cmp byte [rcx + 0x19], r13b
jb 0x14000d393
lea edx, [rax + 0x5f]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140003538
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000f014
test byte [rcx + 0x1c], r12b
je 0x14000f014
mov edx, 0x60
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140003538
jmp 0x14000f014
mov dword [rsp + 0x5c], edi
mov qword [rbp + 0x100], rdi
mov rax, qword [str.Xr_r_]
lea rcx, str.Xr_r_
mov rax, qword [rax + 0x18]
call qword [case.0x14006d218.0]
mov qword [rbp + 0x70], rax
lea rcx, [rax + 0x18]
mov qword [rbp + 0x108], rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x40], edi
mov ecx, 0x268
call fcn.1400cbc5c
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14000d419
mov rcx, rax
call fcn.14003d8b8
jmp 0x14000d41c
mov rax, rdi
mov qword [rsi + 0x158], rax
mov r13d, 0x8007000e
mov r15d, 0xc00d37f1
test rax, rax
jne 0x14000d470
mov r12d, r13d
lea r14d, [rax + 2]
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000d466
test byte [rcx + 0x1c], r14b
je 0x14000d466
cmp byte [rcx + 0x19], r14b
jb 0x14000d466
lea edx, [rax + 0x61]
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.140003538
mov dword [rsp + 0x40], r15d
jmp 0x14000d6c8
lea rcx, [rax + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi + 0x158]
call fcn.14003dfe4
mov r12d, eax
mov r14d, 2
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000d4d9
test byte [rcx + 0x1c], r14b
je 0x14000d4d9
movzx r8d, byte [rcx + 0x19]
mov edx, r14d
test eax, eax
lea eax, [r14 + 3]
cmovns edx, eax
cmp r8d, edx
jb 0x14000d4d9
lea edx, [rax + 0x5d]
mov r9d, r12d
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
mov r13d, r12d
test r12d, r12d
js 0x14000d6c8
lea rcx, [rbp + 0x48]
call fcn.1400b848c
lea rax, fcn.1400b95b0
mov qword [rbp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14000d62d
call fcn.1400cbad4
test al, al
jne 0x14000d62d
call fcn.14000b92c
test eax, eax
jne 0x14000d549
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000d685
test byte [rcx + 0x1c], r14b
je 0x14000d685
cmp byte [rcx + 0x19], r14b
jb 0x14000d685
lea edx, [rax + 0x64]
jmp 0x14000d675
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], rdi
lea rdx, str.00_00_00_00_00_00
lea rcx, [rbp]
call fcn.140004a80
nop
lea rdx, [rbp]
lea rcx, [rbp + 0x20]
call fcn.1400181f8
nop
mov rdx, qword [rbp]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000d595
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], rdi
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x128], xmm1
mov dword [rbp + 0x138], 0xa
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], rdi
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x110]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x48]
call fcn.1400bb59c
lea rcx, [rbp + 0x10]
call fcn.14001817c
mov rcx, qword [rsi + 0x3d0]
test rcx, rcx
je 0x14000d60b
mov qword [rsi + 0x3d0], rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
nop
lea rcx, [rbp + 0x10]
call fcn.14001817c
nop
lea rcx, [rbp + 0x110]
call fcn.140019794
nop
lea rcx, [rbp + 0x20]
call fcn.14001817c
jmp 0x14000d685
mov edx, r14d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8d, 0x800d3719
mov rcx, rsi
call fcn.140005b58
xor r8d, r8d
mov edx, 0x800d3719
call fcn.140014f94
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000d685
test byte [rcx + 0x1c], r14b
je 0x14000d685
cmp byte [rcx + 0x19], r14b
jb 0x14000d685
mov edx, 0x63
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.140003538
lea rdx, str.00_00_00_00_00_00
lea rcx, [rbp + 0x48]
call fcn.1400b88d8
nop
mov rdx, qword [rbp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000d6bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
lea rcx, [rsp + 0x40]
call fcn.140034a84
mov r12d, eax
not r13d
shr r13d, 0x1f
mov dword [rsp + 0x60], r13d
test r12d, r12d
js 0x14000d8e0
call fcn.140034b88
mov edi, eax
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000d716
test byte [rcx + 0x1c], r14b
je 0x14000d716
mov eax, 5
cmp byte [rcx + 0x19], al
jb 0x14000d716
lea edx, [rax + 0x60]
mov r9d, edi
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
xor ebx, ebx
test edi, edi
jne 0x14000d72b
mov dword [rsp + 0x5c], 1
xor edi, edi
jmp 0x14000d7bb
mov rax, qword [str.Xr_r_]
lea rcx, str.Xr_r_
mov rax, qword [rax + 0x18]
call qword [case.0x14006d218.0]
add rax, 0x18
mov qword [rbp + 8], rax
mov r8d, edi
lea rdx, [0x1400dcd60]
lea rcx, [rbp + 8]
call fcn.140008b90
mov edx, r14d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp + 8]
mov r9, rbx
mov r8d, 0x800d3714
mov rcx, rsi
call fcn.140005b58
mov r8d, edi
mov edx, 0x800d3714
call fcn.140014f94
xor edi, edi
mov r12d, edi
lea ecx, [rdi + 1]
mov dword [rsi + 0x8c], ecx
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, ecx
jg 0x14000d7bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
lea rbx, [0x140106190]
test r12d, r12d
js 0x14000d8e0
mov ecx, 0x60
call fcn.1400cbc5c
mov qword [rbp - 0x78], rax
test rax, rax
je 0x14000d7e8
mov rcx, rax
call fcn.1400427fc
jmp 0x14000d7eb
mov rax, rdi
mov qword [rsi + 0x160], rax
test rax, rax
jne 0x14000d82d
mov r12d, 0x8007000e
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000d828
test byte [rcx + 0x1c], r14b
je 0x14000d828
cmp byte [rcx + 0x19], r14b
jb 0x14000d828
lea edx, [rax + 0x66]
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.140003538
mov dword [rsp + 0x40], r15d
test r12d, r12d
js 0x14000d8e0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140013860
mov r12d, eax
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000d887
test byte [rcx + 0x1c], r14b
je 0x14000d887
movzx edx, byte [rcx + 0x19]
mov eax, r14d
test r12d, r12d
mov r8d, 5
cmovns eax, r8d
cmp edx, eax
jb 0x14000d887
lea edx, [r8 + 0x62]
mov r9d, r12d
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
test r12d, r12d
js 0x14000d8e0
mov rcx, rsi
call fcn.140010fc0
mov r12d, eax
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000d8d8
test byte [rcx + 0x1c], r14b
je 0x14000d8d8
movzx edx, byte [rcx + 0x19]
mov eax, r14d
test r12d, r12d
mov r8d, 5
cmovns eax, r8d
cmp edx, eax
jb 0x14000d8d8
lea edx, [r8 + 0x63]
mov r9d, r12d
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
mov dword [rsp + 0x40], 0xc00d3801
lea rcx, [rbp + 0x140]
call fcn.1400b16e8
nop
call fcn.1400b1b6c
test r12d, r12d
jns 0x14000d99b
mov edi, dword [rsp + 0x40]
xor ebx, ebx
mov r15d, 0xc00d37fd
test edi, edi
cmove edi, r15d
mov dword [rsp + 0x40], edi
mov rax, qword [str.Xr_r_]
lea rcx, str.Xr_r_
mov rax, qword [rax + 0x18]
call qword [case.0x14006d218.0]
add rax, 0x18
mov qword [rbp - 0x48], rax
mov r8d, r12d
lea rdx, str.0x_08x
lea rcx, [rbp - 0x48]
call fcn.140008b90
lea edx, [rbx + 1]
mov qword [rsp + 0x28], rbx
mov rbx, qword [rbp - 0x48]
mov qword [rsp + 0x20], rbx
mov r9, qword [rsi + 0x28]
mov r8d, edi
mov rcx, rsi
call fcn.140005b58
mov r8d, r12d
mov edx, edi
call fcn.140014f94
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor edi, edi
sub eax, 1
jg 0x14000ed1c
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
jmp 0x14000ed1c
mov qword [rsp + 0x50], rdi
xor edx, edx
lea r8d, [rdx + 0x40]
lea rcx, [rbp + 0x190]
call sub.msvcrt.dll_memset
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x190], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x198], rax
xor r9d, r9d
xor r8d, r8d
lea ebx, [r9 + 1]
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x1a0], rax
mov rax, qword [rsi + 0x58]
mov qword [rbp + 0x1a8], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x1b0], rax
mov rax, qword [rsi + 0x298]
mov qword [rbp + 0x1b8], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x1c0], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x1c8], rax
cmp qword [rbp + 0x190], rdi
je 0x14000dab8
mov rcx, qword [rbp + 0x198]
test rcx, rcx
je 0x14000dab8
cmp qword [rbp + 0x1a0], rdi
je 0x14000dab8
cmp qword [rbp + 0x1a8], rdi
je 0x14000dab8
cmp qword [rbp + 0x1b0], rdi
je 0x14000dab8
cmp qword [rbp + 0x1b8], rdi
je 0x14000dab8
mov rdx, qword [rbp + 0x1c0]
test rdx, rdx
je 0x14000dab8
test rax, rax
je 0x14000dab8
lea r8, [rsp + 0x50]
call fcn.1400b6818
mov r12d, eax
mov r15d, 0xc00d37fd
jmp 0x14000dabe
mov r12d, 0x8007000e
test r12d, r12d
jns 0x14000db4f
mov rax, qword [str.Xr_r_]
lea rcx, str.Xr_r_
mov rax, qword [rax + 0x18]
call qword [case.0x14006d218.0]
add rax, 0x18
mov qword [rbp - 0x40], rax
mov r8d, r12d
lea rdx, str.0x_08x
lea rcx, [rbp - 0x40]
call fcn.140008b90
mov edx, ebx
mov qword [rsp + 0x28], rdi
mov rbx, qword [rbp - 0x40]
mov qword [rsp + 0x20], rbx
mov r9, qword [rsi + 0x28]
mov r8d, r15d
mov rcx, rsi
call fcn.140005b58
mov r8d, r12d
mov edx, r15d
call fcn.140014f94
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000ec54
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
jmp 0x14000ec54
mov rbx, rdi
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xa8], rdi
mov qword [rbp + 0xb0], rdi
mov qword [rbp - 0x80], rdi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r15d, 0x110
mov r9d, r15d
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesHTTPParametersUrlAclInfo
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ec46
mov rbx, qword [rbp - 0x80]
mov qword [rbp + 0xa0], rbx
lea r13d, [rax + 1]
mov edx, r13d
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.USERENV.dll_RegisterGPNotification]
mov dword [rsp + 0x20], r13d
mov r9, qword [rbp + 0x1a0]
xor edx, edx
lea r8d, [r13 + 3]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov r9d, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
xor edi, edi
cmp rcx, rax
je 0x14000dc1b
test byte [rcx + 0x1c], r14b
je 0x14000dc1b
mov edx, r14d
test r9d, r9d
lea eax, [rdi + 5]
cmove edx, eax
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jb 0x14000dc1b
lea edx, [rdi + 0x69]
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
mov r13, rdi
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x40], rdi
mov qword [rbp - 0x38], rdi
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWinsat
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000dcc3
mov r13, qword [rbp - 0x38]
mov qword [rbp + 0x30], r13
mov eax, 1
mov dword [rsp + 0x20], eax
mov r9, qword [rbp + 0x1b0]
xor edx, edx
lea r8d, [rax + 3]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov r9d, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14000dcc3
test byte [rcx + 0x1c], r14b
je 0x14000dcc3
mov edx, r14d
test r9d, r9d
mov eax, 5
cmove edx, eax
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jb 0x14000dcc3
mov edx, 0x6a
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
mov r15, rdi
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x68], rdi
mov qword [rbp - 0x30], rdi
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x110
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSetupState
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000dd6e
mov r15, qword [rbp - 0x30]
mov qword [rbp + 0x58], r15
mov eax, 1
mov dword [rsp + 0x20], eax
mov r9, qword [rbp + 0x1c8]
xor edx, edx
lea r8d, [rax + 3]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov r9d, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14000dd6e
test byte [rcx + 0x1c], r14b
je 0x14000dd6e
mov edx, r14d
test r9d, r9d
mov eax, 5
cmove edx, eax
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jb 0x14000dd6e
mov edx, WSAGetLastError
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
mov dword [rsp + 0x44], edi
mov qword [rbp - 0x78], rdi
lea rdi, [rsi + 0xe8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsi + 0x110]
call fcn.140018e28
test rax, rax
je 0x14000ddc0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
mov rax, qword [rsi + 0x70]
cmp rcx, rax
jbe 0x14000ddb1
lock cmpxchg qword [rsi + 0x70], rcx
jne 0x14000dda0
mov rbx, qword [rbp + 0xa0]
mov r13, qword [rbp + 0x30]
mov r15, qword [rbp + 0x58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov dword [rsi + 0x290], eax
cmp dword [rsi + 0x48], eax
jne 0x14000ec0e
mov r10, qword [0x140106190]
lea rax, [0x140106190]
cmp r10, rax
je 0x14000de12
test byte [r10 + 0x1c], r14b
je 0x14000de12
cmp byte [r10 + 0x19], 4
jb 0x14000de12
mov edx, WSAGetLastError
lea r8, [0x1400dcd50]
mov rcx, qword [r10 + 0x10]
call fcn.140003538
or edi, 0xffffffff
mov rcx, rsi
call fcn.140007ab0
cmp dword [rsi + 0x6c], 0
jne 0x14000de5a
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [0x1401093a4]
imul rdx, rcx, 0x3e8
add rdx, qword [rsi + 0x70]
cmp rdx, rax
jbe 0x14000de5a
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
imul edi, dword [0x1401093a4], 0x3e8
add edi, dword [rsi + 0x70]
sub edi, eax
lea rbx, [rsi + 0xe8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsi + 0x110]
call fcn.140018e28
mov qword [rbp - 0x28], rax
test rax, rax
je 0x14000dec4
lea rdx, [rbp - 0x28]
lea rcx, [rsi + 0x110]
call fcn.140018ea8
mov rcx, qword [rax]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
mov rax, qword [rax + 0xf8]
call qword [case.0x14006d218.0]
mov eax, dword [rsp + 0x78]
cmp edi, eax
cmovb eax, edi
mov edi, eax
cmp qword [rbp - 0x28], 0
jne 0x14000de7f
lea rbx, [rsi + 0xe8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
cmp dword [rsp + 0x44], ecx
jne 0x14000dfcb
cmp dword [rsi + 0x6c], ecx
jne 0x14000dfe6
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [0x1401093ac]
add rcx, qword [rsi + 0x70]
cmp rcx, rax
jae 0x14000dfe6
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14000df2f
test byte [rcx + 0x1c], r14b
je 0x14000df2f
cmp byte [rcx + 0x19], 4
jb 0x14000df2f
mov edx, WSAGetLastError
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.140003538
lea rbx, [rsi + 0x3a8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rsi + 0x3d8]
xor eax, eax
test rcx, rcx
je 0x14000df61
mov qword [rsi + 0x3d8], rax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
or rax, 0xffffffffffffffff
mov r8, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov dword [rsp + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbp - 0x78], rax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14000dfe6
test byte [rcx + 0x1c], r14b
je 0x14000dfe6
cmp byte [rcx + 0x19], 4
jb 0x14000dfe6
mov edx, WSAGetLastError
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.140003538
jmp 0x14000dfe6
mov rax, qword [rbp - 0x78]
cmp qword [rsi + 0x70], rax
jbe 0x14000dfe6
mov eax, dword [0x1401093ac]
cmp edi, eax
cmovb eax, edi
mov edi, eax
mov dword [rsp + 0x44], ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
sub ebx, dword [rsp + 0x4c]
cmp dword [rsi + 0x2f0], 0
jne 0x14000e01d
cmp ebx, 0x36ee80
jbe 0x14000e01d
mov rcx, rsi
call fcn.140015968
mov ecx, dword [0x1401093ac]
cmp edi, ecx
cmovb ecx, edi
mov edi, ecx
and dword [rsp + 0x44], 0
cmp ebx, 0x5265c00
jbe 0x14000e1fa
xor ecx, ecx
call fcn.1400b0ffc
xor ecx, ecx
test eax, eax
je 0x14000e12c
mov ebx, ecx
mov qword [rbp - 0x20], rcx
cmp qword [0x14010a058], rcx
je 0x14000e12c
call fcn.1400b0ffc
test eax, eax
je 0x14000e11a
lea r9, [rbp - 0x20]
call fcn.1400b0688
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x14000e11a
and dword [rsi + 0x2f0], 0
mov rdx, rbx
mov rcx, rsi
call fcn.140015ec0
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14000e0c1
mov eax, 1
test byte [rcx + 0x1c], al
je 0x14000e0c1
mov eax, 5
cmp byte [rcx + 0x19], al
jb 0x14000e0c1
mov edx, 0x86
mov r9, rbx
lea r8, [0x1400ddb20]
mov rcx, qword [rcx + 0x10]
call fcn.140003620
mov rcx, rbx
call fcn.1400b127c
test rax, rax
je 0x14000e0d6
mov rcx, rax
call fcn.1400afe6c
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14000e108
mov eax, 1
test byte [rcx + 0x1c], al
je 0x14000e108
mov edx, 0x87
lea r8, [0x1400ddb20]
mov rcx, qword [rcx + 0x10]
call fcn.140003538
mov eax, dword [0x1401093ac]
cmp edi, eax
cmovb eax, edi
mov edi, eax
and dword [rsp + 0x44], 0
cmp qword [0x14010a058], 0
je 0x14000e12c
mov rdx, rbx
call fcn.1400b0cc0
lea rbx, [rsi + 0x308]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov qword [rsi + 0x2a0], rax
mov qword [rsi + 0x2a8], rax
mov qword [rsi + 0x2b0], rax
mov qword [rsi + 0x2b8], rax
mov qword [rsi + 0x2c0], rax
mov qword [rsi + 0x2c8], rax
mov qword [rsi + 0x2d0], rax
mov qword [rsi + 0x2d8], rax
mov qword [rsi + 0x2e0], rax
mov dword [rsi + 0x2e8], eax
mov rcx, qword [rsi + 0x330]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
xor eax, eax
mov qword [rsi + 0x330], rax
mov dword [rsi + 0x338], eax
mov rcx, qword [rsi + 0x340]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
xor eax, eax
mov qword [rsi + 0x340], rax
mov dword [rsi + 0x348], eax
mov rcx, qword [rsi + 0x350]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
xor eax, eax
mov qword [rsi + 0x350], rax
mov dword [rsi + 0x358], eax
lea rcx, [rsi + 0x360]
call fcn.140019094
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov dword [rsp + 0x4c], eax
jmp 0x14000e1fe
mov ebx, dword [rsp + 0x4c]
cmp dword [rsi + 0x2f0], 0
jne 0x14000e22b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, ebx
sub ecx, eax
add ecx, 0x36ee80
cmp edi, ecx
jb 0x14000e22b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, ebx
sub edi, eax
add edi, 0x36ee80
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, ebx
sub ecx, eax
add ecx, 0x5265c00
cmp edi, ecx
jb 0x14000e24f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, ebx
sub edi, eax
add edi, 0x5265c00
mov eax, 1
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x158]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14000e2a6
mov r13d, 1
lea rcx, [rbp + 0x158]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x158]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14000e277
mov r13, qword [rbp + 0x30]
mov rcx, qword [0x140106190]
lea rbx, [0x140106190]
cmp rcx, rbx
je 0x14000e2dd
test byte [rcx + 0x1c], r14b
je 0x14000e2dd
cmp byte [rcx + 0x19], 4
jb 0x14000e2dd
mov edx, reloc.WSOCK32.dll_WSAGetLastError
mov r9d, edi
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
mov dword [rsp + 0x20], r14d
mov r9d, 0x1cff
mov r8d, edi
lea rdx, [rbp + 0x190]
mov ecx, 8
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
xor edi, edi
test eax, eax
jne 0x14000e3e8
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000e332
test byte [rcx + 0x1c], r14b
je 0x14000e332
cmp byte [rcx + 0x19], 4
jb 0x14000e332
lea edx, [rdi + 0x70]
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.140003538
call fcn.1400b58cc
test eax, eax
jne 0x14000e3a9
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000e366
test byte [rcx + 0x1c], r14b
je 0x14000e366
cmp byte [rcx + 0x19], 4
jb 0x14000e366
lea edx, [rax + 0x71]
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.140003538
mov edx, 1
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, qword [rsi + 0x28]
mov r8d, 0xc00d37f0
mov rcx, rsi
call fcn.140005b58
xor r8d, r8d
mov edx, 0xc00d37f0
call fcn.140014f94
mov r9, rsi
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 5]
call fcn.140007cf0
jmp 0x14000ebe9
mov r10, qword [0x140106190]
cmp r10, rbx
je 0x14000ebf0
test byte [r10 + 0x1c], r14b
je 0x14000ebf0
cmp byte [r10 + 0x19], 4
jb 0x14000ebf0
mov edx, 0x72
lea r8, [0x1400dcd50]
mov rcx, qword [r10 + 0x10]
call fcn.140003538
jmp 0x14000ebe9
mov edx, 1
cmp eax, edx
jne 0x14000e6ce
test byte [0x14010bc00], r14b
je 0x14000e40a
lea rdx, [0x1400dadb8]
call fcn.14000a194
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14000e650
call fcn.1400cbad4
test al, al
jne 0x14000e650
call fcn.14000b92c
test eax, eax
jne 0x14000e4a3
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000e459
test byte [rcx + 0x1c], r14b
je 0x14000e459
cmp byte [rcx + 0x19], r14b
jb 0x14000e459
lea edx, [rax + 0x74]
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.140003538
mov rcx, qword [rsi + 0x160]
call fcn.140042b2c
lea rbx, [rsi + 0x3a8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rsi + 0x3d0]
test rcx, rcx
je 0x14000e495
mov qword [rsi + 0x3d0], rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14000e6a8
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rdi
lea rdx, [rbp - 0x58]
mov rcx, qword [rsi + 0x158]
call fcn.14003fa50
lea rdx, str.00_00_00_00_00_00
lea rcx, [rbp - 0x18]
call fcn.140004a80
nop
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x58]
call fcn.1400181f8
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000e4ff
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], rdi
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
mov dword [rbp + 0xf0], 0xa
lea rdx, [rbp + 0xc8]
mov rcx, qword [rsp + 0x50]
call fcn.1400b6b3c
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
test byte [0x14010bc00], r14b
je 0x14000e55e
mov r9d, dword [rbp + 0xd8]
xor r8d, r8d
lea rdx, [0x1400dad98]
call fcn.14000a130
lea rcx, [rbp + 0x78]
call fcn.1400b848c
lea rax, fcn.1400b95b0
mov qword [rbp + 0x78], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0xc8]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x78]
call fcn.1400bb59c
mov edi, dword [rbp - 0x60]
lea rcx, [rbp - 0x68]
call fcn.14001817c
lea rbx, [rsi + 0x3a8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
cmp qword [rsi + 0x118], rax
jne 0x14000e5d6
mov rcx, qword [rsi + 0x3d0]
test rcx, rcx
je 0x14000e5d6
mov qword [rsi + 0x3d0], rax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test byte [0x14010bc00], r14b
je 0x14000e5fb
mov r9d, edi
xor r8d, r8d
lea rdx, [0x1400dad88]
call fcn.14000a130
nop
mov rdx, qword [rbp + 0x80]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor edi, edi
sub eax, 1
jg 0x14000e626
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
nop
lea rcx, [rbp - 0x68]
call fcn.14001817c
nop
lea rcx, [rbp + 0xc8]
call fcn.140019794
nop
lea rcx, [rbp - 0x58]
call fcn.14001817c
mov r13, qword [rbp + 0x30]
mov r15, qword [rbp + 0x58]
jmp 0x14000e6a8
mov edx, r14d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8d, 0x800d3719
mov rcx, rsi
call fcn.140005b58
xor r8d, r8d
mov edx, 0x800d3719
call fcn.140014f94
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000e6a8
test byte [rcx + 0x1c], r14b
je 0x14000e6a8
cmp byte [rcx + 0x19], r14b
jb 0x14000e6a8
mov edx, 0x73
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.140003538
mov rcx, rsi
call fcn.140013e50
test byte [0x14010bc00], r14b
je 0x14000ebe9
lea rdx, [0x1400dada8]
call fcn.14000a194
jmp 0x14000ebe9
cmp eax, r14d
jne 0x14000e9c7
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, 1
mov dword [rsp + 0x20], eax
mov r9, qword [rbp + 0x1a0]
xor edx, edx
lea r8d, [rax + 3]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov r9d, eax
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000e743
test byte [rcx + 0x1c], r14b
je 0x14000e743
mov edx, r14d
test eax, eax
mov eax, 5
cmove edx, eax
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jb 0x14000e743
mov edx, 0x75
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
mov dword [rsp + 0x58], 1
xor r8d, r8d
mov edx, r14d
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.HTTPAPI.dll_HttpInitialize]
mov ebx, eax
mov r10, qword [0x140106190]
lea rax, [0x140106190]
cmp r10, rax
je 0x14000e7ab
test byte [r10 + 0x1c], r14b
je 0x14000e7ab
mov ecx, r14d
test ebx, ebx
mov eax, 5
cmove ecx, eax
movzx eax, byte [r10 + 0x19]
cmp eax, ecx
jb 0x14000e7ab
mov edx, 0x76
mov r9d, ebx
lea r8, [0x1400dcd50]
mov rcx, qword [r10 + 0x10]
call fcn.1400035ec
mov r10, qword [0x140106190]
test ebx, ebx
jne 0x14000ebf0
xor eax, eax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
mov dword [rbp + 0x88], edi
lea rax, str.http:__:10243_WMPNSSv4_
mov qword [rbp + 0x90], rax
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 0x18]
lea r8, [rbp + 0x88]
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.HTTPAPI.dll_HttpQueryServiceConfiguration]
mov ebx, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14000e86b
test byte [rcx + 0x1c], r14b
je 0x14000e86b
mov edx, r14d
test ebx, ebx
mov eax, 5
cmove edx, eax
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jb 0x14000e86b
mov edx, 0x77
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov r9d, ebx
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.1400053dc
cmp ebx, 0x7a
jne 0x14000e910
mov ecx, dword [rsp + 0x48]
call fcn.1400cbc90
mov rdi, rax
xor eax, eax
test rdi, rdi
je 0x14000e963
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x48]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdi
lea r9d, [rbx - 0x62]
lea r8, [rbp + 0x88]
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.HTTPAPI.dll_HttpQueryServiceConfiguration]
mov ebx, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14000e905
test byte [rcx + 0x1c], r14b
je 0x14000e905
mov edx, r14d
test ebx, ebx
mov eax, 5
cmove edx, eax
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jb 0x14000e905
mov edx, 0x78
mov r9d, ebx
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
xor edi, edi
test ebx, ebx
jne 0x14000e963
mov rcx, rsi
call fcn.140010fc0
mov r9d, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
mov ebx, 5
cmp rcx, rax
je 0x14000e968
test byte [rcx + 0x1c], r14b
je 0x14000e968
mov edx, r14d
test r9d, r9d
cmovns edx, ebx
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jb 0x14000e968
lea edx, [rbx + 0x74]
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
jmp 0x14000e968
mov ebx, 5
xor edx, edx
mov ecx, r14d
call qword [sym.imp.HTTPAPI.dll_HttpTerminate]
mov r9d, eax
mov r10, qword [0x140106190]
lea rax, [0x140106190]
cmp r10, rax
je 0x14000ebf7
test byte [r10 + 0x1c], r14b
je 0x14000ebf7
mov ecx, r14d
test r9d, r9d
cmove ecx, ebx
movzx eax, byte [r10 + 0x19]
cmp eax, ecx
jb 0x14000ebf0
mov edx, 0x7a
lea r8, [0x1400dcd50]
mov rcx, qword [r10 + 0x10]
call fcn.1400035ec
jmp 0x14000ebe9
cmp eax, 3
jne 0x14000e9d9
mov rcx, rsi
call fcn.140013e50
jmp 0x14000ebe9
cmp eax, 4
jne 0x14000eaf8
mov dword [rsp + 0x20], edx
mov r9, qword [rbp + 0x1b0]
xor edx, edx
mov r8d, eax
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov r9d, eax
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000ea3a
test byte [rcx + 0x1c], r14b
je 0x14000ea3a
mov edx, r14d
test eax, eax
mov eax, 5
cmove edx, eax
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jb 0x14000ea3a
mov edx, 0x7b
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
lea rdi, [rsi + 0xe8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsi + 0x110]
call fcn.140018e28
mov qword [rbp - 0x10], rax
xor r12d, r12d
test rax, rax
je 0x14000eae8
lea r15, [0x140106190]
lea r13d, [r12 + 5]
lea rdx, [rbp - 0x10]
lea rcx, [rsi + 0x110]
call fcn.140018ea8
mov rbx, qword [rax]
mov rcx, qword [rbx]
call fcn.14001d800
mov r9d, eax
mov rcx, qword [0x140106190]
cmp rcx, r15
je 0x14000ead3
test byte [rcx + 0x1c], r14b
je 0x14000ead3
movzx r8d, byte [rcx + 0x19]
mov edx, r14d
test eax, eax
cmovns edx, r13d
cmp r8d, edx
jb 0x14000ead3
mov rax, qword [rbx + 0x10]
mov edx, 0x7c
mov qword [rsp + 0x20], rax
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.14000a238
cmp qword [rbp - 0x10], r12
jne 0x14000ea72
mov r15, qword [rbp + 0x58]
mov r13, qword [rbp + 0x30]
lea rdi, [rsi + 0xe8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
jmp 0x14000ebe9
mov ecx, 5
cmp eax, ecx
je 0x14000ebe9
cmp eax, 6
je 0x14000e9cc
cmp eax, 7
jne 0x14000ebe9
mov dword [rsp + 0x20], edx
mov r9, qword [rbp + 0x1c8]
xor edx, edx
lea r8d, [rcx - 1]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov r9d, eax
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000eb70
test byte [rcx + 0x1c], r14b
je 0x14000eb70
mov edx, r14d
test eax, eax
mov eax, 5
cmove edx, eax
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jb 0x14000eb70
mov edx, 0x7d
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
call fcn.14000b92c
test eax, eax
jne 0x14000ebe9
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14000eba4
test byte [rcx + 0x1c], r14b
je 0x14000eba4
cmp byte [rcx + 0x19], r14b
jb 0x14000eba4
lea edx, [rax + 0x7e]
lea r8, [0x1400dcd50]
mov rcx, qword [rcx + 0x10]
call fcn.140003538
mov rcx, qword [rsi + 0x160]
call fcn.140042b2c
lea rbx, [rsi + 0x3a8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rsi + 0x3d0]
test rcx, rcx
je 0x14000ebe0
mov qword [rsi + 0x3d0], rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r10, qword [0x140106190]
lea rax, [0x140106190]
mov ecx, 1
cmp dword [rsi + 0x48], ecx
je 0x14000ddeb
mov rbx, qword [rbp + 0xa0]
jmp 0x14000ec10
xor edi, edi
mov dword [rsi + 0x290], edi
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.USERENV.dll_UnregisterGPNotification]
nop
test r15, r15
je 0x14000ec33
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r13, r13
je 0x14000ec41
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13d, dword [rsp + 0x60]
test rbx, rbx
je 0x14000ec54
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x190]
test rcx, rcx
je 0x14000ec6d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x190], rdi
mov rcx, qword [rbp + 0x198]
test rcx, rcx
je 0x14000ec86
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x198], rdi
mov rcx, qword [rbp + 0x1a0]
test rcx, rcx
je 0x14000ec9f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x1a0], rdi
mov rcx, qword [rbp + 0x1b0]
test rcx, rcx
je 0x14000ecb8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x1b0], rdi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000ece3
call fcn.1400b6998
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000ece3
mov qword [rsp + 0x50], rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
mov rcx, qword [rbp + 0x1c8]
test rcx, rcx
je 0x14000ecfc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x1c8], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000ed1c
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
xor ecx, ecx
call fcn.1400b0ffc
test eax, eax
je 0x14000ed6b
mov rbx, rdi
mov qword [rbp - 0x70], rbx
cmp qword [0x14010a058], rdi
je 0x14000ed4f
xor ecx, ecx
call fcn.1400b0ffc
test eax, eax
je 0x14000ed4f
lea r9, [rbp - 0x70]
call fcn.1400b0688
mov rbx, qword [rbp - 0x70]
mov rdx, rbx
mov rcx, rsi
call fcn.140015ec0
cmp qword [0x14010a058], rdi
je 0x14000ed6b
mov rdx, rbx
call fcn.1400b0cc0
mov rcx, rsi
call fcn.140012e60
mov r10, qword [0x140106190]
lea rbx, [0x140106190]
mov r15d, 5
cmp r10, rbx
je 0x14000edba
test byte [r10 + 0x1c], r14b
je 0x14000edba
cmp byte [r10 + 0x19], r15b
jb 0x14000edba
lea edx, [r15 + 0x7a]
mov r9, qword [rsi + 0x178]
lea r8, [0x1400dcd50]
mov rcx, qword [r10 + 0x10]
call fcn.140003620
mov r10, qword [0x140106190]
mov rcx, qword [rsi + 0x178]
test rcx, rcx
je 0x14000ede1
mov qword [rsi + 0x178], rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
mov r10, qword [0x140106190]
cmp r10, rbx
je 0x14000ee11
test byte [r10 + 0x1c], r14b
je 0x14000ee11
cmp byte [r10 + 0x19], r15b
jb 0x14000ee11
mov edx, 0x80
xor r9d, r9d
lea r8, [0x1400dcd50]
mov rcx, qword [r10 + 0x10]
call fcn.140003620
mov r10, qword [0x140106190]
mov rcx, qword [rsi + 0x258]
test rcx, rcx
je 0x14000ee49
call fcn.14009d098
mov rcx, qword [rsi + 0x258]
test rcx, rcx
je 0x14000ee42
mov qword [rsi + 0x258], rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
mov r10, qword [0x140106190]
mov rcx, qword [rsi + 0x170]
test rcx, rcx
je 0x14000eea5
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x14006d218.0]
mov r9d, eax
mov r10, qword [0x140106190]
cmp r10, rbx
je 0x14000eed9
test byte [r10 + 0x1c], r14b
je 0x14000eea5
mov ecx, r14d
test eax, eax
cmovns ecx, r15d
movzx eax, byte [r10 + 0x19]
cmp eax, ecx
jb 0x14000eea5
mov edx, 0x81
lea r8, [0x1400dcd50]
mov rcx, qword [r10 + 0x10]
call fcn.1400035ec
mov r10, qword [0x140106190]
cmp r10, rbx
je 0x14000eed9
test byte [r10 + 0x1c], r14b
je 0x14000eed9
cmp byte [r10 + 0x19], r15b
jb 0x14000eed9
mov edx, 0x82
mov r9, qword [rsi + 0x170]
lea r8, [0x1400dcd50]
mov rcx, qword [r10 + 0x10]
call fcn.140003620
mov r10, qword [0x140106190]
mov rcx, qword [rsi + 0x170]
test rcx, rcx
je 0x14000ef00
mov qword [rsi + 0x170], rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
mov r10, qword [0x140106190]
mov rcx, qword [rsi + 0x160]
test rcx, rcx
je 0x14000ef18
call fcn.140042a74
mov r10, qword [0x140106190]
cmp dword [rsp + 0x5c], edi
je 0x14000ef2a
call fcn.140034d68
mov r10, qword [0x140106190]
test r13d, r13d
je 0x14000efa7
call fcn.140035fd4
test eax, eax
je 0x14000ef72
call fcn.140036378
test eax, eax
je 0x14000ef72
or eax, 0xffffffff
lock xadd dword [0x14010be48], eax
cmp eax, 1
jne 0x14000efa0
lea rcx, [0x14010a0b0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [0x14010a0b0]
call sub.msvcrt.dll_memset
jmp 0x14000efa0
mov r10, qword [0x140106190]
cmp r10, rbx
je 0x14000efe5
test byte [r10 + 0x1c], 4
je 0x14000efa7
cmp byte [r10 + 0x19], r14b
jb 0x14000efa7
mov edx, SafeArrayUnlock
lea r8, [0x1400ddb38]
mov rcx, qword [r10 + 0x10]
call fcn.140003538
mov r10, qword [0x140106190]
cmp r10, rbx
je 0x14000efe5
mov eax, 1
test byte [r10 + 0x1c], al
je 0x14000efe5
mov ecx, r12d
sar ecx, 0x1f
and ecx, 0xfffffffd
add ecx, r15d
movzx eax, byte [r10 + 0x19]
cmp eax, ecx
jl 0x14000efe5
mov edx, 0x83
mov r9d, r12d
lea r8, [0x1400dcd50]
mov rcx, qword [r10 + 0x10]
call fcn.1400035ec
nop
lea rcx, [rbp + 0x140]
call fcn.1400b17e8
nop
or eax, 0xffffffff
mov rdx, qword [rbp + 0x70]
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000f014
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
nop
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400cc8d0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret