Function at 0x4062c9
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 0x4062e7
mov eax, 0x4a4926
push eax
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.Temp
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040230c
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 0x40634b
push ebx
call fcn.0041d8ca
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40635b
push ebx
call fcn.0041d8ca
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40638e
push reloc.WS2_32.dll_connect
push 0
push str.Temp
push 1
mov ebx, 0x41de30
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x406aaa
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4063a3
mov eax, 0x4a4926
push eax
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.WinDir
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040230c
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 0x406407
push ebx
call fcn.0041d8ca
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406417
push ebx
call fcn.0041d8ca
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40644a
push reloc.WS2_32.dll_connect
push 0
push str.WinDir
push 1
mov ebx, 0x41de30
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x406aaa
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40645f
mov eax, 0x4a4926
push eax
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.USERPROFILE
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040230c
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 0x4064c3
push ebx
call fcn.0041d8ca
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4064d3
push ebx
call fcn.0041d8ca
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406506
push reloc.WS2_32.dll_connect
push 0
push str.USERPROFILE
push 1
mov ebx, 0x41de30
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x406aaa
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40651b
mov eax, 0x4a4926
push eax
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040230c
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 0x40657f
push ebx
call fcn.0041d8ca
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40658f
push ebx
call fcn.0041d8ca
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4065c2
push reloc.WS2_32.dll_connect
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x41de30
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x406aaa
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4065d7
mov eax, 0x4a4926
push eax
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.ProgramFiles
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040230c
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 0x40663b
push ebx
call fcn.0041d8ca
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40664b
push ebx
call fcn.0041d8ca
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40667e
push reloc.WS2_32.dll_connect
push 0
push str.ProgramFiles
push 1
mov ebx, 0x41de30
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x406aaa
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406693
mov eax, 0x4a4926
push eax
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040230c
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 0x4066f7
push ebx
call fcn.0041d8ca
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406707
push ebx
call fcn.0041d8ca
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40673a
push reloc.WS2_32.dll_connect
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x41de30
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x406aaa
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40674f
mov eax, 0x4a4926
push eax
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.SystemDrive
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040230c
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 0x4067b3
push ebx
call fcn.0041d8ca
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4067c3
push ebx
call fcn.0041d8ca
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4067f6
push reloc.WS2_32.dll_connect
push 0
push str.SystemDrive
push 1
mov ebx, 0x41de30
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x406aaa
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40680b
mov eax, 0x4a4926
push eax
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.System32
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0040230c
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 0x40686f
push ebx
call fcn.0041d8ca
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40687f
push ebx
call fcn.0041d8ca
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406985
push reloc.WS2_32.dll_connect
push 0
push str.ComSpec
push 1
mov ebx, 0x41de30
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.ComSpec
push 1
mov ebx, 0x41de30
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4a4987
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4068fc
mov eax, 0x4a4926
push eax
push 4
mov ebx, 0x41e0f0
call fcn.0041d8dc
add esp, 0x34
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406922
push ebx
call fcn.0041d8ca
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x4cc718]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.0040190a
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x406957
mov eax, 0x4a4926
push eax
push 2
mov ebx, 0x41de50
call fcn.0041d8dc
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40697d
push ebx
call fcn.0041d8ca
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x406aaa
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 0x4069a6
mov eax, 0x4a4926
push eax
push 2
mov ebx, 0x41de50
call fcn.0041d8dc
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 0x4069cf
mov eax, 0x4a4926
push eax
push 1
mov ebx, 0x41e280
call fcn.0041d8dc
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4069f5
push ebx
call fcn.0041d8ca
add esp, 4
push 0x4cc720
push dword [ebp - 8]
call fcn.0040230c
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 0x406a23
push ebx
call fcn.0041d8ca
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406a37
mov eax, 4
jmp 0x406a3c
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.00401388
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 0x406a72
mov eax, 0x4a4926
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x41f3d0
call fcn.0041d8dc
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x406aa2
push ebx
call fcn.0041d8ca
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x406aaa
mov esp, ebp
pop ebp
ret 4