Function at 0x413590
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c86df
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x50b0cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x30], 0
push 8
push str.Programs
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
call fcn.00403680
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
push 0x40
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.00403680
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x2c], reloc.WS2_32.dll_accept
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.004131b0
add esp, 8
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x41364f
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403a20
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x41367a
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00403a20
sub esp, 0x18
mov dword [ebp - 0x4c], 0xf
mov ecx, esp
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4136a9
mov eax, dword [ecx]
jmp 0x4136ab
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00403780
lea ecx, [ebp - 0x78]
call fcn.00413090
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 8
jb 0x4136d4
mov edx, dword [edx]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4136fa
mov eax, dword [esi]
jmp 0x4136fc
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x41371f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413710
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004033e0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], 1
cmp eax, 8
jb 0x413748
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00404050
cmp dword [ebp - 0x18], 0
jne 0x4137b0
mov edx, 0x4d0960
lea ecx, [ebp - 0x78]
call fcn.004137f0
mov edi, eax
cmp esi, edi
je 0x41379b
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x413774
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00404050
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41378c
mov eax, dword [esi]
jmp 0x41378e
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.00409830
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x4137b0
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00404050
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4137c5
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00403a20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00488d6f
mov esp, ebp
pop ebp
ret