Function at 0x44c1a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4841d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ba070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov bl, byte [ebp + 0xc]
mov edi, dword [ebp + 8]
test bl, bl
je 0x44c2fa
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44c2fa
mov dl, bl
mov ecx, edi
call fcn.0044c480
test al, al
je 0x44c2fa
call fcn.00452480
mov esi, eax
mov ecx, esi
call fcn.00452220
cmp byte [0x4be60e], 0
jne 0x44c25c
mov ecx, 0xf0
call fcn.00452af0
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x44c24e
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x4be60e
sub esp, 0xc
push 0x3d
push str.C:BuildAgentwork4d643bb3f4c71f96CommonTempFiles.cpp
push 0x48
call fcn.004522f0
jmp 0x44c250
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4bfba8], eax
mov ecx, esi
call fcn.00452230
mov ecx, dword [0x4bfba8]
lea ecx, [ecx + 0xd0]
call fcn.00452220
mov eax, dword [0x4bfba8]
lea ecx, [ebp + 0xc]
push dword [edi]
mov eax, dword [eax]
mov esi, dword [eax + 0x48]
call fcn.0041ae90
mov dword [ebp - 4], 1
push dword [eax]
push str.Mark_file_as_delete_on_reboot___s_
push dword [0x4bfba8]
call esi
mov edx, dword [ebp + 0xc]
add esp, 0xc
add edx, 0xfffffff0
mov dword [ebp - 4], 2
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44c2c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x4bfba8]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4bfba8]
lea ecx, [ecx + 0xd0]
call fcn.00452230
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00452480
mov esi, eax
mov ecx, esi
call fcn.00452220
cmp byte [0x4be60f], 0
jne 0x44c35c
mov ecx, 0xf0
call fcn.00452af0
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x44c34e
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x4be60f
sub esp, 0xc
push 0x41
push str.C:BuildAgentwork4d643bb3f4c71f96CommonTempFiles.cpp
push 0x48
call fcn.004522f0
jmp 0x44c350
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4bfba4], eax
mov ecx, esi
call fcn.00452230
mov ecx, dword [0x4bfba4]
lea ecx, [ecx + 0xd0]
call fcn.00452220
mov eax, dword [0x4bfba4]
lea ecx, [ebp + 0xc]
push dword [edi]
mov eax, dword [eax]
mov esi, dword [eax + 0x48]
call fcn.0041ae90
mov dword [ebp - 4], 4
push dword [eax]
movzx ecx, bl
push ecx
push str.Add_file_to_cleanup_list___d___s_
push dword [0x4bfba4]
call esi
mov edx, dword [ebp + 0xc]
add esp, 0x10
add edx, 0xfffffff0
or esi, 0xffffffff
mov dword [ebp - 4], 5
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44c3c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x4bfba4]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4bfba4]
lea ecx, [ecx + 0xd0]
call fcn.00452230
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.0041bab0
add eax, 0x10
mov byte [ebp - 0x14], bl
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 6
push ecx
mov edi, dword [ebx]
mov eax, dword [edi + 4]
push eax
push edi
mov dword [ebp + 0xc], eax
call fcn.0044c7f0
mov edx, eax
mov ecx, 0xffffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x44c46c
inc eax
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], edx
mov dword [eax], edx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov dword [ebp - 4], 7
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x44c458
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.00453051
int3