Function at 0x402924
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xdc
mov dword [esp], 0x26
call fcn.0051c414
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov dword [esp + 8], 0x26
mov dword [esp + 4], str.FE9F46E8_22F0_4FA9_8121_1C4FC683A475
call fcn.0052455c
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], 0
mov dword [ebp - 0x30], 0x53474c
mov dword [ebp - 0x2c], 0x53923c
mov dword [ebp - 0x28], ebp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x28], 0x402d61
mov dword [ebp - 0x44], 1
lea eax, [ebp - 0x4c]
call fcn.005353b5
lea eax, [ebp - 0x84]
mov dword [esp], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x26
call fcn.00403e04
mov ecx, dword [ebp - 0xa4]
add ecx, 0x26
test al, al
mov edx, ecx
je 0x4029e8
cmp dword [ebp - 0x6c], 7
ja 0x4029d9
lea eax, [ebp - 0x80]
jmp 0x4029dc
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x70], 0
mov word [eax], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], 2
mov cl, byte [ebp - 0x50]
mov byte [esp + 0xc], cl
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.004042b0
lea eax, [ebp - 0x84]
mov dword [esp + 4], eax
mov dword [esp], 0x53dc20
call fcn.00403080
mov ecx, dword [ebp - 0x6c]
cmp ecx, 8
jb 0x402a47
mov eax, dword [ebp - 0x80]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x402a3f
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.0051a4c8
cmp dword [0x53dc38], 7
ja 0x402a57
mov eax, 0x53dc24
jmp 0x402a5c
mov eax, dword [0x53dc24]
mov dword [ebp - 0x44], 3
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], 0
call sub.KERNEL32.DLL_CreateMutexW
sub esp, 0xc
cmp eax, 0xffffffff
je 0x402a9a
mov dword [ebp - 0x44], 4
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0xb7
jne 0x402b26
mov dword [ebp - 0x44], 0x1c
call sub.KERNEL32.DLL_GetCurrentProcessId
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x44], 0x1d
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x100001
call sub.KERNEL32.DLL_OpenProcess
sub esp, 0xc
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x44], 0x1e
mov dword [esp], eax
mov dword [esp + 4], 0
call sub.KERNEL32.DLL_TerminateProcess
sub esp, 8
cmp dword [ebp - 0x14], 0
je 0x402b0b
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.0051a4c8
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.005353d6
mov eax, 1
add esp, 0xdc
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x44], 5
call fcn.005354a8
mov ecx, edx
mov dword [ebp - 0x60], 0xb2d05e00
mov dword [ebp - 0x5c], 0
mov edx, 0x64
mul edx
mov esi, eax
imul eax, ecx, 0x64
add eax, edx
add esi, dword [ebp - 0x60]
adc eax, dword [ebp - 0x5c]
add esi, 0x77359400
adc eax, 0
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3b9aca00
call fcn.0052ccbb
sub esp, 0x10
mov dword [ebp - 0x84], eax
imul eax, eax, 0xc4653600
add eax, esi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x44], 6
lea eax, [ebp - 0x84]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00535cd4
mov dword [ebp - 0x44], 7
call fcn.00438ee0
test al, al
je 0x402c8b
mov dword [ebp - 0x44], 0xb
mov dword [esp], 0x21c
call fcn.0051c414
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], 0xc
mov dword [esp], eax
call fcn.0043d900
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], 0xd
mov dword [esp + 4], eax
mov dword [esp], 0x547850
call fcn.004031e4
mov dword [ebp - 0x44], 0xe
call fcn.005354a8
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
mov eax, 0x64
mul dword [ebp - 0x90]
mov esi, eax
imul eax, dword [ebp - 0x8c], 0x64
add esi, 0x3b9aca00
adc eax, edx
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3b9aca00
call fcn.0052ccbb
sub esp, 0x10
mov dword [ebp - 0xb8], eax
imul eax, eax, 0xc4653600
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x44], 0xf
lea eax, [ebp - 0xb8]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00535cd4
jmp 0x402e49
mov dword [esp], 0x24
call fcn.005333d8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0x5391ea
mov dword [eax], 0x4046bc
mov eax, dword [ebp - 0x10]
add eax, 8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], 0xf
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 0
mov byte [edx + 0xc], 0
mov dword [ebp - 0x44], 8
mov dword [esp], eax
mov dword [esp + 4], 0x5391de
call fcn.00403830
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], 9
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x40319c
mov dword [esp + 4], 0x53949c
call fcn.00533488
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xcc], esi
cmp dword [ebp - 0x14], 0
je 0x402d32
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.0051a4c8
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x44], 0xffffffff
mov dword [esp], eax
call fcn.00535354
sub esp, 4
jmp 0x402d0f
mov eax, dword [0x547850]
cmp byte [eax + 0x219], 0
je 0x402f07
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
cmp byte [eax + 0x21a], 0
jne 0x402fe3
mov eax, dword [ebp - 0x68]
cmp byte [eax + 0x21b], 0
jne 0x402ff4
mov dword [ebp - 0x44], 0x17
call fcn.005354a8
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
mov eax, 0x64
mul dword [ebp - 0xa0]
mov esi, eax
imul eax, dword [ebp - 0x9c], 0x64
add eax, edx
add esi, dword [ebp - 0x60]
adc eax, dword [ebp - 0x5c]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3b9aca00
call fcn.0052ccbb
sub esp, 0x10
mov dword [ebp - 0xc8], eax
imul eax, eax, 0xc4653600
add eax, esi
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x44], 0x18
lea eax, [ebp - 0xc8]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00535cd4
jmp 0x402e49
mov dword [ebp - 0x44], 0x10
call fcn.005354a8
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
mov eax, 0x64
mul dword [ebp - 0x98]
mov esi, eax
imul eax, dword [ebp - 0x94], 0x64
add esi, 0x3b9aca00
adc eax, edx
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3b9aca00
call fcn.0052ccbb
sub esp, 0x10
mov dword [ebp - 0xc0], eax
imul eax, eax, 0xc4653600
add eax, esi
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x44], 0x11
lea eax, [ebp - 0xc0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00535cd4
mov dword [ebp - 0x44], 0x12
call fcn.004369cc
mov dword [ebp - 0x44], 0x13
mov dword [esp], 0x21c
call fcn.0051c414
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x44], 0x14
mov dword [esp], eax
call fcn.0043d900
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x44], 0x15
mov dword [esp + 4], eax
mov dword [esp], 0x547850
call fcn.004031e4
mov eax, dword [0x547850]
jmp 0x402e5b
mov dword [ebp - 0x44], 0x1a
call fcn.00436f54
jmp 0x402a9a
mov dword [ebp - 0x44], 0x1b
call fcn.00436f50
jmp 0x402a9a