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.14004f8c0
sub rsp, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x30], rax
call fcn.14000a690
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.140002140
lea rcx, [rsp + 0x218]
call fcn.1400092e0
test eax, eax
jne 0x14000106d
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [0x1400678d0]
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.140009000
jmp 0x140001185
mov rcx, qword [rsp + 0x2b8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [0x1400679c8]
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, [0x1400679e8]
mov qword [rsp + 0x330], rax
lea rax, [0x1400679f8]
mov qword [rsp + 0x338], rax
lea rax, [0x140067a08]
mov qword [rsp + 0x340], rax
lea rax, [0x140067a18]
mov qword [rsp + 0x348], rax
lea rax, [0x140067a28]
mov qword [rsp + 0x350], rax
lea rax, [0x140067a38]
mov qword [rsp + 0x358], rax
lea rax, str.ReadProcessMemory
mov qword [rsp + 0x360], rax
lea rax, [0x140067a60]
mov qword [rsp + 0x368], rax
lea rax, [0x140067a78]
mov qword [rsp + 0x370], rax
lea rax, [0x140067a90]
mov qword [rsp + 0x378], rax
lea rax, [0x140067aa8]
mov qword [rsp + 0x380], rax
lea rax, [0x140067ab8]
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.140009000
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.140009000
jmp 0x1400013ca
mov rcx, qword [rsp + 0x398]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [0x140067af8]
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.140009000
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.140009000
jmp 0x1400015c8
mov rcx, qword [rsp + 0x3e0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rsp + 0x218]
call fcn.140009680
test eax, eax
jne 0x14000162d
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x14008c044], 1
jne 0x14000163b
call fcn.140005cf0
cmp dword [0x14008f9e8], 1
jne 0x140001651
call fcn.14000fb90
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.140004800
test eax, eax
jne 0x140001662
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [rsp + 0x270], 0
lea r8, str.45D9B016_B182_4AD7_A9ED_63977AC38876
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.45D9B016_B182_4AD7_A9ED_63977AC38876
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.28487E9C_3BC0_44B3_85CC_9C7C51253FDB
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.3618130C_4D17_4D3C_969D_A5F68D09A8FA
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.3618130C_4D17_4D3C_969D_A5F68D09A8FA
call fcn.140011100
lea r9, str.3B74F12A_9A5D_40FB_8BF3_28C1CDBA6356
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.3B74F12A_9A5D_40FB_8BF3_28C1CDBA6356
call fcn.140011100
cmp dword [0x14008a2dc], 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.140002110
xor ecx, ecx
mov word [rax], cx
lea rdx, [rsp + 0x10410]
lea rcx, [0x14008a1d0]
call fcn.140005d90
mov qword [rsp + 0x10418], rax
cmp qword [rsp + 0x10418], 0
je 0x140001991
mov dx, 0x5c
mov rcx, qword [rsp + 0x10418]
call fcn.140002110
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.140002110
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.AE26C56F_5DA3_4764_BD93_1DF4D63DF269
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.EB1CF6E5_9E98_4B13_B304_5920A16133FC
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.0B923354_7A33_4FD4_B849_9911B484B158
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, [0x14008a2e0]
lea rdx, [0x14008a3aa]
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.1400047e0
test eax, eax
jne 0x1400019d2
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.140016430
test eax, eax
jne 0x1400019e3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [0x14008a1d0]
call fcn.140005890
test eax, eax
jne 0x1400019fb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [0x14008a1d0]
call fcn.140005ec0
test eax, eax
jne 0x140001a13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.140010980
test eax, eax
jne 0x140001a24
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [reloc.WS2_32.dll_accept], 1
jne 0x140001a3f
call fcn.140008750
cmp eax, 1
jne 0x140001a3f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x14008c048], 1
jne 0x140001a59
call fcn.140007a40
test eax, eax
jne 0x140001a59
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x140089f28], 1
jne 0x140001a6c
call fcn.14000fb90
jmp 0x1400020c3
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140001a91
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 0x140001aad
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 0x140001ad2
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 0x140001aee
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 0x140001b13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r9, qword [rsp + 0x40]
lea r8, [0x140067bf0]
mov edx, 0x7fff
mov rcx, qword [rsp + 0x20]
call fcn.14004f7cc
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x250], rax
cmp qword [rsp + 0x250], 0
jne 0x140001b59
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r9, qword [rsp + 0x38]
lea r8, [0x140067c10]
mov edx, 0x7fff
mov rcx, qword [rsp + 0x250]
call fcn.14004f7cc
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.14004f6e0
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x278]
call fcn.14004f6e0
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 0x14000204f
cmp dword [reloc.WS2_32.dll_accept], 1
jne 0x140001cd3
cmp qword [rsp + 0x258], 0
jne 0x140001cd3
lea rdx, [rsp + 0x258]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400060b0
cmp eax, 1
jne 0x140001cd3
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rsp + 0x10444], eax
cmp dword [rsp + 0x10444], 0xffffffff
je 0x140001c8f
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 0x140001cd3
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 [reloc.WS2_32.dll_accept], 1
jne 0x140001da5
cmp qword [rsp + 0x278], 0
jne 0x140001da5
lea rdx, [rsp + 0x278]
mov rcx, qword [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.1400060b0
cmp eax, 1
jne 0x140001da5
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rsp + 0x10448], eax
cmp dword [rsp + 0x10448], 0xffffffff
je 0x140001d61
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 0x140001da5
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 [0x14008a610], 1
jne 0x140001ed7
cmp dword [reloc.WS2_32.dll_accept], 1
jne 0x140001e42
cmp qword [rsp + 0x278], 0
je 0x140001e42
xor edx, edx
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140001e42
lea r8, str.8EBF6F9C_7411_475C_9F80_939B32C4E185
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [rsp + 0x10450], rax
cmp qword [rsp + 0x10450], 0
jne 0x140001e29
mov edx, 0xa
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140001e27
jmp 0x1400020c3
jmp 0x140001db2
cmp qword [rsp + 0x10450], 0
je 0x140001e42
mov rcx, qword [rsp + 0x10450]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [reloc.WS2_32.dll_accept], 1
jne 0x140001ed2
cmp qword [rsp + 0x258], 0
je 0x140001ed2
xor edx, edx
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140001ed2
lea r8, str.9744E25D_022E_4816_9277_331D2BD7A42B
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [rsp + 0x10458], rax
cmp qword [rsp + 0x10458], 0
jne 0x140001eb9
mov edx, 0xa
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140001eb7
jmp 0x1400020c3
jmp 0x140001e42
cmp qword [rsp + 0x10458], 0
je 0x140001ed2
mov rcx, qword [rsp + 0x10458]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400020c3
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 0x140001f0b
jmp 0x14000204f
xor edx, edx
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140001f27
jmp 0x14000204f
cmp qword [rsp + 0x258], 0
je 0x140001faf
xor edx, edx
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140001faf
mov rax, qword [rsp + 0x258]
cmp qword [rsp + 0x240], rax
jne 0x140001f6b
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 0x140002037
xor edx, edx
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140002037
mov rax, qword [rsp + 0x278]
cmp qword [rsp + 0x240], rax
jne 0x140001ff3
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 0x140001bf1
cmp qword [rsp + 0x258], 0
je 0x140002089
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 0x1400020c3
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.1400047f0
cmp dword [0x140089f28], 1
jne 0x1400020e3
mov edx, 0xffffffff
mov rcx, qword [0x140090118]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x14008c048], 1
jne 0x1400020f1
call fcn.140007a90
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]