Function at 0x4012c0
Capabilities:
Check mutex on windows
Create process on windows
Enumerate processes

Disassembly:
sub esp, 0x2a0
mov eax, dword [str.123456]
mov cx, word [0x429170]
mov dl, byte [0x429172]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OpenMutexA]
push esi
push edi
push str.dianzi_unikey
push 0
push 0x100000
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], cx
mov byte [esp + 0x2e], dl
call ebp
mov esi, eax
test esi, esi
jne 0x4017a2
push str.dianzi_unikey
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
mov dword [esp + 0x24], ebx
call fcn.0040c5d0
test eax, eax
je 0x40135b
push esi
push 0x429154
push 0x429148
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401000
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a0
ret
cmp dword [esp + 0x24], 1
je 0x40138d
push 0
push 0x429154
push 0x429130
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401000
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a0
ret
lea eax, [esp + 0x10]
push eax
call fcn.0040c7e0
test eax, eax
je 0x4013c6
push 0
push 0x429154
push 0x42911c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401000
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a0
ret
lea ecx, [esp + 0x10]
lea edx, [esp + 0x68]
push ecx
push edx
mov byte [esp + 0x18], 0x30
call fcn.0040c860
test eax, eax
je 0x401409
push 0
push 0x429154
push 0x42911c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401000
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a0
ret
mov eax, dword [esp + 0x10]
push 1
push eax
call fcn.00401080
mov ecx, dword [esp + 0x18]
push 1
push ecx
call fcn.00401110
mov esi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
add esp, 0x10
push 0
push 0
push 0
push 0x8000000
call esi
push 0
push 0
push 0x1000
push 0x7fffffff
call esi
lea edx, [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
push edx
push 0x3e8
push 0
push 0
push 0
push 0x1a
push 0xffff
call edi
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x68]
push eax
push ecx
call fcn.0040c6e0
test eax, eax
je 0x4014f5
push 0
push 0x429154
push 0x42911c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [esp + 0x10]
push 0
push edx
call fcn.00401080
mov eax, dword [esp + 0x18]
push 0
push eax
call fcn.00401110
add esp, 0x10
push 0
push 0
push 0
push 0x8000000
call esi
push 0
push 0
push 0x1000
push 0x7fffffff
call esi
lea ecx, [esp + 0x14]
push ecx
push 0x3e8
push 0
push 0
push 0
push 0x1a
push 0xffff
call edi
call fcn.00401000
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a0
ret
mov edi, str.:_path_dzbzz.exe
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x88], dl
lea edx, [esp + 0x89]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
xor ebx, ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, 0xe
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x88]
lea edx, [esp + 0x88]
push eax
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], 0x40
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 5
mov dword [esp + 0x50], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004011e0
mov edx, dword [esp + 0x68]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 4
push 0xffffffffffffffff
push edx
call edi
push str.update_unikey
push ebx
push 0x100000
call ebp
mov esi, eax
cmp esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4015cd
push 0xffffffffffffffff
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call ebx
push str.bzbwbj_ah3
push 0
push 0x100000
call ebp
mov esi, eax
test esi, esi
je 0x4015f0
push 0xffffffffffffffff
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call ebx
mov ebx, 0x128
xor ebp, ebp
push ebp
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
test edi, edi
je 0x40168e
lea eax, [esp + 0x188]
mov dword [esp + 0x188], ebx
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401718
mov esi, str.dzbzz.exe
lea eax, [esp + 0x1ac]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401656
test cl, cl
je 0x401652
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401656
add eax, 2
add esi, 2
test cl, cl
jne 0x401632
xor eax, eax
jmp 0x40165b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401664
mov ebp, 1
lea eax, [esp + 0x188]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401626
test ebp, ebp
je 0x401718
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4015f5
push 0
push 0x429154
push 0x42911c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401000
mov ecx, dword [esp + 0x10]
push 0
push ecx
call fcn.00401080
mov edx, dword [esp + 0x18]
push 0
push edx
call fcn.00401110
mov esi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
add esp, 0x10
push 0
push 0
push 0
push 0x8000000
call esi
push 0
push 0
push 0x1000
push 0x7fffffff
call esi
lea eax, [esp + 0x14]
push eax
push 0x3e8
push 0
push 0
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a0
ret
lea edx, [esp + 0x68]
push edx
call fcn.0040c760
lea eax, [esp + 0x68]
push eax
call fcn.0040c660
mov ecx, dword [esp + 0x10]
push 0
push ecx
call fcn.00401080
mov edx, dword [esp + 0x18]
push 0
push edx
call fcn.00401110
mov esi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
add esp, 0x10
push 0
push 0
push 0
push 0x8000000
call esi
push 0
push 0
push 0x1000
push 0x7fffffff
call esi
lea eax, [esp + 0x14]
push eax
push 0x3e8
push 0
push 0
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
call fcn.00401000
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a0
ret
push 0
push 0x429154
push 0x4290bc
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a0
ret