Function at 0x406bce
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 0x406bec
mov eax, 0x4a7b14
push eax
push 1
mov ebx, 0x433bb0
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.Temp
push 1
mov ebx, 0x433bb0
call fcn.00433385
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 0x406c50
push ebx
call fcn.00433373
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406c60
push ebx
call fcn.00433373
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406c93
push reloc.WS2_32.dll_connect
push 0
push str.Temp
push 1
mov ebx, 0x433820
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4073af
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406ca8
mov eax, 0x4a7b14
push eax
push 1
mov ebx, 0x433bb0
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.WinDir
push 1
mov ebx, 0x433bb0
call fcn.00433385
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 0x406d0c
push ebx
call fcn.00433373
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406d1c
push ebx
call fcn.00433373
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406d4f
push reloc.WS2_32.dll_connect
push 0
push str.WinDir
push 1
mov ebx, 0x433820
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4073af
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406d64
mov eax, 0x4a7b14
push eax
push 1
mov ebx, 0x433bb0
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.USERPROFILE
push 1
mov ebx, 0x433bb0
call fcn.00433385
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 0x406dc8
push ebx
call fcn.00433373
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406dd8
push ebx
call fcn.00433373
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406e0b
push reloc.WS2_32.dll_connect
push 0
push str.USERPROFILE
push 1
mov ebx, 0x433820
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4073af
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406e20
mov eax, 0x4a7b14
push eax
push 1
mov ebx, 0x433bb0
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x433bb0
call fcn.00433385
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 0x406e84
push ebx
call fcn.00433373
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406e94
push ebx
call fcn.00433373
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406ec7
push reloc.WS2_32.dll_connect
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x433820
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4073af
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406edc
mov eax, 0x4a7b14
push eax
push 1
mov ebx, 0x433bb0
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.ProgramFiles
push 1
mov ebx, 0x433bb0
call fcn.00433385
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 0x406f40
push ebx
call fcn.00433373
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406f50
push ebx
call fcn.00433373
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406f83
push reloc.WS2_32.dll_connect
push 0
push str.ProgramFiles
push 1
mov ebx, 0x433820
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4073af
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406f98
mov eax, 0x4a7b14
push eax
push 1
mov ebx, 0x433bb0
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x433bb0
call fcn.00433385
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 0x406ffc
push ebx
call fcn.00433373
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40700c
push ebx
call fcn.00433373
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40703f
push reloc.WS2_32.dll_connect
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x433820
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4073af
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x407054
mov eax, 0x4a7b14
push eax
push 1
mov ebx, 0x433bb0
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.SystemDrive
push 1
mov ebx, 0x433bb0
call fcn.00433385
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 0x4070b8
push ebx
call fcn.00433373
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4070c8
push ebx
call fcn.00433373
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4070fb
push reloc.WS2_32.dll_connect
push 0
push str.SystemDrive
push 1
mov ebx, 0x433820
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4073af
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x407110
mov eax, 0x4a7b14
push eax
push 1
mov ebx, 0x433bb0
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.System32
push 1
mov ebx, 0x433bb0
call fcn.00433385
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 0x407174
push ebx
call fcn.00433373
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407184
push ebx
call fcn.00433373
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40728a
push reloc.WS2_32.dll_connect
push 0
push str.ComSpec
push 1
mov ebx, 0x433820
call fcn.00433385
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.ComSpec
push 1
mov ebx, 0x433820
call fcn.00433385
add esp, 0x10
mov dword [ebp - 8], eax
push getpeername
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4b4c6d
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x407201
mov eax, 0x4a7b14
push eax
push 4
mov ebx, 0x433a30
call fcn.00433385
add esp, 0x34
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407227
push ebx
call fcn.00433373
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x4b4d03]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.004015f4
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40725c
mov eax, 0x4a7b14
push eax
push 2
mov ebx, 0x433840
call fcn.00433385
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407282
push ebx
call fcn.00433373
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x4073af
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 0x4072ab
mov eax, 0x4a7b14
push eax
push 2
mov ebx, 0x433840
call fcn.00433385
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 0x4072d4
mov eax, 0x4a7b14
push eax
push 1
mov ebx, 0x433bb0
call fcn.00433385
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4072fa
push ebx
call fcn.00433373
add esp, 4
push 0x4b4d0b
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 0x407328
push ebx
call fcn.00433373
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40733c
mov eax, 4
jmp 0x407341
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.00405967
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 0x407377
mov eax, 0x4a7b14
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x434990
call fcn.00433385
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4073a7
push ebx
call fcn.00433373
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x4073af
mov esp, ebp
pop ebp
ret 4