Function at 0x404f1f
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x404f3d
mov eax, 0x500fd8
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.Temp
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401e57
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 0x404fa1
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404fb1
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x404fe4
push 0x80000004
push 0
push str.Temp
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x405700
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x404ff9
mov eax, 0x500fd8
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.WinDir
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401e57
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 0x40505d
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40506d
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4050a0
push 0x80000004
push 0
push str.WinDir
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x405700
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4050b5
mov eax, 0x500fd8
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.USERPROFILE
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401e57
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 0x405119
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405129
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40515c
push 0x80000004
push 0
push str.USERPROFILE
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x405700
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x405171
mov eax, 0x500fd8
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401e57
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 0x4051d5
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4051e5
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x405218
push 0x80000004
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x405700
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40522d
mov eax, 0x500fd8
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.ProgramFiles
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401e57
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 0x405291
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4052a1
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4052d4
push 0x80000004
push 0
push str.ProgramFiles
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x405700
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4052e9
mov eax, 0x500fd8
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401e57
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 0x40534d
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40535d
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x405390
push 0x80000004
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x405700
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4053a5
mov eax, 0x500fd8
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.SystemDrive
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401e57
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 0x405409
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405419
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40544c
push 0x80000004
push 0
push str.SystemDrive
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x405700
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x405461
mov eax, 0x500fd8
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.System32
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401e57
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 0x4054c5
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4054d5
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4055db
push 0x80000004
push 0
push str.ComSpec
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.ComSpec
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x6be156
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x405552
mov eax, 0x500fd8
push eax
push 4
mov ebx, 0x467870
call fcn.00466feb
add esp, 0x34
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405578
push ebx
call fcn.00466fd3
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x6bdd62]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.00403297
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4055ad
mov eax, 0x500fd8
push eax
push 2
mov ebx, 0x467660
call fcn.00466feb
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4055d3
push ebx
call fcn.00466fd3
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x405700
push 0x80000301
push 0
push 6
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4055fc
mov eax, 0x500fd8
push eax
push 2
mov ebx, 0x467660
call fcn.00466feb
add esp, 0x1c
mov dword [ebp - 4], eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x405625
mov eax, 0x500fd8
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40564b
push ebx
call fcn.00466fd3
add esp, 4
push str.common
push dword [ebp - 8]
call fcn.00401e57
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 0x405679
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40568d
mov eax, 4
jmp 0x405692
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.0040179a
add esp, 8
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4056c8
mov eax, 0x500fd8
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x468e40
call fcn.00466feb
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4056f8
push ebx
call fcn.00466fd3
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x405700
mov esp, ebp
pop ebp
ret 4