Function at 0x45728b
Capabilities:
Copy file
Create restart manager session
Enumerate processes that use resource

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x680
mov esi, esp
mov dword [esi + 0x668], ebp
mov dword [esi + 0x18], ecx
lea eax, [esi + 0x670]
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x4f69d0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword fs:[0], eax
mov eax, dword [edx]
mov dword [esi + 0xc], eax
mov dword [esi + 0x50], edx
mov eax, dword [edx + 8]
mov dword [esi + 0x14], eax
mov eax, dword [ecx]
mov dword [esi + 0x10], eax
mov ebx, dword [ecx + 8]
mov ecx, 0x350d8c49
call fcn.0040aef9
mov ecx, eax
mov edx, 0x8c86bc68
call fcn.0040af30
test eax, eax
je 0x457370
mov edi, eax
lea ecx, [esi + 0x3c0]
mov edx, dword [esi + 0xc]
push dword [esi + 0x14]
call fcn.0040911a
pop eax
lea eax, [esi + 0x3c0]
mov eax, dword [eax]
mov dword [esi + 8], eax
lea ecx, [esi + 0x120]
mov edx, dword [esi + 0x10]
push ebx
call fcn.0040911a
pop eax
lea eax, [esi + 0x120]
mov ebx, dword [eax]
sub esp, 0x18
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov eax, dword [esi + 8]
mov dword [esp], eax
call edi
mov edi, eax
lea eax, [esi + 0x120]
mov edx, dword [eax + 4]
mov ecx, ebx
lea ebx, [esi + 0x3c0]
call fcn.0042b815
mov edx, dword [ebx + 4]
mov ecx, dword [esi + 8]
call fcn.0042b815
test edi, edi
je 0x4573ae
mov eax, dword [esi + 0x18]
mov byte [eax + 4], 1
and dword [eax], 0
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov ecx, ebx
call fcn.0043e571
mov eax, dword [esi + 0x50]
mov edx, dword [eax + 4]
mov ecx, edi
call fcn.0043e571
mov eax, dword [esi + 0x670]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
and dword [esi + 0x28], 0
lea eax, [0x538686]
mov dword [esi + 0x120], eax
lea eax, [esi + 0x120]
mov ecx, dword [esi + 0x120]
mov dword [esi + 0x120], 0x4665c014
mov edx, dword [esi + 0x120]
call fcn.00457b97
xorps xmm0, xmm0
movaps xmmword [esi + 0x130], xmm0
movaps xmmword [esi + 0x120], xmm0
and dword [esi + 0x140], 0
xor ecx, ecx
cmp ecx, 0x23
ja 0x457413
mov edx, dword [ecx + 0x539208]
xor edx, dword [eax + ecx]
mov dword [esi + ecx + 0x120], edx
add ecx, 4
jmp 0x4573f9
mov al, byte [eax + 0x24]
xor al, 0x45
lea edx, [esi + 0x120]
mov byte [edx + 0x24], al
movaps xmm0, xmmword [edx]
movaps xmm1, xmmword [edx + 0x10]
lea eax, [esi + 0x3e5]
movaps xmmword [eax - 0x25], xmm0
movaps xmmword [eax - 0x15], xmm1
movsd xmm0, qword [edx + 0x1d]
movsd qword [eax - 8], xmm0
mov dword [edx], ebx
mov dword [edx + 4], eax
and word [edx + 8], 0
lea edi, [esi + 0xb8]
mov ecx, edi
call fcn.004f1d58
mov ebx, dword [edi]
mov edx, dword [edi + 4]
mov ecx, ebx
call fcn.0042b815
lea eax, [esi + 0x28]
push ebx
push 0
push eax
call dword [sym.imp.rstrtmgr.dll_RmStartSession]
test eax, eax
je 0x457493
call sub.kernel32.dll_GetLastError
xor ecx, ecx
mov edx, eax
call fcn.0049a4d0
mov ecx, dword [esi + 0x18]
mov dword [ecx], eax
mov dword [ecx + 4], 0x540084
jmp 0x45737a
lea edx, [esi + 0xb8]
mov eax, dword [esi + 0xc]
mov dword [edx], eax
mov eax, dword [esi + 0x14]
mov dword [edx + 4], eax
lea edi, [esi + 0x3c0]
mov ecx, edi
call fcn.00449fd8
mov ebx, dword [edi]
mov eax, dword [edi + 8]
add eax, ebx
xor ecx, ecx
inc ecx
lea edi, [esi + 0x120]
mov dword [edi], ecx
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
and word [edi + 0xc], 0
lea ecx, [esi + 0xac]
mov edx, edi
call fcn.004ba7d6
lea eax, [esi + 0x3c0]
mov edx, dword [eax + 4]
mov ecx, ebx
call fcn.0043e571
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0xac]
mov ecx, dword [ecx]
mov dword [esi + 0x14], ecx
mov dword [edi], ecx
sub esp, 0x1c
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], edi
xor ecx, ecx
inc ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.rstrtmgr.dll_RmRegisterResources]
test eax, eax
je 0x457551
call sub.kernel32.dll_GetLastError
xor ecx, ecx
mov edx, eax
call fcn.0049a4d0
mov ecx, dword [esi + 0x18]
mov dword [ecx], eax
mov dword [ecx + 4], 0x540084
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0xb0]
call fcn.0042b815
jmp 0x457380
lea edi, [esi + 0x54]
and dword [edi], 0
lea eax, [esi + 0x30]
and dword [eax], 0
lea ecx, [esi + 0x64]
and dword [ecx], 0
push ecx
push 0
push eax
push edi
push dword [esi + 0x28]
call dword [sym.imp.rstrtmgr.dll_RmGetList]
test eax, eax
je 0x4575bd
cmp eax, 0xea
jne 0x4578d6
mov eax, dword [esi + 0x54]
test eax, eax
mov dword [esi + 0x1c], eax
je 0x4575cc
cmp eax, 0x310dcb
ja 0x457b5d
imul edx, eax, 0x29c
test edx, edx
js 0x457b5d
push 4
pop ecx
mov dword [esi + 8], edx
call fcn.00404a80
test eax, eax
je 0x457b64
mov ebx, eax
mov eax, dword [esi + 0x54]
jmp 0x4575d1
mov eax, dword [esi + 0x18]
mov byte [eax + 4], 0
and dword [eax], 0
jmp 0x457538
push 4
pop ebx
xor eax, eax
mov dword [esi + 0x30], eax
lea eax, [esi + 0x64]
push eax
push ebx
lea eax, [esi + 0x30]
push eax
push edi
push dword [esi + 0x28]
call dword [sym.imp.rstrtmgr.dll_RmGetList]
test eax, eax
je 0x457614
call sub.kernel32.dll_GetLastError
xor ecx, ecx
mov edx, eax
call fcn.0049a4d0
mov ecx, dword [esi + 0x18]
mov dword [ecx], eax
mov dword [ecx + 4], 0x540084
mov ecx, ebx
mov edx, dword [esi + 0x1c]
call fcn.004055bf
jmp 0x457538
imul eax, dword [esi + 0x30], 0x29c
add eax, ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x4c], ebx
mov ecx, ebx
lea ebx, [esi + 0xb8]
cmp ecx, dword [esi + 0x20]
lea eax, [esi + 0x3c0]
je 0x4578cb
mov edi, 0x29c
push edi
mov dword [esi + 0x2c], ecx
push ecx
push eax
call fcn.004f7e80
add esp, 0xc
push edi
lea eax, [esi + 0x3c0]
push eax
lea eax, [esi + 0x120]
push eax
call fcn.004f7e80
add esp, 0xc
lea eax, [0x530e82]
mov dword [esi + 0xb8], eax
mov ecx, dword [esi + 0xb8]
mov dword [esi + 0xb8], 0x6889dc48
mov edx, dword [esi + 0xb8]
call fcn.00457bb5
and dword [esi + 0xbc], 0
and dword [esi + 0xb8], 0
and dword [esi + 0xc0], 0
xor ecx, ecx
cmp ecx, 0xb
ja 0x4576bc
mov edx, dword [ecx + 0x539248]
xor edx, dword [eax + ecx]
mov dword [esi + ecx + 0xb8], edx
add ecx, 4
jmp 0x4576a2
mov al, byte [eax + 0xc]
xor al, 0xf7
mov byte [esi + 0xc4], al
movsd xmm0, qword [esi + 0xb8]
movsd qword [esi + 0x88], xmm0
movsd xmm0, qword [esi + 0xbd]
movsd qword [esi + 0x8d], xmm0
lea eax, [esi + 0x88]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0xd
lea eax, [esi + 0x58]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], fcn.0042ce6a
mov dword [esi + 0xb8], 0x539230
mov dword [esi + 0xbc], 3
and dword [esi + 0xc8], 0
lea eax, [esi + 0x120]
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], fcn.0041ded0
lea eax, [esi + 0x68]
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], 2
lea edi, [esi + 0x34]
mov ecx, edi
mov edx, ebx
call fcn.004520f3
mov eax, dword [esi + 0x34]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0x24], eax
mov ebx, dword [esi + 0x3c]
lea eax, [0x529770]
mov dword [esi + 0x34], eax
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x34], 0xc0f19d8c
mov edx, dword [esi + 0x34]
call fcn.00457bcd
and dword [esi + 0x38], 0
and dword [esi + 0x34], 0
xor ecx, ecx
cmp ecx, 7
ja 0x457799
mov edx, dword [ecx + 0x539255]
xor edx, dword [eax + ecx]
mov dword [esi + ecx + 0x34], edx
add ecx, 4
jmp 0x457782
movzx eax, word [eax + 8]
xor eax, 0x1780
movsd xmm0, qword [esi + 0x34]
movsd qword [esi + 0x58], xmm0
mov word [esi + 0x60], ax
lea ecx, [esi + 0xb8]
lea edx, [esi + 0x58]
push 0xa
call fcn.004e04c0
pop eax
mov dword [esi + 0x10c], 0x8000000
mov dword [esi + 0x34], 0x53925f
push 2
pop eax
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 8]
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], eax
xor ebx, ebx
inc ebx
cmp ebx, 3
je 0x457806
mov dword [esi + 0x44], ebx
mov edx, dword [esi + ebx*8 + 0x2c]
lea ecx, [esi + 0xb8]
push dword [esi + ebx*8 + 0x30]
call fcn.004e0580
pop eax
inc ebx
jmp 0x4577e7
lea ecx, [esi + 0x68]
lea edx, [esi + 0xb8]
call fcn.004d3c00
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x70]
cmp eax, 2
je 0x457a83
lea ebx, [esi + 0x74]
mov ebx, dword [ebx + 0x10]
lea edi, [esi + 0x94]
mov dword [edi + 0x10], ebx
lea ebx, [esi + 0x74]
movups xmm0, xmmword [ebx]
movups xmmword [edi], xmm0
mov dword [esi + 0x90], edx
mov dword [esi + 0x8c], ecx
and dword [esi + 0x88], 0
test eax, eax
je 0x45785c
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ebx, dword [esi + 0xa0]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
je 0x457885
call sub.kernel32.dll_GetLastError
mov edx, eax
lea ebx, [esi + 0xb8]
xor ecx, ecx
call fcn.0044a18a
jmp 0x45789e
and dword [esi + 0x68], 0
lea eax, [esi + 0x68]
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
test eax, eax
je 0x45786f
lea ebx, [esi + 0xb8]
mov edi, dword [esi + 0x2c]
add edi, 0x29c
lea ecx, [esi + 0x88]
call fcn.004034da
mov ecx, ebx
call fcn.0044f8b8
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x24]
call fcn.0043e571
mov ecx, edi
jmp 0x45762b
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x1c]
call fcn.00457baf
lea edi, [esi + 0x88]
mov ecx, edi
mov edx, dword [esi + 0x50]
call fcn.00416aa0
lea ebx, [esi + 0x68]
mov ecx, ebx
mov edx, dword [ebp + 8]
call fcn.00416aa0
mov edx, dword [edi]
mov eax, dword [ebx]
mov dword [esi + 8], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x2c], eax
lea ebx, [esi + 0x3c0]
mov ecx, ebx
mov dword [esi + 0x24], edx
push dword [edi + 8]
call fcn.004c8120
pop eax
mov ecx, dword [ebx]
mov edi, dword [ebx + 4]
mov eax, dword [ebx + 8]
test ecx, ecx
je 0x457a65
lea edx, [esi + 0x3c0]
mov dword [edx], ecx
mov dword [edx + 4], edi
mov dword [edx + 8], eax
lea edi, [esi + 0xb8]
mov ecx, edi
push 1
call fcn.004ce860
pop eax
mov eax, dword [edi]
mov edi, dword [edi + 4]
test eax, eax
je 0x457a5f
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], edi
and dword [esi + 0x678], 0
lea ecx, [esi + 0x3c0]
mov edx, dword [esi + 8]
push dword [esi + 0x2c]
call fcn.004c8120
pop eax
mov ecx, dword [esi + 0x3c0]
mov ebx, dword [esi + 0x3c4]
mov eax, dword [esi + 0x3c8]
test ecx, ecx
je 0x457ac0
lea edx, [esi + 0x3c0]
mov dword [edx], ecx
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
lea ecx, [esi + 0xb8]
push 1
call fcn.004ce860
pop eax
mov edi, dword [esi + 0xb8]
mov ebx, dword [esi + 0xbc]
test edi, edi
je 0x457aba
and dword [esi + 0x3c4], 0
and dword [esi + 0x3c0], 0
push 0
push 0
lea eax, [esi + 0x3c0]
push eax
push 0x4e04a0
push edi
push dword [esi + 0x20]
call dword [sym.imp.kernel32.dll_CopyFileExW]
test eax, eax
je 0x457b2e
mov eax, dword [esi + 0x3c0]
mov ecx, dword [esi + 0x3c4]
mov dword [esi + 0x12c], ecx
mov dword [esi + 0x128], eax
and dword [esi + 0x120], 0
test ebx, ebx
je 0x457a15
push 2
pop edx
mov ecx, edi
call fcn.004155d0
cmp dword [esi + 0x1c], 0
mov ebx, dword [esi + 0x10]
je 0x457a29
push 2
pop edx
mov ecx, dword [esi + 0x20]
call fcn.004155d0
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 8]
call fcn.0043e571
mov edx, dword [esi + 0x8c]
mov ecx, dword [esi + 0x24]
call fcn.0043e571
mov eax, dword [esi + 0x18]
mov byte [eax + 4], 1
and dword [eax], 0
lea ecx, [esi + 0x120]
call fcn.00457beb
mov edi, dword [esi + 0xc]
jmp 0x45753e
mov eax, dword [esi + 0xc0]
mov dword [esi + 0x124], edi
mov dword [esi + 0x128], eax
mov dword [esi + 0x120], 1
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
jmp 0x457aed
call fcn.0049a4d0
mov ecx, dword [esi + 0x18]
mov dword [ecx], eax
mov dword [ecx + 4], 0x540084
lea ecx, [esi + 0xb8]
call fcn.0044f8b8
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x24]
call fcn.0043e571
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x1c]
call fcn.00457baf
jmp 0x457538
mov eax, dword [esi + 0xc0]
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], eax
mov dword [esi + 0x120], 1
cmp dword [esi + 0x1c], 0
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
je 0x457aed
push 2
pop edx
mov ecx, dword [esi + 0x20]
call fcn.004155d0
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 8]
call fcn.0043e571
mov edx, dword [esi + 0x8c]
mov ecx, dword [esi + 0x24]
call fcn.0043e571
lea ecx, [esi + 0x120]
call fcn.00457beb
mov edx, dword [esi + 0xb0]
mov ecx, dword [esi + 0x14]
call fcn.0042b815
mov eax, dword [esi + 0x18]
mov byte [eax + 4], 0
and dword [eax], 0
jmp 0x457380
call sub.kernel32.dll_GetLastError
mov byte [esi + 0x124], 0
mov dword [esi + 0x128], eax
mov dword [esi + 0x120], 1
test ebx, ebx
je 0x457ad6
push 2
pop edx
mov ecx, edi
call fcn.004155d0
jmp 0x457ad6
call fcn.004156f0
ud2
push 4
pop ecx
mov edx, dword [esi + 8]
call fcn.00506930
ud2