Function at 0x4c5290
Capabilities:
Check mutex on windows
Create thread
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50df05
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x78], ebx
xor eax, eax
push 0x2f
mov dword [ebp - 0x28], 0
push str._KHDID3MGR_3E67DFEF_DF4E_4CC6_9413_5F71C7C96C04
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00403a70
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], 0
call fcn.004133c0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4c5345
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c533b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c562a
push edx
push ecx
call fcn.004c6f6f
add esp, 8
cmp dword [ebp - 0x54], 0
jne 0x4c5396
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
test edi, edi
je 0x4c54cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4c5393
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4c5393
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
jmp 0x4c54d2
mov dword [ebp - 0x54], edi
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 0x32]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x70], eax
xor eax, eax
push 8
mov dword [ebp - 0x28], 0
push str.InfoHD3t
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00403a70
push 0x23
push str.SoftwareKingsoftOffice6.0Common
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
call fcn.00403a70
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x78]
push edx
lea edx, [ebp - 0x74]
mov dword [ebp - 0x74], 0
push edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x78], 4
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
push 0
cmovae eax, dword [ebp - 0x6c]
push ecx
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, dword [ebp - 0x74]
xor ecx, ecx
mov edx, dword [ebp - 0x58]
test eax, eax
cmovne edi, ecx
cmp edx, 8
jb 0x4c5482
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c5478
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c54c6
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4c5501
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c54f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c54f7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.004c5680
mov eax, dword [ebp - 0x54]
add esp, 4
test eax, eax
je 0x4c5654
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x54]
call esi
jmp 0x4c564d
push edx
push ecx
call fcn.004c6f6f
add esp, 8
cmp dword [ebp - 0x70], edi
je 0x4c5561
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 0x32]
push 4
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
push 4
push str.InfoHD3t
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [esi], 0
jne 0x4c5561
push 0
push 0
push 0
push 0x4c3be0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004c5680
add esp, 4
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
je 0x4c55d5
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00402e80
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4c55b8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c55ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c562a
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4c5654
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4c564d
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4c55f5
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi]
call edi
mov dword [esi], 0
push ebx
call fcn.004c5680
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x4c563a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c5630
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c5630
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4c5654
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x54]
call edi
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x50]
call fcn.00403430
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 8