Function at 0x4be7f4
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x4be7fc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4bf2a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x15], 0
xor edx, edx
push ebp
push 0x4bf235
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
mov edx, 0x4bf2c8
call fcn.004071b0
call fcn.0044b01c
lea edx, [ebp - 0x2c]
call fcn.0044bfac
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov ecx, 0x4bf2f8
call fcn.00407618
push 0x4bf310
push 0x4bf328
push 0x4bf33c
push dword [ebp - 8]
push 0x4bf360
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0x30]
push eax
push 0
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
xor ecx, ecx
call fcn.004b26d0
mov byte [ebp - 0x16], 1
call fcn.00449ae8
call fcn.0044a2d4
test al, al
je 0x4bec5a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 6], 0
jne 0x4beb3e
call fcn.0044b01c
lea edx, [ebp - 0xc]
call fcn.0044b504
call fcn.00449ae8
call fcn.0044a2f4
test al, al
je 0x4be911
call fcn.0044b01c
lea edx, [ebp - 0x3c]
call fcn.0044bf00
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00412558
lea eax, [ebp - 0x38]
mov edx, 0x4bf370
call fcn.00407558
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0041820c
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x10]
mov ecx, 0x4bf3ac
call fcn.00407618
jmp 0x4be92e
call fcn.0044b01c
lea edx, [ebp - 0x40]
call fcn.0044bfac
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x10]
mov ecx, 0x4bf3d0
call fcn.00407618
push 0
mov eax, dword [ebp - 0x10]
call fcn.004071e8
push eax
mov eax, dword [ebp - 0xc]
call fcn.004071e8
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
je 0x4be992
push 0x4bf310
push 0x4bf3f4
push 0x4bf40c
push dword [ebp - 0xc]
push 0x4bf41c
push dword [ebp - 0x10]
push 0x4bf360
lea eax, [ebp - 0x44]
mov edx, 5
call fcn.004076fc
mov eax, dword [ebp - 0x44]
push eax
push 0
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
xor ecx, ecx
call fcn.004b26d0
jmp 0x4be9d7
push 0x4bf310
push 0x4bf3f4
push 0x4bf40c
push dword [ebp - 0xc]
push 0x4bf41c
push dword [ebp - 0x10]
push 0x4bf360
lea eax, [ebp - 0x48]
mov edx, 5
call fcn.004076fc
mov eax, dword [ebp - 0x48]
push eax
push 0
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
mov cl, 1
call fcn.004b26d0
push 0x4bf430
push dword [ebp - 0x10]
push 0x4bf440
lea eax, [ebp - 4]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0x14]
call fcn.004c01d0
test al, al
je 0x4bea0a
lea eax, [ebp - 4]
mov edx, 0x4bf454
call fcn.00407558
lea eax, [ebp - 4]
mov edx, 0x4bf46c
call fcn.00407558
call fcn.00449ae8
call fcn.0044a2f4
test al, al
je 0x4bec5a
push 0x14
call sub.kernel32.dll_Sleep_1
call fcn.0044b01c
lea edx, [ebp - 0x4c]
call fcn.0044bfac
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0xc]
mov ecx, 0x4bf2c8
call fcn.00407618
call fcn.0044b01c
lea edx, [ebp - 0x58]
call fcn.0044bf00
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00412558
lea eax, [ebp - 0x54]
mov edx, 0x4bf370
call fcn.00407558
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.0041820c
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x10]
mov ecx, 0x4bf2c8
call fcn.00407618
push 0
mov eax, dword [ebp - 0x10]
call fcn.004071e8
push eax
mov eax, dword [ebp - 0xc]
call fcn.004071e8
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
je 0x4beaf4
push 0x4bf310
push 0x4bf3f4
push 0x4bf40c
push dword [ebp - 0xc]
push 0x4bf41c
push dword [ebp - 0x10]
push 0x4bf360
lea eax, [ebp - 0x5c]
mov edx, 5
call fcn.004076fc
mov eax, dword [ebp - 0x5c]
push eax
push 0
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
xor ecx, ecx
call fcn.004b26d0
jmp 0x4bec5a
push 0x4bf310
push 0x4bf3f4
push 0x4bf40c
push dword [ebp - 0xc]
push 0x4bf41c
push dword [ebp - 0x10]
push 0x4bf360
lea eax, [ebp - 0x60]
mov edx, 5
call fcn.004076fc
mov eax, dword [ebp - 0x60]
push eax
push 0
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
mov cl, 1
call fcn.004b26d0
jmp 0x4bec5a
call fcn.0044b01c
lea edx, [ebp - 0x64]
call fcn.0044bfac
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 4]
mov ecx, 0x4bf2c8
call fcn.00407618
push 0
mov eax, dword [0x4c91c4]
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4b63c4]
call fcn.004b65c0
mov dword [ebp - 0x24], eax
xor edx, edx
push ebp
push 0x4bec46
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x24]
call fcn.004b66d0
test al, al
je 0x4bebd4
push 0x4bf480
push 0x4bf498
push 0x4bf40c
push dword [ebp - 4]
push 0x4bf360
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0x68]
push eax
push 0
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
xor ecx, ecx
call fcn.004b26d0
mov byte [ebp - 0x15], 1
jmp 0x4bec30
push 0x4bf480
push 0x4bf498
push 0x4bf40c
push dword [ebp - 4]
push 0x4bf360
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x1c]
lea eax, [ebp - 0x70]
mov edx, 0x4bf4b0
call fcn.00407618
mov eax, dword [ebp - 0x70]
push eax
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
mov cl, 2
call fcn.004b26d0
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004be388
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bec4d
mov eax, dword [ebp - 0x24]
call fcn.00405668
ret
call fcn.00449ae8
call fcn.0044a2d4
test al, al
je 0x4beef8
mov dl, 1
mov eax, dword [0x4bd23c]
call fcn.00405638
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4beef1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.004bf654
test al, al
je 0x4bedda
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.004bfccc
mov eax, dword [ebp - 8]
call fcn.004071e8
push eax
call sub.kernel32.dll_DeleteFileW
push 0x4bf310
push 0x4bf4cc
push 0x4bf40c
push dword [ebp - 8]
push 0x4bf360
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0x74]
push eax
push 0
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
xor ecx, ecx
call fcn.004b26d0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4b6808]
call fcn.004b6a68
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x4bedd3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
call fcn.004b6b4c
mov byte [ebp - 0x16], al
cmp byte [ebp - 0x16], 0
je 0x4bed7c
push 0x4bf480
push 0x4bf4e0
push 0x4bf40c
push dword [ebp - 4]
push 0x4bf360
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0x78]
push eax
push 0
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
xor ecx, ecx
call fcn.004b26d0
jmp 0x4bedbd
push 0x4bf480
push 0x4bf4e0
push 0x4bf40c
push dword [ebp - 4]
push 0x4bf360
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_GetLastError_1
push eax
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
mov cl, 2
call fcn.004b2980
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4beedb
mov eax, dword [ebp - 0x20]
call fcn.00405668
ret
call fcn.0044b01c
lea edx, [ebp - 0x80]
call fcn.0044bfac
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 4]
mov ecx, 0x4bf2c8
call fcn.00407618
push 0
mov eax, dword [0x4c91c4]
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4b63c4]
call fcn.004b65c0
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4beed4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
call fcn.004b66d0
mov byte [ebp - 0x16], al
cmp byte [ebp - 0x16], 0
je 0x4bee77
push 0x4bf480
push 0x4bf498
push 0x4bf40c
push dword [ebp - 4]
push 0x4bf360
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0x84]
push eax
push 0
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
xor ecx, ecx
call fcn.004b26d0
jmp 0x4beebe
push 0x4bf480
push 0x4bf498
push 0x4bf40c
push dword [ebp - 4]
push 0x4bf360
lea eax, [ebp - 0x88]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0x88]
push eax
call sub.kernel32.dll_GetLastError_1
push eax
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
mov cl, 2
call fcn.004b2980
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4beedb
mov eax, dword [ebp - 0x24]
call fcn.00405668
ret
push 0x4bf500
push 0x4bf328
push 0x4bf518
call fcn.0044b01c
lea edx, [ebp - 0x90]
call fcn.0044bf00
push dword [ebp - 0x90]
push 0x4bf360
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0x8c]
push eax
push 0
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
xor ecx, ecx
call fcn.004b26d0
mov eax, dword [ebp - 8]
call fcn.004071e8
push eax
call sub.kernel32.dll_DeleteFileW
push 0x4bf310
push 0x4bf4cc
push 0x4bf40c
push dword [ebp - 8]
push 0x4bf360
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0x94]
push eax
push 0
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
xor ecx, ecx
call fcn.004b26d0
mov eax, dword [ebp - 0x14]
call fcn.004bdec4
cmp byte [ebp - 0x16], 0
je 0x4bf0b5
mov eax, dword [ebp - 0x14]
call fcn.004c0090
test al, al
jne 0x4befe5
push 0x4bf538
push 0x4bf550
push 0x4bf56c
call sub.kernel32.dll_GetLastError_1
push eax
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
mov cl, 2
call fcn.004b2980
mov eax, dword [ebp - 0x14]
call fcn.004c0024
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x4bf0ae
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x28], 0
jne 0x4bf02c
push 0x4bf538
push 0x4bf594
push 0x4bf56c
call sub.kernel32.dll_GetLastError_1
push eax
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
mov cl, 2
call fcn.004b2980
xor ebx, ebx
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004c0184
mov eax, dword [ebp - 0x14]
call fcn.004c0130
test al, al
jne 0x4bf091
cmp ebx, 0x927c0
jl 0x4bf079
push 0x4bf538
push 0x4bf5b0
push 0x4bf5cc
push 0x4bf5e0
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
mov cl, 2
call fcn.004b26d0
mov byte [ebp - 0x16], 0
jmp 0x4bf091
mov eax, dword [0x4c9394]
mov eax, dword [eax]
call fcn.004aab40
push 0x64
call sub.kernel32.dll_Sleep_1
add ebx, 0x64
jmp 0x4bf038
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf0bf
cmp dword [ebp - 0x28], 0
je 0x4bf0ad
mov eax, dword [ebp - 0x28]
push eax
call sub.user32.dll_DestroyWindow
ret
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004be388
push 0x7d0
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 4]
mov edx, 0x4bf2c8
call fcn.004071b0
call fcn.0044b01c
lea edx, [ebp - 0x98]
call fcn.0044bfac
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 4]
call fcn.00407558
mov eax, dword [ebp - 0x98]
call fcn.00411f54
test al, al
je 0x4bf191
call fcn.0044b01c
lea edx, [ebp - 0x9c]
call fcn.0044bfac
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 4]
call fcn.00407558
mov eax, dword [ebp - 0x9c]
call fcn.004071e8
push eax
call sub.kernel32.dll_DeleteFileW
push 0x4bf310
push 0x4bf4cc
push 0x4bf40c
call fcn.0044b01c
lea edx, [ebp - 0xa4]
call fcn.0044bfac
push dword [ebp - 0xa4]
push dword [ebp - 4]
push 0x4bf360
lea eax, [ebp - 0xa0]
mov edx, 4
call fcn.004076fc
mov eax, dword [ebp - 0xa0]
push eax
push 0
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
xor ecx, ecx
call fcn.004b26d0
jmp 0x4bf1ee
push 0x4bf310
push 0x4bf600
push 0x4bf40c
call fcn.0044b01c
lea edx, [ebp - 0xac]
call fcn.0044bfac
push dword [ebp - 0xac]
push dword [ebp - 4]
push 0x4bf360
lea eax, [ebp - 0xa8]
mov edx, 4
call fcn.004076fc
mov eax, dword [ebp - 0xa8]
push eax
call sub.kernel32.dll_GetLastError_1
push eax
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
mov cl, 1
call fcn.004b2980
push 0x4bf480
push 0x4bf480
push 0x4bf61c
push 0
call fcn.004b2030
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 5]
xor ecx, ecx
call fcn.004b26d0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 7], 2
sete al
and al, byte [ebp - 0x16]
je 0x4bf22b
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.004be388
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bf27d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf2af
lea eax, [ebp - 0xac]
mov edx, 0x21
call fcn.00407154
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00407154
ret