Function at 0x40e7c0
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4287a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
mov eax, dword [0x43416c]
push ebx
push ebp
push esi
mov ebx, ecx
push 0xffffffffffffffff
xor ebp, ebp
mov dword [esp + 0xfc], eax
push ebp
lea eax, [ebx + 0x1dc]
mov esi, 0xf
push eax
lea ecx, [esp + 0xe8]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebp
mov byte [esp + 0xec], 0
call fcn.00401840
mov al, byte [ebx + 0x1d9]
test al, al
mov dword [esp + 0x104], ebp
jne 0x40e857
cmp dword [esp + 0xf4], 0x10
jb 0x40ed0b
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.004043d0
add esp, 4
jmp 0x40ed0b
mov edx, dword [ebx + 0x1cc]
push edi
lea edi, [ebx + 0x1cc]
mov ecx, edi
call dword [edx + 0x24]
test al, al
je 0x40e87a
cmp dword [esp + 0xf8], 0x10
jmp 0x40ecf8
lea ecx, [esp + 0x3c]
mov byte [ebx + 0x1d9], 0
call fcn.0040d010
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x10c], 1
call fcn.0040d0a0
test al, al
je 0x40ec2a
xor edi, edi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebp
mov byte [esp + 0xc8], 0
lea edx, [esp + 0xc4]
push edx
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x110], 2
call fcn.0040d2f0
test al, al
je 0x40ebc7
jmp 0x40e8f0
mov eax, dword [esp + 0xd8]
push 3
push 0x42ac7c
push eax
push ebp
lea ecx, [esp + 0xd4]
call fcn.00401150
test eax, eax
jne 0x40e911
inc edi
lea ecx, [esp + 0xc4]
push ecx
push 1
lea ecx, [esp + 0x44]
call fcn.0040d2f0
test al, al
jne 0x40e8f0
cmp edi, 0xa
jle 0x40ebc7
lea ecx, [esp + 0x18]
call fcn.00411790
push 0x42a3e4
lea ecx, [esp + 0x90]
mov byte [esp + 0x10c], 3
call fcn.00401a80
push eax
lea ebp, [ebx + 0x1f8]
lea edx, [esp + 0xac]
push ebp
push edx
mov byte [esp + 0x114], 4
call fcn.00401c90
push str.backup_log.txt
push eax
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x120], 5
call fcn.00401d30
push eax
lea ecx, [esp + 0x70]
push ecx
mov byte [esp + 0x128], 6
call fcn.0040b930
add esp, 0x20
push 1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x110], 7
call fcn.00411bd0
lea ecx, [esp + 0x54]
call fcn.00401410
lea ecx, [esp + 0x70]
call fcn.00401410
lea ecx, [esp + 0xa8]
call fcn.00401410
lea ecx, [esp + 0x8c]
mov byte [esp + 0x108], 3
call fcn.00401410
push 0
lea ecx, [esp + 0x40]
call fcn.0040da50
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x40]
call fcn.0040d890
test al, al
je 0x40eacd
inc edi
mov dword [esp + 0x10], edi
mov ebx, dword [esp + 0xd8]
cmp ebx, 5
mov edi, dword [esp + 0xc8]
mov esi, dword [esp + 0xdc]
jbe 0x40ea7c
cmp esi, 0x10
mov eax, edi
jae 0x40ea38
lea eax, [esp + 0xc8]
cmp byte [eax], 0x23
jne 0x40ea7c
cmp esi, 0x10
mov eax, edi
jae 0x40ea4b
lea eax, [esp + 0xc8]
cmp byte [eax + 1], 0x23
jne 0x40ea7c
cmp esi, 0x10
mov eax, edi
jae 0x40ea5f
lea eax, [esp + 0xc8]
cmp byte [eax + 2], 0x23
jne 0x40ea7c
push 3
lea ecx, [esp + 0xc8]
call fcn.0040b300
cmp byte [eax], 0x20
jne 0x40ea7c
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xa
jg 0x40eab0
cmp esi, 0x10
mov eax, edi
jae 0x40ea91
lea eax, [esp + 0xc8]
push 1
push ebx
push eax
lea ecx, [esp + 0x24]
call fcn.004111b0
push 1
push 2
push 0x42a9a0
lea ecx, [esp + 0x24]
call fcn.004111b0
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x40]
call fcn.0040d890
test al, al
jne 0x40ea10
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x3c]
call fcn.0040d040
lea ecx, [esp + 0x18]
call fcn.00411d50
mov eax, dword [esp + 0xf8]
mov esi, 0x10
cmp eax, esi
mov eax, dword [esp + 0xe4]
jae 0x40eafd
lea eax, [esp + 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x42a3e4
lea ecx, [esp + 0x58]
call fcn.00401a80
push eax
lea ecx, [esp + 0x74]
push ebp
push ecx
mov byte [esp + 0x114], 8
call fcn.00401c90
push str.backup_log.txt
push eax
lea edx, [esp + 0xbc]
push edx
mov byte [esp + 0x120], 9
call fcn.00401d30
push eax
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x128], 0xa
call fcn.0040b930
mov ecx, dword [esp + 0x118]
add esp, 0x20
cmp ecx, esi
mov ecx, dword [esp + 0xe4]
jae 0x40eb73
lea ecx, [esp + 0xe4]
cmp dword [eax + 0x18], esi
jb 0x40eb7d
mov eax, dword [eax + 4]
jmp 0x40eb80
add eax, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x8c]
call fcn.00401410
lea ecx, [esp + 0xa8]
call fcn.00401410
lea ecx, [esp + 0x70]
call fcn.00401410
lea ecx, [esp + 0x54]
call fcn.00401410
lea ecx, [esp + 0x18]
mov byte [esp + 0x108], 2
call fcn.00411ea0
xor ebp, ebp
jmp 0x40ebcc
mov esi, 0x10
mov edx, dword [ebx + 0x1cc]
lea ecx, [ebx + 0x1cc]
push ebp
lea eax, [esp + 0xe4]
push eax
call dword [edx]
test al, al
lea ecx, [esp + 0xc4]
jne 0x40ec1b
mov byte [ebx + 0x1d9], al
call fcn.00401410
lea ecx, [esp + 0x3c]
mov byte [esp + 0x108], 0
call fcn.0040d070
lea ecx, [esp + 0xe0]
call fcn.00401410
jmp 0x40ed0a
mov byte [esp + 0x108], 1
call fcn.00401410
jmp 0x40ec5a
lea ecx, [ebx + 0x1f8]
push ecx
call fcn.0040cd10
mov edx, dword [edi]
add esp, 4
push 1
lea eax, [esp + 0xe4]
push eax
mov ecx, edi
call dword [edx]
test al, al
jne 0x40ec55
mov byte [ebx + 0x1d9], al
jmp 0x40ebf9
mov esi, 0x10
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [ebx + 0x1d9], 1
call fcn.0040b080
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
lea ecx, [esp + 0xf4]
push str.________________04d__02d__02d__02d:_02d:_02d_______________
push ecx
call fcn.0040bda0
add esp, 0x38
push eax
mov ecx, ebx
mov byte [esp + 0x10c], 0xb
call fcn.0040e660
cmp dword [esp + 0xdc], esi
jb 0x40ece0
mov edx, dword [esp + 0xc8]
push edx
call fcn.004043d0
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x108], 0
call fcn.0040d070
cmp dword [esp + 0xf8], esi
jb 0x40ed0a
mov eax, dword [esp + 0xe4]
push eax
call fcn.004043d0
add esp, 4
pop edi
mov ecx, dword [esp + 0xfc]
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xf0]
pop ebx
call fcn.0041def4
add esp, 0xfc
ret