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

Disassembly:
push 0xffffffffffffffff
push 0x43747f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f0
mov eax, dword [esp + 0x204]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x448e48
push ebp
mov dword [esp + 0x4c], eax
call fcn.0041bb91
add esp, 8
lea ecx, [esp + 0xe4]
push 1
call fcn.0040edc0
lea ecx, [esp + 0xb8]
mov dword [esp + 0x208], ebp
call fcn.00405960
push section..SHMMESS
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x20c], 1
call fcn.004184c0
lea ecx, [esp + 0xe4]
lea edx, [esp + 0xb8]
mov dword [0x448f54], ecx
mov dword [0x448f58], edx
xor ecx, ecx
lea edx, [esp + 0x88]
lea eax, [esp + 0x1a8]
mov dword [esp + 0x88], ecx
push edx
mov byte [esp + 0x20c], 2
mov dword [0x448f5c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], 8
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea eax, [esp + 0x78]
lea ecx, [esp + 0xe4]
push eax
call fcn.00413300
mov eax, dword [esp + 0x80]
mov bl, 3
cmp eax, ebp
mov byte [esp + 0x208], bl
je 0x407039
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0xe8]
call fcn.00405870
lea edx, [esp + 0x78]
push eax
push edx
mov byte [esp + 0x210], 4
call fcn.0040a0c0
add esp, 8
lea ecx, [esp + 0x58]
mov byte [esp + 0x208], bl
call fcn.004150e0
jmp 0x4070a6
push 0x64
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov esi, eax
cmp esi, ebp
je 0x4070a6
lea eax, [esp + 0x10]
lea ecx, [esp + 0xe4]
push eax
call fcn.0040a8c0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x20c], 5
call dword [edx + 4]
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.0040ec40
add esp, 8
mov dword [esp + 0x10], 0x43a2d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], 6
call fcn.00404d10
mov byte [esp + 0x208], bl
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [0x448f54]
call fcn.0040af60
mov eax, dword [esp + 0x50]
mov byte [esp + 0x208], 7
cmp eax, ebp
jle 0x4070ea
mov edx, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x4c]
call dword [edx + 4]
mov eax, dword [esp + 0x4c]
push eax
call fcn.00408a30
mov ecx, dword [0x448f54]
add esp, 4
call fcn.0040f330
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [0x448f54]
call fcn.0040ae30
mov eax, dword [esp + 0x38]
mov byte [esp + 0x208], 8
cmp eax, ebp
je 0x407125
mov edx, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x34]
call dword [edx + 4]
mov eax, dword [esp + 0x34]
mov ecx, 0x448f28
push eax
call fcn.00418150
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [0x448f54]
call fcn.0040ad00
mov eax, dword [esp + 0x70]
mov ebx, 9
cmp eax, ebp
mov byte [esp + 0x208], bl
je 0x407164
mov edx, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x6c]
call dword [edx + 4]
mov eax, dword [esp + 0x6c]
mov ecx, 0x448f28
push eax
call fcn.004180e0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x34]
call dword [edx + 4]
mov eax, dword [esp + 0x34]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x28]
call fcn.00404620
lea ecx, [esp + 0x20]
mov byte [esp + 0x208], 0xa
push ecx
lea ecx, [esp + 0x6c]
call fcn.0040b270
xor edx, edx
cmp eax, ebp
lea eax, [esp + 0x58]
lea ecx, [esp + 0xe4]
sete dl
push eax
mov byte [esp + 0x20c], bl
mov dword [0x448ea8], edx
mov dword [esp + 0x44], ebp
call fcn.00405770
mov esi, eax
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x20c], 0xb
call dword [edx + 4]
mov esi, dword [esi + 4]
lea ecx, [esp + 0x40]
push ecx
push 0x444690
push esi
call fcn.0041ab8f
add esp, 0xc
mov dword [esp + 0x58], 0x43a2d4
lea ecx, [esp + 0x58]
mov byte [esp + 0x208], 0xc
call fcn.00404d10
mov ecx, 6
mov esi, 0x444674
lea edi, [esp + 0x154]
lea edx, [esp + 0x154]
rep movsd dword es:[edi], dword [esi]
push 0x19
push edx
mov byte [esp + 0x210], bl
movsb byte es:[edi], byte [esi]
call fcn.00409110
mov cl, byte [eax]
add esp, 8
test cl, cl
je 0x4072cd
mov eax, dword [esp + 0x40]
push eax
call fcn.00413d20
add esp, 4
test eax, eax
jne 0x4072cd
lea ecx, [esp + 0x20]
push ebx
push ecx
call fcn.00409630
lea edx, [esp + 0x18]
push 0xa
push edx
mov byte [esp + 0x218], 0xd
call fcn.00409630
add esp, 0x10
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x20c], 0xe
call dword [edx + 4]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call dword [edx + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [0x448f6c]
push 0x50030
push esi
push eax
call fcn.0040ed00
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x448f6c]
push 0x64
call fcn.0040ecc0
push ebx
call fcn.0041ba9e
mov ecx, 5
mov esi, 0x44465c
lea edi, [esp + 0x13c]
push 0x1b
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 6
mov esi, str.3KV
lea edi, [esp + 0x190]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 6
mov esi, 0x444624
lea edi, [esp + 0x174]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x190]
push ecx
movsw word es:[edi], word [esi]
call fcn.00409110
mov esi, dword [eax]
lea edx, [esp + 0x178]
push 0x1a
push edx
call fcn.00409110
mov edi, dword [eax]
lea eax, [esp + 0x14c]
push 0x16
push eax
call fcn.00409110
mov cl, byte [eax]
add esp, 0x18
test cl, cl
je 0x4073de
push edi
push esi
push eax
call fcn.00408ce0
add esp, 0xc
test eax, eax
jne 0x4073de
lea ecx, [esp + 0x20]
push 0xb
push ecx
call fcn.00409630
lea edx, [esp + 0x18]
push 0xa
push edx
mov byte [esp + 0x218], 0x11
call fcn.00409630
add esp, 0x10
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x20c], 0x12
call dword [edx + 4]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call dword [edx + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [0x448f6c]
push 0x50030
push esi
push eax
call fcn.0040ed00
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x448f6c]
push 0x64
call fcn.0040ecc0
push 0xb
call fcn.0041ba9e
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [0x448f54]
call fcn.0040a6b0
push 0xffffffffffffffff
push str.true
lea ecx, [esp + 0x28]
mov byte [esp + 0x210], 0x15
call fcn.00404620
lea edx, [esp + 0x20]
lea ecx, [esp + 0x90]
push edx
mov byte [esp + 0x20c], 0x16
call fcn.00404c60
xor ecx, ecx
cmp eax, ebp
sete cl
mov eax, ecx
mov byte [esp + 0x208], 0x15
cmp eax, ebp
je 0x4075ba
mov ecx, dword [0x448f54]
lea edx, [esp + 0x10]
push edx
call fcn.00405870
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov bl, 0x17
xor eax, eax
cmp edx, ebp
mov byte [esp + 0x208], bl
jle 0x407479
cmp byte [ecx + eax], 0x3a
jne 0x407474
mov byte [ecx + eax], 0x2e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc eax
cmp eax, edx
jl 0x407462
xor eax, eax
cmp edx, ebp
jle 0x407496
cmp byte [ecx + eax], 0x5c
jne 0x407491
mov byte [ecx + eax], 0x2e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc eax
cmp eax, edx
jl 0x40747f
push 0xffffffffffffffff
push str..j2e
lea ecx, [esp + 0x28]
call fcn.00404620
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x20c], 0x18
call fcn.00404370
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x20c], 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 0x4074fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateMutex_error:__d_n
call fcn.0041ba30
add esp, 8
jmp 0x407517
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x407597
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x58]
push 0xd
push ecx
call fcn.00409630
lea edx, [esp + 0x28]
push 0xa
push edx
mov byte [esp + 0x218], 0x19
call fcn.00409630
add esp, 0x10
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x20c], 0x1a
call dword [edx + 4]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x5c]
call dword [edx + 4]
mov eax, dword [esp + 0x5c]
mov ecx, dword [0x448f6c]
push 0x50030
push esi
push eax
call fcn.0040ed00
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x448f6c]
push 0x64
call fcn.0040ecc0
push 0xb
call fcn.0041ba9e
mov dword [esp + 0x10], 0x43a2d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], 0x1d
call fcn.00404d10
mov byte [esp + 0x208], 0x15
jmp 0x4075f4
push 0xffffffffffffffff
push str.custom
lea ecx, [esp + 0x28]
call fcn.00404620
lea ecx, [esp + 0x20]
mov byte [esp + 0x208], 0x1e
push ecx
lea ecx, [esp + 0x94]
call fcn.00404c60
cmp eax, ebp
mov byte [esp + 0x208], 0x15
jne 0x4075f4
call fcn.00419240
call fcn.004148a0
lea edx, [esp + 0x10]
lea ecx, [esp + 0xe4]
push edx
call fcn.0040a5b0
mov bl, 0x1f
push 0xffffffffffffffff
push str.true
lea ecx, [esp + 0x28]
mov byte [esp + 0x210], bl
call fcn.00404620
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x20c], 0x20
call fcn.00404c60
cmp eax, ebp
mov byte [esp + 0x208], bl
mov edi, 0x43a2d0
je 0x4076ab
push 0xffffffffffffffff
push str.auto
lea ecx, [esp + 0x28]
call fcn.00404620
lea ecx, [esp + 0x20]
mov byte [esp + 0x208], 0x21
push ecx
lea ecx, [esp + 0x14]
call fcn.00404c60
cmp eax, ebp
mov byte [esp + 0x208], bl
je 0x4076ab
push 0xffffffffffffffff
push 0x4445f0
lea ecx, [esp + 0x28]
call fcn.00404620
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x20c], 0x22
call fcn.00404c60
cmp eax, ebp
mov byte [esp + 0x208], bl
jne 0x40772a
push 0xffffffffffffffff
push 0x4445f0
lea ecx, [esp + 0x28]
call fcn.00404620
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x20c], 0x23
call fcn.00404c60
mov ecx, dword [esp + 0x214]
mov edx, dword [esp + 0x210]
neg eax
sbb eax, eax
mov byte [esp + 0x208], bl
add eax, 2
mov dword [esp + 0x20], edi
push eax
push ecx
push edx
mov ecx, 0x448e70
call fcn.00419b60
push 0x448e98
mov ecx, 0x448e70
call fcn.0041a400
mov eax, dword [0x448ea0]
mov ecx, 0x448e98
mov esi, eax
push eax
mov eax, dword [0x448e98]
call dword [eax + 4]
mov ebx, dword [0x448e9c]
jmp 0x407735
mov esi, dword [esp + 0x210]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x10], 0x43a2d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], 0x24
call fcn.00416b30
cmp eax, ebp
je 0x40775b
push eax
call fcn.0041a6b3
add esp, 4
xor ecx, ecx
lea edx, [esp + 0xa0]
mov dword [esp + 0xa4], ecx
push edx
mov dword [esp + 0xac], ecx
push ebp
mov dword [esp + 0xb4], ecx
dec esi
mov dword [esp + 0xb8], ecx
add ebx, 4
push ebp
push 0x406e80
mov byte [esp + 0x218], 0x15
mov dword [esp + 0x20], edi
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], 0x406ef0
call fcn.0040a3d0
add esp, 0x10
mov esi, eax
call fcn.004148c0
mov ebx, 0x43a2d4
mov dword [0x448f54], ebp
mov dword [0x448f58], ebp
mov dword [esp + 0x90], ebx
lea ecx, [esp + 0x90]
mov byte [esp + 0x208], 0x25
call fcn.00416b30
cmp eax, ebp
je 0x407800
push eax
call fcn.0041a6b3
add esp, 4
mov dword [esp + 0x90], edi
mov dword [esp + 0x68], ebx
lea ecx, [esp + 0x68]
mov byte [esp + 0x208], 0x26
call fcn.00416b30
cmp eax, ebp
je 0x407829
push eax
call fcn.0041a6b3
add esp, 4
mov dword [esp + 0x68], edi
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x208], 0x27
call fcn.00416b30
cmp eax, ebp
je 0x40784f
push eax
call fcn.0041a6b3
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], edi
cmp eax, ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
je 0x407874
push eax
call fcn.0041a6b3
add esp, 4
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x48], edi
cmp eax, ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
je 0x40789f
push eax
call fcn.0041a6b3
add esp, 4
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x78], edi
mov byte [esp + 0x208], 1
call fcn.004185c0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x208], 0x29
call fcn.00405aa0
lea eax, [esp + 0xc8]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x44], eax
lea ecx, [esp + 0xc8]
mov byte [esp + 0x208], 0x2a
call fcn.00416b30
cmp eax, ebp
je 0x4078fe
push eax
call fcn.0041a6b3
add esp, 4
mov dword [esp + 0xc8], edi
mov dword [esp + 0xb8], 0x43a308
lea ecx, [esp + 0xb8]
mov byte [esp + 0x208], 0x2b
call fcn.00416b30
cmp eax, ebp
je 0x407931
push eax
call fcn.0041a6b3
add esp, 4
lea ecx, [esp + 0xe4]
mov dword [esp + 0xb8], 0x43a304
mov dword [esp + 0x208], 0xffffffff
call fcn.00412b40
mov ecx, dword [esp + 0x200]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1fc
ret