Function at 0x402d00
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov dword [0x41a424], esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push str.TEROS_MECHANICAL_KEYBOARD_TE_4153N_software
call edi
movups xmm0, xmmword [0x416090]
push 0x41a468
push 1
movups xmmword [0x41a468], xmm0
push 0
movups xmm0, xmmword [0x4160a0]
movups xmmword [0x41a478], xmm0
movups xmm0, xmmword [0x4160b0]
movups xmmword [0x41a488], xmm0
movups xmm0, xmmword [0x4160c0]
movups xmmword [0x41a498], xmm0
movups xmm0, xmmword [0x4160d0]
movups xmmword [0x41a4a8], xmm0
movq xmm0, qword [0x4160e0]
movq qword [0x41a4b8], xmm0
movups xmm0, xmmword [0x416078]
movups xmmword [0x41a4be], xmm0
movq xmm0, qword [0x416088]
movq qword [0x41a4ce], xmm0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x402dc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402f5f
movups xmm0, xmmword [0x416078]
push str.4695579F_999A_41d4_9FAF_EFFCE93EBE19
movq xmm1, qword [0x4160e0]
movups xmm6, xmmword [0x416090]
movups xmm5, xmmword [0x4160a0]
movups xmm4, xmmword [0x4160b0]
movups xmm3, xmmword [0x4160c0]
movups xmm2, xmmword [0x4160d0]
movq qword [0x41a8b8], xmm1
movups xmmword [0x41a8be], xmm0
movq xmm0, qword [0x416088]
movq qword [0x41a8ce], xmm0
movups xmm0, xmmword [str.AUDIORECORD]
movq qword [0x41a6b8], xmm1
movups xmmword [0x41a6be], xmm0
movq xmm0, qword [0x416070]
movups xmmword [0x41a868], xmm6
movups xmmword [0x41a878], xmm5
movups xmmword [0x41a888], xmm4
movups xmmword [0x41a898], xmm3
movups xmmword [0x41a8a8], xmm2
movups xmmword [0x41a668], xmm6
movups xmmword [0x41a678], xmm5
movups xmmword [0x41a688], xmm4
movups xmmword [0x41a698], xmm3
movups xmmword [0x41a6a8], xmm2
movq qword [0x41a6ce], xmm0
call edi
mov ecx, esi
mov dword [0x41aa6c], eax
call fcn.00402f80
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x41a868
push 0x41a668
push 0
mov dword [0x41aa68], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x402f5f
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push 0
push eax
call esi
test eax, eax
je 0x402f44
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x402f33
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x402f13
pop ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040442d
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040442d
mov esp, ebp
pop ebp
ret 0x10