Function at 0x402554
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 0x402572
mov eax, 0x4bc5bb
push eax
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Temp
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004024b7
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 0x4025d6
push ebx
call fcn.00435b15
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4025e6
push ebx
call fcn.00435b15
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402619
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Temp
push 1
mov ebx, 0x436280
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402d35
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40262e
mov eax, 0x4bc5bb
push eax
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.WinDir
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004024b7
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 0x402692
push ebx
call fcn.00435b15
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4026a2
push ebx
call fcn.00435b15
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4026d5
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.WinDir
push 1
mov ebx, 0x436280
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402d35
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4026ea
mov eax, 0x4bc5bb
push eax
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.USERPROFILE
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004024b7
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 0x40274e
push ebx
call fcn.00435b15
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40275e
push ebx
call fcn.00435b15
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402791
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.USERPROFILE
push 1
mov ebx, 0x436280
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402d35
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4027a6
mov eax, 0x4bc5bb
push eax
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004024b7
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 0x40280a
push ebx
call fcn.00435b15
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40281a
push ebx
call fcn.00435b15
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40284d
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x436280
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402d35
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402862
mov eax, 0x4bc5bb
push eax
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ProgramFiles
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004024b7
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 0x4028c6
push ebx
call fcn.00435b15
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4028d6
push ebx
call fcn.00435b15
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402909
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ProgramFiles
push 1
mov ebx, 0x436280
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402d35
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40291e
mov eax, 0x4bc5bb
push eax
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004024b7
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 0x402982
push ebx
call fcn.00435b15
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402992
push ebx
call fcn.00435b15
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4029c5
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x436280
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402d35
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4029da
mov eax, 0x4bc5bb
push eax
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SystemDrive
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004024b7
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 0x402a3e
push ebx
call fcn.00435b15
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402a4e
push ebx
call fcn.00435b15
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402a81
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SystemDrive
push 1
mov ebx, 0x436280
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402d35
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402a96
mov eax, 0x4bc5bb
push eax
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.System32
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004024b7
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 0x402afa
push ebx
call fcn.00435b15
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402b0a
push ebx
call fcn.00435b15
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402c10
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ComSpec
push 1
mov ebx, 0x436280
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ComSpec
push 1
mov ebx, 0x436280
call fcn.00435b27
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 0x4bc5ac
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402b87
mov eax, 0x4bc5bb
push eax
push 4
mov ebx, 0x4365c0
call fcn.00435b27
add esp, 0x34
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402bad
push ebx
call fcn.00435b15
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x4bc64b]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.00401285
push 0x80000301
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x402be2
mov eax, 0x4bc5bb
push eax
push 2
mov ebx, 0x436320
call fcn.00435b27
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402c08
push ebx
call fcn.00435b15
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x402d35
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 0x402c31
mov eax, 0x4bc5bb
push eax
push 2
mov ebx, 0x436320
call fcn.00435b27
add esp, 0x1c
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x402c5a
mov eax, 0x4bc5bb
push eax
push 1
mov ebx, 0x436770
call fcn.00435b27
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402c80
push ebx
call fcn.00435b15
add esp, 4
push 0x4bc653
push dword [ebp - 8]
call fcn.004024b7
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 0x402cae
push ebx
call fcn.00435b15
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402cc2
mov eax, 4
jmp 0x402cc7
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.00401229
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 0x402cfd
mov eax, 0x4bc5bb
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x4391e0
call fcn.00435b27
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402d2d
push ebx
call fcn.00435b15
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x402d35
mov esp, ebp
pop ebp
ret 4