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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100df6b9
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1010e07c]
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
lea edi, [esi + 0x38]
mov dword [ebp - 0x68], 0
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x74], ebx
je 0x1005b4c0
cmp dword [edi + 0x14], 8
jb 0x1005b48c
mov eax, dword [edi]
jmp 0x1005b48e
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x1005b4c0
xor esi, esi
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 0x1005b69a
cmp byte [esi + 0x134], 0
je 0x1005b53f
cmp dword [esi + 0x128], 0
je 0x1005b53f
call fcn.10069aa0
mov ecx, edi
test eax, eax
je 0x1005b50e
push 9
push str.C:Users_
call fcn.1000cbb0
push 0xffffffffffffffff
push 0
add esi, 0x118
push esi
mov ecx, eax
call fcn.1000df50
push 0x10
push str.AppDataRoaming
mov ecx, eax
call fcn.1000cbb0
jmp 0x1005b67e
push 0x1a
push str.C:Documents_and_Settings_
call fcn.1000cbb0
push 0xffffffffffffffff
push 0
add esi, 0x118
push esi
mov ecx, eax
call fcn.1000df50
push 0x11
push str.Application_Data
mov ecx, eax
call fcn.1000cbb0
jmp 0x1005b67e
mov esi, 7
xor ecx, ecx
push esi
mov word [ebp - 0x64], cx
push str.AppData
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], 0
call fcn.10006a20
mov dword [ebp - 4], 1
push 0x40
xor edx, edx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
call fcn.10006a20
mov byte [ebp - 4], 2
lea eax, [ebp - 0x70]
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x48]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x70], 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 0x1005b5cb
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100b2678
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], esi
jb 0x1005b5f4
mov eax, dword [ebp - 0x48]
push eax
call fcn.100b2678
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
mov byte [ebp - 4], cl
cmp dword [ebp - 0x50], esi
jb 0x1005b61c
mov edx, dword [ebp - 0x64]
push edx
call fcn.100b2678
add esp, 4
mov ecx, dword [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
cmp dword [ecx + 0x48], eax
jne 0x1005b67e
mov ecx, 0x100e7374
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 0x1005b66a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100b2678
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
xor esi, esi
push 0xffffffffffffffff
xor ecx, ecx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
push esi
mov word [ebx], cx
push edi
mov ecx, ebx
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret