Function at 0x406ae7
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406b05
mov eax, 0x4acd88
push eax
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Temp
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406b69
push ebx
call fcn.0042e981
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406b79
push ebx
call fcn.0042e981
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406bac
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Temp
push 1
mov ebx, 0x42ee40
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4072c8
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406bc1
mov eax, 0x4acd88
push eax
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.WinDir
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406c25
push ebx
call fcn.0042e981
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406c35
push ebx
call fcn.0042e981
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406c68
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.WinDir
push 1
mov ebx, 0x42ee40
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4072c8
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406c7d
mov eax, 0x4acd88
push eax
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.USERPROFILE
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406ce1
push ebx
call fcn.0042e981
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406cf1
push ebx
call fcn.0042e981
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406d24
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.USERPROFILE
push 1
mov ebx, 0x42ee40
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4072c8
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406d39
mov eax, 0x4acd88
push eax
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406d9d
push ebx
call fcn.0042e981
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406dad
push ebx
call fcn.0042e981
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406de0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x42ee40
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4072c8
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406df5
mov eax, 0x4acd88
push eax
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ProgramFiles
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406e59
push ebx
call fcn.0042e981
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406e69
push ebx
call fcn.0042e981
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406e9c
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ProgramFiles
push 1
mov ebx, 0x42ee40
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4072c8
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406eb1
mov eax, 0x4acd88
push eax
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406f15
push ebx
call fcn.0042e981
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406f25
push ebx
call fcn.0042e981
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406f58
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x42ee40
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4072c8
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406f6d
mov eax, 0x4acd88
push eax
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SystemDrive
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406fd1
push ebx
call fcn.0042e981
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406fe1
push ebx
call fcn.0042e981
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x407014
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SystemDrive
push 1
mov ebx, 0x42ee40
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4072c8
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x407029
mov eax, 0x4acd88
push eax
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.System32
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40708d
push ebx
call fcn.0042e981
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40709d
push ebx
call fcn.0042e981
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4071a3
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ComSpec
push 1
mov ebx, 0x42ee40
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ComSpec
push 1
mov ebx, 0x42ee40
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 8], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4ace1c
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40711a
mov eax, 0x4acd88
push eax
push 4
mov ebx, 0x42f120
call fcn.0042e999
add esp, 0x34
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407140
push ebx
call fcn.0042e981
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x4aceb2]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.00401541
push 0x80000301
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x407175
mov eax, 0x4acd88
push eax
push 2
mov ebx, 0x42eee0
call fcn.0042e999
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40719b
push ebx
call fcn.0042e981
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x4072c8
push 0x80000301
push 0
push 6
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4071c4
mov eax, 0x4acd88
push eax
push 2
mov ebx, 0x42eee0
call fcn.0042e999
add esp, 0x1c
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4071ed
mov eax, 0x4acd88
push eax
push 1
mov ebx, 0x42f2d0
call fcn.0042e999
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407213
push ebx
call fcn.0042e981
add esp, 4
push 0x4aceba
push dword [ebp - 8]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407241
push ebx
call fcn.0042e981
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x407255
mov eax, 4
jmp 0x40725a
mov eax, 3
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders_
mov ecx, 2
call fcn.00405880
add esp, 8
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x407290
mov eax, 0x4acd88
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x4307c0
call fcn.0042e999
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4072c0
push ebx
call fcn.0042e981
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x4072c8
mov esp, ebp
pop ebp
ret 4