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

Disassembly:
push 0xb64
mov eax, 0x42eda0
call fcn.0042d090
mov edi, ecx
lea eax, [ebp - 0x2d8]
xor ebx, ebx
push eax
push 0x104
mov dword [ebp - 0xb5c], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
and dword [ebp - 0x748], ebx
lea eax, [ebp - 0x73c]
mov dword [ebp - 0x744], 0x200
mov dword [ebp - 0x740], eax
and dword [ebp - 4], ebx
lea edx, [ebp - 0x2d8]
lea ecx, [ebp - 0x748]
call fcn.00405200
mov edx, str._se_crashdump_
mov ecx, eax
call fcn.00405200
mov edx, dword [edi]
mov ecx, eax
call fcn.00405200
push 0x5f
pop edx
mov ecx, eax
call fcn.004050e0
push 0xa
mov esi, eax
lea eax, [ebp - 0x50]
push 0x20
push eax
push dword [edi + 0xc]
call fcn.00422793
lea edx, [ebp - 0x50]
mov ecx, esi
call fcn.00405200
push 0x5f
pop edx
mov ecx, eax
call fcn.004050e0
push 0xa
mov esi, eax
lea eax, [ebp - 0x90]
push 0x20
push eax
push dword [edi + 0x10]
call fcn.00422793
add esp, 0x20
lea edx, [ebp - 0x90]
mov ecx, esi
call fcn.00405200
push 0x5f
pop edx
mov ecx, eax
call fcn.004050e0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xa
push 0x20
lea ecx, [ebp - 0xd0]
push ecx
push eax
call fcn.00422793
add esp, 0x10
lea edx, [ebp - 0xd0]
mov ecx, esi
call fcn.00405200
mov edx, str..zip
mov ecx, eax
call fcn.00405200
mov ecx, dword [ebp - 0x740]
xor edx, edx
mov eax, dword [ebp - 0x748]
mov word [ecx + eax*2], dx
mov ecx, dword [ebp - 0x740]
call fcn.0041174c
mov esi, eax
mov edx, edi
mov ecx, esi
mov dword [ebp - 0xb68], esi
call fcn.0040e67d
mov edx, edi
mov ecx, esi
call fcn.0040e9db
mov edx, edi
mov ecx, esi
call fcn.0040dc62
mov eax, dword [edi + 0x40]
sub eax, dword [edi + 0x3c]
push 0x18
pop ecx
cdq
idiv ecx
and dword [ebp - 0xb64], ebx
mov dword [ebp - 0xb70], ecx
test eax, eax
je 0x40da5a
mov dword [ebp - 0xb6c], 0x5c
xor esi, esi
mov eax, dword [edi + 0x3c]
push ecx
push ecx
add eax, esi
lea ecx, [ebp - 0xb6c]
push ecx
mov ecx, eax
mov dword [ebp - 0xb60], eax
call fcn.0040e3b9
cmp eax, 0xffffffff
jne 0x40d969
push dword [ebp - 0xb60]
lea ecx, [ebp - 0x320]
call fcn.004068d0
or ebx, 1
jmp 0x40d981
push ecx
mov ecx, dword [ebp - 0xb60]
inc eax
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.00407e88
or ebx, 2
push eax
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0xb5c], ebx
call fcn.004068a0
mov dword [ebp - 4], 2
test bl, 2
je 0x40d9b3
and ebx, 0xfffffffd
lea ecx, [ebp - 0x308]
mov dword [ebp - 0xb5c], ebx
call fcn.00402610
mov byte [ebp - 4], 3
test bl, 1
je 0x40d9d0
and ebx, 0xfffffffe
lea ecx, [ebp - 0x320]
mov dword [ebp - 0xb5c], ebx
call fcn.00402610
push 0xfde9
lea edx, [ebp - 0x2f0]
lea ecx, [ebp - 0x338]
call fcn.00409dad
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [edi + 0x3c]
add ecx, esi
cmp dword [ecx + 0x14], 8
jb 0x40d9f8
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 0x10
jb 0x40da00
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp - 0xb68]
mov edx, eax
call fcn.0041183f
pop ecx
push 0
push 1
lea ecx, [ebp - 0x338]
call fcn.00408008
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 0
call fcn.00402610
push 0x18
pop eax
add esi, eax
mov ecx, dword [ebp - 0xb64]
mov eax, dword [edi + 0x40]
inc ecx
sub eax, dword [edi + 0x3c]
cdq
idiv dword [ebp - 0xb70]
mov dword [ebp - 0xb64], ecx
cmp ecx, eax
jb 0x40d933
mov esi, dword [ebp - 0xb68]
mov ecx, esi
call fcn.0041196c
and dword [ebp - 0xb58], 0
lea eax, [ebp - 0xb4c]
mov dword [ebp - 0xb54], 0x200
mov dword [ebp - 0xb50], eax
lea edx, [ebp - 0x2d8]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb58]
call fcn.00405200
push 0x5c
pop edx
mov ecx, eax
call fcn.004050e0
mov edx, dword [edi]
mov ecx, eax
call fcn.00405200
mov edx, str..zip
mov ecx, eax
call fcn.00405200
mov ecx, dword [ebp - 0xb50]
xor edx, edx
mov eax, dword [ebp - 0xb58]
push edx
mov word [ecx + eax*2], dx
mov ecx, dword [ebp - 0x740]
mov eax, dword [ebp - 0x748]
mov esi, dword [ebp - 0xb50]
push esi
mov word [ecx + eax*2], dx
push dword [ebp - 0x740]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x740]
xor esi, esi
mov eax, dword [ebp - 0x748]
mov edx, edi
mov word [ecx + eax*2], si
mov ecx, dword [ebp - 0x740]
call fcn.0040dfca
mov ecx, dword [ebp - 0x740]
xor edx, edx
mov eax, dword [ebp - 0x748]
mov word [ecx + eax*2], dx
push dword [ebp - 0x740]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xb4c]
cmp dword [ebp - 0xb50], eax
je 0x40db3f
push dword [ebp - 0xb50]
call fcn.0041aac0
pop ecx
lea eax, [ebp - 0x73c]
cmp dword [ebp - 0x740], eax
je 0x40db59
push dword [ebp - 0x740]
call fcn.0041aac0
pop ecx
call fcn.0042d04b
ret