Function at 0x420250
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x9a0]
sub esp, 0xa20
mov eax, dword [0x4bcb20]
xor eax, ebp
mov dword [ebp + 0x99c], eax
push ebx
push esi
push edi
xor eax, eax
push 0x400
mov edi, ecx
push eax
lea ecx, [ebp + 0x59a]
push ecx
mov word [ebp + 0x598], ax
call fcn.004683b0
add esp, 0xc
push 0x200
call fcn.00436280
push eax
lea edx, [ebp + 0x598]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x490828
lea eax, [ebp + 0x598]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp dword [edi + 0x420], 0
jne 0x4202d4
lea ecx, [ebp + 0x598]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x420], eax
mov ebx, dword [edi + 0x420]
push str.CControlDll_GetByPwd
push ebx
mov dword [ebp - 0x78], ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CControlDll_Del
mov esi, eax
push ebx
mov dword [ebp - 0x80], esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x7c], eax
test esi, esi
je 0x4204b1
test eax, eax
je 0x4204b1
push 0x60c
xor ebx, ebx
lea edx, [ebp - 0x74]
push ebx
push edx
call fcn.004683b0
add esp, 0xc
push 0x28
lea eax, [edi + 0x428]
push eax
lea ecx, [ebp + 0x3a0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [edi + 0x414], ebx
jne 0x420429
lea edx, [ebp + 0x3a0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42035c
xor eax, eax
jmp 0x420378
lea edi, [eax + eax]
mov eax, edi
call fcn.00469040
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0x3a0]
push ecx
push eax
call fcn.004185e0
push eax
push str.WaitAllChildProcess:
call fcn.0041c3c0
lea edx, [ebp - 0x74]
push edx
call esi
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4203bb
cmp ebx, 0x64
ja 0x4203b7
push 0x64
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x74]
push eax
call esi
mov edi, eax
add esp, 4
test edi, edi
je 0x420392
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4203c6
test edi, edi
je 0x420415
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4203c6
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0x74]
push ecx
call esi
add esp, 4
test eax, eax
je 0x420415
mov edx, dword [ebp - 0x70]
push edx
push 0
push 0x100400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x420411
mov eax, dword [ebp - 0x70]
push eax
push str.WaitAllChildProcess:_pid_d
call fcn.0041c3c0
add esp, 8
push 0xffffffffffffffff
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x74]
push ecx
call dword [ebp - 0x7c]
add esp, 4
test edi, edi
jne 0x4203c3
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x42049d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x42049d
push 0x49087c
call fcn.0041c3c0
mov eax, dword [edi + 0x418]
add esp, 4
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
jne 0x42047b
cmp ebx, 0xa
jae 0x42049d
push 0x1f4
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x418]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
je 0x420450
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov edx, dword [edi + 0x41c]
push edx
call esi
push str.WaitAllChildProcess:_end
call fcn.0041c3c0
add esp, 4
mov eax, 1
jmp 0x4204ba
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x99c]
xor ecx, ebp
call fcn.00469030
add ebp, 0x9a0
mov esp, ebp
pop ebp
ret