Function at 0x43aa60
Capabilities:
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5e2dab
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.00478310
test eax, eax
je 0x43aace
cmp dword [esp + 0x50], esi
je 0x43aace
push 0x14
call fcn.005d1478
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, esi
mov dword [esp + 0x40], esi
je 0x43aabf
mov ecx, eax
call fcn.00409ab0
or edi, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], edi
jmp 0x43aad1
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x40], edi
mov dword [esp + 0x18], eax
jmp 0x43aad1
or edi, 0xffffffff
mov eax, dword [esp + 0x4c]
cmp eax, esi
jbe 0x43ad11
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov bl, 2
lea ebp, [ecx + 8]
push 0x66f8a0
lea ecx, [esp + 0x4c]
call fcn.005d0e15
push 0x66f8a0
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], 1
call fcn.005d0e15
mov edx, dword [ebp - 8]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x48], bl
call fcn.005d0e15
lea eax, [esp + 0x20]
push 5
push eax
call fcn.00439950
add esp, 0xc
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 3
call fcn.005d0ee0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], bl
call fcn.005d0da7
mov edx, dword [ebp - 4]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.005d0e15
mov eax, dword [ebp]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00439950
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 4
call fcn.005d0ee0
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], bl
call fcn.005d0da7
mov eax, dword [0x66fd48]
test eax, eax
je 0x43ac04
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x28]
push edx
call fcn.0045a990
mov esi, eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x44], 5
call fcn.0045a990
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 0x66fcdc
mov byte [esp + 0x64], 6
call fcn.004277c0
add esp, 0x24
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 5
call fcn.0045b310
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], bl
call fcn.0045b310
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
je 0x43ace0
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, edi
je 0x43ace0
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.00439dc0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x43ac62
mov eax, dword [esp + 0x58]
test eax, eax
je 0x43ac62
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x10]
mov eax, dword [0x66fd48]
or ecx, esi
test eax, eax
mov dword [esp + 0x10], ecx
je 0x43ace0
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x30]
push eax
call fcn.0045a990
mov edi, eax
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x40], 7
push ecx
lea ecx, [esp + 0x30]
call fcn.0045a990
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 0x66fcdc
mov byte [esp + 0x60], 8
call fcn.004277c0
add esp, 0x20
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 7
call fcn.0045b310
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.0045b310
or edi, 0xffffffff
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], 1
call fcn.005d0da7
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], edi
call fcn.005d0da7
mov eax, dword [esp + 0x14]
add ebp, 0xc
dec eax
mov dword [esp + 0x14], eax
jne 0x43aaea
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x43ad1f
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