Function at 0x401000
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x118
push ebx
push ebp
push esi
mov esi, dword [esp + 0x130]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jl 0x401035
push esi
call fcn.00402db0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 0x10
push str.UTCService
xor ebp, ebp
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401065
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x118
ret 0x10
mov dword [0x40bc50], 1
mov dword [0x40bee8], ebp
mov dword [0x40bee4], ebp
call dword [sym.imp.WINMM.dll_waveOutGetNumDevs]
mov ebx, dword [esp + 0x12c]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x40bc38], eax
mov ecx, 0xa
xor eax, eax
mov edi, 0x40bc94
rep stosd dword es:[edi], eax
push ebp
mov ecx, 0xa
mov edi, 0x40bc6c
push ebp
push 1
push ebp
rep stosd dword es:[edi], eax
mov dword [0x40bc10], ebp
mov dword [0x40bc08], ebx
call esi
push ebp
push ebp
push 1
push ebp
mov dword [0x40bc64], eax
call esi
push ebp
push ebp
push 1
push ebp
mov dword [0x40bc54], eax
call esi
push ebp
push ebp
push 1
push ebp
mov dword [0x40bcc0], eax
call esi
push ebp
push ebp
push 1
push ebp
mov dword [0x40bddc], eax
call esi
push ebp
push ebp
push 1
push ebp
mov dword [0x40bc44], eax
call esi
push ebp
push ebp
push 1
push ebp
mov dword [0x40bc14], eax
call esi
mov dword [0x40bdd0], eax
mov ecx, 0x41
xor eax, eax
mov edi, 0x40bcc8
rep stosd dword es:[edi], eax
mov edi, str.DownSound.wav
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x40bcc8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x41
mov edi, 0x40bde0
rep stosd dword es:[edi], eax
mov edi, str.UpSound.wav
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x60]
mov edx, ecx
mov esi, edi
mov edi, 0x40bde0
push 0x64
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
push 0x6d
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x6b
push ebx
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 3
mov dword [esp + 0x24], 0x402680
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
call edi
push 0x7f00
push ebp
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [esp + 0x60]
push 0x6c
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
push edx
mov dword [esp + 0x3c], 6
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ecx
call edi
mov dword [esp + 0x40], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea ecx, [esp + 0xc4]
push 0x64
push ecx
push 0x67
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebp
call edi
mov esi, eax
push 1
sub esi, 0x50
call edi
lea ecx, [eax + eax*2]
mov eax, 0x51eb851f
shl ecx, 3
imul ecx
sar edx, 3
mov eax, edx
push ebp
shr eax, 0x1f
push ebx
push ebp
push ebp
lea edx, [edx + eax - 0x73]
push 0x73
push 0x50
push edx
push esi
lea ecx, [esp + 0xe4]
push 0x80c00000
lea edx, [esp + 0x84]
push ecx
push edx
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, ebp
mov dword [0x40bc2c], eax
jne 0x40126c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x118
ret 0x10
mov dword [0x40bc18], 1
call fcn.00401df0
call fcn.004022d0
mov dword [0x40bc18], ebp
call fcn.00401350
call dword [sym.imp.utpapi.dll_GetExistControllers]
mov byte [0x40bc5c], al
call dword [sym.imp.utpapi.dll_Get_Manual_RightClick_Status]
cmp eax, 1
jne 0x4012ab
mov eax, dword [0x40bc2c]
push 5
push eax
jmp 0x4012b3
mov ecx, dword [0x40bc2c]
push ebp
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x40bc2c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebp
push ebp
lea eax, [esp + 0x4c]
push ebp
push eax
call esi
test eax, eax
je 0x401302
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [esp + 0x44]
push ecx
call edi
lea edx, [esp + 0x44]
push edx
call ebx
push ebp
push ebp
lea eax, [esp + 0x4c]
push ebp
push eax
call esi
test eax, eax
jne 0x4012e6
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, dword [esp + 0x44]
pop ebp
pop ebx
add esp, 0x118
ret 0x10