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 - 0x2888]
mov eax, 0x2960
call fcn.14000b140
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2850], rax
mov rdi, rcx
lea rax, [rbp + 0xa0]
lea rcx, [rbp + 0xa40]
mov r12d, 1
mov dword [rbp + 0xa40], 0x11c
mov qword [rbp + 0x90], rax
mov dword [rbp + 0x98], 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 + 0xc0]
mov dword [rbp + 0xb8], 0x104
mov qword [rbp + 0xb0], 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 + 0x1052]
xor edx, edx
mov r8d, edi
mov dword [rbp - 0x2c], r13d
mov word [rbp + 0x1050], r13w
call sub.msvcrt.dll_memset
lea rcx, [rbp + 0x1852]
mov r8d, edi
xor edx, edx
mov word [rbp + 0x1850], r13w
call sub.msvcrt.dll_memset
lea rdx, [rbp + 0x1050]
lea rax, [rbp + 0x1850]
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x70], r13d
mov dword [0x14000df28], r13d
cmp word [rbx], si
je 0x140006bad
cmp word [rbx], 9
jne 0x140006bb3
add rbx, 2
jmp 0x140006ba2
movzx eax, word [rbx]
mov r15d, 0xfffd
sub ax, 0x2d
test r15w, ax
jne 0x140006d7f
lea rax, [rbx + 2]
test rax, rax
je 0x140006d7f
movzx eax, word [rax]
or ax, si
cmp ax, 0x60
jne 0x140006d7f
add rbx, 4
mov qword [rsp + 0x70], rbx
cmp word [rbx], si
je 0x140006bfb
cmp word [rbx], 9
jne 0x140006c01
add rbx, 2
jmp 0x140006beb
lea rax, [rbp + 0x1050]
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
mov r8d, 0x400
mov qword [rbp - 0x38], rax
call fcn.140006608
test al, al
jne 0x140006c37
xor edx, edx
xor ecx, ecx
call fcn.1400042d0
mov edi, 0x667
jmp 0x14000887d
mov eax, dword [rbp + 0xb8]
lea rdx, [0x140001660]
mov r9d, 0x20019
add eax, eax
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rbp - 0x50], eax
lea rax, [rbp - 0x40]
mov dword [rbp - 0x60], r13d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006d77
mov rcx, qword [rbp - 0x40]
lea rax, [rbp - 0x50]
lea r9, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xb0]
lea rdx, [rbp + 0x1050]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, 0xea
jne 0x140006d2e
mov ebx, dword [rbp - 0x50]
shr ebx, 1
cmp ebx, 0x104
jle 0x140006cd0
mov edx, ebx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
jmp 0x140006cd7
lea rdi, [rbp + 0xc0]
test rdi, rdi
je 0x140006d6d
mov rcx, qword [rbp + 0xb0]
lea rax, [rbp + 0xc0]
cmp rcx, rax
je 0x140006cf9
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x40]
lea rax, [rbp - 0x50]
lea r9, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x1050]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov qword [rbp + 0xb0], rdi
mov dword [rbp + 0xb8], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140006d77
cmp dword [rbp - 0x60], r12d
jne 0x140006d77
mov rsi, qword [rbp + 0xb0]
lea r8d, [rbx + 0x20]
movzx r15d, word [rsi]
mov qword [rsp + 0x70], rsi
cmp r15w, r8w
je 0x140006d67
cmp r15w, 9
jne 0x14000734f
add rsi, 2
jmp 0x140006d4d
mov edi, 0xe
jmp 0x14000887d
mov edi, r13d
jmp 0x14000887d
mov r14d, 0x7fffffff
mov rax, rbx
mov ecx, r14d
cmp word [rax], r13w
je 0x140006d9a
add rax, 2
sub rcx, r12
jne 0x140006d8b
test rcx, rcx
je 0x140008878
mov rsi, r14
sub rsi, rcx
inc esi
cmp esi, 0x104
jle 0x140006dc9
movsxd rdx, esi
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
jmp 0x140006dd0
lea rdi, [rbp + 0xc0]
test rdi, rdi
je 0x140006d6d
mov rcx, qword [rbp + 0xb0]
lea rax, [rbp + 0xc0]
cmp rcx, rax
je 0x140006dee
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rax, [0x1400016e8]
mov qword [rbp + 0xb0], rdi
mov dword [rbp + 0xb8], esi
mov qword [rbp + 0xb60], rax
mov word [rdi], r13w
lea rax, [0x1400016f8]
mov qword [rbp + 0xb78], rax
lea rax, [0x140001720]
lea rcx, [0x140001710]
mov qword [rbp + 0xb98], rax
lea rax, [0x140001728]
mov qword [rbp + 0xb68], r13
mov qword [rbp + 0xba8], rax
lea rax, [0x140001734]
mov byte [rbp + 0xb70], r13b
mov qword [rbp + 0xbb0], rax
lea rax, [0x140001740]
mov qword [rbp + 0xb80], r13
mov qword [rbp + 0xbc0], rax
lea rax, [0x140001750]
mov byte [rbp + 0xb88], r13b
mov qword [rbp + 0xbc8], rax
lea rax, [0x140001758]
mov qword [rbp + 0xb90], rcx
mov qword [rbp + 0xbd8], rax
lea rax, [0x140001768]
mov byte [rbp + 0xba0], r12b
mov qword [rbp + 0xbe0], rax
lea rax, [0x140001798]
mov byte [rbp + 0xbb8], r12b
mov qword [rbp + 0xbf0], rax
lea rax, [0x1400017b0]
mov byte [rbp + 0xbd0], r12b
mov qword [rbp + 0xbf8], rax
lea rax, [0x1400017e0]
mov byte [rbp + 0xbe8], r12b
mov qword [rbp + 0xc08], rax
lea rax, [0x140001800]
mov byte [rbp + 0xc00], r12b
mov qword [rbp + 0xc10], rax
lea rax, [0x140001820]
mov byte [rbp + 0xc18], r12b
mov qword [rbp + 0xc20], rax
lea rax, [0x140001840]
mov byte [rbp + 0xc30], r12b
mov qword [rbp + 0xc28], rax
lea rax, [0x140001860]
mov byte [rbp + 0xc48], r12b
mov qword [rbp + 0xc38], rax
lea rax, [0x140001868]
mov qword [rbp + 0xc40], rax
mov eax, dword [0x140001870]
mov dword [rbp + 0xc58], eax
movzx eax, word [0x140001874]
mov word [rbp + 0xc5c], ax
mov eax, dword [0x140001878]
mov dword [rbp + 0xc50], eax
movzx eax, word [0x14000187c]
mov word [rbp + 0xc54], ax
mov rax, qword [0x140001880]
mov qword [rbp + 0xc70], rax
mov eax, dword [0x140001888]
mov dword [rbp + 0xc78], eax
movzx eax, word [0x14000188c]
mov word [rbp + 0xc7c], ax
mov rax, qword [0x140001890]
mov qword [rbp + 0xc80], rax
mov rax, qword [0x140001898]
mov qword [rbp + 0xc88], rax
mov rax, qword [0x1400018a0]
mov qword [rbp + 0xc90], rax
mov rax, qword [0x1400018a8]
mov qword [rbp + 0xc98], rax
mov rax, r14
cmp word [rcx], r13w
je 0x140006ff5
add rcx, 2
sub rax, r12
jne 0x140006fe6
test rax, rax
je 0x140008878
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x68]
sub r14, rax
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x80], r13
call fcn.140004044
mov rdi, rax
test rax, rax
je 0x1400070df
mov rsi, qword [rbp - 0x80]
movzx eax, word [rdi]
test ax, ax
je 0x1400070df
sub ax, 0x2d
test r15w, ax
jne 0x1400070b0
lea r15, [rsi - 1]
cmp r15, r12
jne 0x140007075
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 0x1400071f5
cmp r14, r15
jne 0x1400070aa
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 0x1400071f5
mov r15d, 0xfffd
mov rsi, r13
mov qword [rbp - 0x80], r13
cmp qword [rbp - 0x68], r13
je 0x1400070d3
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x68]
call fcn.140004044
mov rsi, qword [rbp - 0x80]
mov rdi, rax
jmp 0x1400070d6
mov rdi, r13
test rdi, rdi
jne 0x140007026
lea rax, [rbp + 0xc50]
mov byte [rbp + 0xb70], r12b
mov byte [rbp + 0xb88], r12b
mov qword [rbp + 0xb68], rax
lea rax, [rbp + 0xc58]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x68]
mov qword [rbp + 0xb80], rax
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x80], r13
call fcn.140004044
mov rbx, rax
test rax, rax
je 0x1400072ab
mov rdi, qword [rbp - 0x80]
movzx eax, word [rbx]
test ax, ax
je 0x1400072ab
sub ax, 0x2d
mov ecx, 0xfffd
test cx, ax
jne 0x1400071a2
mov r14d, r13d
mov rsi, r13
lea r15, [rbp + 0xb60]
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 0x14000721d
mov eax, 1
add r15, 0x18
add r14d, eax
add rsi, rax
movsxd rax, r14d
cmp rax, 0xa
jb 0x140007155
xor r13d, r13d
lea r12d, [r13 + 1]
lea rcx, [rbp + 0xb0]
mov r9b, r12b
mov r8, rdi
mov rdx, rbx
mov dword [rbp + 0xbc], 0x104
call fcn.140004138
mov edi, eax
test eax, eax
jne 0x14000887d
mov rdi, r13
mov qword [rbp - 0x80], r13
cmp qword [rbp - 0x68], r13
je 0x14000729f
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x68]
call fcn.140004044
mov rdi, qword [rbp - 0x80]
mov rbx, rax
jmp 0x1400072a2
lea rax, [rbp + 0xc70]
mov byte [rbp + 0xb70], r13b
mov byte [rbp + 0xb88], r13b
mov qword [rbp + 0xb68], rax
lea rax, [rbp + 0xc80]
jmp 0x140007102
lea rax, [rsi + rsi*2]
xor r13d, r13d
mov dword [rbp + 0xbc], 0x104
mov r10, qword [rbp + rax*8 + 0xb68]
mov r9b, byte [rbp + rax*8 + 0xb70]
mov r8d, r13d
test r10, r10
je 0x140007270
mov r11d, 0x7fffffff
mov rcx, r10
mov edx, r13d
mov eax, r11d
lea r8d, [r13 + 1]
cmp word [rcx], r13w
je 0x140007268
add rcx, 2
sub rax, r8
jne 0x140007259
test rax, rax
jne 0x140007297
mov r8, r13
mov edx, 0x80070057
test edx, edx
js 0x140008878
lea rcx, [rbp + 0xb0]
mov rdx, r10
call fcn.140004138
mov r12d, 1
jmp 0x1400071c1
mov r8, r11
sub r8, rax
jmp 0x140007275
mov rbx, r13
test rbx, rbx
jne 0x14000712e
mov rsi, qword [rbp + 0xb0]
mov rcx, r13
test rsi, rsi
je 0x1400072db
mov ecx, 0x7fffffff
mov edx, r13d
mov eax, ecx
cmp word [rsi], r13w
je 0x1400072d3
add rsi, 2
sub rax, r12
jne 0x1400072c4
test rax, rax
jne 0x140007321
mov rcx, r13
mov edx, 0x80070057
test edx, edx
js 0x140008878
mov r8d, 0x20
test rcx, rcx
je 0x140007326
mov rax, qword [rbp + 0xb0]
lea rdx, [rax - 2]
lea rdx, [rdx + rcx*2]
cmp word [rdx], r8w
je 0x14000730e
cmp word [rdx], 9
jne 0x140007326
cmp rdx, qword [rbp + 0xb0]
jb 0x140007326
mov word [rdx], r13w
sub rdx, 2
jmp 0x140007302
sub rcx, rax
jmp 0x1400072e0
mov rsi, qword [rbp + 0xb0]
jmp 0x140007340
cmp r15w, r8w
je 0x14000733c
cmp r15w, 9
jne 0x14000734f
add rsi, 2
movzx r15d, word [rsi]
mov qword [rsp + 0x70], rsi
test r15w, r15w
jne 0x14000732f
mov rbx, qword [0x14000df20]
mov r14d, r13d
mov edi, 0x667
lea rdx, [0x140002010]
test r15w, r15w
je 0x1400079bb
cmp r15w, 0x2f
je 0x1400074b3
cmp r15w, 0x2d
je 0x1400074b3
lea rcx, [rbp + 0x830]
xor edx, edx
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x830]
mov ebx, 0x104
lea rdx, [rbp + 0x820]
lea rcx, [rsp + 0x70]
mov dword [rbp + 0x828], ebx
mov qword [rbp + 0x820], rax
mov dword [rbp + 0x82c], ebx
call fcn.1400066dc
test eax, eax
je 0x14000795e
mov rbx, qword [rbp + 0x820]
test rbx, rbx
je 0x14000745a
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.14000945c
test al, al
je 0x140007453
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 0x140007453
add esi, r15d
mov dword [0x14000d6e0], esi
mov rbx, qword [rbp + 0x820]
mov rsi, qword [rsp + 0x70]
mov r8d, 0x20
movzx r15d, word [rsi]
cmp r15w, r8w
je 0x140007476
cmp r15w, 9
jne 0x140007481
add rsi, 2
mov qword [rsp + 0x70], rsi
jmp 0x140007465
cmp dword [rbp + 0x828], 0x104
jle 0x1400074a7
test rbx, rbx
je 0x1400074a7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [0x14000df20]
jmp 0x140007940
mov rbx, qword [0x14000df20]
jmp 0x140007946
add rsi, 2
mov qword [rsp + 0x70], rsi
movzx eax, word [rsi]
mov ecx, eax
or ecx, r8d
cmp r13w, ax
je 0x1400074d3
add rsi, 2
mov qword [rsp + 0x70], rsi
mov r12, rdx
mov eax, 0x52
movzx eax, ax
or eax, r8d
cmp eax, ecx
je 0x1400074f3
add r12, 2
movzx eax, word [r12]
test ax, ax
jne 0x1400074db
cmp word [r12], r13w
je 0x1400077e8
cmp word [rsi], r8w
ja 0x14000751f
movzx eax, word [rsi]
movabs rcx, 0x100000201
bt rcx, rax
jae 0x14000751f
mov r15d, 1
jmp 0x140007528
mov r15d, 1
mov r13d, r15d
cmp word [rsi], r8w
je 0x140007534
cmp word [rsi], 9
jne 0x14000753f
add rsi, 2
mov qword [rsp + 0x70], rsi
jmp 0x140007528
lea rax, [rbp + 0x1050]
xor r10d, r10d
cmp word [r12], 0x63
mov qword [rbp - 0x38], rax
jne 0x14000755e
test r13d, r13d
jne 0x1400079a7
cmp word [r12], 0x50
jne 0x1400075f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [rax + 0xa]
cmp ebx, r15d
jle 0x140007591
movsxd rdx, ebx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
jmp 0x140007598
lea rsi, [rbp + 0xa0]
test rsi, rsi
je 0x14000799f
mov rcx, qword [rbp + 0x90]
lea rax, [rbp + 0xa0]
cmp rcx, rax
je 0x1400075ba
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rdx, [rbp + 0x28]
lea rcx, [rsp + 0x70]
mov r8d, ebx
mov qword [rbp + 0x90], rsi
mov dword [rbp + 0x98], ebx
mov qword [rbp + 0x28], rsi
call fcn.140006608
xor r10d, r10d
test al, al
je 0x140007991
mov rbx, qword [0x14000df20]
jmp 0x140007624
cmp word [r12], 0x71
je 0x140007600
cmp word [r12], 0x63
jne 0x140007605
test r13d, r13d
je 0x14000762f
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
mov r8d, 0x400
call fcn.140006608
xor r10d, r10d
test al, al
je 0x140007991
mov rsi, qword [rsp + 0x70]
mov r8d, 0x20
movzx r15d, word [rsi]
cmp r15w, r8w
je 0x140007640
cmp r15w, 9
jne 0x14000764b
add rsi, 2
mov qword [rsp + 0x70], rsi
jmp 0x14000762f
movzx eax, word [r12]
sub ax, 0x46
cmp ax, 0x2b
ja 0x1400076d9
movabs rcx, 0x84000000011
bt rcx, rax
jae 0x1400076d9
test r13d, r13d
je 0x1400076d9
cmp word [r12], 0x71
lea rax, [rbp + 0x1850]
lea rdx, [rbp + 0x1850]
mov qword [rbp - 0x38], rax
mov qword [rsp + 0x68], rdx
lea r13, [rbp + 0x1050]
je 0x1400076e3
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
mov r8d, 0x400
call fcn.140006608
xor r10d, r10d
test al, al
je 0x140007991
mov rsi, qword [rsp + 0x70]
lea r8d, [r10 + 0x20]
movzx r15d, word [rsi]
cmp r15w, r8w
je 0x1400076ce
cmp r15w, 9
jne 0x1400076de
add rsi, 2
mov qword [rsp + 0x70], rsi
jmp 0x1400076bd
mov r13, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
movzx eax, word [r12]
sub ax, 0x61
cmp ax, 0x19
ja 0x140007738
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 0x1400077e8
mov rbx, qword [0x14000df20]
jmp 0x140007918
test rbx, rbx
je 0x14000785e
cmp word [r12], 0x50
mov eax, 0x41
jne 0x1400077c1
cmp word [rbx], ax
jne 0x1400077c1
lea rdx, [rbp + 0x2050]
mov ecx, eax
call fcn.14000576c
test eax, eax
jne 0x1400079a7
lea ecx, [rax + 0x1e]
lea rdx, [rbp + 0xca0]
mov rbx, r12
lea r8d, [rcx - 0x1d]
mov qword [0x14000df20], rbx
lea rax, [rbp + 0xca0]
sub r13, rdx
test rcx, rcx
je 0x1400077b1
movzx edx, word [r13 + rax]
test dx, dx
je 0x1400077a7
mov word [rax], dx
add rax, 2
sub rcx, r8
jne 0x14000778b
xor r13d, r13d
test rcx, rcx
jne 0x1400077b8
jmp 0x1400077b4
xor r13d, r13d
sub rax, 2
mov word [rax], r13w
jmp 0x140007918
cmp word [rbx], 0x50
jne 0x1400079a7
cmp word [r12], ax
jne 0x1400079a7
mov ecx, eax
call fcn.14000576c
xor r13d, r13d
test eax, eax
je 0x140007918
xor edx, edx
xor ecx, ecx
call fcn.1400042d0
mov r14d, edi
call fcn.1400069b4
test r14d, r14d
jne 0x140008886
cmp qword [0x14000df20], r13
jne 0x140007820
xor edx, edx
xor ecx, ecx
call fcn.1400042d0
mov r14d, edi
test r14d, r14d
jne 0x140008886
mov eax, dword [0x14000df28]
test eax, eax
je 0x140008886
mov r15d, 1
lea rsi, [0x140000000]
test eax, eax
je 0x140007af2
mov rbx, qword [0x14000c048]
mov rcx, rbx
call qword [0x140010410]
xor edx, edx
xor ecx, ecx
call rbx
jmp 0x140007b06
cmp word [r12], 0x50
mov rbx, r12
mov qword [0x14000df20], rbx
je 0x1400078bf
lea r8, [rbp + 0x2050]
mov ecx, 0x400
lea rax, [rbp + 0x2050]
sub rdx, r8
mov r8d, 1
mov qword [rsp + 0x68], rdx
test rcx, rcx
je 0x1400078b5
movzx edx, word [rdx + rax]
test dx, dx
je 0x1400078b0
mov word [rax], dx
mov rdx, qword [rsp + 0x68]
add rax, 2
sub rcx, r8
jne 0x140007891
test rcx, rcx
jne 0x1400078b9
sub rax, 2
mov word [rax], r10w
jmp 0x1400078c5
mov r8d, 1
lea rdx, [rbp + 0xca0]
mov ecx, 0x1e
lea rax, [rbp + 0xca0]
sub r13, rdx
test rcx, rcx
je 0x140007901
movzx edx, word [r13 + rax]
test dx, dx
je 0x1400078f7
mov word [rax], dx
add rax, 2
sub rcx, r8
jne 0x1400078db
xor r13d, r13d
test rcx, rcx
jne 0x140007908
jmp 0x140007904
xor r13d, r13d
sub rax, 2
cmp word [r12], 0x45
mov word [rax], r13w
je 0x1400079bb
lea rdx, [rbp + 0x1050]
lea rax, [rbp + 0x1850]
mov word [rbp + 0x1050], r13w
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x78], rax
mov word [rbp + 0x1850], r13w
mov r8d, 0x20
test r15w, r15w
je 0x1400079bb
mov r12d, 1
lea rdx, [0x140002010]
jmp 0x14000736f
xor edx, edx
xor ecx, ecx
call fcn.1400042d0
mov r14d, edi
cmp dword [rbp + 0x828], ebx
jle 0x1400077f4
mov rcx, qword [rbp + 0x820]
test rcx, rcx
je 0x1400077f4
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400077f4
xor edx, edx
xor ecx, ecx
call fcn.1400042d0
jmp 0x14000887d
mov r14d, 0xe
jmp 0x1400079b3
xor edx, edx
xor ecx, ecx
call fcn.1400042d0
mov r14d, edi
xor r13d, r13d
jmp 0x1400077f4
test rbx, rbx
je 0x1400077f4
movzx eax, word [rbx]
mov r15d, 1
cmp ax, 0x45
je 0x1400079e9
sub ax, 0x59
cmp ax, r15w
jbe 0x1400079e9
call fcn.1400069b4
mov rbx, qword [0x14000df20]
cmp word [rbx], 0x50
lea rax, [0x140002010]
lea rdi, [rbp + 0x2050]
cmove rdi, qword [rbp + 0x90]
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 + 0xca0]
mov rdx, rdi
call rbx
mov r14d, eax
mov rax, qword [0x14000df20]
movzx ecx, word [rax]
lea eax, [rcx - 0x59]
cmp ax, r15w
jbe 0x140008880
test r14d, r14d
jne 0x140007a6d
cmp cx, 0x45
jne 0x140007a5e
mov dword [0x14000df28], r15d
jmp 0x140007843
mov eax, dword [0x14000df28]
mov dword [rbp - 0x70], r15d
jmp 0x14000783b
cmp r14d, 0x8000
jne 0x140007a85
mov dword [0x14000df28], r13d
mov r14d, r13d
jmp 0x140008886
mov eax, 0x4eb
cmp r14d, eax
jg 0x140007abb
je 0x140007817
cmp r14d, 0xfffffffe
jl 0x140007ae5
test r14d, r14d
js 0x14000781a
lea eax, [r14 - 2]
cmp eax, r15d
jbe 0x140007ab3
cmp r14d, 0x7b
jne 0x140007ae5
mov r14d, 0x653
jmp 0x140007ae5
lea eax, [r14 - 0x642]
cmp eax, 2
jbe 0x140007817
cmp r14d, 0x669
je 0x140007817
cmp r14d, 0xbc2
je 0x140007817
mov ecx, r14d
call fcn.14000610c
jmp 0x140007817
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rcx, [0x1400018c0]
call fcn.140009f00
cmp dword [rbp - 0x70], r13d
je 0x140007b65
cmp dword [0x14000df28], r13d
jne 0x140007b72
mov ebx, r13d
movsxd rcx, ebx
lea r8, [0x140002190]
mov r9d, r15d
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 0x140007b61
add ebx, r15d
cmp ebx, r15d
jl 0x140007b18
jmp 0x140007b65
mov dword [rbp - 0x2c], r15d
cmp dword [0x14000df28], r13d
je 0x140008833
mov rax, qword gs:[0x60]
mov r9, qword [rsp + 0x70]
mov r10d, r13d
mov rcx, qword [rax + 0x20]
mov rbx, 0xffffffff80000001
bts dword [rcx + 8], 0x13
xor eax, eax
lea r11d, [rax + 0x30]
lea r12d, [rax + 0x20]
mov qword [rbp + 0xc60], rax
mov qword [rbp + 0xc68], rax
movzx eax, word [r9]
mov ecx, 5
sub ax, r11w
cmp ax, 9
ja 0x140007bdc
mov eax, r10d
and eax, ebx
jge 0x140007bce
sub eax, r15d
or eax, 0xfffffffe
add eax, r15d
neg eax
movzx eax, word [r9]
sbb r8d, r8d
sub eax, r11d
jmp 0x140007c09
movzx eax, word [r9]
mov edx, 0x41
sub ax, dx
cmp ax, cx
ja 0x140007c3d
mov eax, r10d
and eax, ebx
jge 0x140007bfd
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, r12d
jge 0x140007cf6
mov eax, r10d
add r10d, r15d
cdq
sub eax, edx
sar eax, 1
movsxd rcx, eax
or byte [rbp + rcx + 0xc60], r8b
add r9, 2
jmp 0x140007bab
cmp r10d, r12d
jne 0x140007cf6
mov byte [rsp + 0x61], r13b
mov sil, r13b
mov r12b, r13b
mov dil, r13b
mov byte [rsp + 0x60], r13b
cmp word [r9], r13w
je 0x140007c63
add r9, 2
cmp word [r9], 0x43
jne 0x140007c74
mov byte [rsp + 0x61], r15b
jmp 0x140007d0b
cmp word [r9], 0x55
jne 0x140007c88
mov byte [rsp + 0x61], r15b
mov r12b, r15b
jmp 0x140007d0b
cmp word [r9], dx
jne 0x140007c98
mov dil, r15b
mov byte [rsp + 0x60], r15b
jmp 0x140007d0b
cmp word [r9], 0x4d
je 0x140007ca8
cmp word [r9], 0x45
jne 0x140007d0b
jmp 0x140007cab
mov sil, r15b
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 0x14000881f
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 0x140007d01
mov edx, edi
lea rcx, [0x140001950]
call fcn.140005eb0
mov r14d, 0x641
jmp 0x140008880
mov dil, r13b
mov rbx, 0xffffffff80000001
or qword [rsp + 0x68], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r9, [rsp + 0x68]
mov rcx, rax
mov r8d, r15d
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x140007d44
or qword [rsp + 0x68], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x140007cf6
test sil, sil
jne 0x140007d4f
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 0x140007d74
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140007e08
cmp byte [0x14000e0c4], r13b
jne 0x140007da8
lea rcx, [rbp - 0x10]
call fcn.140002a64
mov rbx, qword [rbp - 0x10]
jmp 0x140007db2
lea rbx, [0x14000e110]
mov eax, r13d
test eax, eax
jne 0x140007dfc
mov rcx, qword [rbp]
mov r9d, 0x58
lea rax, [rbp + 0x20]
lea esi, [r9 - 0x57]
lea r8, [rbp + 0xce0]
mov qword [rsp + 0x20], rax
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140007dfc
mov rcx, qword [rbp + 0xce0]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb r15d, r15d
and r15d, 2
add r15d, esi
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140007e47
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbp + 0xe42]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0xe40], r13w
mov ebx, eax
call sub.msvcrt.dll_memset
lea r8, [0x1400019c0]
lea rcx, [rbp + 0xe40]
mov r9d, ebx
mov edx, 0x104
call fcn.140002810
mov esi, 1
test r12b, r12b
je 0x140007e5a
cmp r15d, esi
jne 0x140007e6c
lea r15d, [rsi + 6]
test dil, dil
je 0x140007e96
test r15d, r15d
jne 0x140007e87
mov r15d, 4
jmp 0x140007e96
test r15d, r15d
jne 0x140007e79
mov r15d, 6
jmp 0x140007e5a
xor edx, edx
lea rcx, [0x140001a00]
jmp 0x140007cf1
cmp r15d, esi
jne 0x140007cf6
mov r15d, 5
mov edi, 0x100
mov r12d, 3
mov dword [rbp - 0x1c], edi
mov r8d, r12d
cmp r15d, esi
jbe 0x140007eb5
lea eax, [r15 - 4]
cmp eax, r12d
ja 0x140007ebb
mov r8d, 2
lea rdx, [rbp - 0x1c]
lea rcx, [rbp + 0xd40]
call fcn.140002b64
mov ebx, eax
test eax, eax
je 0x140007eeb
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140008883
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008883
movsxd rbx, dword [rbp - 0x1c]
mov dword [rbp - 8], ebx
mov dword [rbp - 0x48], ebx
mov dword [rbp - 0x28], ebx
mov dword [rbp - 0x30], ebx
mov dword [rbp - 0x24], ebx
mov dword [rbp + 0x3e8], ebx
cmp ebx, edi
jle 0x140007f2b
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, dword [rbp - 0x48]
mov qword [rbp + 0x3e0], rax
test rax, rax
jne 0x140007f4a
mov dword [rbp + 0x3e8], r13d
jmp 0x140007f4a
lea rcx, [rbp + 0x3f0]
mov r8, rdi
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x3f0]
mov qword [rbp + 0x3e0], rax
mov dword [rbp + 0x608], ebx
cmp ebx, edi
jle 0x140007f74
movsxd rdx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x600], rax
test rax, rax
jne 0x140007f93
mov dword [rbp + 0x608], r13d
jmp 0x140007f93
lea rcx, [rbp + 0x610]
mov r8, rdi
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x610]
mov qword [rbp + 0x600], rax
movsxd rax, dword [rbp - 0x28]
mov dword [rbp + 0x4f8], eax
cmp eax, edi
jle 0x140007fc1
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x4f0], rax
test rax, rax
jne 0x140007fe0
mov dword [rbp + 0x4f8], r13d
jmp 0x140007fe0
lea rcx, [rbp + 0x500]
mov r8, rdi
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x500]
mov qword [rbp + 0x4f0], rax
movsxd rax, dword [rbp - 0x30]
mov dword [rbp + 0x2d8], eax
cmp eax, edi
jle 0x140008011
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
mov qword [rbp + 0x2d0], rax
test rax, rax
jne 0x140008030
mov dword [rbp + 0x2d8], r13d
jmp 0x140008030
lea rcx, [rbp + 0x2e0]
mov r8, rdi
xor edx, edx
call sub.msvcrt.dll_memset
lea rbx, [rbp + 0x2e0]
mov qword [rbp + 0x2d0], rbx
movsxd rax, dword [rbp - 0x24]
mov dword [rbp + 0x718], eax
cmp eax, edi
jle 0x140008065
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, qword [rbp + 0x2d0]
mov qword [rbp + 0x710], rax
test rax, rax
jne 0x140008084
mov dword [rbp + 0x718], r13d
jmp 0x140008084
lea rcx, [rbp + 0x720]
mov r8, rdi
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x720]
mov qword [rbp + 0x710], rax
mov r9, qword [rbp + 0x600]
mov rdx, qword [rbp + 0x3e0]
lea rcx, [rbp - 0x24]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x4f0]
lea r8, [rbp - 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
lea rcx, [rbp + 0xd40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_MakeAbsoluteSD]
test eax, eax
jne 0x140008104
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x68]
mov r14d, eax
cmp rcx, 0xffffffffffffffff
je 0x1400086a0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400086a0
mov rbx, qword [0x14000c038]
mov rcx, rbx
call qword [0x140010410]
mov rcx, qword [rbp + 0x3e0]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r12d
call rbx
mov ebx, eax
test eax, eax
je 0x14000816c
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140008159
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x140001ad0]
mov edx, ebx
call fcn.140005eb0
jmp 0x14000869a
xor r9d, r9d
xor r8d, r8d
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor esi, esi
mov r13, rax
test rax, rax
je 0x14000819f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp - 0x10], rax
test rax, rax
jne 0x1400081b9
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x14000869a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000869a
mov qword [rbp - 0x78], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x58], rsi
call fcn.140006870
mov rdi, rax
test rax, rax
jne 0x1400081f7
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x1400081e4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x140001b30]
xor edx, edx
call fcn.140005eb0
jmp 0x14000849b
mov dword [rbp - 0x4c], esi
mov dword [rbp - 0x20], esi
call fcn.140003ab4
mov r12, rax
test rax, rax
je 0x140008357
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14000822f
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 [rsp + 0x78], rsi
mov rax, qword [r12]
mov rbx, qword [rax]
mov rcx, rbx
call qword [0x140010410]
lea r8, [rsp + 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 - 0x58]
mov dword [rbp - 0x6c], r15d
test rbx, rbx
je 0x14000828f
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 - 0x58], rsi
mov rax, qword [rdi]
mov rbx, qword [rax + 0x70]
mov rcx, rbx
call qword [0x140010410]
lea rax, [rbp - 0x20]
lea r8, [rbp + 0xc60]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x58]
lea rdx, [rbp - 0x6c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x4c]
mov r9d, 0x10
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call rbx
test eax, eax
je 0x1400082ff
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x1400082f3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x140001b90]
jmp 0x14000847f
mov r8d, dword [rbp - 0x4c]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
jne 0x14000833d
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140008329
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140001c00]
mov edx, eax
jmp 0x140008481
mov rbx, qword [0x14000c030]
mov rcx, rbx
call qword [0x140010410]
mov rcx, qword [rbp - 0x58]
call rbx
test eax, eax
jne 0x140008371
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140008486
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008486
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rsi, qword [rax]
mov rcx, rsi
call qword [0x140010410]
lea r8, [rbp - 0x78]
lea rdx, [0x140001fe8]
mov rcx, rbx
call rsi
xor eax, eax
mov qword [rbp - 0x40], rax
cmp r15d, dword [rbp - 0x6c]
jne 0x1400083b0
lea eax, [r15 - 6]
mov r8d, 1
cmp eax, r8d
ja 0x1400083b8
lea rax, [rbp - 0x6c]
mov qword [rbp - 0x40], rax
mov rsi, qword [rbp - 0x78]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x140]
mov rcx, rbx
call qword [0x140010410]
mov rdx, qword [rbp - 0x40]
lea r8, [rbp + 0xc60]
mov rcx, rsi
call rbx
mov rsi, qword [rbp - 0x78]
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 - 0x78]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x158]
mov rcx, rbx
call qword [0x140010410]
mov r15, qword [rbp - 0x10]
mov rcx, rsi
mov rdx, r15
call rbx
mov rsi, qword [rbp - 0x78]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x148]
mov rcx, rbx
call qword [0x140010410]
mov rax, qword [rsp + 0x68]
mov r9b, byte [rsp + 0x60]
mov r8b, byte [rsp + 0x61]
mov edx, dword [rbp - 0x4c]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x20]
mov rcx, rsi
mov dword [rsp + 0x20], eax
call rbx
mov rcx, qword [rsp + 0x68]
mov ebx, eax
cmp rcx, 0xffffffffffffffff
je 0x140008474
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or qword [rsp + 0x68], 0xffffffffffffffff
test ebx, ebx
je 0x1400084e1
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 - 0x58]
test rbx, rbx
je 0x1400084b9
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x140010410]
mov rcx, rbx
call rdi
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x140008695
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x140010410]
mov rcx, rbx
call rdi
jmp 0x140008695
mov rsi, qword [rbp - 0x78]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x138]
mov rcx, rbx
call qword [0x140010410]
mov rdx, qword [rbp - 0x58]
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 - 0x58]
xor esi, esi
test rbx, rbx
je 0x140008536
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x140010410]
mov rcx, rbx
call rdi
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x140008555
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 + 8]
or r9d, 0xffffffff
lea ecx, [r8 + 3]
mov dword [0x14000d6dc], 3
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], r15
mov dword [rsp + 0x20], 0x1cff
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
xor r15d, r15d
test eax, eax
je 0x140008738
lea ebx, [r15 + 1]
cmp eax, ebx
je 0x14000872f
cmp eax, 2
jne 0x1400085f9
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rbp - 0x78]
mov dword [rbp - 0x18], r15d
mov rax, qword [rdi]
mov rbx, qword [rax + 0x160]
mov rcx, rbx
call qword [0x140010410]
lea rdx, [rbp - 0x18]
mov rcx, rdi
call rbx
mov r8d, dword [rbp - 0x18]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
je 0x140008670
mov qword [rbp + 8], rax
mov ebx, 1
jmp 0x140008646
cmp eax, 3
jne 0x140008738
jmp 0x14000861e
cmp dword [rbp + 0x38], 0x12
je 0x14000863a
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rbp + 0x30]
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 0x140008604
jmp 0x14000863d
mov sil, bl
test sil, sil
jne 0x140008738
xor r8d, r8d
lea rdx, [rbp + 8]
or r9d, 0xffffffff
lea ecx, [r8 + 3]
mov dword [rsp + 0x20], 0x1cff
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
je 0x140008738
jmp 0x140008597
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140008681
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140001c00]
mov edx, eax
call fcn.140005eb0
mov edi, 0x100
mov r14d, 0x641
cmp dword [rbp + 0x718], edi
jle 0x1400086ba
mov rcx, qword [rbp + 0x710]
test rcx, rcx
je 0x1400086ba
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x2d8], edi
jle 0x1400086d4
mov rcx, qword [rbp + 0x2d0]
test rcx, rcx
je 0x1400086d4
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x4f8], edi
jle 0x1400086ee
mov rcx, qword [rbp + 0x4f0]
test rcx, rcx
je 0x1400086ee
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x608], edi
jle 0x140008708
mov rcx, qword [rbp + 0x600]
test rcx, rcx
je 0x140008708
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x3e8], edi
jle 0x140008886
mov rcx, qword [rbp + 0x3e0]
test rcx, rcx
je 0x140008886
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140008886
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rbp - 0x78]
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 + 0x718], ebx
jle 0x14000877c
mov rcx, qword [rbp + 0x710]
test rcx, rcx
je 0x14000877c
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x2d8], ebx
jle 0x140008796
mov rcx, qword [rbp + 0x2d0]
test rcx, rcx
je 0x140008796
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x4f8], ebx
jle 0x1400087b0
mov rcx, qword [rbp + 0x4f0]
test rcx, rcx
je 0x1400087b0
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x608], ebx
jle 0x1400087ca
mov rcx, qword [rbp + 0x600]
test rcx, rcx
je 0x1400087ca
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp + 0x3e8], ebx
jle 0x1400087e4
mov rcx, qword [rbp + 0x3e0]
test rcx, rcx
je 0x1400087e4
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rbp - 0x70], r13d
je 0x140008803
cmp dword [0x14000df28], r13d
jne 0x140008803
mov ecx, dword [0x14000da98]
test ecx, ecx
je 0x140008803
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rbp - 0x2c], r13d
je 0x140008886
mov r14d, 0x641
mov ecx, r14d
call fcn.14000610c
jmp 0x140008886
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x1400018e0]
mov edx, eax
jmp 0x140007cf1
mov dword [0x14000d6dc], r15d
lea rcx, [rbp + 0x60]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140008862
cmp dword [0x14000df2c], r13d
je 0x1400087e4
cmp dword [0x14000dea0], r13d
je 0x1400087e4
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x14000883a
mov edi, 0x65b
mov r14d, edi
mov ebx, r14d
mov r14d, ebx
cmp dword [rbp + 0xb8], 0x104
jle 0x14000889f
mov rcx, qword [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rax, [rbp + 0xc0]
mov dword [rbp + 0xb8], 0x104
mov qword [rbp + 0xb0], rax
mov eax, 1
cmp dword [rbp + 0x98], eax
jle 0x1400088d1
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, r14d
mov rcx, qword [rbp + 0x2850]
xor rcx, rsp
call fcn.14000a620
lea r11, [rsp + 0x2960]
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