Function at 0x4454e0
Capabilities:
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5f3c7b
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.00484360
test eax, eax
je 0x44554e
cmp dword [esp + 0x50], esi
je 0x44554e
push 0x14
call fcn.005e15b8
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, esi
mov dword [esp + 0x40], esi
je 0x44553f
mov ecx, eax
call fcn.0040a2e0
or edi, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], edi
jmp 0x445551
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x40], edi
mov dword [esp + 0x18], eax
jmp 0x445551
or edi, 0xffffffff
mov eax, dword [esp + 0x4c]
cmp eax, esi
jbe 0x445791
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov bl, 2
lea ebp, [ecx + 8]
push 0x687118
lea ecx, [esp + 0x4c]
call fcn.005e0f55
push 0x687118
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], 1
call fcn.005e0f55
mov edx, dword [ebp - 8]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x48], bl
call fcn.005e0f55
lea eax, [esp + 0x20]
push 5
push eax
call fcn.004440a0
add esp, 0xc
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 3
call fcn.005e1020
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], bl
call fcn.005e0ee7
mov edx, dword [ebp - 4]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.005e0f55
mov eax, dword [ebp]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004440a0
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 4
call fcn.005e1020
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], bl
call fcn.005e0ee7
mov eax, dword [0x6875c0]
test eax, eax
je 0x445684
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x28]
push edx
call fcn.004668d0
mov esi, eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x44], 5
call fcn.004668d0
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 0x687554
mov byte [esp + 0x64], 6
call fcn.00431af0
add esp, 0x24
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 5
call fcn.00467250
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], bl
call fcn.00467250
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
je 0x445760
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, edi
je 0x445760
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.00444510
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4456e2
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4456e2
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x10]
mov eax, dword [0x6875c0]
or ecx, esi
test eax, eax
mov dword [esp + 0x10], ecx
je 0x445760
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x30]
push eax
call fcn.004668d0
mov edi, eax
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x40], 7
push ecx
lea ecx, [esp + 0x30]
call fcn.004668d0
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 0x687554
mov byte [esp + 0x60], 8
call fcn.00431af0
add esp, 0x20
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 7
call fcn.00467250
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.00467250
or edi, 0xffffffff
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], 1
call fcn.005e0ee7
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], edi
call fcn.005e0ee7
mov eax, dword [esp + 0x14]
add ebp, 0x10
dec eax
mov dword [esp + 0x14], eax
jne 0x44556a
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x44579f
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