Function at 0x43d410
Capabilities:
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5e7ecb
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.0047adc0
test eax, eax
je 0x43d47e
cmp dword [esp + 0x50], esi
je 0x43d47e
push 0x14
call fcn.005d62f8
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, esi
mov dword [esp + 0x40], esi
je 0x43d46f
mov ecx, eax
call fcn.004099e0
or edi, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], edi
jmp 0x43d481
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x40], edi
mov dword [esp + 0x18], eax
jmp 0x43d481
or edi, 0xffffffff
mov eax, dword [esp + 0x4c]
cmp eax, esi
jbe 0x43d6c1
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov bl, 2
lea ebp, [ecx + 8]
push 0x675fc0
lea ecx, [esp + 0x4c]
call fcn.005d5c95
push 0x675fc0
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], 1
call fcn.005d5c95
mov edx, dword [ebp - 8]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x48], bl
call fcn.005d5c95
lea eax, [esp + 0x20]
push 5
push eax
call fcn.0043c300
add esp, 0xc
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 3
call fcn.005d5d60
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], bl
call fcn.005d5c27
mov edx, dword [ebp - 4]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.005d5c95
mov eax, dword [ebp]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0043c300
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 4
call fcn.005d5d60
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], bl
call fcn.005d5c27
mov eax, dword [0x676468]
test eax, eax
je 0x43d5b4
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x28]
push edx
call fcn.0045d440
mov esi, eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x44], 5
call fcn.0045d440
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 0x6763fc
mov byte [esp + 0x64], 6
call fcn.00429e80
add esp, 0x24
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 5
call fcn.0045ddc0
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], bl
call fcn.0045ddc0
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
je 0x43d690
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, edi
je 0x43d690
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.0043c770
mov esi, eax
add esp, 0x14
test esi, esi
je 0x43d612
mov eax, dword [esp + 0x58]
test eax, eax
je 0x43d612
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x10]
mov eax, dword [0x676468]
or ecx, esi
test eax, eax
mov dword [esp + 0x10], ecx
je 0x43d690
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x30]
push eax
call fcn.0045d440
mov edi, eax
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x40], 7
push ecx
lea ecx, [esp + 0x30]
call fcn.0045d440
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 0x6763fc
mov byte [esp + 0x60], 8
call fcn.00429e80
add esp, 0x20
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 7
call fcn.0045ddc0
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.0045ddc0
or edi, 0xffffffff
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], 1
call fcn.005d5c27
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], edi
call fcn.005d5c27
mov eax, dword [esp + 0x14]
add ebp, 0xc
dec eax
mov dword [esp + 0x14], eax
jne 0x43d49a
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x43d6cf
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