Function at 0x1005af50
Capabilities:
Check if file exists
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100df779
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1010e07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x70], ebx
cmp dword [edi + 0x10], esi
je 0x1005afc9
cmp dword [edi + 0x14], 8
jb 0x1005af97
mov eax, dword [edi]
jmp 0x1005af99
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x1005afc9
push 0xffffffffffffffff
push esi
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
push edi
mov ecx, ebx
mov word [ebx], ax
call fcn.10005f30
jmp 0x1005b199
cmp byte [edi + 0x134], 0
je 0x1005b045
cmp dword [edi + 0x128], esi
je 0x1005b045
call fcn.10069aa0
mov ecx, edi
cmp eax, esi
je 0x1005b015
push 9
push str.C:Users_
call fcn.1000cbb0
push 0xffffffffffffffff
push esi
lea ecx, [edi + 0x118]
push ecx
mov ecx, eax
call fcn.1000df50
push 0xe
push str.AppDataLocal
mov ecx, eax
call fcn.1000cbb0
jmp 0x1005b17f
push 0x1a
push str.C:Documents_and_Settings_
call fcn.1000cbb0
push 0xffffffffffffffff
push esi
lea edx, [edi + 0x118]
push edx
mov ecx, eax
call fcn.1000df50
push 0x20
push str.Local_SettingsApplication_Data
mov ecx, eax
call fcn.1000cbb0
jmp 0x1005b17f
push 0xd
xor eax, eax
push str.Local_AppData
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
call fcn.10006a20
mov dword [ebp - 4], 1
xor ecx, ecx
push 0x40
mov word [ebp - 0x64], cx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], esi
call fcn.10006a20
mov byte [ebp - 4], 2
lea edx, [ebp - 0x6c]
push edx
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x64]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x6c], VariantInit
call fcn.1005bb40
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.100070c0
mov byte [ebp - 4], 2
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x1005b0cd
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100b2678
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], esi
jb 0x1005b0f6
mov edx, dword [ebp - 0x64]
push edx
call fcn.100b2678
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x34], esi
jb 0x1005b11e
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.100b2678
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
cmp dword [edi + 0x10], edx
ja 0x1005b17d
mov ecx, 0x100e7384
lea esi, [ebp - 0x2c]
call fcn.1005bcd0
mov dword [ebp - 4], 4
push eax
mov ecx, edi
call fcn.100070c0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x1005b169
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100b2678
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
xor esi, esi
push 0xffffffffffffffff
push esi
xor edx, edx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
push edi
mov ecx, ebx
mov word [ebx], dx
call fcn.10005f30
mov dword [ebp - 4], esi
mov dword [ebp - 0x68], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret 4