Function at 0x42a990
Capabilities:
Check mutex on windows
Enumerate gui resources
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adc58
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x6370c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x82d], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.MUTEX_TMJIASUQI_INSTALL_CLIENT_TOOL
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
test eax, eax
je 0x42aa30
call edi
cmp eax, 0xb7
jne 0x42aa30
mov ecx, dword [ebp + 0x34]
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0
test ecx, ecx
je 0x42ae13
mov eax, dword [ecx]
lea edx, [ebp - 0x838]
push edx
lea edx, [ebp - 0x834]
push edx
call dword [eax + 8]
jmp 0x42ad9e
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.79F6FE60_2F8F_4D06_A4AC_158519F02F53
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x42aa63
call edi
cmp eax, 0xb7
je 0x42aa63
mov byte [ebp - 0x82d], 1
jmp 0x42add8
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x42ad9e
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00477660
push 0x62c07c
lea eax, [ebp - 0x210]
push 0xff
push eax
call fcn.00406fa0
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x26
xorps xmm0, xmm0
mov dword [ebp - 0x840], 0
push str.AFD92106_8F92_4276_AD53_4840F813B4F3
lea ecx, [ebp - 0x850]
mov dword [ebp - 0x83c], 0
movups xmmword [ebp - 0x850], xmm0
call fcn.00401950
lea eax, [ebp - 0x850]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x82c], 0
call fcn.00403ed0
lea eax, [ebp - 0x82c]
push eax
push 0x4026d0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0x814]
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x834], eax
cmp ecx, 7
jbe 0x42ab56
mov edx, dword [ebp - 0x828]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42ab4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ae18
push ecx
push edx
call fcn.0042dd9f
add esp, 8
xor eax, eax
mov dword [ebp - 0x818], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x83c]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
cmp ecx, 7
jbe 0x42abb6
mov edx, dword [ebp - 0x850]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42abac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ae18
push ecx
push edx
call fcn.0042dd9f
add esp, 8
mov eax, dword [ebp - 0x834]
mov dword [esi + 8], eax
test eax, eax
jne 0x42ac40
push 0x200
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00477660
push 0x62c090
lea eax, [ebp - 0x210]
push 0xff
push eax
call fcn.00406fa0
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.79F6FE60_2F8F_4D06_A4AC_158519F02F53
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x42ad9e
call edi
cmp eax, 0xb7
je 0x42ad9e
mov byte [ebp - 0x82d], 1
jmp 0x42add8
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x42ad9e
mov ecx, dword [ebp + 0x34]
mov dword [ebp - 0x834], 1
mov dword [ebp - 0x838], 0
test ecx, ecx
je 0x42ae1d
mov eax, dword [ecx]
lea edx, [ebp - 0x834]
push edx
lea edx, [ebp - 0x838]
push edx
mov eax, dword [eax + 8]
call eax
cmp eax, 2
jne 0x42acc4
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00477660
push str._u7b_t
lea eax, [ebp - 0x210]
push 0xff
push eax
call fcn.00406fa0
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call eax
jmp 0x42ad9e
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00477660
push 0x1388
push 0x62c0b0
lea eax, [ebp - 0x810]
push 0x3ff
push eax
call fcn.00404b00
add esp, 0x1c
lea eax, [ebp - 0x810]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call eax
mov edi, 0x19
nop dword [eax + eax]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.79F6FE60_2F8F_4D06_A4AC_158519F02F53
push 0
push 0
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x42aa57
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42aa57
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
dec edi
test eax, eax
jle 0x42ad65
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x42ad10
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00477660
push str.sQ_7b
lea eax, [ebp - 0x210]
push 0xff
push eax
call fcn.00406fa0
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.0042a8d0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x42adba
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x42adcb
push eax
call edi
mov dword [esi + 4], 0
cmp dword [esi + 8], 0
je 0x42add8
mov dword [esi + 8], 0
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x42adf0
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, byte [ebp - 0x82d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042db10
mov esp, ebp
pop ebp
ret 0x30
call fcn.0042c3a4
call fcn.0047a9c0
call fcn.0042c3a4
int3