Function at 0x402776
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402794
mov eax, 0x4a984c
push eax
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.Temp
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004011c0
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 0x4027f8
push ebx
call fcn.0042f283
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402808
push ebx
call fcn.0042f283
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40283b
push getpeername
push 0
push str.Temp
push 1
mov ebx, 0x42f730
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402f57
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402850
mov eax, 0x4a984c
push eax
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.WinDir
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004011c0
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 0x4028b4
push ebx
call fcn.0042f283
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4028c4
push ebx
call fcn.0042f283
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4028f7
push getpeername
push 0
push str.WinDir
push 1
mov ebx, 0x42f730
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402f57
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40290c
mov eax, 0x4a984c
push eax
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.USERPROFILE
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004011c0
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 0x402970
push ebx
call fcn.0042f283
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402980
push ebx
call fcn.0042f283
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4029b3
push getpeername
push 0
push str.USERPROFILE
push 1
mov ebx, 0x42f730
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402f57
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4029c8
mov eax, 0x4a984c
push eax
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004011c0
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 0x402a2c
push ebx
call fcn.0042f283
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402a3c
push ebx
call fcn.0042f283
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402a6f
push getpeername
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x42f730
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402f57
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402a84
mov eax, 0x4a984c
push eax
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.ProgramFiles
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004011c0
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 0x402ae8
push ebx
call fcn.0042f283
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402af8
push ebx
call fcn.0042f283
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402b2b
push getpeername
push 0
push str.ProgramFiles
push 1
mov ebx, 0x42f730
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402f57
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402b40
mov eax, 0x4a984c
push eax
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004011c0
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 0x402ba4
push ebx
call fcn.0042f283
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402bb4
push ebx
call fcn.0042f283
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402be7
push getpeername
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x42f730
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402f57
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402bfc
mov eax, 0x4a984c
push eax
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.SystemDrive
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004011c0
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 0x402c60
push ebx
call fcn.0042f283
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402c70
push ebx
call fcn.0042f283
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402ca3
push getpeername
push 0
push str.SystemDrive
push 1
mov ebx, 0x42f730
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402f57
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402cb8
mov eax, 0x4a984c
push eax
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.System32
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004011c0
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 0x402d1c
push ebx
call fcn.0042f283
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402d2c
push ebx
call fcn.0042f283
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402e32
push getpeername
push 0
push str.ComSpec
push 1
mov ebx, 0x42f730
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.ComSpec
push 1
mov ebx, 0x42f730
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 8], eax
push getpeername
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4a983d
push getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402da9
mov eax, 0x4a984c
push eax
push 4
mov ebx, 0x42fa10
call fcn.0042f29b
add esp, 0x34
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402dcf
push ebx
call fcn.0042f283
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x4a98dc]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.00401544
push 0x80000301
push 0
push eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x402e04
mov eax, 0x4a984c
push eax
push 2
mov ebx, 0x42f7d0
call fcn.0042f29b
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402e2a
push ebx
call fcn.0042f283
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x402f57
push 0x80000301
push 0
push 6
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402e53
mov eax, 0x4a984c
push eax
push 2
mov ebx, 0x42f7d0
call fcn.0042f29b
add esp, 0x1c
mov dword [ebp - 4], eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x402e7c
mov eax, 0x4a984c
push eax
push 1
mov ebx, 0x42fbb0
call fcn.0042f29b
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402ea2
push ebx
call fcn.0042f283
add esp, 4
push 0x4a98e4
push dword [ebp - 8]
call fcn.004011c0
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 0x402ed0
push ebx
call fcn.0042f283
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402ee4
mov eax, 4
jmp 0x402ee9
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.004014e8
add esp, 8
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x402f1f
mov eax, 0x4a984c
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x430e70
call fcn.0042f29b
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402f4f
push ebx
call fcn.0042f283
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x402f57
mov esp, ebp
pop ebp
ret 4