Function at 0x4a8970
Capabilities:
Delete file
Get common file path
Get file size

Disassembly:
mov eax, 0xd050
call fcn.006ab750
push ebx
push ebp
push esi
push edi
push str.Software
push str.SoftwareNCH_SoftwareDebut_s
mov esi, 0x104
lea edi, [esp + 0x50]
call fcn.004af0d0
add esp, 8
lea eax, [esp + 0xe40]
push eax
push 0x6bc0cc
push 0x6ccc50
mov ecx, edi
mov edx, SysReAllocStringLen
call fcn.004af7e0
call fcn.004c90f0
mov ebp, eax
shr ebp, 0x14
call fcn.004c9160
xor edi, edi
lea ecx, [esp + 0x48]
push ecx
push edi
push edi
mov ebx, eax
shr ebx, 0x14
cmp byte [esp + 0xd070], 0
push 0x1a
mov word [esp + 0x310], di
mov word [esp + 0x58], di
push edi
je 0x4a8a31
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str..dmp
push 0x6bc140
lea edx, [esp + 0x308]
push edx
lea eax, [esp + 0x54]
call fcn.004ad3a0
lea eax, [esp + 0x300]
push eax
call fcn.004a94e0
test al, al
jne 0x4a8b17
mov word [esp + 0x300], di
jmp 0x4a8b17
mov byte [esp + 0x27], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str..dmp
push str.Debut_IP_829955
lea edx, [esp + 0x308]
push edx
lea eax, [esp + 0x54]
call fcn.004ad3a0
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea eax, [esp + 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4a8ab2
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4a8aa6
cmp dword [esp + 0x14], edi
jbe 0x4a8aa6
push esi
mov dword [esp + 0xd06c], 0x6efcbc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4a8b17
push esi
mov byte [esp + 0x17], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push str.DmpErr
mov eax, str.Errors
call fcn.004811b0
cmp eax, edi
mov esi, 0x104
lea edi, [esp + 0x828]
je 0x4a8ae2
push eax
push str.DmpErr__X_
call fcn.004af0d0
add esp, 8
jmp 0x4a8afd
cmp byte [esp + 0x13], 0
je 0x4a8af0
push str.DmpSize
jmp 0x4a8af5
push str.DmpUnknownErr
call fcn.004af0d0
add esp, 4
lea edx, [esp + 0x828]
mov dword [esp + 0xd068], edx
mov word [esp + 0x300], 0
xor edi, edi
cmp word [esp + 0x300], di
mov word [esp + 0x620], di
jne 0x4a8b36
mov word [esp + 0x620], di
jmp 0x4a8c0e
push edi
call fcn.0069c84d
mov edi, eax
add esp, 4
lea eax, [esp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 2
mov eax, dword [esp + 0x2f8]
je 0x4a8b62
mov eax, dword [esp + 0x2a4]
mov ecx, dword [esp + 0x250]
add eax, ecx
mov edx, eax
shl edx, 4
sub edx, eax
lea edi, [edi + edx*4]
lea esi, [esp + 0xc38]
mov eax, edi
call fcn.004a75b0
test edi, edi
mov word [esp + 0x48], 0
je 0x4a8bc9
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], 0xffffffff
call fcn.0069c202
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
push str._.2d__.2d__.2d
lea edx, [esp + 0x60]
call fcn.00401000
add esp, 0x18
mov edx, dword fs:[0x2c]
mov eax, dword [edx]
cmp byte [eax + 1], 0
jne 0x4a8bdd
call fcn.004af060
call fcn.0069d16b
cdq
mov ecx, 0x2710
idiv ecx
lea eax, [esp + 0xc38]
push edx
lea edx, [esp + 0x4c]
push edx
push eax
push str._s__s__04d.dmp
lea edx, [esp + 0x630]
call fcn.00401000
add esp, 0x10
xor edi, edi
push ebx
lea ecx, [esp + 0x104c]
push ebp
lea eax, [esp + 0x628]
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0x2001
call fcn.004a9dc0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov word [eax + edx*2], di
lea edx, [esp + 0x1048]
lea ecx, [esp + 0x5050]
push edx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0x2001
call fcn.00480c70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xa30]
push edx
mov word [ecx + eax*2], di
call fcn.004abbc0
mov esi, dword [0x735b84]
lea eax, [esp + 0x508]
push eax
mov dword [esp + 0x50c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.004af5a0
test al, al
mov eax, str._wine
jne 0x4a8cb6
mov eax, 0x6bc0cc
lea ecx, [esp + 0xa30]
push ecx
lea edx, [esp + 0x5054]
push edx
mov edx, dword [esp + 0x518]
lea ecx, [esp + 0xe48]
push ecx
mov ecx, dword [esp + 0xd074]
push esi
push eax
mov eax, dword [esp + 0x520]
push edx
push eax
push ecx
push str.https:__www.nch.com.au_software_bug.html_softwareDebutversion10.25xi_s_Win_d_d_s_MAIN_Cmd_d_iid_sdata_sappbits32rdf_s
mov esi, 0x2002
lea edi, [esp + 0x907c]
call fcn.004af0d0
add esp, 0x24
mov esi, edi
call fcn.00401210
cmp word [esp + 0x300], 0
je 0x4a8db0
push 0
push str.Uploading_Crash_Dump_File
lea edi, [esp + 0x50]
call fcn.00510e60
mov eax, dword [esp + 0xd06c]
mov esi, edi
mov dword [esp + 0x48], 0x6dcb60
mov dword [esp + 0x107], 0x6df490
mov dword [esp + fcn.00511170], 0x70c350
mov dword [esp + 0x1c2], eax
call fcn.00511060
mov edx, dword [esp + 0x137]
mov eax, dword [edx + 0x20]
push 0
push str.Uploading_crash_dump_file
lea ecx, [esp + 0x13f]
call eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x624]
push edx
lea eax, [esp + 0x308]
push eax
lea ecx, [esp + 0x143]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00541660
lea eax, [esp + 0x300]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
call fcn.004156d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd050
ret 0xc