Function at 0x1001d50b
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1001d529
mov eax, 0x100bec07
push eax
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
push VariantClear
push 0
push str.Temp
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.10001015
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 0x1001d58d
push ebx
call fcn.10031f7f
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001d59d
push ebx
call fcn.10031f7f
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x1001d5d0
push VariantClear
push 0
push str.Temp
push 1
mov ebx, 0x100326a0
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1001dcec
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1001d5e5
mov eax, 0x100bec07
push eax
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
push VariantClear
push 0
push str.WinDir
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.10001015
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 0x1001d649
push ebx
call fcn.10031f7f
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001d659
push ebx
call fcn.10031f7f
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x1001d68c
push VariantClear
push 0
push str.WinDir
push 1
mov ebx, 0x100326a0
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1001dcec
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1001d6a1
mov eax, 0x100bec07
push eax
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
push VariantClear
push 0
push str.USERPROFILE
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.10001015
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 0x1001d705
push ebx
call fcn.10031f7f
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001d715
push ebx
call fcn.10031f7f
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x1001d748
push VariantClear
push 0
push str.USERPROFILE
push 1
mov ebx, 0x100326a0
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1001dcec
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1001d75d
mov eax, 0x100bec07
push eax
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
push VariantClear
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.10001015
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 0x1001d7c1
push ebx
call fcn.10031f7f
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001d7d1
push ebx
call fcn.10031f7f
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x1001d804
push VariantClear
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x100326a0
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1001dcec
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1001d819
mov eax, 0x100bec07
push eax
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
push VariantClear
push 0
push str.ProgramFiles
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.10001015
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 0x1001d87d
push ebx
call fcn.10031f7f
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001d88d
push ebx
call fcn.10031f7f
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x1001d8c0
push VariantClear
push 0
push str.ProgramFiles
push 1
mov ebx, 0x100326a0
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1001dcec
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1001d8d5
mov eax, 0x100bec07
push eax
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
push VariantClear
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.10001015
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 0x1001d939
push ebx
call fcn.10031f7f
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001d949
push ebx
call fcn.10031f7f
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x1001d97c
push VariantClear
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x100326a0
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1001dcec
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1001d991
mov eax, 0x100bec07
push eax
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
push VariantClear
push 0
push str.SystemDrive
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.10001015
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 0x1001d9f5
push ebx
call fcn.10031f7f
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001da05
push ebx
call fcn.10031f7f
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x1001da38
push VariantClear
push 0
push str.SystemDrive
push 1
mov ebx, 0x100326a0
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1001dcec
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1001da4d
mov eax, 0x100bec07
push eax
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
push VariantClear
push 0
push str.System32
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.10001015
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 0x1001dab1
push ebx
call fcn.10031f7f
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001dac1
push ebx
call fcn.10031f7f
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x1001dbc7
push VariantClear
push 0
push str.ComSpec
push 1
mov ebx, 0x100326a0
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 4], eax
push VariantClear
push 0
push str.ComSpec
push 1
mov ebx, 0x100326a0
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 8], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x100bec8a
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1001db3e
mov eax, 0x100bec07
push eax
push 4
mov ebx, 0x10032a50
call fcn.10031f73
add esp, 0x34
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001db64
push ebx
call fcn.10031f7f
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x100bec41]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.10001691
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1001db99
mov eax, 0x100bec07
push eax
push 2
mov ebx, 0x10032740
call fcn.10031f73
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001dbbf
push ebx
call fcn.10031f7f
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x1001dcec
push 0x80000301
push 0
push 6
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1001dbe8
mov eax, 0x100bec07
push eax
push 2
mov ebx, 0x10032740
call fcn.10031f73
add esp, 0x1c
mov dword [ebp - 4], eax
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1001dc11
mov eax, 0x100bec07
push eax
push 1
mov ebx, 0x10032c00
call fcn.10031f73
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001dc37
push ebx
call fcn.10031f7f
add esp, 4
push str.common
push dword [ebp - 8]
call fcn.10001015
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 0x1001dc65
push ebx
call fcn.10031f7f
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x1001dc79
mov eax, 4
jmp 0x1001dc7e
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.10001125
add esp, 8
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push VariantClear
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1001dcb4
mov eax, 0x100bec07
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x10035840
call fcn.10031f73
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1001dce4
push ebx
call fcn.10031f7f
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x1001dcec
mov esp, ebp
pop ebp
ret 4