Function at 0x406a84
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 0x406aa2
mov eax, 0x4b91fd
push eax
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Temp
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040558a
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 0x406b06
push ebx
call fcn.00432ee1
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406b16
push ebx
call fcn.00432ee1
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406b49
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Temp
push 1
mov ebx, 0x4333a0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x407265
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406b5e
mov eax, 0x4b91fd
push eax
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.WinDir
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040558a
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 0x406bc2
push ebx
call fcn.00432ee1
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406bd2
push ebx
call fcn.00432ee1
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406c05
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.WinDir
push 1
mov ebx, 0x4333a0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x407265
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406c1a
mov eax, 0x4b91fd
push eax
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.USERPROFILE
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040558a
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 0x406c7e
push ebx
call fcn.00432ee1
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406c8e
push ebx
call fcn.00432ee1
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406cc1
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.USERPROFILE
push 1
mov ebx, 0x4333a0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x407265
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406cd6
mov eax, 0x4b91fd
push eax
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040558a
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 0x406d3a
push ebx
call fcn.00432ee1
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406d4a
push ebx
call fcn.00432ee1
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406d7d
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x4333a0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x407265
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406d92
mov eax, 0x4b91fd
push eax
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ProgramFiles
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040558a
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 0x406df6
push ebx
call fcn.00432ee1
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406e06
push ebx
call fcn.00432ee1
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406e39
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ProgramFiles
push 1
mov ebx, 0x4333a0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x407265
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406e4e
mov eax, 0x4b91fd
push eax
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040558a
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 0x406eb2
push ebx
call fcn.00432ee1
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406ec2
push ebx
call fcn.00432ee1
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406ef5
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x4333a0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x407265
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406f0a
mov eax, 0x4b91fd
push eax
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SystemDrive
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040558a
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 0x406f6e
push ebx
call fcn.00432ee1
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406f7e
push ebx
call fcn.00432ee1
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406fb1
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SystemDrive
push 1
mov ebx, 0x4333a0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x407265
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406fc6
mov eax, 0x4b91fd
push eax
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.System32
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040558a
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 0x40702a
push ebx
call fcn.00432ee1
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40703a
push ebx
call fcn.00432ee1
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x407140
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ComSpec
push 1
mov ebx, 0x4333a0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ComSpec
push 1
mov ebx, 0x4333a0
call fcn.00432ee7
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 0x4b920c
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4070b7
mov eax, 0x4b91fd
push eax
push 4
mov ebx, 0x433560
call fcn.00432ee7
add esp, 0x34
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4070dd
push ebx
call fcn.00432ee1
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x4b933e]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.004012bc
push 0x80000301
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x407112
mov eax, 0x4b91fd
push eax
push 2
mov ebx, 0x4333c0
call fcn.00432ee7
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407138
push ebx
call fcn.00432ee1
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x407265
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 0x407161
mov eax, 0x4b91fd
push eax
push 2
mov ebx, 0x4333c0
call fcn.00432ee7
add esp, 0x1c
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40718a
mov eax, 0x4b91fd
push eax
push 1
mov ebx, 0x4336e0
call fcn.00432ee7
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4071b0
push ebx
call fcn.00432ee1
add esp, 4
push 0x4b9346
push dword [ebp - 8]
call fcn.0040558a
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 0x4071de
push ebx
call fcn.00432ee1
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4071f2
mov eax, 4
jmp 0x4071f7
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.00405275
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 0x40722d
mov eax, 0x4b91fd
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x434620
call fcn.00432ee7
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40725d
push ebx
call fcn.00432ee1
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x407265
mov esp, ebp
pop ebp
ret 4