Function at 0x442a90
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d608
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4b700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
push str.43.88.115.174Temp_dataNew_system_softwaresSCCMClientConfig_Manager_Client_2012CCMSETUP.EXE
lea ecx, [ebp - 0x20]
call fcn.0045d100
mov byte [ebp - 4], 1
push str.C:WindowsiassistSoftwaresCCMSETUP.EXE
lea ecx, [ebp - 0x14]
call fcn.0045d100
mov byte [ebp - 4], 2
push ecx
mov dword [ebp - 0x18], esp
mov ebx, esp
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esi - 4]
cmp dword [eax], 0
jl 0x442b12
cmp ecx, dword [esi - 0x10]
jne 0x442b12
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x442b3c
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x442e0c
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
lea ecx, [edi + 0x10]
call fcn.004031c0
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
call fcn.00464350
add esp, 4
cmp al, 1
jne 0x442b99
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x488924
call fcn.0045d100
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.deleting_old_CCMSETUP.EXE
call fcn.0045d100
mov byte [ebp - 4], 6
mov byte [ebp - 4], 2
or ecx, 0xffffffff
call fcn.0045f800
add esp, 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.stemp.bat
call fcn.0045c170
mov byte [ebp - 4], 7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x487a74
call fcn.0045c170
mov byte [ebp - 4], 8
mov byte [ebp - 4], 2
mov edx, 0x99
lea ecx, [ebp - 0x1c]
call fcn.00401370
add esp, 0x30
mov byte [ebp - 4], 9
push 0x4878b4
lea ecx, [ebp - 0x18]
call fcn.0045d100
mov byte [ebp - 4], 0xa
mov bl, 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
call fcn.0045c7c0
add esp, 4
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
mov dl, bl
lea ecx, [ebp - 0x28]
call fcn.00460ee0
add esp, 4
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442c4d
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442c6f
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442c91
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442cb3
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x442cd3
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004031b0
int3