Function at 0x406cef
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406d0d
mov eax, 0x4db5a8
push eax
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.Temp
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401021
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 0x406d71
push ebx
call fcn.0044c3fb
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406d81
push ebx
call fcn.0044c3fb
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406db4
push reloc.WS2_32.dll_connect
push 0
push str.Temp
push 1
mov ebx, 0x44c950
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4074d0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406dc9
mov eax, 0x4db5a8
push eax
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.WinDir
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401021
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 0x406e2d
push ebx
call fcn.0044c3fb
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406e3d
push ebx
call fcn.0044c3fb
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406e70
push reloc.WS2_32.dll_connect
push 0
push str.WinDir
push 1
mov ebx, 0x44c950
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4074d0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406e85
mov eax, 0x4db5a8
push eax
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.USERPROFILE
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401021
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 0x406ee9
push ebx
call fcn.0044c3fb
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406ef9
push ebx
call fcn.0044c3fb
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406f2c
push reloc.WS2_32.dll_connect
push 0
push str.USERPROFILE
push 1
mov ebx, 0x44c950
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4074d0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406f41
mov eax, 0x4db5a8
push eax
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401021
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 0x406fa5
push ebx
call fcn.0044c3fb
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406fb5
push ebx
call fcn.0044c3fb
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406fe8
push reloc.WS2_32.dll_connect
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x44c950
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4074d0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406ffd
mov eax, 0x4db5a8
push eax
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.ProgramFiles
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401021
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 0x407061
push ebx
call fcn.0044c3fb
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407071
push ebx
call fcn.0044c3fb
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4070a4
push reloc.WS2_32.dll_connect
push 0
push str.ProgramFiles
push 1
mov ebx, 0x44c950
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4074d0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4070b9
mov eax, 0x4db5a8
push eax
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401021
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 0x40711d
push ebx
call fcn.0044c3fb
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40712d
push ebx
call fcn.0044c3fb
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x407160
push reloc.WS2_32.dll_connect
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x44c950
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4074d0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x407175
mov eax, 0x4db5a8
push eax
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.SystemDrive
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401021
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 0x4071d9
push ebx
call fcn.0044c3fb
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4071e9
push ebx
call fcn.0044c3fb
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40721c
push reloc.WS2_32.dll_connect
push 0
push str.SystemDrive
push 1
mov ebx, 0x44c950
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4074d0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x407231
mov eax, 0x4db5a8
push eax
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.System32
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00401021
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 0x407295
push ebx
call fcn.0044c3fb
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4072a5
push ebx
call fcn.0044c3fb
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4073ab
push reloc.WS2_32.dll_connect
push 0
push str.ComSpec
push 1
mov ebx, 0x44c950
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.ComSpec
push 1
mov ebx, 0x44c950
call fcn.0044c401
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.WS2_32.dll_connect
push 0
push 0x4f140e
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x407322
mov eax, 0x4db5a8
push eax
push 4
mov ebx, 0x44cc00
call fcn.0044c401
add esp, 0x34
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407348
push ebx
call fcn.0044c3fb
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x4f14a4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.0040156a
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40737d
mov eax, 0x4db5a8
push eax
push 2
mov ebx, 0x44c9f0
call fcn.0044c401
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4073a3
push ebx
call fcn.0044c3fb
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x4074d0
push 0x80000301
push 0
push 6
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4073cc
mov eax, 0x4db5a8
push eax
push 2
mov ebx, 0x44c9f0
call fcn.0044c401
add esp, 0x1c
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4073f5
mov eax, 0x4db5a8
push eax
push 1
mov ebx, 0x44cdb0
call fcn.0044c401
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40741b
push ebx
call fcn.0044c3fb
add esp, 4
push 0x4f14ac
push dword [ebp - 8]
call fcn.00401021
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 0x407449
push ebx
call fcn.0044c3fb
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40745d
mov eax, 4
jmp 0x407462
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.004055b8
add esp, 8
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x407498
mov eax, 0x4db5a8
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x44e180
call fcn.0044c401
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4074c8
push ebx
call fcn.0044c3fb
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x4074d0
mov esp, ebp
pop ebp
ret 4