Function at 0x401b50
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463292
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f534]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebp, ecx
lea eax, [esp + 0x28]
push eax
call fcn.00420500
xor ebx, ebx
mov dword [esp + 0x58], ebx
push ebx
lea edi, [esp + 0x18]
call fcn.00421340
mov byte [esp + 0x5c], 1
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.AppConfig.ini
push eax
push ecx
call fcn.004024c0
add esp, 0xc
mov byte [esp + 0x5c], 2
mov byte [esp + 0x5c], 1
lea ecx, [esp + 0x2c]
call fcn.004107e0
mov byte [esp + 0x58], bl
mov ecx, edi
call fcn.00403830
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x46c2cf
call fcn.004031a0
mov byte [esp + 0x5c], 3
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.VERSION_TYPE
call fcn.004031a0
mov byte [esp + 0x64], 4
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.APP_INFO
call fcn.004031a0
mov byte [esp + 0x68], 5
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x6c], bl
lea esi, [esp + 0x28]
call fcn.004206b0
mov byte [esp + 0x58], 6
mov eax, dword [eax]
push eax
call fcn.0044896e
add esp, 4
mov dword [0x4809c0], eax
mov byte [esp + 0x58], bl
mov ecx, esi
call fcn.00403830
cmp dword [0x480d40], ebx
jne 0x401d55
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x46c010
call fcn.004031a0
mov byte [esp + 0x5c], 7
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.HEIGHT
call fcn.004031a0
mov byte [esp + 0x64], 8
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.FONT
call fcn.004031a0
mov byte [esp + 0x68], 9
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x6c], bl
lea esi, [esp + 0x2c]
call fcn.004206b0
mov byte [esp + 0x58], 0xa
mov eax, dword [eax]
push eax
call fcn.0044896e
add esp, 4
mov edi, eax
mov byte [esp + 0x58], bl
mov ecx, esi
call fcn.00403830
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x46c024
call fcn.004031a0
mov byte [esp + 0x5c], 0xb
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.FACE_NAME
call fcn.004031a0
mov byte [esp + 0x64], 0xc
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.FONT
call fcn.004031a0
mov byte [esp + 0x68], 0xd
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x6c], bl
lea esi, [esp + 0x28]
call fcn.004206b0
mov byte [esp + 0x58], 0xe
mov edx, dword [esp + 0x14]
push edx
push 0x20
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
mov ecx, 0x480d3c
call fcn.0042b603
mov byte [esp + 0x58], bl
mov ecx, esi
call fcn.00403830
push str.UpdateF8DD0FBD_F25A_421a_B09F_509C80730A19
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp + 0xa4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401db9
push 5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push eax
call edi
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401db9
push str.UpdateF8DD0FBD_F25A_421a_B09F_509C80730A19
push esi
call dword [sym.imp.USER32.dll_GetPropA]
test eax, eax
jne 0x401eac
push 2
push esi
call edi
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x401d93
push ebx
call fcn.00430959
add esp, 4
call fcn.00401f60
lea ecx, [esp + 0x34]
push ecx
call fcn.00402280
mov esi, eax
mov byte [esp + 0x58], 0x11
mov edx, dword [esi]
lea eax, [esi + 4]
lea ecx, [ebp + 0xfa8]
push eax
mov dword [ebp + 0xfa4], edx
call fcn.004037b0
mov ecx, dword [esi + 8]
lea edx, [esi + 0xc]
mov dword [ebp + 0xfac], ecx
lea ecx, [ebp + 0xfb0]
push edx
call fcn.004037b0
lea eax, [esi + 0x10]
lea ecx, [ebp + 0xfb4]
push eax
call fcn.004037b0
mov ecx, dword [esi + 0x14]
mov dword [ebp + 0xfb8], ecx
mov byte [esp + 0x58], bl
lea edx, [esp + 0x34]
push edx
call fcn.004015e0
or edi, 0xffffffff
cmp dword [ebp + 0xfa4], edi
jne 0x401e5a
lea eax, [ebp + 0xfac]
push eax
lea ecx, [ebp + 0xfa8]
call fcn.004214f0
add esp, 4
neg eax
sbb eax, eax
and eax, 4
mov dword [ebp + 0xfa4], eax
mov edx, dword [ebp + 0xa8]
mov eax, dword [edx + 0x134]
lea esi, [ebp + 0xa8]
push ebx
push 0x81
mov ecx, esi
call eax
mov ecx, dword [ebp + 0xc8]
push ecx
mov dword [ebp + 0x20], esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x28]
call fcn.00420580
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.UpdateType
call fcn.004031a0
mov byte [esp + 0x5c], 0xf
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x60], bl
call fcn.00411110
add esp, 8
mov byte [esp + 0x58], 0x10
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x401eec
push eax
call fcn.0044896e
add esp, 4
jmp 0x401eee
xor eax, eax
push eax
push ebx
push 0x406
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [esp + 0x58], bl
lea ecx, [esp + 0x14]
call fcn.00403830
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00420580
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret