Function at 0x402945
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 0x402963
mov eax, 0x500ffa
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.Temp
push 1
mov ebx, 0x467a00
call fcn.00466feb
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 0x4029c7
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4029d7
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402a0a
push reloc.WS2_32.dll_connect
push 0
push str.Temp
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x403126
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402a1f
mov eax, 0x500ffa
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.WinDir
push 1
mov ebx, 0x467a00
call fcn.00466feb
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 0x402a83
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402a93
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402ac6
push reloc.WS2_32.dll_connect
push 0
push str.WinDir
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x403126
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402adb
mov eax, 0x500ffa
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.USERPROFILE
push 1
mov ebx, 0x467a00
call fcn.00466feb
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 0x402b3f
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402b4f
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402b82
push reloc.WS2_32.dll_connect
push 0
push str.USERPROFILE
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x403126
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402b97
mov eax, 0x500ffa
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x467a00
call fcn.00466feb
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 0x402bfb
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402c0b
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402c3e
push reloc.WS2_32.dll_connect
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x403126
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402c53
mov eax, 0x500ffa
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.ProgramFiles
push 1
mov ebx, 0x467a00
call fcn.00466feb
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 0x402cb7
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402cc7
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402cfa
push reloc.WS2_32.dll_connect
push 0
push str.ProgramFiles
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x403126
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402d0f
mov eax, 0x500ffa
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x467a00
call fcn.00466feb
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 0x402d73
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402d83
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402db6
push reloc.WS2_32.dll_connect
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x403126
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402dcb
mov eax, 0x500ffa
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.SystemDrive
push 1
mov ebx, 0x467a00
call fcn.00466feb
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 0x402e2f
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402e3f
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402e72
push reloc.WS2_32.dll_connect
push 0
push str.SystemDrive
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x403126
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402e87
mov eax, 0x500ffa
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.System32
push 1
mov ebx, 0x467a00
call fcn.00466feb
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 0x402eeb
push ebx
call fcn.00466fd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402efb
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x403001
push reloc.WS2_32.dll_connect
push 0
push str.ComSpec
push 1
mov ebx, 0x4675c0
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
push str.ComSpec
push 1
mov ebx, 0x4675c0
call fcn.00466feb
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 0x501070
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402f78
mov eax, 0x500ffa
push eax
push 4
mov ebx, 0x467870
call fcn.00466feb
add esp, 0x34
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402f9e
push ebx
call fcn.00466fd3
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x50110e]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.00401713
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x402fd3
mov eax, 0x500ffa
push eax
push 2
mov ebx, 0x467660
call fcn.00466feb
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402ff9
push ebx
call fcn.00466fd3
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x403126
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 0x403022
mov eax, 0x500ffa
push eax
push 2
mov ebx, 0x467660
call fcn.00466feb
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 0x40304b
mov eax, 0x500ffa
push eax
push 1
mov ebx, 0x467a00
call fcn.00466feb
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403071
push ebx
call fcn.00466fd3
add esp, 4
push 0x501116
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 0x40309f
push ebx
call fcn.00466fd3
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4030b3
mov eax, 4
jmp 0x4030b8
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.00401129
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 0x4030ee
mov eax, 0x500ffa
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x468e40
call fcn.00466feb
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40311e
push ebx
call fcn.00466fd3
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x403126
mov esp, ebp
pop ebp
ret 4