Function at 0x1000c8b0
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f0251
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x1013b7e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x74], ebx
mov esi, dword [ebp + 8]
test esi, esi
jne 0x1000c8f2
lea eax, [esi + 1]
jmp 0x1000cc75
mov edi, 1
lea eax, [ebp - 0x24]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], 0xc
push esi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push edi
push eax
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x78], esi
test esi, esi
je 0x1000cc73
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000cc42
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.10088cd0
mov ecx, eax
push edi
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, edi
jne 0x1000ca12
push 0x65
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashi_srccommoninstance_mutex.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.100070f0
push 3
push 0x10102f98
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100070f0
mov byte [ebp - 4], 1
call fcn.10088cd0
mov edi, eax
lea ecx, [ebp - 0x110]
push 0x4a
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007cd0
mov esi, eax
push str.normal_desktop_show_check_mutex_
push esi
mov byte [ebp - 4], 2
call fcn.10008a00
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.10008b30
lea ecx, [ebp - 0x28]
call fcn.10005ec0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10005ec0
push 0
push str.TLudashiFormMain
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
test ebx, ebx
je 0x1000cc3e
call fcn.10088cd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000cae7
push 0x65
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashi_srccommoninstance_mutex.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.100070f0
push 3
push 0x10102f98
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100070f0
mov byte [ebp - 4], 4
call fcn.10088cd0
mov edi, eax
lea ecx, [ebp - 0x110]
push 0x4d
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007cd0
mov esi, eax
push str.ComputerZ_CN_Exist
push esi
mov byte [ebp - 4], 5
call fcn.10008a00
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.10008b30
lea ecx, [ebp - 0x28]
call fcn.10005ec0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10005ec0
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call edi
push eax
lea ecx, [ebp - 0x28]
call fcn.1000b150
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
push 0
push 0xbb8
lea eax, [eax*2 + 2]
mov dword [ebp - 0x34], 0x9c40
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 2
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
push ebx
push 0x4a
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 8
jb 0x1000cb6d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000cb63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cc93
push edx
push ecx
call fcn.100899c7
add esp, 8
test esi, esi
jne 0x1000cc3e
call fcn.10088cd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000cc3e
call edi
push 0x65
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashi_srccommoninstance_mutex.cc
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], esi
mov ebx, eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.100070f0
push 3
push 0x10102f98
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 6
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.100070f0
mov byte [ebp - 4], 7
call fcn.10088cd0
mov edi, eax
lea ecx, [ebp - 0x1a8]
push 0x4f
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10007cd0
mov esi, eax
push str.SendCommand_failed_:
push esi
mov byte [ebp - 4], 8
call fcn.10007290
test ebx, ebx
mov eax, 0x10102ca4
cmovne eax, ebx
push eax
push esi
call fcn.10007290
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.10008b30
lea ecx, [ebp - 0x58]
call fcn.10005ec0
lea ecx, [ebp - 0x70]
call fcn.10005ec0
xor edi, edi
jmp 0x1000cc73
add ebx, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x74]
add ecx, 4
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x1000cc62
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x1000cc6c
lea edx, [ebp - 0x78]
push edx
push eax
call fcn.1000c4a0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10089d41
mov esp, ebp
pop ebp
ret 4
call fcn.100c8c99
int3