Function at 0x402929
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 0x402947
mov eax, 0x4a5490
push eax
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.Temp
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004013a8
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 0x4029ab
push ebx
call fcn.0042d3f8
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4029bb
push ebx
call fcn.0042d3f8
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4029ee
push 0x80000004
push 0
push str.Temp
push 1
mov ebx, 0x42db50
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40310a
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402a03
mov eax, 0x4a5490
push eax
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.WinDir
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004013a8
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 0x402a67
push ebx
call fcn.0042d3f8
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402a77
push ebx
call fcn.0042d3f8
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402aaa
push 0x80000004
push 0
push str.WinDir
push 1
mov ebx, 0x42db50
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40310a
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402abf
mov eax, 0x4a5490
push eax
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.USERPROFILE
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004013a8
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 0x402b23
push ebx
call fcn.0042d3f8
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402b33
push ebx
call fcn.0042d3f8
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402b66
push 0x80000004
push 0
push str.USERPROFILE
push 1
mov ebx, 0x42db50
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40310a
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402b7b
mov eax, 0x4a5490
push eax
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004013a8
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 0x402bdf
push ebx
call fcn.0042d3f8
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402bef
push ebx
call fcn.0042d3f8
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402c22
push 0x80000004
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x42db50
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40310a
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402c37
mov eax, 0x4a5490
push eax
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.ProgramFiles
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004013a8
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 0x402c9b
push ebx
call fcn.0042d3f8
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402cab
push ebx
call fcn.0042d3f8
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402cde
push 0x80000004
push 0
push str.ProgramFiles
push 1
mov ebx, 0x42db50
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40310a
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402cf3
mov eax, 0x4a5490
push eax
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004013a8
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 0x402d57
push ebx
call fcn.0042d3f8
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402d67
push ebx
call fcn.0042d3f8
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402d9a
push 0x80000004
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x42db50
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40310a
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402daf
mov eax, 0x4a5490
push eax
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.SystemDrive
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004013a8
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 0x402e13
push ebx
call fcn.0042d3f8
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402e23
push ebx
call fcn.0042d3f8
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402e56
push 0x80000004
push 0
push str.SystemDrive
push 1
mov ebx, 0x42db50
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40310a
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402e6b
mov eax, 0x4a5490
push eax
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.System32
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004013a8
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 0x402ecf
push ebx
call fcn.0042d3f8
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402edf
push ebx
call fcn.0042d3f8
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402fe5
push 0x80000004
push 0
push str.ComSpec
push 1
mov ebx, 0x42db50
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000004
push 0
push str.ComSpec
push 1
mov ebx, 0x42db50
call fcn.0042d410
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 0x4b25e8
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402f5c
mov eax, 0x4a5490
push eax
push 4
mov ebx, 0x42dd60
call fcn.0042d410
add esp, 0x34
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402f82
push ebx
call fcn.0042d3f8
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x4b2686]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.004016f7
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x402fb7
mov eax, 0x4a5490
push eax
push 2
mov ebx, 0x42db70
call fcn.0042d410
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402fdd
push ebx
call fcn.0042d3f8
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x40310a
push 0x80000301
push 0
push 6
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x403006
mov eax, 0x4a5490
push eax
push 2
mov ebx, 0x42db70
call fcn.0042d410
add esp, 0x1c
mov dword [ebp - 4], eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40302f
mov eax, 0x4a5490
push eax
push 1
mov ebx, 0x42df10
call fcn.0042d410
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403055
push ebx
call fcn.0042d3f8
add esp, 4
push 0x4b268e
push dword [ebp - 8]
call fcn.004013a8
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 0x403083
push ebx
call fcn.0042d3f8
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x403097
mov eax, 4
jmp 0x40309c
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.0040108c
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 0x4030d2
mov eax, 0x4a5490
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x42f3d0
call fcn.0042d410
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403102
push ebx
call fcn.0042d3f8
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x40310a
mov esp, ebp
pop ebp
ret 4