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

Disassembly:
push 0xffffffffffffffff
push 0x435c9f
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 0x446db0
push ebp
mov dword [esp + 0x4c], eax
call fcn.0041a901
add esp, 8
lea ecx, [esp + 0xe4]
push 1
call fcn.0040e6f0
lea ecx, [esp + 0xb8]
mov dword [esp + 0x208], ebp
call fcn.00405950
push section..SHMMESS
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x20c], 1
call fcn.00417290
lea ecx, [esp + 0xe4]
lea edx, [esp + 0xb8]
mov dword [0x446ebc], ecx
mov dword [0x446ec0], 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 [0x446ec4], 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.00412c40
mov eax, dword [esp + 0x80]
mov bl, 3
cmp eax, ebp
mov byte [esp + 0x208], bl
je 0x407109
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0xe8]
call fcn.00405860
lea edx, [esp + 0x78]
push eax
push edx
mov byte [esp + 0x210], 4
call fcn.00409fb0
add esp, 8
lea ecx, [esp + 0x58]
mov byte [esp + 0x208], bl
call fcn.00404dd0
jmp 0x407176
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 0x407176
lea eax, [esp + 0x10]
lea ecx, [esp + 0xe4]
push eax
call fcn.0040a7b0
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.00416070
add esp, 8
mov dword [esp + 0x10], 0x4392ac
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], 6
call fcn.00404ab0
mov byte [esp + 0x208], bl
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [0x446ebc]
call fcn.0040ae50
mov eax, dword [esp + 0x50]
mov byte [esp + 0x208], 7
cmp eax, ebp
jle 0x4071ba
mov edx, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x4c]
call dword [edx + 4]
mov eax, dword [esp + 0x4c]
push eax
call fcn.00408b00
mov ecx, dword [0x446ebc]
add esp, 4
call fcn.0040ec60
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [0x446ebc]
call fcn.0040ad20
mov eax, dword [esp + 0x38]
mov byte [esp + 0x208], 8
cmp eax, ebp
je 0x4071f5
mov edx, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x34]
call dword [edx + 4]
mov eax, dword [esp + 0x34]
mov ecx, 0x446e90
push eax
call fcn.00416f20
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [0x446ebc]
call fcn.0040abf0
mov eax, dword [esp + 0x70]
mov ebx, 9
cmp eax, ebp
mov byte [esp + 0x208], bl
je 0x407234
mov edx, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x6c]
call dword [edx + 4]
mov eax, dword [esp + 0x6c]
mov ecx, 0x446e90
push eax
call fcn.00416eb0
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.00404630
lea ecx, [esp + 0x20]
mov byte [esp + 0x208], 0xa
push ecx
lea ecx, [esp + 0x6c]
call fcn.0040b160
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 [0x446e10], edx
mov dword [esp + 0x44], ebp
call fcn.00405760
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 0x442680
push esi
call fcn.004198ff
add esp, 0xc
mov dword [esp + 0x58], 0x4392ac
lea ecx, [esp + 0x58]
mov byte [esp + 0x208], 0xc
call fcn.00404ab0
mov ecx, 6
mov esi, 0x442664
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.00409000
mov cl, byte [eax]
add esp, 8
test cl, cl
je 0x40739d
mov eax, dword [esp + 0x40]
push eax
call fcn.00413660
add esp, 4
test eax, eax
jne 0x40739d
lea ecx, [esp + 0x20]
push ebx
push ecx
call fcn.00409520
lea edx, [esp + 0x18]
push 0xa
push edx
mov byte [esp + 0x218], 0xd
call fcn.00409520
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 [0x446f18]
push 0x50030
push esi
push eax
call fcn.00416130
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x446f18]
push 0x64
call fcn.004160f0
push ebx
call fcn.0041a80e
mov ecx, 5
mov esi, 0x44264c
lea edi, [esp + 0x13c]
push 0x1b
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 6
mov esi, 0x442630
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, 0x442614
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.00409000
mov esi, dword [eax]
lea edx, [esp + 0x178]
push 0x1a
push edx
call fcn.00409000
mov edi, dword [eax]
lea eax, [esp + 0x14c]
push 0x16
push eax
call fcn.00409000
mov cl, byte [eax]
add esp, 0x18
test cl, cl
je 0x4074ae
push edi
push esi
push eax
call fcn.00408db0
add esp, 0xc
test eax, eax
jne 0x4074ae
lea ecx, [esp + 0x20]
push 0xb
push ecx
call fcn.00409520
lea edx, [esp + 0x18]
push 0xa
push edx
mov byte [esp + 0x218], 0x11
call fcn.00409520
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 [0x446f18]
push 0x50030
push esi
push eax
call fcn.00416130
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x446f18]
push 0x64
call fcn.004160f0
push 0xb
call fcn.0041a80e
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [0x446ebc]
call fcn.0040a5a0
push 0xffffffffffffffff
push str.true
lea ecx, [esp + 0x28]
mov byte [esp + 0x210], 0x15
call fcn.00404630
lea edx, [esp + 0x20]
lea ecx, [esp + 0x90]
push edx
mov byte [esp + 0x20c], 0x16
call fcn.00404c50
xor ecx, ecx
cmp eax, ebp
sete cl
mov eax, ecx
mov byte [esp + 0x208], 0x15
cmp eax, ebp
je 0x40768a
mov ecx, dword [0x446ebc]
lea edx, [esp + 0x10]
push edx
call fcn.00405860
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 0x407549
cmp byte [ecx + eax], 0x3a
jne 0x407544
mov byte [ecx + eax], 0x2e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc eax
cmp eax, edx
jl 0x407532
xor eax, eax
cmp edx, ebp
jle 0x407566
cmp byte [ecx + eax], 0x5c
jne 0x407561
mov byte [ecx + eax], 0x2e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc eax
cmp eax, edx
jl 0x40754f
push 0xffffffffffffffff
push str..j2e
lea ecx, [esp + 0x28]
call fcn.00404630
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x20c], 0x18
call fcn.00404380
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 0x4075cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateMutex_error:__d_n
call fcn.0041a7a0
add esp, 8
jmp 0x4075e7
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x407667
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x58]
push 0xd
push ecx
call fcn.00409520
lea edx, [esp + 0x28]
push 0xa
push edx
mov byte [esp + 0x218], 0x19
call fcn.00409520
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 [0x446f18]
push 0x50030
push esi
push eax
call fcn.00416130
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x446f18]
push 0x64
call fcn.004160f0
push 0xb
call fcn.0041a80e
mov dword [esp + 0x10], 0x4392ac
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], 0x1d
call fcn.00404ab0
mov byte [esp + 0x208], 0x15
jmp 0x4076c4
push 0xffffffffffffffff
push str.custom
lea ecx, [esp + 0x28]
call fcn.00404630
lea ecx, [esp + 0x20]
mov byte [esp + 0x208], 0x1e
push ecx
lea ecx, [esp + 0x94]
call fcn.00404c50
cmp eax, ebp
mov byte [esp + 0x208], 0x15
jne 0x4076c4
call fcn.00417fb0
lea edx, [esp + 0x10]
lea ecx, [esp + 0xe4]
push edx
call fcn.0040a4a0
mov bl, 0x1f
push 0xffffffffffffffff
push str.true
lea ecx, [esp + 0x28]
mov byte [esp + 0x210], bl
call fcn.00404630
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x20c], 0x20
call fcn.00404c50
cmp eax, ebp
mov byte [esp + 0x208], bl
mov edi, 0x4392a8
je 0x407776
push 0xffffffffffffffff
push str.auto
lea ecx, [esp + 0x28]
call fcn.00404630
lea ecx, [esp + 0x20]
mov byte [esp + 0x208], 0x21
push ecx
lea ecx, [esp + 0x14]
call fcn.00404c50
cmp eax, ebp
mov byte [esp + 0x208], bl
je 0x407776
push 0xffffffffffffffff
push 0x4425e0
lea ecx, [esp + 0x28]
call fcn.00404630
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x20c], 0x22
call fcn.00404c50
cmp eax, ebp
mov byte [esp + 0x208], bl
jne 0x4077f5
push 0xffffffffffffffff
push 0x4425e0
lea ecx, [esp + 0x28]
call fcn.00404630
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x20c], 0x23
call fcn.00404c50
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, 0x446dd8
call fcn.004188d0
push 0x446e00
mov ecx, 0x446dd8
call fcn.00419170
mov eax, dword [0x446e08]
mov ecx, 0x446e00
mov esi, eax
push eax
mov eax, dword [0x446e00]
call dword [eax + 4]
mov ebx, dword [0x446e04]
jmp 0x407800
mov esi, dword [esp + 0x210]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x10], 0x4392ac
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], 0x24
call fcn.00404100
cmp eax, ebp
je 0x407826
push eax
call fcn.00419423
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 0x406f50
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], 0x406fc0
call fcn.0040a2c0
mov ebx, 0x4392ac
add esp, 0x10
mov esi, eax
mov dword [0x446ebc], ebp
mov dword [0x446ec0], ebp
mov dword [esp + 0x90], ebx
lea ecx, [esp + 0x90]
mov byte [esp + 0x208], 0x25
call fcn.00404100
cmp eax, ebp
je 0x4078c6
push eax
call fcn.00419423
add esp, 4
mov dword [esp + 0x90], edi
mov dword [esp + 0x68], ebx
lea ecx, [esp + 0x68]
mov byte [esp + 0x208], 0x26
call fcn.00404100
cmp eax, ebp
je 0x4078ef
push eax
call fcn.00419423
add esp, 4
mov dword [esp + 0x68], edi
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x208], 0x27
call fcn.00404100
cmp eax, ebp
je 0x407915
push eax
call fcn.00419423
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 0x40793a
push eax
call fcn.00419423
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 0x407965
push eax
call fcn.00419423
add esp, 4
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x78], edi
mov byte [esp + 0x208], 1
call fcn.00417390
lea ecx, [esp + 0xb8]
mov byte [esp + 0x208], 0x29
call fcn.00405a90
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.00404100
cmp eax, ebp
je 0x4079c4
push eax
call fcn.00419423
add esp, 4
mov dword [esp + 0xc8], edi
mov dword [esp + 0xb8], 0x4392e0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x208], 0x2b
call fcn.00404100
cmp eax, ebp
je 0x4079f7
push eax
call fcn.00419423
add esp, 4
lea ecx, [esp + 0xe4]
mov dword [esp + 0xb8], 0x4392dc
mov dword [esp + 0x208], 0xffffffff
call fcn.00412480
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