Function at 0x431ad0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x784
mov eax, dword [0x551764]
xor eax, esp
mov dword [esp + 0x780], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edi
call fcn.0042c210
mov eax, dword [esp + 0x30]
xor esi, esi
mov ecx, str..backup
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x431b36
test dx, dx
je 0x431b32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x431b36
add eax, 4
add ecx, 4
test dx, dx
jne 0x431b10
xor eax, eax
jmp 0x431b3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x431d45
push 0x200
push ecx
lea eax, [esp + 0x588]
mov dword [esp + 0x44], 0x104
push 0
push dword [esp + 0x34]
mov edx, 0x104
mov dword [esp + 0x48], eax
mov ecx, eax
call fcn.0042b450
mov edx, str..temp
mov ecx, edi
call fcn.0042aa10
mov dword [esp + 0x1c], eax
test eax, eax
je 0x431d45
push eax
lea ecx, [esp + 0x2d4]
call fcn.0042c210
push 1
push dword [esp + 0x1c]
lea edx, [esp + 0x28]
mov ecx, ebx
call fcn.00431f60
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
mov dword [esp + 0x18], eax
sub eax, 1
je 0x431c0c
sub eax, 1
je 0x431bd1
sub eax, 1
jne 0x431caf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x431caf
mov eax, dword [esp + 0x2a8]
test eax, eax
je 0x431be4
cmp eax, 0xffffffff
je 0x431be4
push eax
call edi
test byte [ebx + 0x208], 0x80
mov dword [esp + 0x2a8], 0xffffffff
jne 0x431cc2
mov ecx, dword [esp + 0x14]
call fcn.0042ab10
mov esi, eax
jmp 0x431caf
push dword [esp + 0x14]
push 0
push 0x10006
push dword [ebx + 0x10c]
call dword [sym.imp.USER32.dll_SendMessageW]
inc dword [ebx + 0x338]
lea eax, [esp + 0x2d0]
push eax
lea edx, [esp + 0x24]
mov ecx, ebx
call fcn.00431640
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x2a8]
test esi, esi
sete cl
mov byte [esp + 0x13], cl
test eax, eax
je 0x431c61
cmp eax, 0xffffffff
je 0x431c61
push eax
call edi
mov cl, byte [esp + 0x13]
mov dword [esp + 0x2a8], 0xffffffff
test esi, esi
jne 0x431c95
test cl, cl
je 0x431c95
lea eax, [esp + 0x2d0]
mov ecx, ebx
push eax
lea edx, [esp + 0x24]
call fcn.004317f0
mov esi, eax
add esp, 4
test esi, esi
sete al
test al, al
jne 0x431ca2
push dword [esp + 0x2d0]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
test esi, esi
sete al
add dword [ebx + 0x33c], eax
mov eax, dword [esp + 0x2a8]
test eax, eax
je 0x431cc2
cmp eax, 0xffffffff
je 0x431cc2
push eax
call edi
mov dword [esp + 0x2a8], 0xffffffff
test esi, esi
je 0x431cdf
push dword [esp + 0x14]
push esi
push ebx
call fcn.00424f10
add esp, 0xc
push esi
push dword [esp + 0x1c]
mov ecx, 0xac
lea esi, [esp + 0x2d8]
sub esp, 0x2b0
mov edi, esp
sub esp, 0x2b0
rep movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x588]
mov ecx, 0xac
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.0041e910
add esp, 0x56c
push dword [esp + 0x1c]
push 0
push dword [0x576b44]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x558]
test eax, eax
je 0x431d45
cmp eax, 0xffffffff
je 0x431d45
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x78c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c715a
mov esp, ebp
pop ebp
ret