Function at 0x45acd8
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x45ace0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x45b11d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0045b7cc
lea eax, [ebp - 8]
call fcn.0045a840
lea eax, [ebp - 8]
mov edx, 0x45b134
call fcn.004047d8
mov eax, dword [ebp - 8]
call fcn.00408c08
test al, al
je 0x45ad40
lea eax, [ebp - 0xc]
call fcn.0045a840
lea eax, [ebp - 0xc]
mov edx, 0x45b14c
call fcn.004047d8
mov eax, dword [ebp - 0xc]
call fcn.00408c08
test al, al
jne 0x45ad42
mov bl, 1
lea eax, [ebp - 0x10]
call fcn.0045a840
lea eax, [ebp - 0x10]
mov edx, 0x45b134
call fcn.004047d8
mov eax, dword [ebp - 0x10]
call fcn.00408c08
test al, al
je 0x45ad9a
lea eax, [ebp - 0x18]
call fcn.0045a840
lea eax, [ebp - 0x18]
mov edx, 0x45b14c
call fcn.004047d8
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0045b380
mov edx, dword [ebp - 0x14]
mov eax, dword [0x474bfc]
call fcn.0040491c
jb 0x45ad9a
test bl, bl
je 0x45ae36
lea eax, [ebp - 0x1c]
call fcn.0045a840
lea eax, [ebp - 0x1c]
mov edx, 0x45b164
call fcn.004047d8
mov ecx, dword [ebp - 0x1c]
mov edx, 0x45b17c
mov eax, 0x45b190
call fcn.0045a8c8
lea eax, [ebp - 0x20]
call fcn.0045a840
lea eax, [ebp - 0x20]
mov edx, 0x45b134
call fcn.004047d8
mov ecx, dword [ebp - 0x20]
mov edx, 0x45b1a0
mov eax, 0x45b190
call fcn.0045a8c8
lea eax, [ebp - 0x24]
call fcn.0045a840
lea eax, [ebp - 0x24]
mov edx, 0x45b1b0
call fcn.004047d8
mov ecx, dword [ebp - 0x24]
mov edx, 0x45b1c8
mov eax, 0x45b190
call fcn.0045a8c8
lea eax, [ebp - 0x28]
call fcn.0045a840
lea eax, [ebp - 0x28]
mov edx, 0x45b1d8
call fcn.004047d8
mov ecx, dword [ebp - 0x28]
mov edx, 0x45b1f0
mov eax, 0x45b190
call fcn.0045a8c8
call fcn.0045b7cc
call fcn.0045a958
lea eax, [ebp - 0x2c]
call fcn.0045a840
lea eax, [ebp - 0x2c]
mov edx, 0x45b14c
call fcn.004047d8
mov eax, dword [ebp - 0x2c]
call fcn.00408c08
test al, al
je 0x45aeb0
lea eax, [ebp - 0x34]
call fcn.0045a840
lea eax, [ebp - 0x34]
mov edx, 0x45b14c
call fcn.004047d8
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0045b380
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
call fcn.0045a840
lea eax, [ebp - 0x3c]
mov edx, 0x45b200
call fcn.004047d8
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0045b380
mov edx, dword [ebp - 0x38]
pop eax
call fcn.0040491c
jne 0x45aed9
lea eax, [ebp - 0x40]
call fcn.0045a840
lea eax, [ebp - 0x40]
mov edx, 0x45b14c
call fcn.004047d8
mov eax, dword [ebp - 0x40]
call fcn.00408c08
test al, al
je 0x45aed9
test bl, bl
je 0x45b102
push 0x45b210
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x44]
call fcn.0045a840
push dword [ebp - 0x44]
mov eax, 0x3e8
call fcn.0040307c
add eax, 5
lea edx, [ebp - 0x48]
call fcn.00408700
push dword [ebp - 0x48]
push 0x45b220
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404890
jmp 0x45af4f
lea eax, [ebp - 0x4c]
call fcn.0045a840
push dword [ebp - 0x4c]
mov eax, 0x3e8
call fcn.0040307c
add eax, 5
lea edx, [ebp - 0x50]
call fcn.00408700
push dword [ebp - 0x50]
push 0x45b220
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404890
mov eax, dword [ebp - 4]
call fcn.00408c08
test al, al
jne 0x45af1a
lea eax, [ebp - 0x54]
call fcn.0045a840
lea eax, [ebp - 0x54]
mov edx, 0x45b14c
call fcn.004047d8
mov eax, dword [ebp - 0x54]
call fcn.004049d0
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x45afdd
lea eax, [ebp - 0x58]
call fcn.0045a840
lea eax, [ebp - 0x58]
mov edx, 0x45b230
call fcn.004047d8
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
call fcn.0045a840
lea eax, [ebp - 0x5c]
mov edx, 0x45b14c
call fcn.004047d8
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00408d30
test al, al
jne 0x45afdd
lea eax, [ebp - 0x60]
call fcn.0045a840
lea eax, [ebp - 0x60]
mov edx, 0x45b14c
call fcn.004047d8
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 4]
call fcn.00408d30
lea eax, [ebp - 0x64]
call fcn.0045a840
lea eax, [ebp - 0x64]
mov edx, 0x45b14c
call fcn.004047d8
mov ecx, dword [ebp - 0x64]
mov edx, 0x45b248
mov eax, 0x45b258
call fcn.0045a8c8
lea eax, [ebp - 0x68]
call fcn.0045a0c8
lea eax, [ebp - 0x68]
mov edx, 0x45b268
call fcn.004047d8
mov eax, dword [ebp - 0x68]
call fcn.004049d0
push eax
call sub.kernel32.dll_DeleteFileA
push 0
lea eax, [ebp - 0x6c]
call fcn.0045a0c8
lea eax, [ebp - 0x6c]
mov edx, 0x45b268
call fcn.004047d8
mov eax, dword [ebp - 0x6c]
call fcn.004049d0
push eax
lea edx, [ebp - 0x70]
xor eax, eax
call fcn.00402a94
mov eax, dword [ebp - 0x70]
call fcn.004049d0
push eax
call sub.kernel32.dll_CopyFileA
mov eax, 0x45b288
call fcn.00459978
call fcn.0045aaa8
call fcn.0045ac0c
push 0x1388
call sub.kernel32.dll_Sleep
mov dl, 1
mov eax, dword [0x4160cc]
call fcn.00403790
call fcn.0045bae0
mov esi, eax
test bl, bl
je 0x45b0cc
push 0
lea ecx, [ebp - 0x74]
xor edx, edx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x74]
call fcn.004049d0
push eax
lea ecx, [ebp - 0x78]
mov edx, 1
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x78]
call fcn.004049d0
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x45b102
push 0
lea ecx, [ebp - 0x7c]
xor edx, edx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x7c]
call fcn.004049d0
push eax
lea ecx, [ebp - 0x80]
mov edx, 2
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x80]
call fcn.004049d0
push eax
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b124
lea eax, [ebp - 0x80]
mov edx, 0x20
call fcn.00404534
ret