Function at 0x4c12c0
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7a94
mov eax, dword fs:[0]
push eax
sub esp, 0xabc
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xaac], 0
lea eax, [ebp - 0x62c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x424]
call fcn.0040adf0
mov dword [ebp - 4], 0
push 0x4d3d60
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x5f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
push 0x5f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
push 0x5f
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push str._se_crashdump_
lea ecx, [ebp - 0x62c]
push ecx
lea edx, [ebp - 0x424]
push edx
call fcn.0040ae90
add esp, 8
push eax
call fcn.0040ae90
add esp, 8
push eax
call fcn.0040ae90
add esp, 8
push eax
call fcn.00415400
add esp, 8
push eax
call fcn.004399a0
add esp, 8
push eax
call fcn.00415400
add esp, 8
push eax
call fcn.004399a0
add esp, 8
push eax
call fcn.00415400
add esp, 8
push eax
call fcn.004399a0
add esp, 8
push eax
call fcn.0040ae90
add esp, 8
lea ecx, [ebp - 0x424]
call fcn.0040aee0
push eax
call fcn.00467730
add esp, 4
mov dword [ebp - 0x630], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x630]
push ecx
call fcn.004c16d0
add esp, 8
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x630]
push eax
call fcn.004754a0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x630]
push edx
call fcn.004c0e50
add esp, 8
mov dword [ebp - 0xa48], 0
jmp 0x4c1419
mov eax, dword [ebp - 0xa48]
add eax, 1
mov dword [ebp - 0xa48], eax
mov ecx, dword [ebp + 8]
add ecx, 0x40
call fcn.00415890
cmp dword [ebp - 0xa48], eax
jae 0x4c15e8
mov ecx, dword [0x4e7a84]
push ecx
push 0x5c
mov edx, dword [ebp - 0xa48]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x40
call fcn.004259e0
mov ecx, eax
call fcn.0043abd0
mov dword [ebp - 0xa68], eax
mov eax, dword [ebp - 0xa68]
cmp eax, dword [0x4e7a84]
jne 0x4c1480
mov ecx, dword [ebp - 0xa48]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x40
call fcn.004259e0
mov dword [ebp - 0xab0], eax
jmp 0x4c14e2
mov edx, dword [0x4e7a84]
push edx
mov eax, dword [ebp - 0xa68]
add eax, 1
push eax
lea ecx, [ebp - 0xa88]
push ecx
mov edx, dword [ebp - 0xa48]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x40
call fcn.004259e0
mov ecx, eax
call fcn.0040d040
mov dword [ebp - 0xab4], eax
mov eax, dword [ebp - 0xab4]
mov dword [ebp - 0xab8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xaac]
or ecx, 1
mov dword [ebp - 0xaac], ecx
mov edx, dword [ebp - 0xab8]
mov dword [ebp - 0xab0], edx
mov eax, dword [ebp - 0xab0]
mov dword [ebp - 0xa6c], eax
mov ecx, dword [ebp - 0xa6c]
push ecx
lea ecx, [ebp - 0xa64]
call fcn.00406f90
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0xaac]
and edx, 1
je 0x4c1524
and dword [ebp - 0xaac], 0xfffffffe
lea ecx, [ebp - 0xa88]
call fcn.00406fd0
push 0
push 0xfde9
lea ecx, [ebp - 0xa8c]
call fcn.0040a290
mov dword [ebp - 0xabc], eax
mov eax, dword [ebp - 0xabc]
mov dword [ebp - 0xac0], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xac0]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0xa64]
push eax
lea ecx, [ebp - 0xaa8]
push ecx
call fcn.004bfa10
add esp, 0xc
mov dword [ebp - 0xac4], eax
mov edx, dword [ebp - 0xac4]
mov dword [ebp - 0xac8], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xa48]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x40
call fcn.004259e0
mov ecx, eax
call fcn.00407070
push eax
mov ecx, dword [ebp - 0xac8]
call fcn.00406eb0
push eax
mov ecx, dword [ebp - 0x630]
push ecx
call fcn.00467a90
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xaa8]
call fcn.00406d00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa8c]
call fcn.00439bd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa64]
call fcn.00406fd0
jmp 0x4c140a
mov edx, dword [ebp - 0x630]
push edx
call fcn.00467620
add esp, 4
lea ecx, [ebp - 0xa44]
call fcn.0040adf0
mov byte [ebp - 4], 6
push 0x4d3d8c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0x5c
lea edx, [ebp - 0x62c]
push edx
lea eax, [ebp - 0xa44]
push eax
call fcn.0040ae90
add esp, 8
push eax
call fcn.00415400
add esp, 8
push eax
call fcn.0040ae90
add esp, 8
push eax
call fcn.0040ae90
add esp, 8
push 0
lea ecx, [ebp - 0xa44]
call fcn.0040aee0
push eax
lea ecx, [ebp - 0x424]
call fcn.0040aee0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x424]
call fcn.0040aee0
push eax
call fcn.004c0930
add esp, 8
lea ecx, [ebp - 0x424]
call fcn.0040aee0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa44]
call fcn.0040ae20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.0040ae20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret