Function at 0x43a7f0
Capabilities:
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5da66b
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.004780a0
test eax, eax
je 0x43a85e
cmp dword [esp + 0x50], esi
je 0x43a85e
push 0x14
call fcn.005c8d38
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, esi
mov dword [esp + 0x40], esi
je 0x43a84f
mov ecx, eax
call fcn.00409820
or edi, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], edi
jmp 0x43a861
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x40], edi
mov dword [esp + 0x18], eax
jmp 0x43a861
or edi, 0xffffffff
mov eax, dword [esp + 0x4c]
cmp eax, esi
jbe 0x43aaa1
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov bl, 2
lea ebp, [ecx + 8]
push 0x664250
lea ecx, [esp + 0x4c]
call fcn.005c86d5
push 0x664250
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], 1
call fcn.005c86d5
mov edx, dword [ebp - 8]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x48], bl
call fcn.005c86d5
lea eax, [esp + 0x20]
push 5
push eax
call fcn.004396e0
add esp, 0xc
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 3
call fcn.005c87a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], bl
call fcn.005c8667
mov edx, dword [ebp - 4]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.005c86d5
mov eax, dword [ebp]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004396e0
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 4
call fcn.005c87a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], bl
call fcn.005c8667
mov eax, dword [0x6646f8]
test eax, eax
je 0x43a994
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x28]
push edx
call fcn.0045a720
mov esi, eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x44], 5
call fcn.0045a720
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 0x66468c
mov byte [esp + 0x64], 6
call fcn.00427530
add esp, 0x24
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 5
call fcn.0045b0a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], bl
call fcn.0045b0a0
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
je 0x43aa70
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, edi
je 0x43aa70
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.00439b50
mov esi, eax
add esp, 0x14
test esi, esi
je 0x43a9f2
mov eax, dword [esp + 0x58]
test eax, eax
je 0x43a9f2
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x10]
mov eax, dword [0x6646f8]
or ecx, esi
test eax, eax
mov dword [esp + 0x10], ecx
je 0x43aa70
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x30]
push eax
call fcn.0045a720
mov edi, eax
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x40], 7
push ecx
lea ecx, [esp + 0x30]
call fcn.0045a720
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 0x66468c
mov byte [esp + 0x60], 8
call fcn.00427530
add esp, 0x20
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 7
call fcn.0045b0a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.0045b0a0
or edi, 0xffffffff
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], 1
call fcn.005c8667
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], edi
call fcn.005c8667
mov eax, dword [esp + 0x14]
add ebp, 0xc
dec eax
mov dword [esp + 0x14], eax
jne 0x43a87a
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x43aaaf
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