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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424b21
mov eax, dword fs:[0]
push eax
sub esp, 0x680
mov eax, dword [0x42f8d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x164]
mov dword [esi], 1
mov ecx, dword [0x430e20]
push eax
push ecx
mov dword [ebp - 0x620], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x410796
xor edi, edi
mov ecx, 0x3e8
mov eax, vtable.CCArray.0
mov dword [ebp - 0x658], edi
mov dword [ebp - 0x654], edi
mov dword [ebp - 0x650], ecx
mov dword [ebp - 0x64c], edi
mov dword [ebp - 0x65c], eax
mov dword [ebp - 0x644], edi
mov dword [ebp - 0x640], edi
mov dword [ebp - 0x63c], ecx
mov dword [ebp - 0x638], edi
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x630], edi
mov dword [ebp - 0x62c], edi
mov dword [ebp - 0x628], ecx
mov dword [ebp - 0x624], edi
mov dword [ebp - 0x634], eax
lea edx, [ebp - 0x164]
push edx
lea ecx, [ebp - 0x660]
mov dword [ebp - 4], edi
call fcn.00410ab0
test eax, eax
je 0x410784
cmp dword [ebp - 0x630], edi
mov eax, dword [ebp - 0x624]
jne 0x410457
mov eax, 0x425478
push eax
call fcn.0040ff90
add esp, 4
test eax, eax
je 0x410784
cmp dword [0x430e98], edi
je 0x41048b
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x164]
push eax
push ecx
call fcn.0040fcd0
add esp, 8
test eax, eax
je 0x410784
push str.SBcrreag.dll
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
je 0x410784
push str.SubmitCrashReport
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
mov dword [ebp - 0x61c], eax
je 0x410784
call fcn.0040ff10
push edi
mov ebx, eax
call fcn.0041492e
mov dword [ebp - 0x664], edx
lea edx, [ebp - 0x668]
push edx
mov dword [ebp - 0x668], eax
call fcn.00417092
xor ecx, ecx
add esp, 8
cmp eax, edi
mov dword [ebp - 0x68c], ecx
mov dword [ebp - 0x688], ecx
mov dword [ebp - 0x684], ecx
mov dword [ebp - 0x680], ecx
mov dword [ebp - 0x67c], ecx
mov dword [ebp - 0x678], ecx
mov dword [ebp - 0x674], ecx
mov dword [ebp - 0x670], ecx
mov dword [ebp - 0x66c], ecx
je 0x41052f
mov ecx, 9
mov esi, eax
lea edi, [ebp - 0x68c]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
lea eax, [ebp - 0x68c]
push eax
push str._Y._m._d__H._M._S
lea ecx, [ebp - 0x60]
push 0x50
push ecx
call fcn.00416910
add esp, 0x10
test eax, eax
jne 0x410550
mov byte [ebp - 0x60], al
mov ecx, dword [0x430e94]
mov esi, dword [ebp - 0x620]
mov eax, dword [esi]
lea edx, [ebp - 0x60]
push edx
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
push ecx
mov ecx, dword [ebp - 0x660]
push ebx
push edx
push eax
push ecx
lea edx, [ebp - 0x564]
push str.V_d__X__X__X__d__s.txt
push edx
call fcn.00414a1a
add esp, 0x20
lea eax, [ebp - 0x164]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x4105a6
mov dword [ebp - 0x164], 0x5c3a63
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x618]
call fcn.00401440
lea edx, [ebp - 0x618]
push edx
mov byte [ebp - 4], 1
call fcn.0040e190
add esp, 4
lea eax, [ebp - 0x564]
push eax
lea ecx, [ebp - 0x618]
call fcn.0040ae60
lea ecx, [ebp - 0x604]
call fcn.00412fa0
cmp dword [ebp - 0x614], edi
mov eax, dword [ebp - 0x608]
mov byte [ebp - 4], 2
jne 0x4105ff
mov eax, 0x425478
push 0x1021
push eax
lea ecx, [ebp - 0x604]
call fcn.00412fc0
lea ecx, [ebp - 0x68c]
push ecx
push str._d__b__y__H:_M:_S
lea edx, [ebp - 0x60]
push 0x50
push edx
call fcn.00416910
add esp, 0x10
test eax, eax
je 0x410641
lea eax, [ebp - 0x604]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.0040fe40
add esp, 8
cmp dword [ebp - 0x644], edi
mov ecx, dword [ebp - 0x638]
jne 0x410654
mov ecx, 0x425478
mov eax, dword [esi]
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
push edx
mov edx, dword [ebp - 0x660]
push eax
push edx
push ecx
lea eax, [ebp - 0x564]
push str._s__04d_internal_error___X__X_
push eax
call fcn.00414a1a
lea ecx, [ebp - 0x604]
push ecx
lea edx, [ebp - 0x564]
push edx
call fcn.0040fe40
add esp, 0x20
lea eax, [ebp - 0x5f8]
push eax
mov dword [ebp - 0x5f8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4106f1
mov edx, dword [ebp - 0x5e8]
mov eax, dword [ebp - 0x5ec]
lea ecx, [ebp - 0x5e4]
push ecx
mov ecx, dword [ebp - 0x5f0]
push edx
mov edx, dword [ebp - 0x5f4]
push eax
push ecx
push edx
lea eax, [ebp - 0x564]
push str.OS_Info:_MajorVersion__d__MinorVersion__d__Build__d__Platform__d__CSDVersion__s_
push eax
call fcn.00414a1a
lea ecx, [ebp - 0x604]
push ecx
lea edx, [ebp - 0x564]
push edx
call fcn.0040fe40
add esp, 0x24
lea eax, [ebp - 0x604]
push eax
call fcn.00410010
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x604]
push ecx
push edx
call fcn.00410210
add esp, 0xc
lea ecx, [ebp - 0x604]
call fcn.004133d0
cmp dword [ebp - 0x630], edi
mov ecx, dword [ebp - 0x624]
jne 0x41072e
mov ecx, 0x425478
cmp dword [ebp - 0x614], edi
mov eax, dword [ebp - 0x608]
jne 0x410741
mov eax, 0x425478
push ecx
push eax
call dword [ebp - 0x61c]
mov eax, dword [ebp - 0x608]
add esp, 8
cmp dword [ebp - 0x614], edi
jne 0x41075f
mov eax, 0x425478
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x604]
mov byte [ebp - 4], 1
call fcn.004134e0
lea ecx, [ebp - 0x618]
mov byte [ebp - 4], 0
call fcn.004013d0
lea ecx, [ebp - 0x660]
mov dword [ebp - 4], 0xffffffff
call fcn.00406200
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414407
mov esp, ebp
pop ebp
ret