Function at 0x140006af8
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.14000b3a0
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 0x140006bca
add rbx, 2
jmp 0x140006bcd
movzx ecx, si
movzx eax, word [rbx]
test ax, ax
je 0x140006bf0
cmp ax, cx
je 0x140006be6
add rbx, 2
movzx eax, word [rbx]
test ax, ax
jne 0x140006bd5
cmp word [rbx], r13w
je 0x140006bf0
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 0x140006c1d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x140006c24
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 0x140006c90
cmp word [rbx], di
jne 0x140006c96
add rbx, 2
jmp 0x140006c86
movzx eax, word [rbx]
mov r15d, 0xfffd
sub ax, 0x2d
test r15w, ax
jne 0x140006e65
lea rax, [rbx + 2]
test rax, rax
je 0x140006e65
movzx eax, word [rax]
or ax, si
cmp ax, 0x60
jne 0x140006e65
add rbx, 4
mov qword [rsp + 0x78], rbx
cmp word [rbx], si
je 0x140006cdd
cmp word [rbx], di
jne 0x140006ce3
add rbx, 2
jmp 0x140006cce
lea rax, [rbp + 0x1060]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
mov r8d, 0x400
mov qword [rbp - 0x28], rax
call fcn.1400066e8
test al, al
jne 0x140006d19
xor edx, edx
xor ecx, ecx
call fcn.1400043b0
mov edi, 0x667
jmp 0x1400089f8
mov eax, dword [rbp + 0xc8]
lea rdx, [0x140001670]
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 0x140006e5d
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 0x140006e15
mov ebx, dword [rbp - 0x80]
shr ebx, 1
cmp ebx, 0x104
jle 0x140006db2
mov edx, ebx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
jmp 0x140006db9
lea rdi, [rbp + 0xd0]
test rdi, rdi
je 0x140006e53
mov rcx, qword [rbp + 0xc0]
lea rax, [rbp + 0xd0]
cmp rcx, rax
je 0x140006ddb
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 0x140006e5d
cmp dword [rbp - 0x3c], r12d
jne 0x140006e5d
mov rsi, qword [rbp + 0xc0]
lea r8d, [rbx + 0x20]
movzx r15d, word [rsi]
mov qword [rsp + 0x78], rsi
cmp r15w, r8w
je 0x140006e4d
cmp r15w, di
jne 0x140007457
add rsi, 2
jmp 0x140006e34
mov edi, 0xe
jmp 0x1400089f8
mov edi, r13d
jmp 0x1400089f8
mov r14d, 0x7fffffff
mov rax, rbx
mov ecx, r14d
cmp word [rax], r13w
je 0x140006e80
add rax, 2
sub rcx, r12
jne 0x140006e71
test rcx, rcx
je 0x1400089f3
mov rsi, r14
sub rsi, rcx
inc esi
cmp esi, 0x104
jle 0x140006eaf
movsxd rdx, esi
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
jmp 0x140006eb6
lea rdi, [rbp + 0xd0]
test rdi, rdi
je 0x140006e53
mov rcx, qword [rbp + 0xc0]
lea rax, [rbp + 0xd0]
cmp rcx, rax
je 0x140006ed4
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rax, [0x1400016f8]
mov qword [rbp + 0xc0], rdi
mov dword [rbp + 0xc8], esi
mov qword [rbp + 0xb70], rax
mov word [rdi], r13w
lea rax, [0x140001708]
mov qword [rbp + 0xb88], rax
lea rax, [0x140001730]
lea rcx, [0x140001720]
mov qword [rbp + 0xba8], rax
lea rax, [0x140001738]
mov qword [rbp + 0xb78], r13
mov qword [rbp + 0xbb8], rax
lea rax, [0x140001744]
mov byte [rbp + 0xb80], r13b
mov qword [rbp + 0xbc0], rax
lea rax, [0x140001750]
mov qword [rbp + 0xb90], r13
mov qword [rbp + 0xbd0], rax
lea rax, [0x140001760]
mov byte [rbp + 0xb98], r13b
mov qword [rbp + 0xbd8], rax
lea rax, [0x140001768]
mov qword [rbp + 0xba0], rcx
mov qword [rbp + 0xbe8], rax
lea rax, [0x140001778]
mov byte [rbp + 0xbb0], r12b
mov qword [rbp + 0xbf0], rax
lea rax, [0x1400017a8]
mov byte [rbp + 0xbc8], r12b
mov qword [rbp + 0xc00], rax
lea rax, [0x1400017c0]
mov byte [rbp + 0xbe0], r12b
mov qword [rbp + 0xc08], rax
lea rax, [0x1400017f0]
mov byte [rbp + 0xbf8], r12b
mov qword [rbp + 0xc18], rax
lea rax, [0x140001810]
mov byte [rbp + 0xc10], r12b
mov qword [rbp + 0xc20], rax
lea rax, [0x140001830]
mov byte [rbp + 0xc28], r12b
mov qword [rbp + 0xc30], rax
lea rax, [0x140001850]
mov byte [rbp + 0xc40], r12b
mov qword [rbp + 0xc38], rax
lea rax, [0x140001870]
mov byte [rbp + 0xc58], r12b
mov qword [rbp + 0xc48], rax
lea rax, [0x140001878]
mov qword [rbp + 0xc50], rax
mov eax, dword [0x140001880]
mov dword [rbp + 0xc68], eax
movzx eax, word [0x140001884]
mov word [rbp + 0xc6c], ax
mov eax, dword [0x140001888]
mov dword [rbp + 0xc60], eax
movzx eax, word [0x14000188c]
mov word [rbp + 0xc64], ax
mov rax, qword [0x140001890]
mov qword [rbp + 0xc80], rax
mov eax, dword [0x140001898]
mov dword [rbp + 0xc88], eax
movzx eax, word [0x14000189c]
mov word [rbp + 0xc8c], ax
mov rax, qword [0x1400018a0]
mov qword [rbp + 0xc90], rax
mov rax, qword [0x1400018a8]
mov qword [rbp + 0xc98], rax
mov rax, qword [0x1400018b0]
mov qword [rbp + 0xca0], rax
mov rax, qword [0x1400018b8]
mov qword [rbp + 0xca8], rax
mov rax, r14
cmp word [rcx], r13w
je 0x1400070db
add rcx, 2
sub rax, r12
jne 0x1400070cc
test rax, rax
je 0x1400089f3
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x58]
sub r14, rax
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x70], r13
call fcn.140004124
mov rdi, rax
test rax, rax
je 0x1400071c5
mov rsi, qword [rbp - 0x70]
movzx eax, word [rdi]
test ax, ax
je 0x1400071c5
sub ax, 0x2d
test r15w, ax
jne 0x140007196
lea r15, [rsi - 1]
cmp r15, r12
jne 0x14000715b
or dword [rsp + 0x28], 0xffffffff
lea rax, [0x1400018c0]
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 0x1400072db
cmp r14, r15
jne 0x140007190
lea rax, [0x140001720]
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 0x1400072db
mov r15d, 0xfffd
mov rsi, r13
mov qword [rbp - 0x70], r13
cmp qword [rbp - 0x58], r13
je 0x1400071b9
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x58]
call fcn.140004124
mov rsi, qword [rbp - 0x70]
mov rdi, rax
jmp 0x1400071bc
mov rdi, r13
test rdi, rdi
jne 0x14000710c
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.140004124
mov rbx, rax
test rax, rax
je 0x140007391
mov rdi, qword [rbp - 0x70]
movzx eax, word [rbx]
test ax, ax
je 0x140007391
sub ax, 0x2d
mov ecx, 0xfffd
test cx, ax
jne 0x140007288
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 0x140007303
mov eax, 1
add r15, 0x18
add r14d, eax
add rsi, rax
movsxd rax, r14d
cmp rax, 0xa
jb 0x14000723b
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.140004218
mov edi, eax
test eax, eax
jne 0x1400089f8
mov rdi, r13
mov qword [rbp - 0x70], r13
cmp qword [rbp - 0x58], r13
je 0x140007385
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x58]
call fcn.140004124
mov rdi, qword [rbp - 0x70]
mov rbx, rax
jmp 0x140007388
lea rax, [rbp + 0xc80]
mov byte [rbp + 0xb80], r13b
mov byte [rbp + 0xb98], r13b
mov qword [rbp + 0xb78], rax
lea rax, [rbp + 0xc90]
jmp 0x1400071e8
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 0x140007356
mov r11d, 0x7fffffff
mov rcx, r10
mov edx, r13d
mov eax, r11d
lea r8d, [r13 + 1]
cmp word [rcx], r13w
je 0x14000734e
add rcx, 2
sub rax, r8
jne 0x14000733f
test rax, rax
jne 0x14000737d
mov r8, r13
mov edx, 0x80070057
test edx, edx
js 0x1400089f3
lea rcx, [rbp + 0xc0]
mov rdx, r10
call fcn.140004218
mov r12d, 1
jmp 0x1400072a7
mov r8, r11
sub r8, rax
jmp 0x14000735b
mov rbx, r13
test rbx, rbx
jne 0x140007214
mov rsi, qword [rbp + 0xc0]
mov rcx, r13
test rsi, rsi
je 0x1400073c1
mov ecx, 0x7fffffff
mov edx, r13d
mov eax, ecx
cmp word [rsi], r13w
je 0x1400073b9
add rsi, 2
sub rax, r12
jne 0x1400073aa
test rax, rax
jne 0x14000740b
mov rcx, r13
mov edx, 0x80070057
test edx, edx
js 0x1400089f3
mov r8d, 0x20
test rcx, rcx
je 0x140007416
mov rax, qword [rbp + 0xc0]
lea r12d, [r8 - 0x17]
lea rdx, [rax - 2]
lea rdx, [rdx + rcx*2]
cmp word [rdx], r8w
je 0x1400073f8
cmp word [rdx], r12w
jne 0x140007410
cmp rdx, qword [rbp + 0xc0]
jb 0x140007410
mov word [rdx], r13w
sub rdx, 2
jmp 0x1400073ec
sub rcx, rax
jmp 0x1400073c6
mov r12d, 1
mov rsi, qword [rbp + 0xc0]
mov qword [rsp + 0x78], rsi
movzx r15d, word [rsi]
test r15w, r15w
je 0x140007457
mov r12d, 9
cmp r15w, r8w
je 0x14000743e
cmp r15w, r12w
jne 0x140007451
add rsi, 2
mov qword [rsp + 0x78], rsi
movzx r15d, word [rsi]
test r15w, r15w
jne 0x140007432
mov r12d, 1
mov rbx, qword [0x14000df20]
mov r14d, r13d
mov edi, 0x667
lea rdx, [0x1400020e0]
mov r9d, 0x52
test r15w, r15w
je 0x140007af9
cmp r15w, 0x2f
je 0x1400075d4
cmp r15w, 0x2d
je 0x1400075d4
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.1400067bc
test eax, eax
je 0x140007a2c
mov rbx, qword [rbp + 0x830]
test rbx, rbx
je 0x140007576
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.1400096bc
test al, al
je 0x14000756e
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.1400026a8
test eax, eax
js 0x140007565
add esi, r15d
mov dword [0x14000d6e0], esi
mov rbx, qword [rbp + 0x830]
jmp 0x14000757c
mov r12d, 0x20
jmp 0x140007565
mov r12d, 0x20
mov rsi, qword [rsp + 0x78]
mov r13d, 9
movzx r15d, word [rsi]
cmp r15w, r12w
je 0x140007597
cmp r15w, r13w
jne 0x1400075a2
add rsi, 2
mov qword [rsp + 0x78], rsi
jmp 0x140007587
cmp dword [rbp + 0x838], 0x104
mov r13d, 0
jle 0x1400075c2
test rbx, rbx
je 0x1400075c2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [0x14000df20]
mov r8d, 1
jmp 0x140007a06
add rsi, 2
mov qword [rsp + 0x78], rsi
movzx eax, word [rsi]
mov ecx, eax
or ecx, r8d
cmp r13w, ax
je 0x1400075f4
add rsi, 2
mov qword [rsp + 0x78], rsi
mov r12, rdx
mov eax, r9d
movzx eax, ax
or eax, r8d
cmp eax, ecx
je 0x140007612
add r12, 2
movzx eax, word [r12]
test ax, ax
jne 0x1400075fa
cmp word [r12], r13w
je 0x140007ae8
cmp word [rsi], r8w
ja 0x140007636
movzx eax, word [rsi]
movabs rcx, 0x100000201
bt rcx, rax
jb 0x14000763c
mov r13d, 1
mov r15d, 9
cmp word [rsi], r8w
je 0x14000764e
cmp word [rsi], r15w
jne 0x140007659
add rsi, 2
mov qword [rsp + 0x78], rsi
jmp 0x140007642
cmp word [r12], 0x63
lea rax, [rbp + 0x1060]
mov r15d, 1
mov qword [rbp - 0x28], rax
jne 0x14000767b
test r13d, r13d
jne 0x140007ac1
cmp word [r12], 0x50
jne 0x14000770a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [rax + 0xa]
cmp ebx, r15d
jle 0x1400076ae
movsxd rdx, ebx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
jmp 0x1400076b5
lea rsi, [rbp + 0xb0]
test rsi, rsi
je 0x140007ae0
mov rcx, qword [rbp + 0xa0]
lea rax, [rbp + 0xb0]
cmp rcx, rax
je 0x1400076d7
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.1400066e8
test al, al
je 0x140007ad2
mov rbx, qword [0x14000df20]
jmp 0x14000773b
cmp word [r12], 0x71
je 0x14000771a
cmp word [r12], 0x63
jne 0x14000771f
test r13d, r13d
je 0x140007746
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
mov r8d, 0x400
call fcn.1400066e8
test al, al
je 0x140007ad2
mov rsi, qword [rsp + 0x78]
mov r8d, 0x20
mov r10d, 9
movzx r15d, word [rsi]
cmp r15w, r8w
je 0x14000775c
cmp r15w, r10w
jne 0x140007767
add rsi, 2
mov qword [rsp + 0x78], rsi
jmp 0x14000774c
movzx eax, word [r12]
mov r10d, 0
sub ax, 0x46
cmp ax, 0x2b
ja 0x140007806
movabs rcx, 0x84000000011
bt rcx, rax
jae 0x140007806
test r13d, r13d
je 0x140007806
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 0x14000780f
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
mov r8d, 0x400
call fcn.1400066e8
test al, al
je 0x140007ad2
mov rsi, qword [rsp + 0x78]
mov r8d, 0x20
lea r10d, [r8 - 0x17]
movzx r15d, word [rsi]
cmp r15w, r8w
je 0x1400077f6
cmp r15w, r10w
jne 0x140007801
add rsi, 2
mov qword [rsp + 0x78], rsi
jmp 0x1400077e6
xor r10d, r10d
jmp 0x14000780a
mov r13, qword [rbp - 0x78]
mov rdx, qword [rsp + 0x68]
movzx eax, word [r12]
sub ax, 0x61
cmp ax, 0x19
ja 0x140007864
lea rax, [0x1400020e0]
sub r12, rax
lea rax, [0x140000000]
sar r12, 1
mov rbx, qword [rax + r12*8 + 0x21b0]
mov rcx, rbx
call qword [0x140010410]
mov rdx, qword [rsp + 0x68]
mov rcx, r13
call rbx
xor r13d, r13d
test eax, eax
jne 0x140007ae8
mov rbx, qword [0x14000df20]
jmp 0x140007914
test rbx, rbx
je 0x14000791f
cmp word [r12], 0x50
mov eax, 0x41
jne 0x1400078ed
cmp word [rbx], ax
jne 0x1400078ed
lea rdx, [rbp + 0x2060]
mov ecx, eax
call fcn.14000584c
test eax, eax
jne 0x140007ac1
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 0x1400078dd
movzx edx, word [r13 + rax]
test dx, dx
je 0x1400078d3
mov word [rax], dx
add rax, 2
sub rcx, r8
jne 0x1400078b7
xor r13d, r13d
test rcx, rcx
jne 0x1400078e4
jmp 0x1400078e0
xor r13d, r13d
sub rax, 2
mov word [rax], r13w
jmp 0x1400079d9
cmp word [rbx], 0x50
jne 0x140007ac1
cmp word [r12], ax
jne 0x140007ac1
mov ecx, eax
call fcn.14000584c
xor r13d, r13d
test eax, eax
jne 0x140007ae8
mov r8d, 1
jmp 0x1400079d9
cmp word [r12], 0x50
mov rbx, r12
mov qword [0x14000df20], rbx
je 0x140007980
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 0x140007976
movzx edx, word [rdx + rax]
test dx, dx
je 0x140007971
mov word [rax], dx
mov rdx, qword [rsp + 0x68]
add rax, 2
sub rcx, r8
jne 0x140007952
test rcx, rcx
jne 0x14000797a
sub rax, 2
mov word [rax], r10w
jmp 0x140007986
mov r8d, 1
lea rdx, [rbp + 0xcb0]
mov ecx, 0x1e
lea rax, [rbp + 0xcb0]
sub r13, rdx
test rcx, rcx
je 0x1400079c2
movzx edx, word [r13 + rax]
test dx, dx
je 0x1400079b8
mov word [rax], dx
add rax, 2
sub rcx, r8
jne 0x14000799c
xor r13d, r13d
test rcx, rcx
jne 0x1400079c9
jmp 0x1400079c5
xor r13d, r13d
sub rax, 2
cmp word [r12], 0x45
mov word [rax], r13w
je 0x140007aff
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 0x140007b05
mov r12d, 1
lea rdx, [0x1400020e0]
lea r8d, [r12 + 0x1f]
lea r9d, [r12 + 0x51]
jmp 0x14000747d
xor edx, edx
xor ecx, ecx
call fcn.1400043b0
mov r14d, edi
cmp dword [rbp + 0x838], ebx
jle 0x140007a52
mov rcx, qword [rbp + 0x830]
test rcx, rcx
je 0x140007a52
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov r12d, 0x20
call fcn.140006a94
test r14d, r14d
jne 0x140008a01
cmp qword [0x14000df20], r13
jne 0x140007a84
xor edx, edx
xor ecx, ecx
call fcn.1400043b0
mov r14d, edi
test r14d, r14d
jne 0x140008a01
mov eax, dword [0x14000df28]
test eax, eax
je 0x140008a01
mov edi, 1
lea rsi, [0x140000000]
test eax, eax
je 0x140007c37
mov rbx, qword [0x14000c048]
mov rcx, rbx
call qword [0x140010410]
xor edx, edx
xor ecx, ecx
call rbx
jmp 0x140007c4b
xor edx, edx
xor ecx, ecx
call fcn.1400043b0
mov r14d, edi
xor r13d, r13d
jmp 0x140007a52
xor edx, edx
xor ecx, ecx
call fcn.1400043b0
jmp 0x1400089f8
mov r14d, 0xe
jmp 0x140007acd
xor edx, edx
xor ecx, ecx
call fcn.1400043b0
mov r14d, edi
jmp 0x140007a52
mov r8d, 1
mov r12d, 0x20
test rbx, rbx
je 0x140007a58
movzx eax, word [rbx]
cmp ax, 0x45
je 0x140007b2d
sub ax, 0x59
cmp ax, r8w
jbe 0x140007b2d
call fcn.140006a94
mov rbx, qword [0x14000df20]
cmp word [rbx], 0x50
lea rax, [0x1400020e0]
lea rdi, [rbp + 0x2060]
cmove rdi, qword [rbp + 0xa0]
sub rbx, rax
lea rsi, [0x140000000]
sar rbx, 1
mov rbx, qword [rsi + rbx*8 + 0x21b0]
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 0x1400089fb
test r14d, r14d
jne 0x140007bb3
cmp cx, 0x45
jne 0x140007ba5
mov dword [0x14000df28], edi
jmp 0x140007aa6
mov eax, dword [0x14000df28]
mov dword [rbp - 0x60], edi
jmp 0x140007a9e
cmp r14d, 0x8000
jne 0x140007bcb
mov dword [0x14000df28], r13d
mov r14d, r13d
jmp 0x140008a01
mov eax, 0x4eb
cmp r14d, eax
jg 0x140007c00
je 0x140007a7b
cmp r14d, 0xfffffffe
jl 0x140007c2a
test r14d, r14d
js 0x140007a7e
lea eax, [r14 - 2]
cmp eax, edi
jbe 0x140007bf8
cmp r14d, 0x7b
jne 0x140007c2a
mov r14d, 0x653
jmp 0x140007c2a
lea eax, [r14 - 0x642]
cmp eax, 2
jbe 0x140007a7b
cmp r14d, 0x669
je 0x140007a7b
cmp r14d, 0xbc2
je 0x140007a7b
mov ecx, r14d
call fcn.1400061ec
jmp 0x140007a7b
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rcx, [0x1400018d0]
call fcn.14000a160
cmp dword [rbp - 0x60], r13d
je 0x140007ca7
cmp dword [0x14000df28], r13d
jne 0x140007cb4
mov ebx, r13d
movsxd rcx, ebx
lea r8, [0x140002260]
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 0x140007ca4
add ebx, edi
cmp ebx, edi
jl 0x140007c5d
jmp 0x140007ca7
mov dword [rbp - 0x1c], edi
cmp dword [0x14000df28], r13d
je 0x1400089af
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 0x140007d1a
mov eax, r10d
and eax, ebx
jge 0x140007d0c
sub eax, edi
or eax, 0xfffffffe
add eax, edi
neg eax
movzx eax, word [r9]
sbb r8d, r8d
sub eax, r11d
jmp 0x140007d45
movzx eax, word [r9]
mov edx, 0x41
sub ax, dx
cmp ax, cx
ja 0x140007d79
mov eax, r10d
and eax, ebx
jge 0x140007d39
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 0x140007e6f
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 0x140007cec
cmp r10d, r12d
jne 0x140007e6f
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 0x140007da5
add r9, 2
cmp word [r9], 0x43
jne 0x140007db6
mov byte [rsp + 0x60], 1
jmp 0x140007e84
cmp word [r9], 0x55
jne 0x140007dce
mov eax, 1
mov byte [rsp + 0x60], al
mov r12b, al
jmp 0x140007e84
cmp word [r9], dx
jne 0x140007de5
mov eax, 1
mov r13b, al
mov byte [rsp + 0x70], al
jmp 0x140007e84
cmp word [r9], 0x4d
je 0x140007e17
mov eax, 0x52
cmp word [r9], ax
je 0x140007e02
cmp word [r9], 0x45
jne 0x140007e84
cmp word [r9], ax
movzx edi, dil
mov eax, 1
cmove edi, eax
mov dword [rbp - 0x80], edi
jmp 0x140007e24
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 0x14000899b
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 0x140007e7a
mov edx, edi
lea rcx, [0x140001960]
call fcn.140005f90
mov r14d, 0x641
jmp 0x1400089fb
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 0x140007ebe
or qword [rsp + 0x68], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x140007e6f
test sil, sil
jne 0x140007ec9
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 0x140007eee
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 0x140007f8c
cmp byte [0x14000e0c4], sil
jne 0x140007f29
lea rcx, [rbp]
call fcn.140002b44
mov rbx, qword [rbp]
jmp 0x140007f32
lea rbx, [0x14000e110]
mov eax, esi
test eax, eax
jne 0x140007f80
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 0x140007f80
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 0x140007fca
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, [0x1400019d0]
lea rcx, [rbp + 0xe50]
mov r9d, ebx
mov edx, 0x104
call fcn.1400028f0
mov edi, 1
test r12b, r12b
je 0x140007fdd
cmp r15d, edi
jne 0x140007fef
lea r15d, [rdi + 8]
test r13b, r13b
je 0x140008019
test r15d, r15d
jne 0x14000800a
mov r15d, 6
jmp 0x140008019
test r15d, r15d
jne 0x140007ffc
mov r15d, 8
jmp 0x140007fdd
xor edx, edx
lea rcx, [0x140001a10]
jmp 0x140007e6a
cmp r15d, edi
jne 0x140007e6f
mov r15d, 7
mov r12d, 0x100
mov r13d, 3
mov dword [rbp - 0xc], r12d
mov r8d, r13d
cmp r15d, edi
jbe 0x14000803a
lea eax, [r15 - 6]
cmp eax, r13d
ja 0x140008040
mov r8d, 2
lea rdx, [rbp - 0xc]
lea rcx, [rbp + 0xd50]
call fcn.140002c44
mov ebx, eax
test eax, eax
je 0x140008070
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x1400089fe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400089fe
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 0x1400080b0
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 0x1400080cf
mov dword [rbp + 0x3f8], esi
jmp 0x1400080cf
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 0x1400080f9
movsxd rdx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x610], rax
test rax, rax
jne 0x140008118
mov dword [rbp + 0x618], esi
jmp 0x140008118
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 0x140008146
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x500], rax
test rax, rax
jne 0x140008165
mov dword [rbp + 0x508], esi
jmp 0x140008165
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 0x140008196
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 0x1400081b5
mov dword [rbp + 0x2e8], esi
jmp 0x1400081b5
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 0x1400081ea
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 0x140008209
mov dword [rbp + 0x728], esi
jmp 0x140008209
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 0x140008289
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x68]
mov r14d, eax
cmp rcx, 0xffffffffffffffff
je 0x140008817
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008817
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 0x1400082eb
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x1400082dd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, ebx
lea rcx, [0x140001ae0]
jmp 0x14000880c
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 0x14000831d
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140008811
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008811
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 0x140008303
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x48], rsi
call fcn.140006950
mov rdi, rax
test rax, rax
jne 0x140008373
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140008360
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x140001b40]
xor edx, edx
call fcn.140005f90
jmp 0x140008619
mov dword [rbp - 0x40], esi
mov dword [rbp - 0x10], esi
call fcn.140003b94
mov r12, rax
test rax, rax
je 0x1400084cf
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x1400083aa
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, [0x140002150]
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 0x140008408
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 0x140008477
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x14000846b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x140001ba0]
jmp 0x1400085fd
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 0x1400084b5
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x1400084a1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140001c10]
mov edx, eax
jmp 0x1400085ff
mov rbx, qword [0x14000c030]
mov rcx, rbx
call qword [0x140010410]
mov rcx, qword [rbp - 0x48]
call rbx
test eax, eax
jne 0x1400084e9
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140008604
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008604
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, [0x1400020b8]
mov rcx, rbx
call rsi
xor eax, eax
mov qword [rbp - 0x30], rax
cmp r15d, dword [rbp - 0x38]
jne 0x140008527
lea eax, [r15 - 8]
mov r8d, 1
cmp eax, r8d
ja 0x14000852f
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 0x1400085f2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or qword [rsp + 0x68], 0xffffffffffffffff
test ebx, ebx
je 0x14000865e
lea rcx, [0x140001c80]
xor edx, edx
call fcn.140005f90
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 0x140008637
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 0x140008811
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x140010410]
mov rcx, rbx
call rdi
jmp 0x140008811
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 0x1400086b3
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 0x1400086d1
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 0x1400088b4
lea ebx, [r15 + 1]
cmp eax, ebx
je 0x1400088ab
cmp eax, 2
jne 0x140008775
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 0x1400087ec
mov qword [rbp + 0x18], rax
mov ebx, 1
jmp 0x1400087c2
cmp eax, 3
jne 0x1400088b4
jmp 0x14000879a
cmp dword [rbp + 0x48], 0x12
je 0x1400087b6
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 0x140008780
jmp 0x1400087b9
mov sil, bl
test sil, sil
jne 0x1400088b4
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 0x1400088b4
jmp 0x140008713
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x1400087fd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140001c10]
mov edx, eax
call fcn.140005f90
mov r14d, 0x641
mov ebx, 0x100
cmp dword [rbp + 0x728], ebx
jle 0x140008836
mov rcx, qword [rbp + 0x720]
test rcx, rcx
je 0x140008836
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x2e8], ebx
jle 0x140008850
mov rcx, qword [rbp + 0x2e0]
test rcx, rcx
je 0x140008850
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x508], ebx
jle 0x14000886a
mov rcx, qword [rbp + 0x500]
test rcx, rcx
je 0x14000886a
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x618], ebx
jle 0x140008884
mov rcx, qword [rbp + 0x610]
test rcx, rcx
je 0x140008884
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x3f8], ebx
jle 0x140008a01
mov rcx, qword [rbp + 0x3f0]
test rcx, rcx
je 0x140008a01
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140008a01
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 0x1400088f8
mov rcx, qword [rbp + 0x720]
test rcx, rcx
je 0x1400088f8
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x2e8], ebx
jle 0x140008912
mov rcx, qword [rbp + 0x2e0]
test rcx, rcx
je 0x140008912
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x508], ebx
jle 0x14000892c
mov rcx, qword [rbp + 0x500]
test rcx, rcx
je 0x14000892c
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x618], ebx
jle 0x140008946
mov rcx, qword [rbp + 0x610]
test rcx, rcx
je 0x140008946
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x3f8], ebx
jle 0x140008960
mov rcx, qword [rbp + 0x3f0]
test rcx, rcx
je 0x140008960
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp - 0x60], r13d
je 0x14000897f
cmp dword [0x14000df28], r13d
jne 0x14000897f
mov ecx, dword [0x14000da98]
test ecx, ecx
je 0x14000897f
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rbp - 0x1c], r13d
je 0x140008a01
mov r14d, 0x641
mov ecx, r14d
call fcn.1400061ec
jmp 0x140008a01
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x1400018f0]
mov edx, eax
jmp 0x140007e6a
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 0x1400089dd
cmp dword [0x14000df2c], r13d
je 0x140008960
cmp dword [0x14000dea0], r13d
je 0x140008960
lea rcx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400089b5
mov edi, 0x65b
mov r14d, edi
mov ebx, r14d
mov r14d, ebx
cmp dword [rbp + 0xc8], 0x104
jle 0x140008a1a
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 0x140008a4c
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.14000a880
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