Function at 0x401070
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov byte [ebp - 0x16], 1
movzx eax, byte [ebp - 0x16]
neg eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x40
push eax
lea ecx, [ebp - 0x48]
call fcn.00404610
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 8]
push edx
push str.QalamBartar.AgentID__
lea ecx, [ebp - 0x44]
call fcn.004057c0
mov ecx, eax
call fcn.004061e0
lea ecx, [ebp - 0x44]
call fcn.00404890
lea ecx, [ebp - 0x48]
call fcn.00404890
mov eax, dword [ebp - 8]
push eax
push str._ls_executed.
push 0x4281d8
call fcn.0040fbc0
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.004056f0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x24], eax
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x401116
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 8]
call fcn.00404890
mov eax, dword [ebp - 0x4c]
jmp 0x4013c7
push str._alert
lea ecx, [ebp - 0x54]
call fcn.004057c0
push 0
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x50]
call fcn.004057c0
mov ecx, eax
call fcn.00407cf0
mov byte [ebp - 0x15], al
lea ecx, [ebp - 0x50]
call fcn.00404890
lea ecx, [ebp - 0x54]
call fcn.00404890
push 0
lea ecx, [ebp - 0x20]
push ecx
call fcn.00401000
add esp, 8
push 0xffffffffffffffff
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x4281e8
call fcn.004057c0
lea ecx, [ebp - 0x20]
call fcn.00407b60
add eax, 1
push eax
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x20]
call fcn.00407000
push eax
lea ecx, [ebp - 0x20]
call fcn.00404a10
lea ecx, [ebp - 0x5c]
call fcn.00404890
push str..dll
lea ecx, [ebp - 0x60]
call fcn.004057c0
push str..exe
lea ecx, [ebp - 0x64]
call fcn.004057c0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x20]
call fcn.00406ad0
push eax
lea ecx, [ebp - 0x20]
call fcn.00404a10
lea ecx, [ebp - 0x68]
call fcn.00404890
lea ecx, [ebp - 0x64]
call fcn.00404890
lea ecx, [ebp - 0x60]
call fcn.00404890
lea ecx, [ebp - 0x20]
call fcn.004056f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x401279
mov eax, dword [ebp - 0x20]
push eax
push str._ls_not_found.
push 0x42820c
call fcn.0040fbc0
add esp, 0xc
push 0
push 0x428214
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x70]
push edx
push str.___not_found.
lea ecx, [ebp - 0x6c]
call fcn.004057c0
mov ecx, eax
call fcn.004061e0
mov ecx, eax
call fcn.004056f0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x70]
call fcn.00404890
lea ecx, [ebp - 0x6c]
call fcn.00404890
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x20]
call fcn.00404890
lea ecx, [ebp - 8]
call fcn.00404890
mov eax, dword [ebp - 0x74]
jmp 0x4013c7
push str.CallWndProc
lea ecx, [ebp - 0x10]
call fcn.004057c0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x4012a3
mov ecx, dword [ebp - 0x10]
push ecx
push str.__ls_12
lea edx, [ebp - 0x10]
push edx
call fcn.00408f30
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00408000
mov ecx, eax
call fcn.004013f0
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x7c]
call fcn.004013d0
push 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4012f9
push str.SetWinH_failed.
push 0x428258
call fcn.0040fbc0
add esp, 8
lea ecx, [ebp - 0xc]
call fcn.00404570
mov ecx, dword [ebp - 0x1c]
push ecx
push str.Procedure_address:__x_n
lea edx, [ebp - 0xc]
push edx
call fcn.00408f80
add esp, 0xc
push str.Press_Enter_to_Unhook_...
lea eax, [ebp - 0xc]
push eax
call fcn.00408f80
add esp, 8
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x401349
push 0
push str.QbAgent
lea ecx, [ebp - 0xc]
call fcn.004056f0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40137d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea edx, [ebp - 8]
push edx
mov ecx, 0x42f790
call fcn.0040f400
mov ecx, eax
call fcn.0040f0d0
push 0
push 0
push 0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp dword [ebp - 0x3c], 0x12
je 0x40137d
jmp 0x401365
mov ecx, dword [ebp - 8]
push ecx
push str._ls_quit.
push str.WinMain
call fcn.0040fbc0
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [ebp - 0x80], 1
lea ecx, [ebp - 0xc]
call fcn.00404890
lea ecx, [ebp - 0x10]
call fcn.00404890
lea ecx, [ebp - 0x20]
call fcn.00404890
lea ecx, [ebp - 8]
call fcn.00404890
mov eax, dword [ebp - 0x80]
mov esp, ebp
pop ebp
ret 0x10