Function at 0x406a20
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x588
mov eax, dword [0x42c6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x427]
push 0
push eax
mov byte [ebp - 0x428], 0
call fcn.0040e930
add esp, 0xc
lea eax, [ebp - 0x31f]
push 0x103
push 0
push eax
mov byte [ebp - 0x320], 0
call fcn.0040e930
add esp, 0xc
lea eax, [ebp - 0x10f]
push 0x103
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.0040e930
add esp, 0xc
lea eax, [ebp - 0x217]
push 0x103
push 0
push eax
mov byte [ebp - 0x218], 0
call fcn.0040e930
add esp, 0xc
lea eax, [ebp - 0x52f]
push 0x103
push 0
push eax
mov byte [ebp - 0x530], 0
call fcn.0040e930
add esp, 0xc
lea eax, [ebp - 0x320]
push str.X:.Trash_100
push 0x104
push eax
call fcn.0040b2a9
add esp, 0xc
lea eax, [ebp - 0x320]
push 0x42899c
push 0x104
push eax
call fcn.0040b581
add esp, 0xc
lea eax, [ebp - 0x320]
push str.ActivateDesktop.exe
push 0x104
push eax
call fcn.0040b581
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x320]
lea eax, [ebp - 0x428]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406b51
test dl, dl
je 0x406b4d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406b51
add eax, 2
add ecx, 2
test dl, dl
jne 0x406b31
xor eax, eax
jmp 0x406b56
sbb eax, eax
or eax, 1
mov esi, dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x406bc5
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x428]
call fcn.004086b0
push 0x40
lea eax, [ebp - 0x574]
push 0
push eax
mov dword [ebp - 0x578], 0x44
call fcn.0040e930
add esp, 0xc
lea eax, [ebp - 0x588]
push eax
lea eax, [ebp - 0x578]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x320]
push eax
push 0
mov dword [ebp - 0x54c], 0x80
call esi
test eax, eax
jne 0x406e17
push str.X:.Trash_100
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0040b2a9
add esp, 0xc
lea eax, [ebp - 0x110]
push str._registry_tool.exe
push 0x104
push eax
call fcn.0040b581
add esp, 0xc
lea edx, [ebp - 0x530]
push 0x104
mov ecx, str.last_regwrite_link
call fcn.00404da0
add esp, 4
lea edx, [ebp - 0x218]
push 0x104
mov ecx, str.backup_url
call fcn.00404da0
add esp, 4
test al, al
jne 0x406c44
push 0x42f080
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0040b2a9
add esp, 0xc
push str.tools_RegWriter.exe.raum_encrypted
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0040b581
add esp, 0xc
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x530]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406c90
test dl, dl
je 0x406c8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406c90
add eax, 2
add ecx, 2
test dl, dl
jne 0x406c70
xor eax, eax
jmp 0x406c95
sbb eax, eax
or eax, 1
test eax, eax
je 0x406db0
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0x218]
call fcn.00407f10
test al, al
je 0x406ced
lea ecx, [ebp - 0x110]
call fcn.00405080
test al, al
je 0x406ced
lea edx, [ebp - 0x218]
lea edi, [edx + 1]
lea ebx, [ebx]
mov al, byte [edx]
inc edx
test al, al
jne 0x406cd0
sub edx, edi
push edx
lea edx, [ebp - 0x218]
mov ecx, str.last_regwrite_link
call fcn.00404c00
add esp, 4
push str.__autorun
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0040b581
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0040b581
add esp, 0xc
lea eax, [ebp - 0x574]
push 0x40
push 0
push eax
mov dword [ebp - 0x578], 0x44
call fcn.0040e930
add esp, 0xc
xor eax, eax
mov word [ebp - 0x548], ax
lea eax, [ebp - 0x588]
push eax
lea eax, [ebp - 0x578]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0
mov dword [ebp - 0x54c], 0x81
call esi
test eax, eax
jne 0x406d9e
lea eax, [ebp - 0x110]
push str.__autorun
push eax
call fcn.0040b770
add esp, 8
mov byte [eax], 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409fff
mov esp, ebp
pop ebp
ret
push 0x40
lea eax, [ebp - 0x574]
push 0
push eax
mov dword [ebp - 0x578], 0x44
call fcn.0040e930
add esp, 0xc
xor eax, eax
mov word [ebp - 0x548], ax
lea eax, [ebp - 0x588]
push eax
lea eax, [ebp - 0x578]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0
mov dword [ebp - 0x54c], 0x81
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00409fff
mov esp, ebp
pop ebp
ret
call fcn.00406380
int3