Function at 0x1400063c4
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.14000a550
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 r15d, 1
mov dword [rbp + 0xa50], 0x11c
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xa8], r15d
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx edx, byte [0x14000cfa8]
xor r12d, r12d
test eax, eax
mov rax, qword [0x14000b910]
cmovne edx, r15d
mov r14d, 0x104
mov byte [0x14000cfa8], dl
mov word [rax], r12w
mov rax, qword [0x14000b100]
mov word [rax], r12w
lea rax, [rbp + 0xd0]
mov dword [rbp + 0xc8], r14d
mov qword [rbp + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [r15 + 0x21]
mov rbx, rax
lea r13d, [r15 + 0x1f]
cmp word [rax], cx
jne 0x140006499
add rbx, 2
jmp 0x14000649d
movzx ecx, r13w
movzx eax, word [rbx]
test ax, ax
je 0x1400064c0
cmp ax, cx
je 0x1400064b6
add rbx, 2
movzx eax, word [rbx]
test ax, ax
jne 0x1400064a5
cmp word [rbx], r12w
je 0x1400064c0
add rbx, 2
mov ecx, 0xfffffff5
mov qword [0x14000cfb0], rdi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x14000c788], rax
cmp rax, 0xffffffffffffffff
je 0x1400064ed
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x1400064f4
mov qword [0x14000c788], r12
mov edi, 0x7fe
lea rcx, [rbp + 0x1062]
xor edx, edx
mov r8d, edi
mov dword [rbp - 0x34], r12d
mov word [rbp + 0x1060], r12w
call sub.msvcrt.dll_memset
lea rcx, [rbp + 0x1862]
mov r8d, edi
xor edx, edx
mov word [rbp + 0x1860], r12w
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x1060]
mov dword [rbp - 0x70], r12d
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x1860]
mov dword [0x14000cfc8], r12d
mov qword [rsp + 0x78], rax
cmp word [rbx], r13w
je 0x14000655e
cmp word [rbx], 9
jne 0x140006564
add rbx, 2
jmp 0x140006552
movzx eax, word [rbx]
mov ecx, _unlock
sub ax, 0x2d
test cx, ax
jne 0x140006725
lea rax, [rbx + 2]
test rax, rax
je 0x140006725
movzx eax, word [rax]
or ax, r13w
cmp ax, 0x60
jne 0x140006725
add rbx, 4
mov qword [rsp + 0x70], rbx
cmp word [rbx], r13w
je 0x1400065ac
cmp word [rbx], 9
jne 0x1400065b2
add rbx, 2
jmp 0x14000659b
lea rax, [rbp + 0x1060]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
mov r8d, 0x400
mov qword [rbp - 0x20], rax
call fcn.140006028
test al, al
jne 0x1400065e8
xor edx, edx
xor ecx, ecx
call fcn.140003e20
mov ebx, 0x667
jmp 0x140008100
mov eax, dword [rbp + 0xc8]
lea rdx, [0x140001520]
mov r9d, 0x20019
add eax, eax
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rbp - 0x64], eax
lea rax, [rbp - 8]
mov dword [rbp - 0x68], r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000671d
mov rcx, qword [rbp - 8]
lea rax, [rbp - 0x64]
lea r9, [rbp - 0x68]
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 0x1400066d8
mov ebx, dword [rbp - 0x64]
shr ebx, 1
cmp ebx, r14d
jle 0x14000667a
mov edx, ebx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
jmp 0x140006681
lea rdi, [rbp + 0xd0]
test rdi, rdi
je 0x140006713
mov rcx, qword [rbp + 0xc0]
lea rax, [rbp + 0xd0]
cmp rcx, rax
je 0x1400066a3
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 8]
lea rax, [rbp - 0x64]
lea r9, [rbp - 0x68]
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 ebx, eax
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14000671d
cmp dword [rbp - 0x68], r15d
jne 0x14000671d
mov rsi, qword [rbp + 0xc0]
movzx r14d, word [rsi]
mov qword [rsp + 0x70], rsi
cmp r14w, r13w
je 0x14000670d
cmp r14w, 9
jne 0x140006cf6
add rsi, 2
jmp 0x1400066f3
mov ebx, 0xe
jmp 0x140008100
mov ebx, r12d
jmp 0x140008100
mov r13d, 0x7fffffff
mov rax, rbx
mov ecx, r13d
cmp word [rax], r12w
je 0x140006740
add rax, 2
sub rcx, r15
jne 0x140006731
test rcx, rcx
je 0x1400080fb
mov rsi, r13
sub rsi, rcx
inc esi
cmp esi, r14d
jle 0x14000676c
movsxd rdx, esi
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
jmp 0x140006773
lea rdi, [rbp + 0xd0]
test rdi, rdi
je 0x140006713
mov rcx, qword [rbp + 0xc0]
lea rax, [rbp + 0xd0]
cmp rcx, rax
je 0x140006791
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rax, [0x1400015a8]
mov qword [rbp + 0xc0], rdi
mov dword [rbp + 0xc8], esi
mov qword [rbp + 0xb70], rax
mov word [rdi], r12w
lea rax, [0x1400015b8]
mov qword [rbp + 0xb88], rax
lea rax, [0x1400015e0]
lea rcx, [0x1400015d0]
mov qword [rbp + 0xba8], rax
lea rax, [0x1400015e8]
mov qword [rbp + 0xb78], r12
mov qword [rbp + 0xbb8], rax
lea rax, [0x1400015f4]
mov byte [rbp + 0xb80], r12b
mov qword [rbp + 0xbc0], rax
lea rax, [0x140001600]
mov qword [rbp + 0xb90], r12
mov qword [rbp + 0xbd0], rax
lea rax, [0x140001610]
mov byte [rbp + 0xb98], r12b
mov qword [rbp + 0xbd8], rax
lea rax, [0x140001618]
mov qword [rbp + 0xba0], rcx
mov qword [rbp + 0xbe8], rax
lea rax, [0x140001628]
mov byte [rbp + 0xbb0], r15b
mov qword [rbp + 0xbf0], rax
lea rax, [0x140001658]
mov byte [rbp + 0xbc8], r15b
mov qword [rbp + 0xc00], rax
lea rax, [0x140001670]
mov byte [rbp + 0xbe0], r15b
mov qword [rbp + 0xc08], rax
lea rax, [0x1400016a0]
mov byte [rbp + 0xbf8], r15b
mov qword [rbp + 0xc18], rax
lea rax, [0x1400016c0]
mov byte [rbp + 0xc10], r15b
mov qword [rbp + 0xc20], rax
lea rax, [0x1400016e0]
mov byte [rbp + 0xc28], r15b
mov qword [rbp + 0xc30], rax
lea rax, [0x140001700]
mov byte [rbp + 0xc40], r15b
mov qword [rbp + 0xc38], rax
lea rax, [0x140001720]
mov byte [rbp + 0xc58], r15b
mov qword [rbp + 0xc48], rax
lea rax, [0x140001728]
mov qword [rbp + 0xc50], rax
mov eax, dword [0x140001730]
mov dword [rbp + 0xc60], eax
movzx eax, word [0x140001734]
mov word [rbp + 0xc64], ax
mov eax, dword [0x140001738]
mov dword [rbp + 0xc68], eax
movzx eax, word [0x14000173c]
mov word [rbp + 0xc6c], ax
mov rax, qword [0x140001740]
mov qword [rbp + 0xc80], rax
mov eax, dword [0x140001748]
mov dword [rbp + 0xc88], eax
movzx eax, word [0x14000174c]
mov word [rbp + 0xc8c], ax
mov rax, qword [0x140001750]
mov qword [rbp + 0xc90], rax
mov rax, qword [0x140001758]
mov qword [rbp + 0xc98], rax
mov rax, qword [0x140001760]
mov qword [rbp + 0xca0], rax
mov rax, qword [0x140001768]
mov qword [rbp + 0xca8], rax
mov rax, r13
cmp word [rcx], r12w
je 0x140006998
add rcx, 2
sub rax, r15
jne 0x140006989
test rax, rax
je 0x1400080fb
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
mov r14, r13
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x80], r12
sub r14, rax
call fcn.140003b98
mov rdi, rax
test rax, rax
je 0x140006a8d
mov rsi, qword [rbp - 0x80]
movzx eax, word [rdi]
test ax, ax
je 0x140006a8d
sub ax, 0x2d
mov ecx, _unlock
test cx, ax
jne 0x140006a5e
lea r15, [rsi - 1]
mov ecx, 1
cmp r15, rcx
jne 0x140006a23
or dword [rsp + 0x28], 0xffffffff
lea rax, [0x140001770]
mov edx, ecx
lea r9d, [rsi - 1]
lea r8, [rdi + 2]
mov ecx, 0x409
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x140006ba4
cmp r14, r15
mov r15d, 1
jne 0x140006a5e
lea rax, [0x1400015d0]
lea r9d, [rsi - 1]
lea r8, [rdi + 2]
mov edx, r15d
mov ecx, 0x409
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x140006baa
mov rsi, r12
mov qword [rbp - 0x80], r12
cmp qword [rbp - 0x58], r12
je 0x140006a81
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call fcn.140003b98
mov rsi, qword [rbp - 0x80]
mov rdi, rax
jmp 0x140006a84
mov rdi, r12
test rdi, rdi
jne 0x1400069cc
lea rax, [rbp + 0xc68]
mov byte [rbp + 0xb80], r15b
mov byte [rbp + 0xb98], r15b
mov qword [rbp + 0xb78], rax
lea rax, [rbp + 0xc60]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
mov qword [rbp + 0xb90], rax
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x80], r12
call fcn.140003b98
mov rbx, rax
test rax, rax
je 0x140006c56
mov rdi, qword [rbp - 0x80]
movzx eax, word [rbx]
test ax, ax
je 0x140006c56
sub ax, 0x2d
mov ecx, _unlock
test cx, ax
jne 0x140006b51
mov r14d, r12d
mov rsi, r12
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 0x140006bd2
mov eax, 1
add r15, 0x18
add r14d, eax
add rsi, rax
movsxd rax, r14d
cmp rax, 0xa
jb 0x140006b03
xor r12d, r12d
lea r15d, [r12 + 1]
lea rcx, [rbp + 0xc0]
mov r9b, r15b
mov r8, rdi
mov rdx, rbx
mov dword [rbp + 0xcc], 0x104
call fcn.140003c8c
mov ebx, eax
test eax, eax
jne 0x140008100
mov rdi, r12
mov qword [rbp - 0x80], r12
cmp qword [rbp - 0x58], r12
je 0x140006c4a
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call fcn.140003b98
mov rdi, qword [rbp - 0x80]
mov rbx, rax
jmp 0x140006c4d
mov r15d, 1
lea rax, [rbp + 0xc80]
mov byte [rbp + 0xb80], r12b
mov byte [rbp + 0xb98], r12b
mov qword [rbp + 0xb78], rax
lea rax, [rbp + 0xc90]
jmp 0x140006ab0
lea rax, [rsi + rsi*2]
xor r12d, r12d
mov dword [rbp + 0xcc], 0x104
mov r10, qword [rbp + rax*8 + 0xb78]
mov r9b, byte [rbp + rax*8 + 0xb80]
mov r8d, r12d
test r10, r10
je 0x140006c1e
mov r8, r13
mov rax, r13
mov rcx, r10
mov edx, r12d
cmp word [rcx], r12w
je 0x140006c16
add rcx, 2
dec rax
jne 0x140006c07
test rax, rax
jne 0x140006c45
mov r8, r12
mov edx, 0x80070057
test edx, edx
js 0x1400080fb
lea rcx, [rbp + 0xc0]
mov rdx, r10
call fcn.140003c8c
mov r15d, 1
jmp 0x140006b70
sub r8, rax
jmp 0x140006c23
mov rbx, r12
test rbx, rbx
jne 0x140006adc
mov rsi, qword [rbp + 0xc0]
mov rcx, r12
test rsi, rsi
je 0x140006c87
mov rax, r13
mov edx, r12d
cmp word [rsi], r12w
je 0x140006c7a
add rsi, 2
sub rax, r15
jne 0x140006c6b
test rax, rax
je 0x140006c87
mov rcx, r13
sub rcx, rax
jmp 0x140006c8c
mov edx, 0x80070057
test edx, edx
js 0x1400080fb
mov r13d, 0x20
test rcx, rcx
je 0x140006ccd
mov rax, qword [rbp + 0xc0]
lea rdx, [rax - 2]
lea rdx, [rdx + rcx*2]
cmp word [rdx], r13w
je 0x140006cba
cmp word [rdx], 9
jne 0x140006ccd
cmp rdx, qword [rbp + 0xc0]
jb 0x140006ccd
mov word [rdx], r12w
sub rdx, 2
jmp 0x140006cae
mov rsi, qword [rbp + 0xc0]
jmp 0x140006ce7
cmp r14w, r13w
je 0x140006ce3
cmp r14w, 9
jne 0x140006cf6
add rsi, 2
movzx r14d, word [rsi]
mov qword [rsp + 0x70], rsi
test r14w, r14w
jne 0x140006cd6
mov r15, qword [0x14000cfc0]
mov edi, r12d
mov ebx, 0x667
lea rdx, [0x140001ed0]
test r14w, r14w
je 0x140007325
cmp r14w, 0x2f
je 0x140006e41
cmp r14w, 0x2d
je 0x140006e41
lea rcx, [rbp + 0x840]
xor edx, edx
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x840]
mov esi, 0x104
lea rdx, [rbp + 0x830]
lea rcx, [rsp + 0x70]
mov dword [rbp + 0x838], esi
mov qword [rbp + 0x830], rax
mov dword [rbp + 0x83c], esi
call fcn.1400060fc
test eax, eax
je 0x1400072c2
mov r15, qword [rbp + 0x830]
test r15, r15
je 0x140006dfa
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [0x14000c780]
lea rcx, [0x14000b910]
add edx, 2
mov r14d, eax
add edx, eax
call fcn.140008ca4
test al, al
je 0x140006df3
mov rax, qword [0x14000b910]
movsxd rsi, dword [0x14000c780]
mov r8, r15
mov rcx, rsi
inc esi
mov word [rax + rcx*2], r13w
lea eax, [r14 + 1]
movsxd rcx, esi
movsxd rdx, eax
mov rax, qword [0x14000b910]
mov dword [0x14000c780], esi
lea rcx, [rax + rcx*2]
call fcn.140002398
test eax, eax
js 0x140006df3
add esi, r14d
mov dword [0x14000c780], esi
mov r15, qword [rbp + 0x830]
mov rsi, qword [rsp + 0x70]
movzx r14d, word [rsi]
cmp r14w, r13w
je 0x140006e10
cmp r14w, 9
jne 0x140006e1b
add rsi, 2
mov qword [rsp + 0x70], rsi
jmp 0x140006dff
cmp dword [rbp + 0x838], 0x104
jle 0x140006e35
test r15, r15
je 0x140006e35
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov r15, qword [0x14000cfc0]
jmp 0x1400072b0
add rsi, 2
mov qword [rsp + 0x70], rsi
movzx eax, word [rsi]
mov ecx, eax
or ecx, r13d
cmp r12w, ax
je 0x140006e61
add rsi, 2
mov qword [rsp + 0x70], rsi
mov r12, rdx
mov eax, 0x52
xor r11d, r11d
movzx eax, ax
or eax, r13d
cmp eax, ecx
je 0x140006e84
add r12, 2
movzx eax, word [r12]
test ax, ax
jne 0x140006e6c
cmp word [r12], r11w
je 0x1400072f4
cmp word [rsi], r13w
ja 0x140006ead
movzx eax, word [rsi]
movabs rcx, 0x100000201
bt rcx, rax
jae 0x140006ead
mov r13d, r11d
jmp 0x140006eb3
mov r13d, 1
mov ecx, 0x20
cmp word [rsi], cx
je 0x140006ec3
cmp word [rsi], 9
jne 0x140006ece
add rsi, 2
mov qword [rsp + 0x70], rsi
jmp 0x140006eb8
cmp word [r12], 0x63
lea rax, [rbp + 0x1060]
mov qword [rbp - 0x20], rax
jne 0x140006eea
test r13d, r13d
jne 0x1400072f4
cmp word [r12], 0x50
jne 0x140006f81
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r15d, 1
lea esi, [rax + 0xa]
cmp esi, r15d
jle 0x140006f22
movsxd rdx, esi
lea ecx, [r15 + 0x3f]
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r14, rax
jmp 0x140006f29
lea r14, [rbp + 0xb0]
test r14, r14
je 0x140007315
mov rcx, qword [rbp + 0xa0]
lea rax, [rbp + 0xb0]
cmp rcx, rax
je 0x140006f4b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
mov r8d, esi
mov qword [rbp + 0xa0], r14
mov dword [rbp + 0xa8], esi
mov qword [rbp + 0x10], r14
call fcn.140006028
xor r11d, r11d
test al, al
je 0x140007307
mov r15, qword [0x14000cfc0]
jmp 0x140006fb5
cmp word [r12], 0x71
je 0x140006f91
cmp word [r12], 0x63
jne 0x140006f96
test r13d, r13d
je 0x140006fbf
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
mov r8d, 0x400
call fcn.140006028
xor r11d, r11d
test al, al
je 0x140007307
mov rsi, qword [rsp + 0x70]
mov ecx, 0x20
movzx r14d, word [rsi]
cmp r14w, cx
je 0x140006fd0
cmp r14w, 9
jne 0x140006fdb
add rsi, 2
mov qword [rsp + 0x70], rsi
jmp 0x140006fbf
movzx eax, word [r12]
sub ax, 0x46
cmp ax, 0x2b
ja 0x140007082
movabs rcx, 0x84000000011
bt rcx, rax
jae 0x140007082
test r13d, r13d
je 0x140007082
cmp word [r12], 0x71
lea rax, [rbp + 0x1860]
lea r10, [rbp + 0x1060]
lea rdx, [rbp + 0x1860]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x78], r10
mov qword [rsp + 0x68], rdx
je 0x14000708c
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
mov r8d, 0x400
call fcn.140006028
xor r11d, r11d
test al, al
je 0x140007307
mov rsi, qword [rsp + 0x70]
lea r13d, [r11 + 0x20]
movzx r14d, word [rsi]
cmp r14w, r13w
je 0x14000706b
cmp r14w, 9
jne 0x140007076
add rsi, 2
mov qword [rsp + 0x70], rsi
jmp 0x14000705a
mov r10, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
jmp 0x140007092
mov rdx, qword [rsp + 0x68]
mov r10, qword [rsp + 0x78]
mov r13d, 0x20
movzx eax, word [r12]
sub ax, 0x61
cmp ax, 0x19
ja 0x1400070d7
lea rax, [0x140001ed0]
mov rcx, r10
sub r12, rax
lea rax, [0x140000000]
sar r12, 1
call qword [rax + r12*8 + 0x1fa0]
xor r12d, r12d
test eax, eax
jne 0x14000717c
mov r15, qword [0x14000cfc0]
jmp 0x140007288
test r15, r15
je 0x1400071e2
cmp word [r12], 0x50
mov eax, 0x41
jne 0x140007154
cmp word [r15], ax
jne 0x140007154
lea rdx, [rbp + 0x2060]
mov ecx, eax
call fcn.140005230
test eax, eax
jne 0x1400072f4
lea rdx, [rbp + 0xcb0]
lea ecx, [rax + 0x1e]
mov r15, r12
mov qword [0x14000cfc0], r12
lea rax, [rbp + 0xcb0]
sub r10, rdx
test rcx, rcx
je 0x140007147
movzx edx, word [r10 + rax]
test dx, dx
je 0x140007142
mov word [rax], dx
add rax, 2
dec rcx
jne 0x140007127
test rcx, rcx
jne 0x14000714b
sub rax, 2
mov word [rax], r11w
jmp 0x140007285
cmp word [r15], 0x50
jne 0x1400072f4
cmp word [r12], ax
jne 0x1400072f4
mov ecx, eax
call fcn.140005230
xor r12d, r12d
test eax, eax
je 0x140007288
xor edx, edx
xor ecx, ecx
call fcn.140003e20
mov edi, ebx
mov r15d, 1
call fcn.140006370
test edi, edi
jne 0x140008106
cmp qword [0x14000cfc0], r12
jne 0x1400071b6
xor edx, edx
xor ecx, ecx
call fcn.140003e20
mov edi, ebx
test edi, edi
jne 0x140008106
mov eax, dword [0x14000cfc8]
test eax, eax
je 0x140008106
lea rsi, [0x140000000]
test eax, eax
je 0x140007447
xor edx, edx
xor ecx, ecx
call qword [0x14000b048]
jmp 0x14000745b
cmp word [r12], 0x50
mov r15, r12
mov qword [0x14000cfc0], r12
je 0x14000723b
lea r8, [rbp + 0x2060]
mov ecx, 0x400
lea rax, [rbp + 0x2060]
sub rdx, r8
mov qword [rsp + 0x68], rdx
test rcx, rcx
je 0x140007233
movzx edx, word [rdx + rax]
test dx, dx
je 0x14000722e
mov word [rax], dx
mov rdx, qword [rsp + 0x68]
add rax, 2
dec rcx
jne 0x14000720f
test rcx, rcx
jne 0x140007237
sub rax, 2
mov word [rax], r11w
lea rdx, [rbp + 0xcb0]
mov ecx, 0x1e
lea rax, [rbp + 0xcb0]
sub r10, rdx
test rcx, rcx
je 0x140007271
movzx edx, word [r10 + rax]
test dx, dx
je 0x14000726c
mov word [rax], dx
add rax, 2
dec rcx
jne 0x140007251
test rcx, rcx
jne 0x140007275
sub rax, 2
cmp word [r12], 0x45
mov word [rax], r11w
je 0x140007322
xor r12d, r12d
lea rax, [rbp + 0x1060]
mov word [rbp + 0x1060], r12w
mov word [rbp + 0x1860], r12w
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x1860]
mov qword [rsp + 0x78], rax
test r14w, r14w
je 0x140007325
lea rdx, [0x140001ed0]
jmp 0x140006d16
xor edx, edx
xor ecx, ecx
call fcn.140003e20
mov edi, ebx
cmp dword [rbp + 0x838], esi
jle 0x140007187
mov rcx, qword [rbp + 0x830]
test rcx, rcx
je 0x140007187
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140007187
xor edx, edx
xor ecx, ecx
call fcn.140003e20
mov edi, ebx
xor r12d, r12d
jmp 0x140007187
xor edx, edx
xor ecx, ecx
call fcn.140003e20
jmp 0x140008100
mov edi, 0xe
xor r12d, r12d
jmp 0x14000718d
xor r12d, r12d
test r15, r15
je 0x140007187
movzx eax, word [r15]
cmp ax, 0x45
je 0x140007352
sub ax, 0x59
mov ecx, 1
cmp ax, cx
jbe 0x140007352
call fcn.140006370
mov r15, qword [0x14000cfc0]
cmp word [r15], 0x50
lea rax, [0x140001ed0]
lea rdx, [rbp + 0x2060]
cmove rdx, qword [rbp + 0xa0]
sub r15, rax
lea rsi, [0x140000000]
lea rcx, [rbp + 0xcb0]
sar r15, 1
call qword [rsi + r15*8 + 0x1fa0]
mov r15d, 1
mov edi, eax
mov rax, qword [0x14000cfc0]
movzx ecx, word [rax]
lea eax, [rcx - 0x59]
cmp ax, r15w
jbe 0x140008102
test edi, edi
jne 0x1400073cd
cmp cx, 0x45
jne 0x1400073be
mov dword [0x14000cfc8], r15d
jmp 0x1400071d3
mov eax, dword [0x14000cfc8]
mov dword [rbp - 0x70], r15d
jmp 0x1400071cb
cmp edi, 0x8000
jne 0x1400073e4
mov dword [0x14000cfc8], r12d
mov edi, r12d
jmp 0x140008106
mov eax, 0x4eb
cmp edi, eax
jg 0x140007414
je 0x1400071ae
cmp edi, 0xfffffffe
jl 0x14000743b
test edi, edi
js 0x1400071b0
lea eax, [rdi - 2]
cmp eax, r15d
jbe 0x14000740d
cmp edi, 0x7b
jne 0x14000743b
mov edi, 0x653
jmp 0x14000743b
lea eax, [rdi - 0x642]
cmp eax, 2
jbe 0x1400071ae
cmp edi, 0x669
je 0x1400071ae
cmp edi, 0xbc2
je 0x1400071ae
mov ecx, edi
call fcn.140005b44
jmp 0x1400071ae
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rcx, [0x140001780]
call fcn.1400095a0
cmp dword [rbp - 0x70], r12d
je 0x1400074ba
cmp dword [0x14000cfc8], r12d
jne 0x1400074c7
mov ebx, r12d
movsxd rcx, ebx
lea r8, [0x140002050]
mov r9d, r15d
lea rax, [rcx*4 + 0xcb38]
lea rdx, [rcx*8 + 0xb0f8]
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 0x1400074b6
add ebx, r15d
cmp ebx, r15d
jl 0x14000746d
jmp 0x1400074ba
mov dword [rbp - 0x34], r15d
cmp dword [0x14000cfc8], r12d
je 0x1400080ae
mov rax, qword gs:[0x60]
mov r9, qword [rsp + 0x70]
mov r10d, r12d
mov rcx, qword [rax + 0x20]
mov rbx, 0xffffffff80000001
bts dword [rcx + 8], 0x13
xor eax, eax
lea r11d, [rax + 0x30]
lea esi, [rax + 0x41]
mov qword [rbp + 0xc70], rax
mov qword [rbp + 0xc78], rax
movzx eax, word [r9]
mov ecx, 5
sub ax, r11w
cmp ax, 9
ja 0x140007530
mov eax, r10d
and eax, ebx
jge 0x140007522
sub eax, r15d
or eax, 0xfffffffe
add eax, r15d
neg eax
movzx eax, word [r9]
sbb r8d, r8d
sub eax, r11d
jmp 0x140007558
movzx eax, word [r9]
sub ax, si
cmp ax, cx
ja 0x14000758d
mov eax, r10d
and eax, ebx
jge 0x14000754c
sub eax, r15d
or eax, 0xfffffffe
add eax, r15d
neg eax
movzx eax, word [r9]
sbb r8d, r8d
sub eax, 0x37
and r8d, 0xfffffff1
add r8d, 0x10
imul r8d, eax
cmp r10d, 0x20
jge 0x140007647
mov eax, r10d
add r10d, r15d
cdq
sub eax, edx
sar eax, 1
movsxd rcx, eax
or byte [rbp + rcx + 0xc70], r8b
add r9, 2
jmp 0x1400074ff
cmp r10d, 0x20
jne 0x140007647
mov byte [rsp + 0x60], r12b
mov r14b, r12b
mov r15b, r12b
mov r13b, r12b
cmp word [r9], r12w
je 0x1400075af
add r9, 2
cmp word [r9], 0x43
jne 0x1400075c0
mov byte [rsp + 0x60], 1
jmp 0x140007658
cmp word [r9], 0x55
jne 0x1400075d8
mov eax, 1
mov byte [rsp + 0x60], al
mov r15b, al
jmp 0x140007658
cmp word [r9], si
jne 0x1400075e6
mov r13d, 1
jmp 0x140007658
cmp word [r9], 0x4d
je 0x1400075f6
cmp word [r9], 0x45
jne 0x140007658
jmp 0x1400075fc
mov r14d, 1
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 0x14000809a
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x140007651
mov edx, esi
lea rcx, [0x140001810]
call fcn.140005944
mov edi, 0x641
jmp 0x140008102
mov rbx, 0xffffffff80000001
or rsi, 0xffffffffffffffff
mov qword [rsp + 0x68], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r9, [rsp + 0x68]
lea edx, [rsi + 3]
lea r8d, [rsi + 2]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x140007692
mov qword [rsp + 0x68], rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x140007647
test r14b, r14b
jne 0x14000769d
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 r14b, r14b
je 0x1400076c2
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov r14d, 1
mov esi, r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 8]
lea edx, [r14 + 7]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140007759
cmp byte [0x14000d164], r12b
jne 0x1400076fe
lea rcx, [rbp + 0x18]
call fcn.140002834
mov rbx, qword [rbp + 0x18]
jmp 0x140007708
lea rbx, [0x14000d1b0]
mov eax, r12d
test eax, eax
jne 0x14000774d
mov rcx, qword [rbp + 8]
lea rax, [rbp + 0x38]
lea r8, [rbp + 0xcf0]
mov r9d, 0x58
mov edx, r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14000774d
mov rcx, qword [rbp + 0xcf0]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb esi, esi
and esi, 2
add esi, r14d
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140007798
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbp + 0xe52]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0xe50], r12w
mov ebx, eax
call sub.msvcrt.dll_memset
lea r8, [0x140001880]
lea rcx, [rbp + 0xe50]
mov r9d, ebx
mov edx, 0x104
call fcn.1400025e0
test r15b, r15b
je 0x1400077a7
cmp esi, r14d
jne 0x1400077b7
mov esi, 7
test r13b, r13b
je 0x1400077de
test esi, esi
jne 0x1400077d0
mov esi, 4
jmp 0x1400077de
test esi, esi
jne 0x1400077c2
mov esi, 6
jmp 0x1400077a7
xor edx, edx
lea rcx, [0x1400018c0]
jmp 0x140007642
cmp esi, r14d
jne 0x140007647
mov esi, 5
mov r15d, 0x100
mov r8d, 3
mov dword [rbp - 0x28], r15d
cmp esi, r14d
jbe 0x1400077fb
lea eax, [rsi - 4]
cmp eax, r8d
ja 0x140007801
mov r8d, 2
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0xd50]
call fcn.140002934
mov ebx, eax
test eax, eax
je 0x140007831
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140008104
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008104
movsxd rbx, dword [rbp - 0x28]
mov dword [rbp - 0x10], ebx
mov dword [rbp - 0x50], ebx
mov dword [rbp - 0x40], ebx
mov dword [rbp - 0x38], ebx
mov dword [rbp - 0x2c], ebx
mov dword [rbp + 0x3f8], ebx
cmp ebx, r15d
jle 0x140007872
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 0x140007891
mov dword [rbp + 0x3f8], r12d
jmp 0x140007891
lea rcx, [rbp + 0x400]
mov r8, r15
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x400]
mov qword [rbp + 0x3f0], rax
mov dword [rbp + 0x618], ebx
cmp ebx, r15d
jle 0x1400078bc
movsxd rdx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x610], rax
test rax, rax
jne 0x1400078db
mov dword [rbp + 0x618], r12d
jmp 0x1400078db
lea rcx, [rbp + 0x620]
mov r8, r15
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x620]
mov qword [rbp + 0x610], rax
movsxd rax, dword [rbp - 0x40]
mov dword [rbp + 0x508], eax
cmp eax, r15d
jle 0x14000790a
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x500], rax
test rax, rax
jne 0x140007929
mov dword [rbp + 0x508], r12d
jmp 0x140007929
lea rcx, [rbp + 0x510]
mov r8, r15
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x510]
mov qword [rbp + 0x500], rax
movsxd rax, dword [rbp - 0x38]
mov dword [rbp + 0x2e8], eax
cmp eax, r15d
jle 0x14000795b
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 0x14000797a
mov dword [rbp + 0x2e8], r12d
jmp 0x14000797a
lea rcx, [rbp + 0x2f0]
mov r8, r15
xor edx, edx
call sub.msvcrt.dll_memset
lea rbx, [rbp + 0x2f0]
mov qword [rbp + 0x2e0], rbx
movsxd rax, dword [rbp - 0x2c]
mov dword [rbp + 0x728], eax
cmp eax, r15d
jle 0x1400079b0
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 0x1400079cf
mov dword [rbp + 0x728], r12d
jmp 0x1400079cf
lea rcx, [rbp + 0x730]
mov r8, r15
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 - 0x2c]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x500]
lea r8, [rbp - 0x10]
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 0x140007a4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x68]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x14000800d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000800d
mov rcx, qword [rbp + 0x3f0]
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 3
call qword [0x14000b038]
mov ebx, eax
test eax, eax
je 0x140007aad
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140007a9a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, ebx
lea rcx, [0x140001990]
call fcn.140005944
jmp 0x140008008
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r15, rax
test rax, rax
jne 0x140007ae0
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140008008
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008008
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r14d, r14d
mov r12, rax
test rax, rax
je 0x140007ac6
mov qword [rbp - 0x78], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x48], r14
call fcn.140006290
mov rbx, rax
test rax, rax
jne 0x140007b39
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140007b26
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x1400019f0]
xor edx, edx
call fcn.140005944
jmp 0x140007fe9
mov rax, qword [0x14000cf30]
mov dword [rbp - 0x6c], r14d
mov dword [rbp - 0x30], r14d
mov qword [rbp], r14
mov qword [rbp - 0x18], r14
test rax, rax
jne 0x140007b72
lea rcx, [0x140001198]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14000cf30], rax
test rax, rax
je 0x140007fcf
lea rdx, [0x1400011a8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140007fcf
lea r8, [rbp - 0x18]
lea rdx, [0x140001f68]
lea rcx, [0x140001e98]
call rax
test eax, eax
jne 0x140007fcf
mov rcx, qword [rbp - 0x18]
lea r9, [rbp]
lea r8, [0x140001e98]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x18]
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14, qword [rbp]
xor eax, eax
test r14, r14
je 0x140007fcf
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140007be9
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
mov qword [rsp + 0x78], rax
mov rax, qword [r14]
lea r8, [rsp + 0x78]
lea rdx, [0x140001f40]
mov rcx, r14
call qword [rax]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x48]
xor r14d, r14d
mov dword [rbp - 0x60], esi
test rcx, rcx
je 0x140007c20
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rax, [rbp - 0x30]
mov qword [rbp - 0x48], r14
mov r10, qword [rbx]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x48]
lea r8, [rbp + 0xc70]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x6c]
lea rdx, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov r9d, 0x10
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [r10 + 0x70]
test eax, eax
je 0x140007c84
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140007c79
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, [0x140001a50]
jmp 0x140007cbd
mov r8d, dword [rbp - 0x6c]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
jne 0x140007cc7
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140007cae
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140001ac0]
mov edx, eax
call fcn.140005944
jmp 0x140007fe0
mov rcx, qword [rbp - 0x48]
call qword [0x14000b030]
test eax, eax
je 0x140007fcf
mov rcx, qword [rsp + 0x78]
lea r8, [rbp - 0x78]
lea rdx, [0x140001ea8]
mov rax, qword [rcx]
call qword [rax]
xor eax, eax
mov edx, eax
cmp esi, dword [rbp - 0x60]
jne 0x140007d01
lea eax, [rsi - 6]
lea ecx, [rdx + 1]
cmp eax, ecx
ja 0x140007d05
lea rdx, [rbp - 0x60]
mov rcx, qword [rbp - 0x78]
lea r8, [rbp + 0xc70]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov rcx, qword [rbp - 0x78]
mov rdx, r15
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rbp - 0x78]
mov rdx, r12
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rbp - 0x78]
mov r10, qword [rcx]
mov r8b, byte [rsp + 0x60]
mov edx, dword [rbp - 0x6c]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x30]
mov r9b, r13b
mov dword [rsp + 0x20], eax
call qword [r10 + 0x148]
mov rcx, qword [rsp + 0x68]
mov esi, eax
cmp rcx, 0xffffffffffffffff
je 0x140007d7c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or qword [rsp + 0x68], 0xffffffffffffffff
xor r13d, r13d
test esi, esi
je 0x140007d91
xor edx, edx
lea rcx, [0x140001b30]
jmp 0x140007cbd
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 0x138]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140007dba
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140007dca
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, 3
mov bl, r13b
lea rdx, [rbp + 0x20]
mov r13d, 0x1cff
or r9d, 0xffffffff
xor r8d, r8d
mov ecx, eax
mov dword [0x14000c77c], eax
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], r12
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
xor r12d, r12d
test eax, eax
je 0x140007ef5
lea esi, [r12 + 1]
cmp eax, esi
je 0x140007eec
cmp eax, 2
jne 0x140007e5c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
mov dword [rbp - 0x3c], r12d
mov rax, qword [rcx]
lea rdx, [rbp - 0x3c]
call qword [rax + 0x160]
mov r8d, dword [rbp - 0x3c]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
je 0x140007ec7
mov qword [rbp + 0x20], rax
jmp 0x140007ea4
cmp eax, 3
jne 0x140007ef5
jmp 0x140007e81
cmp dword [rbp + 0x48], 0x12
je 0x140007e9d
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], esi
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140007e67
jmp 0x140007ea0
mov bl, sil
test bl, bl
jne 0x140007ef5
xor r8d, r8d
lea rdx, [rbp + 0x20]
or r9d, 0xffffffff
lea ecx, [r8 + 3]
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
je 0x140007ef5
jmp 0x140007e12
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140007ed8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140001ac0]
mov edx, eax
jmp 0x140007aa3
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 0x100
cmp dword [rbp + 0x728], ebx
jle 0x140007f27
mov rcx, qword [rbp + 0x720]
test rcx, rcx
je 0x140007f27
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x2e8], ebx
jle 0x140007f41
mov rcx, qword [rbp + 0x2e0]
test rcx, rcx
je 0x140007f41
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x508], ebx
jle 0x140007f5b
mov rcx, qword [rbp + 0x500]
test rcx, rcx
je 0x140007f5b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x618], ebx
jle 0x140007f75
mov rcx, qword [rbp + 0x610]
test rcx, rcx
je 0x140007f75
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x3f8], ebx
jle 0x140007f8f
mov rcx, qword [rbp + 0x3f0]
test rcx, rcx
je 0x140007f8f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp - 0x70], r12d
je 0x140007fae
cmp dword [0x14000cfc8], r12d
jne 0x140007fae
mov ecx, dword [0x14000cb38]
test ecx, ecx
je 0x140007fae
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rbp - 0x34], r12d
je 0x140008106
mov edi, 0x641
mov ecx, edi
call fcn.140005b44
jmp 0x140008106
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140007fe0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140007ff8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140008008
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edi, 0x641
mov ebx, 0x100
cmp dword [rbp + 0x728], ebx
jle 0x14000802c
mov rcx, qword [rbp + 0x720]
test rcx, rcx
je 0x14000802c
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x2e8], ebx
jle 0x140008046
mov rcx, qword [rbp + 0x2e0]
test rcx, rcx
je 0x140008046
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x508], ebx
jle 0x140008060
mov rcx, qword [rbp + 0x500]
test rcx, rcx
je 0x140008060
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x618], ebx
jle 0x14000807a
mov rcx, qword [rbp + 0x610]
test rcx, rcx
je 0x14000807a
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x3f8], ebx
jle 0x140008106
mov rcx, qword [rbp + 0x3f0]
test rcx, rcx
je 0x140008106
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140008106
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x1400017a0]
mov edx, eax
jmp 0x140007642
mov dword [0x14000c77c], r15d
lea rcx, [rbp + 0x70]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x1400080e5
cmp dword [0x14000cfcc], r12d
je 0x140007f8f
cmp dword [0x14000cf40], r12d
je 0x140007f8f
lea rcx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400080b5
mov ebx, 0x65b
mov edi, ebx
mov ebx, edi
mov edi, ebx
cmp dword [rbp + 0xc8], 0x104
jle 0x14000811f
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 0x140008151
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
mov rcx, qword [rbp + 0x2860]
xor rcx, rsp
call fcn.140009b80
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