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

Disassembly:
push 0x668
mov eax, 0x4c5849
call fcn.004ac3e5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x664], eax
lea eax, [ebp - 0x218]
push eax
mov ebx, ecx
push 0x104
mov dword [ebp - 0x660], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor edi, edi
lea eax, [ebp - 0x63c]
mov dword [ebp - 0x648], edi
mov dword [ebp - 0x644], 0x200
mov dword [ebp - 0x640], eax
mov dword [ebp - 4], edi
push dword [ebx + 0xc]
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x218]
call fcn.00409bb0
pop ecx
push eax
mov eax, str._se_crashdump_subzip_
call fcn.00409bb0
pop ecx
mov esi, eax
call fcn.00494f06
pop ecx
push 0x5f
call fcn.00412f0f
pop ecx
push dword [ebx + 0x10]
mov esi, eax
call fcn.00494f06
pop ecx
push 0x5f
call fcn.00412f0f
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00494f06
pop ecx
push eax
mov eax, 0x4e2b94
call fcn.00409bb0
mov edx, dword [ebp - 0x648]
pop ecx
mov ecx, dword [ebp - 0x640]
xor eax, eax
mov word [ecx + edx*2], ax
push dword [ebp - 0x640]
call fcn.004a30a5
pop ecx
push ebx
push eax
mov dword [ebp - 0x654], eax
call fcn.004a2618
pop ecx
pop ecx
mov dword [ebp - 0x674], edi
mov dword [ebp - 0x670], edi
mov dword [ebp - 0x66c], edi
mov byte [ebp - 4], 1
push dword [ebx + 0xc]
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, edi
je 0x4a074c
lea ecx, [ebp - 0x674]
push ecx
mov ecx, eax
call fcn.004a0510
pop ecx
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.00487629
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x4a076d
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x670]
mov esi, dword [ebp - 0x674]
sub eax, esi
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, edi
jbe 0x4a084c
mov dword [ebp - 0x650], esi
mov dword [ebp - 0x64c], eax
jmp 0x4a079d
mov esi, dword [ebp - 0x650]
cmp dword [esi + 0x14], 8
jb 0x4a07a5
mov esi, dword [esi]
lea eax, [ebp - 0x65c]
push eax
push esi
mov dword [ebp - 0x65c], edi
call fcn.00499a17
pop ecx
pop ecx
mov dword [ebp - 0x658], eax
cmp eax, edi
je 0x4a0839
push 0x5c
push esi
call fcn.004aa6ee
pop ecx
pop ecx
cmp eax, edi
je 0x4a07d5
lea esi, [eax + 2]
mov eax, 0xfde9
push eax
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x234]
call fcn.00412e4d
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x4a07f8
mov eax, dword [eax]
push dword [ebp - 0x65c]
mov ecx, dword [ebp - 0x658]
mov edi, dword [ebp - 0x654]
mov ebx, eax
call fcn.004a30f1
pop ecx
push 0
push 1
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.0040a0a5
push dword [ebp - 0x658]
call fcn.004a5452
mov ebx, dword [ebp - 0x660]
pop ecx
xor edi, edi
add dword [ebp - 0x650], 0x1c
dec dword [ebp - 0x64c]
jne 0x4a0797
mov eax, dword [ebx + 0x20]
cmp eax, edi
je 0x4a08bd
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebx + 0x34], edi
je 0x4a08bd
mov eax, 0xfde9
push eax
lea ecx, [ebp - 0x234]
lea eax, [ebx + 0x24]
push ecx
call fcn.00412ebd
pop ecx
pop ecx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x220], 0x10
mov ecx, dword [ebp - 0x234]
jae 0x4a0891
lea ecx, [ebp - 0x234]
push dword [ebp - 0x224]
mov edi, dword [ebp - 0x654]
mov ebx, str.usernote.txt
call fcn.004a30f1
pop ecx
push 0
push 1
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.0040a0a5
xor edi, edi
mov esi, dword [ebp - 0x654]
call fcn.004a32bf
mov ecx, dword [ebp - 0x640]
mov edx, dword [ebp - 0x648]
xor eax, eax
mov word [ecx + edx*2], ax
lea eax, [ebp - 0x64c]
push eax
push dword [ebp - 0x640]
mov dword [ebp - 0x64c], edi
call fcn.00499a17
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x4a0938
push dword [ebp - 0x64c]
mov edi, dword [ebp - 0x664]
mov ecx, esi
mov ebx, str.otherfile.zip
call fcn.004a30f1
pop ecx
push esi
call fcn.004a5452
mov edx, dword [ebp - 0x648]
pop ecx
mov ecx, dword [ebp - 0x640]
xor eax, eax
mov word [ecx + edx*2], ax
push dword [ebp - 0x640]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ebx, [ebp - 0x674]
call fcn.004083a6
lea eax, [ebp - 0x63c]
cmp dword [ebp - 0x640], eax
je 0x4a095d
push dword [ebp - 0x640]
call fcn.004a5f5b
pop ecx
call fcn.004ac468
ret