Function at 0x445490
Capabilities:
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5f1f5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
call fcn.00484310
test eax, eax
je 0x4454fe
cmp dword [esp + 0x50], esi
je 0x4454fe
push 0x14
call fcn.005df898
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, esi
mov dword [esp + 0x40], esi
je 0x4454ef
mov ecx, eax
call fcn.0040a2e0
or edi, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], edi
jmp 0x445501
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x40], edi
mov dword [esp + 0x18], eax
jmp 0x445501
or edi, 0xffffffff
mov eax, dword [esp + 0x4c]
cmp eax, esi
jbe 0x445741
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov bl, 2
lea ebp, [ecx + 8]
push 0x684008
lea ecx, [esp + 0x4c]
call fcn.005df235
push 0x684008
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], 1
call fcn.005df235
mov edx, dword [ebp - 8]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x48], bl
call fcn.005df235
lea eax, [esp + 0x20]
push 5
push eax
call fcn.00444050
add esp, 0xc
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 3
call fcn.005df300
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], bl
call fcn.005df1c7
mov edx, dword [ebp - 4]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.005df235
mov eax, dword [ebp]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00444050
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 4
call fcn.005df300
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], bl
call fcn.005df1c7
mov eax, dword [0x6844b0]
test eax, eax
je 0x445634
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x28]
push edx
call fcn.00466880
mov esi, eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x44], 5
call fcn.00466880
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esi]
push ecx
push edx
push eax
push str.CUpAgentFileMgr::DORestoreMSGHookBakFiles_1___s____s____d____d____d_
push str.Update
push 0xf
push 0x684444
mov byte [esp + 0x64], 6
call fcn.00431aa0
add esp, 0x24
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 5
call fcn.00467200
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], bl
call fcn.00467200
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
je 0x445710
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, edi
je 0x445710
mov ecx, dword [esp + 0x54]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x4c]
push 1
setne al
inc eax
push eax
mov eax, dword [esp + 0x50]
push 0
push eax
push ecx
call fcn.004444c0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x445692
mov eax, dword [esp + 0x58]
test eax, eax
je 0x445692
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x10]
mov eax, dword [0x6844b0]
or ecx, esi
test eax, eax
mov dword [esp + 0x10], ecx
je 0x445710
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x30]
push eax
call fcn.00466880
mov edi, eax
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x40], 7
push ecx
lea ecx, [esp + 0x30]
call fcn.00466880
mov edx, dword [esp + 0x10]
mov ecx, dword [edi]
push edx
mov edx, dword [eax]
push esi
push ecx
push edx
push str.CUpAgentFileMgr::DORestoreMSGHookBakFiles_2___s____s____d____d_
push str.Update
push 0xf
push 0x684444
mov byte [esp + 0x60], 8
call fcn.00431aa0
add esp, 0x20
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 7
call fcn.00467200
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.00467200
or edi, 0xffffffff
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], 1
call fcn.005df1c7
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], edi
call fcn.005df1c7
mov eax, dword [esp + 0x14]
add ebp, 0x10
dec eax
mov dword [esp + 0x14], eax
jne 0x44551a
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x44574f
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x38]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret