Function at 0x40dc62
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x71c
mov eax, 0x42ee27
call fcn.0042d090
mov edi, edx
mov dword [ebp - 0x704], edi
mov dword [ebp - 0x728], ecx
lea eax, [ebp - 0x2d8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
and dword [ebp - 0x700], 0
lea eax, [ebp - 0x6f4]
mov dword [ebp - 0x6fc], 0x200
mov dword [ebp - 0x6f8], eax
and dword [ebp - 4], 0
lea edx, [ebp - 0x2d8]
mov edi, dword [edi + 0xc]
lea ecx, [ebp - 0x700]
call fcn.00405200
mov edx, str._se_crashdump_subzip_
mov ecx, eax
call fcn.00405200
push 0xa
mov esi, eax
lea eax, [ebp - 0x50]
push 0x20
push eax
push edi
call fcn.00422793
lea edx, [ebp - 0x50]
mov ecx, esi
call fcn.00405200
push 0x5f
pop edx
mov ecx, eax
call fcn.004050e0
mov edi, dword [ebp - 0x704]
mov esi, eax
push 0xa
push 0x20
lea eax, [ebp - 0x90]
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
lea edx, [ebp - 0xd0]
mov ecx, esi
call fcn.00405200
mov edx, str..zip
mov ecx, eax
call fcn.00405200
mov ecx, dword [ebp - 0x6f8]
xor edx, edx
mov eax, dword [ebp - 0x700]
mov word [ecx + eax*2], dx
mov ecx, dword [ebp - 0x6f8]
call fcn.0041174c
mov ebx, eax
mov edx, edi
mov ecx, ebx
mov dword [ebp - 0x710], ebx
call fcn.00410087
xor eax, eax
mov dword [ebp - 0x71c], eax
mov dword [ebp - 0x718], eax
mov dword [ebp - 0x714], eax
lea eax, [ebp - 0x71c]
mov byte [ebp - 4], 1
mov edx, dword [edi + 0xc]
push eax
call fcn.0040db5f
mov edx, dword [edi + 0x10]
add esp, 0x14
mov ecx, dword [edi + 0xc]
call fcn.0040bdc7
mov esi, eax
test esi, esi
je 0x40ddd4
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x718]
mov esi, 0xfde9
mov edi, dword [ebp - 0x71c]
sub eax, edi
push 0x18
cdq
pop ecx
idiv ecx
and dword [ebp - 0x70c], 0
mov dword [ebp - 0x724], eax
test eax, eax
je 0x40deb8
cmp dword [edi + 0x14], 8
jb 0x40de0c
mov ebx, dword [edi]
jmp 0x40de0e
mov ebx, edi
and dword [ebp - 0x708], 0
lea edx, [ebp - 0x708]
mov ecx, ebx
call fcn.0040ae3b
mov dword [ebp - 0x720], eax
test eax, eax
je 0x40de96
push 0x5c
push ebx
call fcn.0041969d
test eax, eax
push esi
push 0xffffffffffffffff
lea ecx, [eax + 2]
cmovne ebx, ecx
lea ecx, [ebp - 0x2f0]
mov edx, ebx
call fcn.00409d37
add esp, 0x10
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x40de5b
mov eax, dword [eax]
mov ebx, dword [ebp - 0x720]
mov edx, eax
push ecx
push dword [ebp - 0x708]
mov ecx, dword [ebp - 0x710]
push ebx
call fcn.0041178a
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f0]
push 0
push 1
call fcn.00408008
push 1
push ebx
call fcn.004171e6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x70c]
add edi, 0x18
inc ecx
mov dword [ebp - 0x70c], ecx
cmp ecx, dword [ebp - 0x724]
jb 0x40de02
mov ebx, dword [ebp - 0x710]
mov edi, dword [ebp - 0x704]
cmp dword [edi + 0x20], 0
je 0x40df25
push 0xffffffffffffffff
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [edi + 0x24]
cmp dword [edx + 0x10], 0
je 0x40df25
push esi
lea ecx, [ebp - 0x2f0]
call fcn.00409dad
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2f0]
cmp dword [ebp - 0x2dc], 0x10
mov edx, str.usernote.txt
push dword [ebp - 0x2e0]
cmovae eax, dword [ebp - 0x2f0]
mov ecx, ebx
push eax
call fcn.0041178a
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f0]
push 0
push 1
call fcn.00408008
mov ecx, ebx
call fcn.0041196c
mov ecx, dword [ebp - 0x6f8]
xor edx, edx
mov eax, dword [ebp - 0x700]
and dword [ebp - 0x704], 0
mov word [ecx + eax*2], dx
lea edx, [ebp - 0x704]
mov ecx, dword [ebp - 0x6f8]
call fcn.0040ae3b
mov esi, eax
test esi, esi
je 0x40df9f
push ecx
push dword [ebp - 0x704]
mov ecx, dword [ebp - 0x728]
mov edx, str.otherfile.zip
push esi
call fcn.0041178a
add esp, 0xc
push 1
push esi
call fcn.004171e6
mov eax, dword [ebp - 0x700]
xor edx, edx
pop ecx
pop ecx
mov ecx, dword [ebp - 0x6f8]
mov word [ecx + eax*2], dx
push dword [ebp - 0x6f8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x71c]
call fcn.00407dc6
lea eax, [ebp - 0x6f4]
cmp dword [ebp - 0x6f8], eax
je 0x40dfc4
push dword [ebp - 0x6f8]
call fcn.0041aac0
pop ecx
call fcn.0042d04b
ret