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

Disassembly:
push 0xffffffffffffffff
push 0x436fc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e0
mov eax, dword [esp + 0x1f4]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x448d88
push ebp
mov dword [esp + 0x38], eax
call fcn.0041b601
add esp, 8
lea ecx, [esp + 0x108]
push 1
call fcn.0040ea70
lea ecx, [esp + 0xa8]
mov dword [esp + 0x1f8], ebp
call fcn.004060f0
push section..SHMMESS
lea ecx, [esp + 0x19c]
mov byte [esp + 0x1fc], 1
call fcn.004180e0
lea ecx, [esp + 0x108]
lea edx, [esp + 0xa8]
mov dword [0x448e94], ecx
mov dword [0x448e98], edx
xor ecx, ecx
lea edx, [esp + 0x58]
lea eax, [esp + 0x198]
mov dword [esp + 0x58], ecx
mov ebx, 8
push edx
mov byte [esp + 0x1fc], 2
mov dword [0x448e9c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], ebx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea eax, [esp + 0x98]
lea ecx, [esp + 0x108]
push eax
call fcn.00412fb0
mov eax, dword [esp + 0xa0]
mov byte [esp + 0x1f8], 3
cmp eax, ebp
je 0x407852
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10c]
call fcn.00406000
lea edx, [esp + 0x98]
push eax
push edx
mov byte [esp + 0x200], 4
call fcn.0040a4e0
add esp, 8
mov dword [esp + 0x10], 0x43a2a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f8], 5
call fcn.00401dd0
mov byte [esp + 0x1f8], 3
mov ecx, dword [0x448e94]
lea eax, [esp + 0x60]
push eax
call fcn.0040b180
mov eax, dword [esp + 0x68]
mov byte [esp + 0x1f8], 6
cmp eax, ebp
jle 0x407896
mov edx, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x64]
call dword [edx + 4]
mov eax, dword [esp + 0x64]
push eax
call fcn.00408f90
mov ecx, dword [0x448e94]
add esp, 4
call fcn.0040efe0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [0x448e94]
call fcn.0040b050
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x1f8], 7
cmp eax, ebp
je 0x4078d1
mov edx, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x38]
call dword [edx + 4]
mov eax, dword [esp + 0x38]
mov ecx, 0x448e68
push eax
call fcn.00417d70
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [0x448e94]
call fcn.0040af20
mov eax, dword [esp + 0x50]
mov byte [esp + 0x1f8], bl
cmp eax, ebp
je 0x40790b
mov edx, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x4c]
call dword [edx + 4]
mov eax, dword [esp + 0x4c]
mov ecx, 0x448e68
push eax
call fcn.00417d00
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x38]
call dword [edx + 4]
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x28]
call fcn.004050c0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f8], 9
push ecx
lea ecx, [esp + 0x4c]
call fcn.0040b490
xor edx, edx
cmp eax, ebp
lea eax, [esp + 0x10]
lea ecx, [esp + 0x108]
sete dl
push eax
mov byte [esp + 0x1fc], bl
mov dword [0x448de8], edx
mov dword [esp + 0x48], ebp
call fcn.00405f00
mov esi, eax
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x1fc], 0xa
call dword [edx + 4]
mov esi, dword [esi + 4]
lea ecx, [esp + 0x44]
push ecx
push 0x444694
push esi
call fcn.0041add6
add esp, 0xc
mov dword [esp + 0x10], 0x43a2a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f8], 0xb
call fcn.00401dd0
mov ecx, 6
mov esi, 0x444678
lea edi, [esp + 0xec]
lea edx, [esp + 0xec]
rep movsd dword es:[edi], dword [esi]
push 0x19
push edx
mov byte [esp + 0x200], bl
movsb byte es:[edi], byte [esi]
call fcn.004095a0
mov cl, byte [eax]
add esp, 8
test cl, cl
je 0x407a37
mov eax, dword [esp + 0x44]
push eax
call fcn.004139d0
add esp, 4
test eax, eax
jne 0x407a37
lea ecx, [esp + 0x10]
push 9
push ecx
call fcn.004099c0
add esp, 8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x1fc], 0xc
call dword [eax + 4]
mov ecx, dword [esp + 0x14]
push ecx
push 0x4445d8
push 0x445040
call fcn.0041b27e
add esp, 0xc
push 9
call fcn.0041b50e
mov ecx, 5
mov esi, 0x444660
lea edi, [esp + 0xd4]
lea edx, [esp + 0x17c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 6
mov esi, 0x444644
lea edi, [esp + 0x17c]
push 0x1b
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 6
mov esi, 0x444628
lea edi, [esp + 0x164]
push edx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.004095a0
mov esi, dword [eax]
lea eax, [esp + 0x168]
push 0x1a
push eax
call fcn.004095a0
mov edi, dword [eax]
lea ecx, [esp + 0xe4]
push 0x16
push ecx
call fcn.004095a0
mov cl, byte [eax]
add esp, 0x18
test cl, cl
je 0x407b05
push edi
push esi
push eax
call fcn.00409240
add esp, 0xc
test eax, eax
jne 0x407b05
lea edx, [esp + 0x10]
push 0xb
push edx
call fcn.004099c0
add esp, 8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1fc], 0xe
call dword [edx + 4]
mov eax, dword [esp + 0x14]
push eax
push 0x4445d8
push 0x445040
call fcn.0041b27e
add esp, 0xc
push 0xb
call fcn.0041b50e
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [0x448e94]
call fcn.0040aae0
push 0xffffffffffffffff
push str.true
lea ecx, [esp + 0x28]
mov byte [esp + 0x200], 0x10
call fcn.004050c0
lea edx, [esp + 0x20]
lea ecx, [esp + 0x70]
push edx
mov byte [esp + 0x1fc], 0x11
call fcn.00405500
xor ecx, ecx
cmp eax, ebp
sete cl
mov eax, ecx
mov byte [esp + 0x1f8], 0x10
cmp eax, ebp
je 0x407c9c
mov ecx, dword [0x448e94]
lea edx, [esp + 0x10]
push edx
call fcn.00406000
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov bl, 0x12
xor eax, eax
cmp edx, ebp
mov byte [esp + 0x1f8], bl
jle 0x407b9a
cmp byte [ecx + eax], 0x3a
jne 0x407b95
mov byte [ecx + eax], 0x2e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc eax
cmp eax, edx
jl 0x407b83
xor eax, eax
cmp edx, ebp
jle 0x407bb7
cmp byte [ecx + eax], 0x5c
jne 0x407bb2
mov byte [ecx + eax], 0x2e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc eax
cmp eax, edx
jl 0x407ba0
push 0xffffffffffffffff
push str..j2e
lea ecx, [esp + 0x28]
call fcn.004050c0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x1fc], 0x13
call fcn.00404fa0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x1fc], bl
call dword [edx + 4]
mov eax, dword [esp + 0x14]
push eax
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
cmp esi, ebp
jne 0x407c1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateMutex_error:__d_n
call fcn.0041b4a0
add esp, 8
jmp 0x407c34
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x407c79
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x20]
push 0xd
push ecx
call fcn.004099c0
add esp, 8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1fc], 0x14
call dword [eax + 4]
mov ecx, dword [esp + 0x24]
push ecx
push 0x4445d8
push 0x445040
call fcn.0041b27e
add esp, 0xc
push 0xb
call fcn.0041b50e
mov dword [esp + 0x10], 0x43a2a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f8], 0x16
call fcn.00401dd0
mov byte [esp + 0x1f8], 0x10
jmp 0x407cd3
push 0xffffffffffffffff
push str.custom
lea ecx, [esp + 0x28]
call fcn.004050c0
lea edx, [esp + 0x20]
lea ecx, [esp + 0x70]
push edx
mov byte [esp + 0x1fc], 0x17
call fcn.00405500
cmp eax, ebp
mov byte [esp + 0x1f8], 0x10
jne 0x407cd3
call fcn.00418e00
call fcn.00414550
lea eax, [esp + 0x10]
lea ecx, [esp + 0x108]
push eax
call fcn.0040a9d0
mov bl, 0x18
push 0xffffffffffffffff
push str.true
lea ecx, [esp + 0x28]
mov byte [esp + 0x200], bl
call fcn.004050c0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f8], 0x19
push ecx
lea ecx, [esp + 0x14]
call fcn.00405500
cmp eax, ebp
mov byte [esp + 0x1f8], bl
mov edi, 0x43a294
je 0x407d8e
push 0xffffffffffffffff
push str.auto
lea ecx, [esp + 0x28]
call fcn.004050c0
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x1fc], 0x1a
call fcn.00405500
cmp eax, ebp
mov byte [esp + 0x1f8], bl
je 0x407d8e
push 0xffffffffffffffff
push 0x4445f4
lea ecx, [esp + 0x28]
call fcn.004050c0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x1fc], 0x1b
call fcn.00405500
cmp eax, ebp
mov byte [esp + 0x1f8], bl
jne 0x407e0e
push 0xffffffffffffffff
push 0x4445f4
lea ecx, [esp + 0x28]
call fcn.004050c0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f8], 0x1c
push ecx
lea ecx, [esp + 0x14]
call fcn.00405500
mov edx, dword [esp + 0x204]
mov ecx, 0x448db0
neg eax
sbb eax, eax
mov byte [esp + 0x1f8], bl
add eax, 2
mov dword [esp + 0x20], edi
push eax
mov eax, dword [esp + 0x204]
push edx
push eax
call fcn.00419720
push 0x448dd8
mov ecx, 0x448db0
call fcn.00419fc0
mov eax, dword [0x448de0]
mov edx, dword [0x448dd8]
push eax
mov ecx, 0x448dd8
mov esi, eax
call dword [edx + 4]
mov ebx, dword [0x448ddc]
jmp 0x407e19
mov esi, dword [esp + 0x200]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x10], 0x43a2a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f8], 0x1d
call fcn.00401f00
cmp eax, ebp
je 0x407e3f
push eax
call fcn.0041a070
add esp, 4
xor eax, eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x84], eax
push ecx
mov dword [esp + 0x8c], eax
push ebp
mov dword [esp + 0x94], eax
dec esi
mov dword [esp + 0x98], eax
add ebx, 4
push ebp
push 0x407690
mov byte [esp + 0x208], 0x10
mov dword [esp + 0x20], edi
mov dword [esp + 0xa4], eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], 0x407700
call fcn.0040a7f0
add esp, 0x10
mov esi, eax
call fcn.00414570
mov ebx, 0x43a2a0
mov dword [0x448e94], ebp
mov dword [0x448e98], ebp
mov dword [esp + 0x70], ebx
lea ecx, [esp + 0x70]
mov byte [esp + 0x1f8], 0x1e
call fcn.00401f00
cmp eax, ebp
je 0x407ede
push eax
call fcn.0041a070
add esp, 4
mov dword [esp + 0x70], edi
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x1f8], 0x1f
call fcn.00401f00
cmp eax, ebp
je 0x407f04
push eax
call fcn.0041a070
add esp, 4
mov dword [esp + 0x48], edi
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x1f8], 0x20
call fcn.00401f00
cmp eax, ebp
je 0x407f2a
push eax
call fcn.0041a070
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x1f8], 0x21
call fcn.00401f00
cmp eax, ebp
je 0x407f50
push eax
call fcn.0041a070
add esp, 4
mov dword [esp + 0x60], edi
mov dword [esp + 0x98], ebx
lea ecx, [esp + 0x98]
mov byte [esp + 0x1f8], 0x22
call fcn.00401f00
cmp eax, ebp
je 0x407f7c
push eax
call fcn.0041a070
add esp, 4
lea ecx, [esp + 0x198]
mov dword [esp + 0x98], edi
mov byte [esp + 0x1f8], 1
call fcn.004181e0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1f8], 0x24
call fcn.00406230
lea edx, [esp + 0xb8]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x30], edx
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1f8], 0x25
call fcn.00401f00
cmp eax, ebp
je 0x407fde
push eax
call fcn.0041a070
add esp, 4
mov dword [esp + 0xb8], edi
mov dword [esp + 0xa8], 0x43a298
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1f8], 0x26
call fcn.00401f00
cmp eax, ebp
je 0x408011
push eax
call fcn.0041a070
add esp, 4
lea ecx, [esp + 0x108]
mov dword [esp + 0xa8], 0x43a2dc
mov dword [esp + 0x1f8], 0xffffffff
call fcn.004127f0
mov ecx, dword [esp + 0x1f0]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1ec
ret