Function at 0x4cba7c
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4cba84
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4cc040
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4cbffd
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
mov ecx, pe_nt_image_headers32
call fcn.00405cc8
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004143b0
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.00405b1c
mov ebx, 3
mov eax, dword [ebp - 8]
call fcn.0040c98c
test al, al
jne 0x4cbaf4
mov eax, dword [ebp - 8]
call fcn.0040c9b0
dec ebx
jne 0x4cbadd
mov eax, dword [ebp - 8]
call fcn.0040c98c
test al, al
jne 0x4cbb2d
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.00403408
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040cd8c
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
mov ecx, 0x4cc060
call fcn.00405f9c
mov eax, dword [ebp - 8]
call fcn.0040c9b0
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004cb168
test al, al
jne 0x4cbb69
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.00403408
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0040cd8c
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 8]
mov ecx, 0x4cc060
call fcn.00405f9c
mov eax, dword [ebp - 8]
call fcn.0040c9b0
lea eax, [ebp - 0x38]
mov ecx, 0x4cc080
mov edx, dword [ebp - 8]
call fcn.00405f9c
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0xc]
call fcn.004ca9dc
lea eax, [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00405f9c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x476078]
call fcn.004763f4
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x483968]
call fcn.00403d7c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0xe4], edx
mov dword [eax + 0xe0], 0x483d34
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0xdc], edx
mov dword [eax + 0xd8], 0x483a68
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00403408
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0040cd8c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
add eax, 0x88
call fcn.00405ac8
mov eax, dword [ebp - 0x14]
add eax, 0x8c
mov edx, 0x4cc0a8
call fcn.00405ac8
mov dl, 1
mov eax, dword [0x479310]
call fcn.004793d4
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x421958]
call fcn.00403d7c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
call fcn.0040c944
test al, al
je 0x4cbc59
mov eax, dword [ebp - 4]
call fcn.004cafdc
test al, al
jne 0x4cbc59
mov eax, dword [ebp - 4]
call fcn.00405b54
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 4]
call fcn.0040c944
test al, al
je 0x4cbccf
xor edx, edx
push ebp
push 0x4cbc88
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.004764c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cbcda
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00478a94
mov edx, 0x4cc0d4
mov eax, dword [ebp - 0x14]
call fcn.00478b64
inc eax
jle 0x4cbcfa
mov ecx, 0x4cc0d4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.00477544
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00426e88
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.00479cf4
lea eax, [ebp - 0x44]
mov edx, dword [ebp + 8]
add edx, 0x864
mov ecx, 0x33
call fcn.00405cc8
mov eax, dword [ebp - 0x44]
push eax
mov ecx, 0x4cc0f0
mov edx, 0x4cc108
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 4]
lea eax, [ebp - 0x48]
mov edx, dword [ebp + 8]
add edx, 0x8ca
mov ecx, pe_nt_image_headers32
call fcn.00405cc8
mov eax, dword [ebp - 0x48]
push eax
mov ecx, 0x4cc120
mov edx, 0x4cc108
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 4]
lea eax, [ebp - 0x4c]
mov edx, dword [ebp + 8]
add edx, 0xaca
mov ecx, 0x15
call fcn.00405cc8
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, 0x4cc144
mov edx, 0x4cc108
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp + 8]
cmp dword [eax + 0xaf4], 1
sbb eax, eax
inc eax
push eax
mov ecx, 0x4cc168
mov edx, 0x4cc108
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea eax, [ebp - 0x50]
mov edx, dword [ebp + 8]
add edx, 0xb5e
mov ecx, 6
call fcn.00405cc8
mov eax, dword [ebp - 0x50]
push eax
mov ecx, 0x4cc184
mov edx, 0x4cc108
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 4]
lea eax, [ebp - 0x54]
mov edx, dword [ebp + 8]
add edx, 0xaf8
mov ecx, 0x33
call fcn.00405cc8
mov eax, dword [ebp - 0x54]
push eax
mov ecx, 0x4cc19c
mov edx, 0x4cc108
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 4]
lea eax, [ebp - 0x58]
mov edx, dword [ebp + 8]
add edx, 0xb70
mov ecx, 0x33
call fcn.00405cc8
mov eax, dword [ebp - 0x58]
push eax
mov ecx, 0x4cc1b8
mov edx, 0x4cc108
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp + 8]
cmp dword [eax + 0xb6c], 1
sbb eax, eax
inc eax
push eax
mov ecx, 0x4cc1e0
mov edx, 0x4cc108
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea eax, [ebp - 0x5c]
mov edx, dword [ebp + 8]
add edx, 0xbd6
mov ecx, 0x33
call fcn.00405cc8
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, 0x4cc200
mov edx, 0x4cc108
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xc40]
push eax
mov ecx, 0x4cc22c
mov edx, 0x4cc108
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea eax, [ebp - 0x60]
mov edx, dword [ebp + 8]
add edx, 0xc48
mov ecx, 0x33
call fcn.00405cc8
mov eax, dword [ebp - 0x60]
push eax
mov ecx, 0x4cc240
mov edx, 0x4cc108
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc44]
push eax
mov ecx, 0x4cc268
mov edx, 0x4cc108
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.004275c0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.00479e18
mov edx, 0x4cc0d4
mov eax, dword [ebp - 0x14]
call fcn.00478b64
inc eax
jne 0x4cbf21
push 1
mov edx, 0x4cc0d4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.00477ac8
jmp 0x4cbf33
push 1
mov edx, 0x4cc0d4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.00478278
mov eax, dword [ebp - 4]
call fcn.004caeb4
mov eax, dword [ebp - 0x14]
call fcn.00476d3c
mov eax, dword [ebp - 4]
call fcn.004cafdc
test al, al
je 0x4cbfd3
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 4]
call fcn.0040ce88
mov eax, dword [ebp - 0x64]
mov edx, 0x4cc288
call fcn.0040b964
test al, al
je 0x4cbfa2
push 0
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.0040cd8c
lea eax, [ebp - 0x68]
mov edx, 0x4cc2ac
call fcn.00405edc
mov eax, dword [ebp - 0x68]
call fcn.00405b54
push eax
mov eax, dword [ebp - 4]
call fcn.00405b54
push eax
call sub.kernel32.dll_CopyFileW
jmp 0x4cbfd3
push 0
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.0040cd8c
lea eax, [ebp - 0x6c]
mov edx, 0x4cc288
call fcn.00405edc
mov eax, dword [ebp - 0x6c]
call fcn.00405b54
push eax
mov eax, dword [ebp - 4]
call fcn.00405b54
push eax
call sub.kernel32.dll_CopyFileW
mov eax, dword [ebp - 0x18]
call fcn.00403dac
mov eax, dword [ebp - 0x1c]
call fcn.00403dac
mov eax, dword [ebp - 0x14]
call fcn.00403dac
mov eax, dword [ebp - 0x20]
call fcn.00403dac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cc018
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc047
lea eax, [ebp - 0x6c]
mov edx, 0x13
call fcn.00405ac0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405ac0
ret