Function at 0x140006a18
Capabilities:
Accept command line arguments
Check os version
Compare security identifiers
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2898]
mov eax, 0x2970
call fcn.14000b1e0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2860], rax
mov rdi, rcx
lea rax, [rbp + 0xb0]
lea rcx, [rbp + 0xa50]
mov r12d, 1
mov dword [rbp + 0xa50], 0x11c
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xa8], r12d
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx edx, byte [0x14000df08]
xor r13d, r13d
test eax, eax
mov rax, qword [0x14000c910]
cmovne edx, r12d
mov byte [0x14000df08], dl
mov word [rax], r13w
mov rax, qword [0x14000c100]
mov word [rax], r13w
lea rax, [rbp + 0xd0]
mov dword [rbp + 0xc8], 0x104
mov qword [rbp + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea esi, [r12 + 0x1f]
lea ecx, [rsi + 2]
mov rbx, rax
cmp word [rax], cx
jne 0x140006aea
add rbx, 2
jmp 0x140006aed
movzx ecx, si
movzx eax, word [rbx]
test ax, ax
je 0x140006b10
cmp ax, cx
je 0x140006b06
add rbx, 2
movzx eax, word [rbx]
test ax, ax
jne 0x140006af5
cmp word [rbx], r13w
je 0x140006b10
add rbx, 2
mov ecx, 0xfffffff5
mov qword [0x14000df10], rdi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x14000d6e8], rax
cmp rax, 0xffffffffffffffff
je 0x140006b3d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x140006b44
mov qword [0x14000d6e8], r13
mov edi, 0x7fe
lea rcx, [rbp + 0x1062]
xor edx, edx
mov r8d, edi
mov dword [rbp - 0x1c], r13d
mov word [rbp + 0x1060], r13w
call sub.msvcrt.dll_memset
lea rcx, [rbp + 0x1862]
mov r8d, edi
xor edx, edx
mov word [rbp + 0x1860], r13w
call sub.msvcrt.dll_memset
lea rdx, [rbp + 0x1060]
lea rax, [rbp + 0x1860]
mov qword [rsp + 0x68], rdx
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x60], r13d
mov dword [0x14000df28], r13d
mov edi, 9
cmp word [rbx], si
je 0x140006bb0
cmp word [rbx], di
jne 0x140006bb6
add rbx, 2
jmp 0x140006ba6
movzx eax, word [rbx]
mov r15d, 0xfffd
sub ax, 0x2d
test r15w, ax
jne 0x140006d85
lea rax, [rbx + 2]
test rax, rax
je 0x140006d85
movzx eax, word [rax]
or ax, si
cmp ax, 0x60
jne 0x140006d85
add rbx, 4
mov qword [rsp + 0x78], rbx
cmp word [rbx], si
je 0x140006bfd
cmp word [rbx], di
jne 0x140006c03
add rbx, 2
jmp 0x140006bee
lea rax, [rbp + 0x1060]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
mov r8d, 0x400
mov qword [rbp - 0x28], rax
call fcn.140006608
test al, al
jne 0x140006c39
xor edx, edx
xor ecx, ecx
call fcn.1400042d0
mov edi, 0x667
jmp 0x140008918
mov eax, dword [rbp + 0xc8]
lea rdx, [0x140001660]
mov r9d, 0x20019
add eax, eax
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rbp - 0x80], eax
lea rax, [rbp - 0x30]
mov dword [rbp - 0x3c], r13d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006d7d
mov rcx, qword [rbp - 0x30]
lea rax, [rbp - 0x80]
lea r9, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xc0]
lea rdx, [rbp + 0x1060]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, 0xea
jne 0x140006d35
mov ebx, dword [rbp - 0x80]
shr ebx, 1
cmp ebx, 0x104
jle 0x140006cd2
mov edx, ebx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
jmp 0x140006cd9
lea rdi, [rbp + 0xd0]
test rdi, rdi
je 0x140006d73
mov rcx, qword [rbp + 0xc0]
lea rax, [rbp + 0xd0]
cmp rcx, rax
je 0x140006cfb
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x30]
lea rax, [rbp - 0x80]
lea r9, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x1060]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov qword [rbp + 0xc0], rdi
mov dword [rbp + 0xc8], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, 9
mov ebx, eax
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140006d7d
cmp dword [rbp - 0x3c], r12d
jne 0x140006d7d
mov rsi, qword [rbp + 0xc0]
lea r8d, [rbx + 0x20]
movzx r15d, word [rsi]
mov qword [rsp + 0x78], rsi
cmp r15w, r8w
je 0x140006d6d
cmp r15w, di
jne 0x140007377
add rsi, 2
jmp 0x140006d54
mov edi, 0xe
jmp 0x140008918
mov edi, r13d
jmp 0x140008918
mov r14d, 0x7fffffff
mov rax, rbx
mov ecx, r14d
cmp word [rax], r13w
je 0x140006da0
add rax, 2
sub rcx, r12
jne 0x140006d91
test rcx, rcx
je 0x140008913
mov rsi, r14
sub rsi, rcx
inc esi
cmp esi, 0x104
jle 0x140006dcf
movsxd rdx, esi
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
jmp 0x140006dd6
lea rdi, [rbp + 0xd0]
test rdi, rdi
je 0x140006d73
mov rcx, qword [rbp + 0xc0]
lea rax, [rbp + 0xd0]
cmp rcx, rax
je 0x140006df4
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rax, [0x1400016e8]
mov qword [rbp + 0xc0], rdi
mov dword [rbp + 0xc8], esi
mov qword [rbp + 0xb70], rax
mov word [rdi], r13w
lea rax, [0x1400016f8]
mov qword [rbp + 0xb88], rax
lea rax, [0x140001720]
lea rcx, [0x140001710]
mov qword [rbp + 0xba8], rax
lea rax, [0x140001728]
mov qword [rbp + 0xb78], r13
mov qword [rbp + 0xbb8], rax
lea rax, [0x140001734]
mov byte [rbp + 0xb80], r13b
mov qword [rbp + 0xbc0], rax
lea rax, [0x140001740]
mov qword [rbp + 0xb90], r13
mov qword [rbp + 0xbd0], rax
lea rax, [0x140001750]
mov byte [rbp + 0xb98], r13b
mov qword [rbp + 0xbd8], rax
lea rax, [0x140001758]
mov qword [rbp + 0xba0], rcx
mov qword [rbp + 0xbe8], rax
lea rax, [0x140001768]
mov byte [rbp + 0xbb0], r12b
mov qword [rbp + 0xbf0], rax
lea rax, [0x140001798]
mov byte [rbp + 0xbc8], r12b
mov qword [rbp + 0xc00], rax
lea rax, [0x1400017b0]
mov byte [rbp + 0xbe0], r12b
mov qword [rbp + 0xc08], rax
lea rax, [0x1400017e0]
mov byte [rbp + 0xbf8], r12b
mov qword [rbp + 0xc18], rax
lea rax, [0x140001800]
mov byte [rbp + 0xc10], r12b
mov qword [rbp + 0xc20], rax
lea rax, [0x140001820]
mov byte [rbp + 0xc28], r12b
mov qword [rbp + 0xc30], rax
lea rax, [0x140001840]
mov byte [rbp + 0xc40], r12b
mov qword [rbp + 0xc38], rax
lea rax, [0x140001860]
mov byte [rbp + 0xc58], r12b
mov qword [rbp + 0xc48], rax
lea rax, [0x140001868]
mov qword [rbp + 0xc50], rax
mov eax, dword [0x140001870]
mov dword [rbp + 0xc68], eax
movzx eax, word [0x140001874]
mov word [rbp + 0xc6c], ax
mov eax, dword [0x140001878]
mov dword [rbp + 0xc60], eax
movzx eax, word [0x14000187c]
mov word [rbp + 0xc64], ax
mov rax, qword [0x140001880]
mov qword [rbp + 0xc80], rax
mov eax, dword [0x140001888]
mov dword [rbp + 0xc88], eax
movzx eax, word [0x14000188c]
mov word [rbp + 0xc8c], ax
mov rax, qword [0x140001890]
mov qword [rbp + 0xc90], rax
mov rax, qword [0x140001898]
mov qword [rbp + 0xc98], rax
mov rax, qword [0x1400018a0]
mov qword [rbp + 0xca0], rax
mov rax, qword [0x1400018a8]
mov qword [rbp + 0xca8], rax
mov rax, r14
cmp word [rcx], r13w
je 0x140006ffb
add rcx, 2
sub rax, r12
jne 0x140006fec
test rax, rax
je 0x140008913
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x58]
sub r14, rax
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x70], r13
call fcn.140004044
mov rdi, rax
test rax, rax
je 0x1400070e5
mov rsi, qword [rbp - 0x70]
movzx eax, word [rdi]
test ax, ax
je 0x1400070e5
sub ax, 0x2d
test r15w, ax
jne 0x1400070b6
lea r15, [rsi - 1]
cmp r15, r12
jne 0x14000707b
or dword [rsp + 0x28], 0xffffffff
lea rax, [0x1400018b0]
lea r9d, [rsi - 1]
lea r8, [rdi + 2]
mov edx, r12d
mov ecx, 0x409
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x1400071fb
cmp r14, r15
jne 0x1400070b0
lea rax, [0x140001710]
lea r9d, [rsi - 1]
lea r8, [rdi + 2]
mov edx, r12d
mov ecx, 0x409
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x1400071fb
mov r15d, 0xfffd
mov rsi, r13
mov qword [rbp - 0x70], r13
cmp qword [rbp - 0x58], r13
je 0x1400070d9
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x58]
call fcn.140004044
mov rsi, qword [rbp - 0x70]
mov rdi, rax
jmp 0x1400070dc
mov rdi, r13
test rdi, rdi
jne 0x14000702c
lea rax, [rbp + 0xc60]
mov byte [rbp + 0xb80], r12b
mov byte [rbp + 0xb98], r12b
mov qword [rbp + 0xb78], rax
lea rax, [rbp + 0xc68]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x58]
mov qword [rbp + 0xb90], rax
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x70], r13
call fcn.140004044
mov rbx, rax
test rax, rax
je 0x1400072b1
mov rdi, qword [rbp - 0x70]
movzx eax, word [rbx]
test ax, ax
je 0x1400072b1
sub ax, 0x2d
mov ecx, 0xfffd
test cx, ax
jne 0x1400071a8
mov r14d, r13d
mov rsi, r13
lea r15, [rbp + 0xb70]
mov rax, qword [r15]
or dword [rsp + 0x28], 0xffffffff
lea r9d, [rdi - 1]
lea r8, [rbx + 2]
mov edx, 1
mov ecx, 0x409
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x140007223
mov eax, 1
add r15, 0x18
add r14d, eax
add rsi, rax
movsxd rax, r14d
cmp rax, 0xa
jb 0x14000715b
xor r13d, r13d
lea r12d, [r13 + 1]
lea rcx, [rbp + 0xc0]
mov r9b, r12b
mov r8, rdi
mov rdx, rbx
mov dword [rbp + 0xcc], 0x104
call fcn.140004138
mov edi, eax
test eax, eax
jne 0x140008918
mov rdi, r13
mov qword [rbp - 0x70], r13
cmp qword [rbp - 0x58], r13
je 0x1400072a5
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x58]
call fcn.140004044
mov rdi, qword [rbp - 0x70]
mov rbx, rax
jmp 0x1400072a8
lea rax, [rbp + 0xc80]
mov byte [rbp + 0xb80], r13b
mov byte [rbp + 0xb98], r13b
mov qword [rbp + 0xb78], rax
lea rax, [rbp + 0xc90]
jmp 0x140007108
lea rax, [rsi + rsi*2]
xor r13d, r13d
mov dword [rbp + 0xcc], 0x104
mov r10, qword [rbp + rax*8 + 0xb78]
mov r9b, byte [rbp + rax*8 + 0xb80]
mov r8d, r13d
test r10, r10
je 0x140007276
mov r11d, 0x7fffffff
mov rcx, r10
mov edx, r13d
mov eax, r11d
lea r8d, [r13 + 1]
cmp word [rcx], r13w
je 0x14000726e
add rcx, 2
sub rax, r8
jne 0x14000725f
test rax, rax
jne 0x14000729d
mov r8, r13
mov edx, 0x80070057
test edx, edx
js 0x140008913
lea rcx, [rbp + 0xc0]
mov rdx, r10
call fcn.140004138
mov r12d, 1
jmp 0x1400071c7
mov r8, r11
sub r8, rax
jmp 0x14000727b
mov rbx, r13
test rbx, rbx
jne 0x140007134
mov rsi, qword [rbp + 0xc0]
mov rcx, r13
test rsi, rsi
je 0x1400072e1
mov ecx, 0x7fffffff
mov edx, r13d
mov eax, ecx
cmp word [rsi], r13w
je 0x1400072d9
add rsi, 2
sub rax, r12
jne 0x1400072ca
test rax, rax
jne 0x14000732b
mov rcx, r13
mov edx, 0x80070057
test edx, edx
js 0x140008913
mov r8d, 0x20
test rcx, rcx
je 0x140007336
mov rax, qword [rbp + 0xc0]
lea r12d, [r8 - 0x17]
lea rdx, [rax - 2]
lea rdx, [rdx + rcx*2]
cmp word [rdx], r8w
je 0x140007318
cmp word [rdx], r12w
jne 0x140007330
cmp rdx, qword [rbp + 0xc0]
jb 0x140007330
mov word [rdx], r13w
sub rdx, 2
jmp 0x14000730c
sub rcx, rax
jmp 0x1400072e6
mov r12d, 1
mov rsi, qword [rbp + 0xc0]
mov qword [rsp + 0x78], rsi
movzx r15d, word [rsi]
test r15w, r15w
je 0x140007377
mov r12d, 9
cmp r15w, r8w
je 0x14000735e
cmp r15w, r12w
jne 0x140007371
add rsi, 2
mov qword [rsp + 0x78], rsi
movzx r15d, word [rsi]
test r15w, r15w
jne 0x140007352
mov r12d, 1
mov rbx, qword [0x14000df20]
mov r14d, r13d
mov edi, 0x667
lea rdx, [0x140002010]
mov r9d, 0x52
test r15w, r15w
je 0x140007a19
cmp r15w, 0x2f
je 0x1400074f4
cmp r15w, 0x2d
je 0x1400074f4
lea rcx, [rbp + 0x840]
xor edx, edx
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x840]
mov ebx, 0x104
lea rdx, [rbp + 0x830]
lea rcx, [rsp + 0x78]
mov dword [rbp + 0x838], ebx
mov qword [rbp + 0x830], rax
mov dword [rbp + 0x83c], ebx
call fcn.1400066dc
test eax, eax
je 0x14000794c
mov rbx, qword [rbp + 0x830]
test rbx, rbx
je 0x140007496
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [0x14000d6e0]
lea rcx, [0x14000c910]
add edx, 2
mov r15d, eax
add edx, eax
call fcn.1400094fc
test al, al
je 0x14000748e
mov rax, qword [0x14000c910]
movsxd rsi, dword [0x14000d6e0]
mov r8, rbx
mov rcx, rsi
add esi, r12d
mov r12d, 0x20
mov word [rax + rcx*2], r12w
lea eax, [r15 + 1]
movsxd rcx, esi
movsxd rdx, eax
mov rax, qword [0x14000c910]
mov dword [0x14000d6e0], esi
lea rcx, [rax + rcx*2]
call fcn.1400025c8
test eax, eax
js 0x140007485
add esi, r15d
mov dword [0x14000d6e0], esi
mov rbx, qword [rbp + 0x830]
jmp 0x14000749c
mov r12d, 0x20
jmp 0x140007485
mov r12d, 0x20
mov rsi, qword [rsp + 0x78]
mov r13d, 9
movzx r15d, word [rsi]
cmp r15w, r12w
je 0x1400074b7
cmp r15w, r13w
jne 0x1400074c2
add rsi, 2
mov qword [rsp + 0x78], rsi
jmp 0x1400074a7
cmp dword [rbp + 0x838], 0x104
mov r13d, 0
jle 0x1400074e2
test rbx, rbx
je 0x1400074e2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [0x14000df20]
mov r8d, 1
jmp 0x140007926
add rsi, 2
mov qword [rsp + 0x78], rsi
movzx eax, word [rsi]
mov ecx, eax
or ecx, r8d
cmp r13w, ax
je 0x140007514
add rsi, 2
mov qword [rsp + 0x78], rsi
mov r12, rdx
mov eax, r9d
movzx eax, ax
or eax, r8d
cmp eax, ecx
je 0x140007532
add r12, 2
movzx eax, word [r12]
test ax, ax
jne 0x14000751a
cmp word [r12], r13w
je 0x140007a08
cmp word [rsi], r8w
ja 0x140007556
movzx eax, word [rsi]
movabs rcx, 0x100000201
bt rcx, rax
jb 0x14000755c
mov r13d, 1
mov r15d, 9
cmp word [rsi], r8w
je 0x14000756e
cmp word [rsi], r15w
jne 0x140007579
add rsi, 2
mov qword [rsp + 0x78], rsi
jmp 0x140007562
cmp word [r12], 0x63
lea rax, [rbp + 0x1060]
mov r15d, 1
mov qword [rbp - 0x28], rax
jne 0x14000759b
test r13d, r13d
jne 0x1400079e1
cmp word [r12], 0x50
jne 0x14000762a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [rax + 0xa]
cmp ebx, r15d
jle 0x1400075ce
movsxd rdx, ebx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
jmp 0x1400075d5
lea rsi, [rbp + 0xb0]
test rsi, rsi
je 0x140007a00
mov rcx, qword [rbp + 0xa0]
lea rax, [rbp + 0xb0]
cmp rcx, rax
je 0x1400075f7
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rdx, [rbp + 0x38]
lea rcx, [rsp + 0x78]
mov r8d, ebx
mov qword [rbp + 0xa0], rsi
mov dword [rbp + 0xa8], ebx
mov qword [rbp + 0x38], rsi
call fcn.140006608
test al, al
je 0x1400079f2
mov rbx, qword [0x14000df20]
jmp 0x14000765b
cmp word [r12], 0x71
je 0x14000763a
cmp word [r12], 0x63
jne 0x14000763f
test r13d, r13d
je 0x140007666
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
mov r8d, 0x400
call fcn.140006608
test al, al
je 0x1400079f2
mov rsi, qword [rsp + 0x78]
mov r8d, 0x20
mov r10d, 9
movzx r15d, word [rsi]
cmp r15w, r8w
je 0x14000767c
cmp r15w, r10w
jne 0x140007687
add rsi, 2
mov qword [rsp + 0x78], rsi
jmp 0x14000766c
movzx eax, word [r12]
mov r10d, 0
sub ax, 0x46
cmp ax, 0x2b
ja 0x140007726
movabs rcx, 0x84000000011
bt rcx, rax
jae 0x140007726
test r13d, r13d
je 0x140007726
cmp word [r12], 0x71
lea rax, [rbp + 0x1860]
lea rdx, [rbp + 0x1860]
mov qword [rbp - 0x28], rax
mov qword [rsp + 0x68], rdx
lea r13, [rbp + 0x1060]
je 0x14000772f
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
mov r8d, 0x400
call fcn.140006608
test al, al
je 0x1400079f2
mov rsi, qword [rsp + 0x78]
mov r8d, 0x20
lea r10d, [r8 - 0x17]
movzx r15d, word [rsi]
cmp r15w, r8w
je 0x140007716
cmp r15w, r10w
jne 0x140007721
add rsi, 2
mov qword [rsp + 0x78], rsi
jmp 0x140007706
xor r10d, r10d
jmp 0x14000772a
mov r13, qword [rbp - 0x78]
mov rdx, qword [rsp + 0x68]
movzx eax, word [r12]
sub ax, 0x61
cmp ax, 0x19
ja 0x140007784
lea rax, [0x140002010]
sub r12, rax
lea rax, [0x140000000]
sar r12, 1
mov rbx, qword [rax + r12*8 + 0x20e0]
mov rcx, rbx
call qword [0x140010410]
mov rdx, qword [rsp + 0x68]
mov rcx, r13
call rbx
xor r13d, r13d
test eax, eax
jne 0x140007a08
mov rbx, qword [0x14000df20]
jmp 0x140007834
test rbx, rbx
je 0x14000783f
cmp word [r12], 0x50
mov eax, 0x41
jne 0x14000780d
cmp word [rbx], ax
jne 0x14000780d
lea rdx, [rbp + 0x2060]
mov ecx, eax
call fcn.14000576c
test eax, eax
jne 0x1400079e1
lea ecx, [rax + 0x1e]
lea rdx, [rbp + 0xcb0]
mov rbx, r12
lea r8d, [rcx - 0x1d]
mov qword [0x14000df20], rbx
lea rax, [rbp + 0xcb0]
sub r13, rdx
test rcx, rcx
je 0x1400077fd
movzx edx, word [r13 + rax]
test dx, dx
je 0x1400077f3
mov word [rax], dx
add rax, 2
sub rcx, r8
jne 0x1400077d7
xor r13d, r13d
test rcx, rcx
jne 0x140007804
jmp 0x140007800
xor r13d, r13d
sub rax, 2
mov word [rax], r13w
jmp 0x1400078f9
cmp word [rbx], 0x50
jne 0x1400079e1
cmp word [r12], ax
jne 0x1400079e1
mov ecx, eax
call fcn.14000576c
xor r13d, r13d
test eax, eax
jne 0x140007a08
mov r8d, 1
jmp 0x1400078f9
cmp word [r12], 0x50
mov rbx, r12
mov qword [0x14000df20], rbx
je 0x1400078a0
lea r8, [rbp + 0x2060]
mov ecx, 0x400
lea rax, [rbp + 0x2060]
sub rdx, r8
mov r8d, 1
mov qword [rsp + 0x68], rdx
test rcx, rcx
je 0x140007896
movzx edx, word [rdx + rax]
test dx, dx
je 0x140007891
mov word [rax], dx
mov rdx, qword [rsp + 0x68]
add rax, 2
sub rcx, r8
jne 0x140007872
test rcx, rcx
jne 0x14000789a
sub rax, 2
mov word [rax], r10w
jmp 0x1400078a6
mov r8d, 1
lea rdx, [rbp + 0xcb0]
mov ecx, 0x1e
lea rax, [rbp + 0xcb0]
sub r13, rdx
test rcx, rcx
je 0x1400078e2
movzx edx, word [r13 + rax]
test dx, dx
je 0x1400078d8
mov word [rax], dx
add rax, 2
sub rcx, r8
jne 0x1400078bc
xor r13d, r13d
test rcx, rcx
jne 0x1400078e9
jmp 0x1400078e5
xor r13d, r13d
sub rax, 2
cmp word [r12], 0x45
mov word [rax], r13w
je 0x140007a1f
lea rdx, [rbp + 0x1060]
lea rax, [rbp + 0x1860]
mov word [rbp + 0x1060], r13w
mov word [rbp + 0x1860], r13w
mov r12d, 0x20
mov qword [rsp + 0x68], rdx
mov qword [rbp - 0x78], rax
test r15w, r15w
je 0x140007a25
mov r12d, 1
lea rdx, [0x140002010]
lea r8d, [r12 + 0x1f]
lea r9d, [r12 + 0x51]
jmp 0x14000739d
xor edx, edx
xor ecx, ecx
call fcn.1400042d0
mov r14d, edi
cmp dword [rbp + 0x838], ebx
jle 0x140007972
mov rcx, qword [rbp + 0x830]
test rcx, rcx
je 0x140007972
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov r12d, 0x20
call fcn.1400069b4
test r14d, r14d
jne 0x140008921
cmp qword [0x14000df20], r13
jne 0x1400079a4
xor edx, edx
xor ecx, ecx
call fcn.1400042d0
mov r14d, edi
test r14d, r14d
jne 0x140008921
mov eax, dword [0x14000df28]
test eax, eax
je 0x140008921
mov edi, 1
lea rsi, [0x140000000]
test eax, eax
je 0x140007b57
mov rbx, qword [0x14000c048]
mov rcx, rbx
call qword [0x140010410]
xor edx, edx
xor ecx, ecx
call rbx
jmp 0x140007b6b
xor edx, edx
xor ecx, ecx
call fcn.1400042d0
mov r14d, edi
xor r13d, r13d
jmp 0x140007972
xor edx, edx
xor ecx, ecx
call fcn.1400042d0
jmp 0x140008918
mov r14d, 0xe
jmp 0x1400079ed
xor edx, edx
xor ecx, ecx
call fcn.1400042d0
mov r14d, edi
jmp 0x140007972
mov r8d, 1
mov r12d, 0x20
test rbx, rbx
je 0x140007978
movzx eax, word [rbx]
cmp ax, 0x45
je 0x140007a4d
sub ax, 0x59
cmp ax, r8w
jbe 0x140007a4d
call fcn.1400069b4
mov rbx, qword [0x14000df20]
cmp word [rbx], 0x50
lea rax, [0x140002010]
lea rdi, [rbp + 0x2060]
cmove rdi, qword [rbp + 0xa0]
sub rbx, rax
lea rsi, [0x140000000]
sar rbx, 1
mov rbx, qword [rsi + rbx*8 + 0x20e0]
mov rcx, rbx
call qword [0x140010410]
lea rcx, [rbp + 0xcb0]
mov rdx, rdi
call rbx
mov edi, 1
mov r14d, eax
mov rax, qword [0x14000df20]
movzx ecx, word [rax]
lea eax, [rcx - 0x59]
cmp ax, di
jbe 0x14000891b
test r14d, r14d
jne 0x140007ad3
cmp cx, 0x45
jne 0x140007ac5
mov dword [0x14000df28], edi
jmp 0x1400079c6
mov eax, dword [0x14000df28]
mov dword [rbp - 0x60], edi
jmp 0x1400079be
cmp r14d, 0x8000
jne 0x140007aeb
mov dword [0x14000df28], r13d
mov r14d, r13d
jmp 0x140008921
mov eax, 0x4eb
cmp r14d, eax
jg 0x140007b20
je 0x14000799b
cmp r14d, 0xfffffffe
jl 0x140007b4a
test r14d, r14d
js 0x14000799e
lea eax, [r14 - 2]
cmp eax, edi
jbe 0x140007b18
cmp r14d, 0x7b
jne 0x140007b4a
mov r14d, 0x653
jmp 0x140007b4a
lea eax, [r14 - 0x642]
cmp eax, 2
jbe 0x14000799b
cmp r14d, 0x669
je 0x14000799b
cmp r14d, 0xbc2
je 0x14000799b
mov ecx, r14d
call fcn.14000610c
jmp 0x14000799b
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rcx, [0x1400018c0]
call fcn.140009fa0
cmp dword [rbp - 0x60], r13d
je 0x140007bc7
cmp dword [0x14000df28], r13d
jne 0x140007bd4
mov ebx, r13d
movsxd rcx, ebx
lea r8, [0x140002190]
mov r9d, edi
lea rax, [rcx*4 + 0xda98]
lea rdx, [rcx*8 + 0xc0f8]
shl rcx, 4
add rax, rsi
add rcx, r8
add rdx, rsi
mov r8d, 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
test eax, eax
jne 0x140007bc4
add ebx, edi
cmp ebx, edi
jl 0x140007b7d
jmp 0x140007bc7
mov dword [rbp - 0x1c], edi
cmp dword [0x14000df28], r13d
je 0x1400088cf
mov rax, qword gs:[0x60]
mov r9, qword [rsp + 0x78]
mov r10d, r13d
mov rcx, qword [rax + 0x20]
mov rbx, 0xffffffff80000001
bts dword [rcx + 8], 0x13
xor eax, eax
lea r11d, [rax + 0x30]
lea esi, [rax + 9]
mov qword [rbp + 0xc70], rax
mov qword [rbp + 0xc78], rax
movzx eax, word [r9]
mov ecx, 5
sub ax, r11w
cmp ax, si
ja 0x140007c3a
mov eax, r10d
and eax, ebx
jge 0x140007c2c
sub eax, edi
or eax, 0xfffffffe
add eax, edi
neg eax
movzx eax, word [r9]
sbb r8d, r8d
sub eax, r11d
jmp 0x140007c65
movzx eax, word [r9]
mov edx, 0x41
sub ax, dx
cmp ax, cx
ja 0x140007c99
mov eax, r10d
and eax, ebx
jge 0x140007c59
sub eax, edi
or eax, 0xfffffffe
add eax, edi
neg eax
movzx eax, word [r9]
sbb r8d, r8d
sub eax, 0x37
and r8d, 0xfffffff1
add r8d, 0x10
imul r8d, eax
cmp r10d, r12d
jge 0x140007d8f
mov eax, r10d
add r10d, edi
cdq
sub eax, edx
sar eax, 1
movsxd rcx, eax
or byte [rbp + rcx + 0xc70], r8b
add r9, 2
jmp 0x140007c0c
cmp r10d, r12d
jne 0x140007d8f
xor r15d, r15d
mov dil, r13b
mov byte [rsp + 0x60], r13b
mov sil, r13b
mov r12b, r13b
mov byte [rsp + 0x70], r13b
mov dword [rbp - 0x80], edi
cmp word [r9], r15w
je 0x140007cc5
add r9, 2
cmp word [r9], 0x43
jne 0x140007cd6
mov byte [rsp + 0x60], 1
jmp 0x140007da4
cmp word [r9], 0x55
jne 0x140007cee
mov eax, 1
mov byte [rsp + 0x60], al
mov r12b, al
jmp 0x140007da4
cmp word [r9], dx
jne 0x140007d05
mov eax, 1
mov r13b, al
mov byte [rsp + 0x70], al
jmp 0x140007da4
cmp word [r9], 0x4d
je 0x140007d37
mov eax, 0x52
cmp word [r9], ax
je 0x140007d22
cmp word [r9], 0x45
jne 0x140007da4
cmp word [r9], ax
movzx edi, dil
mov eax, 1
cmove edi, eax
mov dword [rbp - 0x80], edi
jmp 0x140007d44
mov ecx, 1
mov al, cl
mov sil, cl
mov dword [rbp - 0x80], eax
lea r8, [r9 + 4]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400088bb
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140007d9a
mov edx, edi
lea rcx, [0x140001950]
call fcn.140005eb0
mov r14d, 0x641
jmp 0x14000891b
mov edi, dword [rbp - 0x80]
mov rbx, 0xffffffff80000001
or qword [rsp + 0x68], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 2
lea r8d, [rdx - 1]
lea r9, [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x140007dde
or qword [rsp + 0x68], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x140007d8f
test sil, sil
jne 0x140007de9
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test sil, sil
je 0x140007e0e
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov r15d, 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0x10]
lea edx, [r15 + 7]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
xor esi, esi
test eax, eax
je 0x140007eac
cmp byte [0x14000e0c4], sil
jne 0x140007e49
lea rcx, [rbp]
call fcn.140002a64
mov rbx, qword [rbp]
jmp 0x140007e52
lea rbx, [0x14000e110]
mov eax, esi
test eax, eax
jne 0x140007ea0
mov rcx, qword [rbp + 0x10]
lea rax, [rbp + 0x30]
lea r8, [rbp + 0xcf0]
mov r9d, 0x58
mov rdx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140007ea0
mov rcx, qword [rbp + 0xcf0]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_EqualSid]
mov cl, dil
neg cl
sbb edx, edx
and edx, 0xfffffffe
add edx, 5
test eax, eax
cmovne r15d, edx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140007eea
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbp + 0xe52]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0xe50], si
mov ebx, eax
call sub.msvcrt.dll_memset
lea r8, [0x1400019c0]
lea rcx, [rbp + 0xe50]
mov r9d, ebx
mov edx, 0x104
call fcn.140002810
mov edi, 1
test r12b, r12b
je 0x140007efd
cmp r15d, edi
jne 0x140007f0f
lea r15d, [rdi + 8]
test r13b, r13b
je 0x140007f39
test r15d, r15d
jne 0x140007f2a
mov r15d, 6
jmp 0x140007f39
test r15d, r15d
jne 0x140007f1c
mov r15d, 8
jmp 0x140007efd
xor edx, edx
lea rcx, [0x140001a00]
jmp 0x140007d8a
cmp r15d, edi
jne 0x140007d8f
mov r15d, 7
mov r12d, 0x100
mov r13d, 3
mov dword [rbp - 0xc], r12d
mov r8d, r13d
cmp r15d, edi
jbe 0x140007f5a
lea eax, [r15 - 6]
cmp eax, r13d
ja 0x140007f60
mov r8d, 2
lea rdx, [rbp - 0xc]
lea rcx, [rbp + 0xd50]
call fcn.140002b64
mov ebx, eax
test eax, eax
je 0x140007f90
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x14000891e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000891e
movsxd rbx, dword [rbp - 0xc]
mov dword [rbp + 8], ebx
mov dword [rbp - 0x50], ebx
mov dword [rbp - 0x18], ebx
mov dword [rbp - 0x20], ebx
mov dword [rbp - 0x14], ebx
mov dword [rbp + 0x3f8], ebx
cmp ebx, r12d
jle 0x140007fd0
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, dword [rbp - 0x50]
mov qword [rbp + 0x3f0], rax
test rax, rax
jne 0x140007fef
mov dword [rbp + 0x3f8], esi
jmp 0x140007fef
lea rcx, [rbp + 0x400]
mov r8, r12
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x400]
mov qword [rbp + 0x3f0], rax
mov dword [rbp + 0x618], ebx
cmp ebx, r12d
jle 0x140008019
movsxd rdx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x610], rax
test rax, rax
jne 0x140008038
mov dword [rbp + 0x618], esi
jmp 0x140008038
lea rcx, [rbp + 0x620]
mov r8, r12
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x620]
mov qword [rbp + 0x610], rax
movsxd rax, dword [rbp - 0x18]
mov dword [rbp + 0x508], eax
cmp eax, r12d
jle 0x140008066
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x500], rax
test rax, rax
jne 0x140008085
mov dword [rbp + 0x508], esi
jmp 0x140008085
lea rcx, [rbp + 0x510]
mov r8, r12
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x510]
mov qword [rbp + 0x500], rax
movsxd rax, dword [rbp - 0x20]
mov dword [rbp + 0x2e8], eax
cmp eax, r12d
jle 0x1400080b6
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
mov qword [rbp + 0x2e0], rax
test rax, rax
jne 0x1400080d5
mov dword [rbp + 0x2e8], esi
jmp 0x1400080d5
lea rcx, [rbp + 0x2f0]
mov r8, r12
xor edx, edx
call sub.msvcrt.dll_memset
lea rbx, [rbp + 0x2f0]
mov qword [rbp + 0x2e0], rbx
movsxd rax, dword [rbp - 0x14]
mov dword [rbp + 0x728], eax
cmp eax, r12d
jle 0x14000810a
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, qword [rbp + 0x2e0]
mov qword [rbp + 0x720], rax
test rax, rax
jne 0x140008129
mov dword [rbp + 0x728], esi
jmp 0x140008129
lea rcx, [rbp + 0x730]
mov r8, r12
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x730]
mov qword [rbp + 0x720], rax
mov r9, qword [rbp + 0x610]
mov rdx, qword [rbp + 0x3f0]
lea rcx, [rbp - 0x14]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x500]
lea r8, [rbp + 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
lea rcx, [rbp + 0xd50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_MakeAbsoluteSD]
test eax, eax
jne 0x1400081a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x68]
mov r14d, eax
cmp rcx, 0xffffffffffffffff
je 0x140008737
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008737
mov rbx, qword [0x14000c038]
mov rcx, rbx
call qword [0x140010410]
mov rcx, qword [rbp + 0x3f0]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r13d
call rbx
mov ebx, eax
test eax, eax
je 0x14000820b
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x1400081fd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, ebx
lea rcx, [0x140001ad0]
jmp 0x14000872c
xor r9d, r9d
xor r8d, r8d
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r13, rax
test rax, rax
jne 0x14000823d
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140008731
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008731
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp], rax
test rax, rax
je 0x140008223
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x48], rsi
call fcn.140006870
mov rdi, rax
test rax, rax
jne 0x140008293
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140008280
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x140001b30]
xor edx, edx
call fcn.140005eb0
jmp 0x140008539
mov dword [rbp - 0x40], esi
mov dword [rbp - 0x10], esi
call fcn.140003ab4
mov r12, rax
test rax, rax
je 0x1400083ef
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x1400082ca
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rcx, rsi
call qword [0x140010410]
mov rcx, rbx
call rsi
xor esi, esi
mov qword [rbp - 0x78], rsi
mov rax, qword [r12]
mov rbx, qword [rax]
mov rcx, rbx
call qword [0x140010410]
lea r8, [rbp - 0x78]
lea rdx, [0x140002080]
mov rcx, r12
call rbx
mov rax, qword [r12]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [0x140010410]
mov rcx, r12
call rbx
mov rbx, qword [rbp - 0x48]
mov dword [rbp - 0x38], r15d
test rbx, rbx
je 0x140008328
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rcx, rsi
call qword [0x140010410]
mov rcx, rbx
call rsi
xor esi, esi
mov qword [rbp - 0x48], rsi
mov rax, qword [rdi]
mov rbx, qword [rax + 0x70]
mov rcx, rbx
call qword [0x140010410]
lea rax, [rbp - 0x10]
lea r8, [rbp + 0xc70]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x48]
lea rdx, [rbp - 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x40]
mov r9d, 0x10
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x78]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call rbx
test eax, eax
je 0x140008397
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x14000838b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x140001b90]
jmp 0x14000851d
mov r8d, dword [rbp - 0x40]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
jne 0x1400083d5
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x1400083c1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140001c00]
mov edx, eax
jmp 0x14000851f
mov rbx, qword [0x14000c030]
mov rcx, rbx
call qword [0x140010410]
mov rcx, qword [rbp - 0x48]
call rbx
test eax, eax
jne 0x140008409
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140008524
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008524
mov rbx, qword [rbp - 0x78]
mov rax, qword [rbx]
mov rsi, qword [rax]
mov rcx, rsi
call qword [0x140010410]
lea r8, [rbp - 0x68]
lea rdx, [0x140001fe8]
mov rcx, rbx
call rsi
xor eax, eax
mov qword [rbp - 0x30], rax
cmp r15d, dword [rbp - 0x38]
jne 0x140008447
lea eax, [r15 - 8]
mov r8d, 1
cmp eax, r8d
ja 0x14000844f
lea rax, [rbp - 0x38]
mov qword [rbp - 0x30], rax
mov rsi, qword [rbp - 0x68]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x140]
mov rcx, rbx
call qword [0x140010410]
mov rdx, qword [rbp - 0x30]
lea r8, [rbp + 0xc70]
mov rcx, rsi
call rbx
mov rsi, qword [rbp - 0x68]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x150]
mov rcx, rbx
call qword [0x140010410]
mov rdx, r13
mov rcx, rsi
call rbx
mov rsi, qword [rbp - 0x68]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x158]
mov rcx, rbx
call qword [0x140010410]
mov r15, qword [rbp]
mov rcx, rsi
mov rdx, r15
call rbx
mov rsi, qword [rbp - 0x68]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x148]
mov rcx, rbx
call qword [0x140010410]
mov rax, qword [rsp + 0x68]
mov r9b, byte [rsp + 0x70]
mov r8b, byte [rsp + 0x60]
mov edx, dword [rbp - 0x40]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp - 0x10]
mov rcx, rsi
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x80]
mov byte [rsp + 0x20], al
call rbx
mov rcx, qword [rsp + 0x68]
mov ebx, eax
cmp rcx, 0xffffffffffffffff
je 0x140008512
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or qword [rsp + 0x68], 0xffffffffffffffff
test ebx, ebx
je 0x14000857e
lea rcx, [0x140001c70]
xor edx, edx
call fcn.140005eb0
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [0x140010410]
mov rcx, rdi
call rbx
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x140008557
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x140010410]
mov rcx, rbx
call rdi
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x140008731
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x140010410]
mov rcx, rbx
call rdi
jmp 0x140008731
mov rsi, qword [rbp - 0x68]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x138]
mov rcx, rbx
call qword [0x140010410]
mov rdx, qword [rbp - 0x48]
mov rcx, rsi
call rbx
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [0x140010410]
mov rcx, rdi
call rbx
mov rbx, qword [rbp - 0x48]
xor esi, esi
test rbx, rbx
je 0x1400085d3
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x140010410]
mov rcx, rbx
call rdi
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x1400085f1
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x140010410]
mov rcx, rbx
call rdi
xor r8d, r8d
lea rdx, [rbp + 0x18]
or r9d, 0xffffffff
lea ecx, [r8 + 3]
mov dword [0x14000d6dc], 3
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r15
mov dword [rsp + 0x20], 0x1cff
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
xor r15d, r15d
test eax, eax
je 0x1400087d4
lea ebx, [r15 + 1]
cmp eax, ebx
je 0x1400087cb
cmp eax, 2
jne 0x140008695
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rbp - 0x68]
mov dword [rbp - 8], r15d
mov rax, qword [rdi]
mov rbx, qword [rax + 0x160]
mov rcx, rbx
call qword [0x140010410]
lea rdx, [rbp - 8]
mov rcx, rdi
call rbx
mov r8d, dword [rbp - 8]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
je 0x14000870c
mov qword [rbp + 0x18], rax
mov ebx, 1
jmp 0x1400086e2
cmp eax, 3
jne 0x1400087d4
jmp 0x1400086ba
cmp dword [rbp + 0x48], 0x12
je 0x1400086d6
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rbp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400086a0
jmp 0x1400086d9
mov sil, bl
test sil, sil
jne 0x1400087d4
xor r8d, r8d
lea rdx, [rbp + 0x18]
or r9d, 0xffffffff
lea ecx, [r8 + 3]
mov dword [rsp + 0x20], 0x1cff
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
je 0x1400087d4
jmp 0x140008633
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x14000871d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140001c00]
mov edx, eax
call fcn.140005eb0
mov r14d, 0x641
mov ebx, 0x100
cmp dword [rbp + 0x728], ebx
jle 0x140008756
mov rcx, qword [rbp + 0x720]
test rcx, rcx
je 0x140008756
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x2e8], ebx
jle 0x140008770
mov rcx, qword [rbp + 0x2e0]
test rcx, rcx
je 0x140008770
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x508], ebx
jle 0x14000878a
mov rcx, qword [rbp + 0x500]
test rcx, rcx
je 0x14000878a
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x618], ebx
jle 0x1400087a4
mov rcx, qword [rbp + 0x610]
test rcx, rcx
je 0x1400087a4
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x3f8], ebx
jle 0x140008921
mov rcx, qword [rbp + 0x3f0]
test rcx, rcx
je 0x140008921
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140008921
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rbp - 0x68]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [0x140010410]
mov rcx, rdi
call rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 0x100
xor r13d, r13d
cmp dword [rbp + 0x728], ebx
jle 0x140008818
mov rcx, qword [rbp + 0x720]
test rcx, rcx
je 0x140008818
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x2e8], ebx
jle 0x140008832
mov rcx, qword [rbp + 0x2e0]
test rcx, rcx
je 0x140008832
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x508], ebx
jle 0x14000884c
mov rcx, qword [rbp + 0x500]
test rcx, rcx
je 0x14000884c
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x618], ebx
jle 0x140008866
mov rcx, qword [rbp + 0x610]
test rcx, rcx
je 0x140008866
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x3f8], ebx
jle 0x140008880
mov rcx, qword [rbp + 0x3f0]
test rcx, rcx
je 0x140008880
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp - 0x60], r13d
je 0x14000889f
cmp dword [0x14000df28], r13d
jne 0x14000889f
mov ecx, dword [0x14000da98]
test ecx, ecx
je 0x14000889f
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rbp - 0x1c], r13d
je 0x140008921
mov r14d, 0x641
mov ecx, r14d
call fcn.14000610c
jmp 0x140008921
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x1400018e0]
mov edx, eax
jmp 0x140007d8a
mov dword [0x14000d6dc], edi
lea rcx, [rbp + 0x70]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x1400088fd
cmp dword [0x14000df2c], r13d
je 0x140008880
cmp dword [0x14000dea0], r13d
je 0x140008880
lea rcx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400088d5
mov edi, 0x65b
mov r14d, edi
mov ebx, r14d
mov r14d, ebx
cmp dword [rbp + 0xc8], 0x104
jle 0x14000893a
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rax, [rbp + 0xd0]
mov dword [rbp + 0xc8], 0x104
mov qword [rbp + 0xc0], rax
mov eax, 1
cmp dword [rbp + 0xa8], eax
jle 0x14000896c
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, r14d
mov rcx, qword [rbp + 0x2860]
xor rcx, rsp
call fcn.14000a6c0
lea r11, [rsp + 0x2970]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret