Function at 0x140048d10
Capabilities:
Copy file
Delete file

Disassembly:
mov dword [rsp + 8], ecx
push rbx
push rdi
sub rsp, 0x168
mov qword [rsp + 0x148], 0xfffffffffffffffe
lea rdx, str.43.88.115.174Temp_dataNew_system_softwaresSCCMClientConfig_Manager_Client_2012CCMSETUP.EXE
lea rcx, [rsp + 0x28]
call fcn.14000c6f0
nop
lea rdx, str.C:WindowsiassistSoftwaresCCMSETUP.EXE
lea rcx, [rsp + 0x188]
call fcn.14000c6f0
nop
lea rax, [rsp + 0x190]
mov qword [rsp + 0x150], rax
mov rcx, qword [rsp + 0x188]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x108], rcx
call fcn.14000d070
mov qword [rsp + 0x110], rax
add rax, 0x18
mov qword [rsp + 0x190], rax
lea rcx, [rsp + 0x190]
call fcn.140061a50
cmp al, 1
jne 0x140048e01
lea rax, [rsp + 0x30]
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x120], rax
lea rdx, [0x140099090]
lea rcx, [rsp + 0x30]
call fcn.14000c6f0
mov rbx, rax
lea rdx, str.deleting_old_CCMSETUP.EXE
lea rcx, [rsp + 0x38]
call fcn.14000c6f0
nop
mov edi, 0xffffffff
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call fcn.14005c670
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140048e06
mov edi, 0xffffffff
mov r8d, 1
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x128], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x130], rax
xor ebx, ebx
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xe0], 7
mov word [rsp + 0xc8], bx
lea r8d, [rbx + 9]
lea rdx, str.stemp.bat
lea rcx, [rsp + 0xc8]
call fcn.14000e6a0
nop
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], 7
mov word [rsp + 0xe8], bx
lea r8d, [rbx + 6]
lea rdx, [0x14009a3a8]
lea rcx, [rsp + 0xe8]
call fcn.14000e6a0
nop
lea r9, [rsp + 0xc8]
mov r8d, 0x99
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x20]
call fcn.14000ddd0
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x138], rax
lea rdx, [0x14009a1c8]
lea rcx, [rsp + 0x198]
call fcn.14000c6f0
nop
lea r8, [rsp + 0x198]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14000ba30
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14005e3e0
nop
mov rcx, qword [rsp + 0x198]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x48], rcx
mov eax, edi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140048f63
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x58], rcx
mov eax, edi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140048f8c
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x20]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x60], rcx
mov eax, edi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140048fb5
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x188]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x68], rcx
mov eax, edi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140048fe1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x28]
add rax, 0xffffffffffffffe8
mov qword [rsp + 0x70], rax
lock xadd dword [rax + 0x10], edi
sub edi, 1
jg 0x140049008
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
add rsp, 0x168
pop rdi
pop rbx
ret