Function at 0x100a7f60
Capabilities:
Copy file
Create directory
Delete file
Get common file path
Get startup folder
Move file
Write file to startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a9759
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 0x10], 0
je 0x100a7fa3
movzx eax, byte [0x1022ee0c]
test eax, eax
je 0x100a7fd0
mov byte [ebp - 0x235], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10005e00
mov al, byte [ebp - 0x235]
jmp 0x100a8323
mov dword [ebp - 0x1c], 0
push 0
push 0
push 1
push 1
lea ecx, [ebp + 8]
call fcn.100043a0
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100a802f
mov byte [ebp - 0x236], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10005e00
mov al, byte [ebp - 0x236]
jmp 0x100a8323
push str.tmp_
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.100e14d0
add esp, 8
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x268], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x268]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.10090bb0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x23c]
call fcn.10005e00
push 0
lea ecx, [ebp - 0x14]
call fcn.10004390
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.100abe60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.100abe90
lea ecx, [ebp - 0x24]
call fcn.100abe80
push eax
lea ecx, [ebp - 0x10]
call fcn.10005d60
mov byte [ebp - 4], 6
mov dx, word [0x101c7630]
mov word [ebp - 0x234], dx
push 0x206
push 0
lea eax, [ebp - 0x232]
push eax
call fcn.1016f6c0
add esp, 0xc
lea ecx, [ebp - 0x234]
push ecx
push 0
push 0
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x18]
call fcn.10005d80
mov byte [ebp - 4], 7
push str._tmp_
lea ecx, [ebp - 0x18]
call fcn.10025620
push 0
lea ecx, [ebp - 0x18]
call fcn.10004390
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x240]
push edx
call fcn.100042a0
add esp, 0xc
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
call fcn.10004390
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x240]
call fcn.10005e00
push 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x244]
push edx
call fcn.100042a0
add esp, 0xc
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
call fcn.10004390
push eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x244]
call fcn.10005e00
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.100042a0
add esp, 0xc
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
call fcn.10004390
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x248]
call fcn.10005e00
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x24c]
push eax
call fcn.100042a0
add esp, 0xc
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
call fcn.10004390
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x24c]
call fcn.10005e00
mov edx, dword [ebp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x250], esp
lea eax, [ebp - 0x18]
push eax
call fcn.10005d60
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], ecx
mov byte [ebp - 4], 8
push ecx
mov edx, esp
mov dword [ebp - 0x254], esp
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
push edx
call fcn.100042a0
add esp, 0xc
mov dword [ebp - 0x284], eax
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x288], edx
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x258], esp
lea eax, [ebp + 0xc]
push eax
call fcn.10005d60
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x290], ecx
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x25c], esp
lea edx, [ebp + 8]
push edx
call fcn.10005d60
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 7
call fcn.100a7880
add esp, 0x14
mov eax, dword [ebp - 0x1c]
push eax
call fcn.10170e80
add esp, 4
mov byte [ebp - 0x25d], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.10005e00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.10005e00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.100aa670
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.10005e00
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10005e00
mov al, byte [ebp - 0x25d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret