Function at 0x53cbc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b8da
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x5ca018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x68], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], 0
mov al, byte [esi + 0x38]
mov byte [ebp - 0x52], al
lea eax, [ebp - 0x51]
push str._initialized__.state_____initialized__.kStateValid
push eax
lea eax, [ebp - 0x52]
mov byte [ebp - 0x51], 2
push eax
call fcn.00406f46
add esp, 0xc
test eax, eax
je 0x53cc48
push eax
push 0x375
push str.T:p4PatcherExternalLibraries_sentry_native0.3.1externalcrashpadclientcrash_report_database_win.cc
push str.enum_crashpad::CrashReportDatabase::OperationStatus___thiscall_crashpad::CrashReportDatabaseWin::DeleteReport_const_struct_crashpad::UUID__
lea ecx, [ebp - 0x11c]
call fcn.00404e21
lea ecx, [ebp - 0x11c]
call fcn.004082e7
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.0053bb50
mov edi, dword [eax]
mov dword [ebp - 0x58], edi
mov dword [eax], 0
mov dword [ebp - 0x6c], edi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.0053b7f0
test edi, edi
jne 0x53cc7c
lea esi, [edi + 3]
jmp 0x53ce5c
lea ecx, [ebp - 0x28]
call fcn.004082bf
mov ecx, dword [ebp - 0x60]
mov eax, dword [edi + 0x24]
mov esi, dword [edi + 0x20]
mov byte [ebp - 4], 1
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x38], xmm0
cmp esi, eax
je 0x53ccb9
mov edi, eax
nop
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.004068b1
test al, al
jne 0x53ccb6
add esi, 0x70
cmp esi, edi
jne 0x53cca0
mov edi, dword [ebp - 0x58]
cmp esi, dword [edi + 0x24]
jne 0x53ccc8
mov esi, 1
jmp 0x53ce54
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402833
mov eax, dword [edi + 0x24]
add esi, 0x70
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x5c], esi
cmp esi, eax
je 0x53cd7d
mov edi, esi
lea esi, [edi - 0x48]
nop dword [eax]
movups xmm0, xmmword [edi]
lea eax, [esi + 0x58]
push eax
lea ecx, [esi - 0x18]
movups xmmword [esi - 0x28], xmm0
call fcn.00402833
lea eax, [esi + 0x70]
mov ecx, esi
push eax
call fcn.004084ae
mov eax, dword [esi + 0x88]
add edi, 0x70
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x8c]
mov dword [esi + 0x1c], eax
mov al, byte [esi + 0x90]
mov byte [esi + 0x20], al
mov eax, dword [esi + 0x98]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x9c]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0xa0]
mov dword [esi + 0x30], eax
mov al, byte [esi + 0xa4]
mov byte [esi + 0x34], al
mov eax, dword [esi + 0xa8]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0xac]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0xb0]
mov dword [esi + 0x40], eax
add esi, 0x70
cmp edi, dword [ebp - 0x64]
jne 0x53ccf0
mov edi, dword [ebp - 0x58]
mov eax, dword [edi + 0x24]
lea ecx, [eax - 0x70]
call fcn.00403fcb
add dword [edi + 0x24], 0xffffff90
lea eax, [ebp - 0x28]
mov byte [edi + 0x1c], 1
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x53ce47
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00402351
add esp, 8
mov esi, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x58], 1
call fcn.00401b13
push eax
push 2
push 0x381
push str.T:p4PatcherExternalLibraries_sentry_native0.3.1externalcrashpadclientcrash_report_database_win.cc
push str.enum_crashpad::CrashReportDatabase::OperationStatus___thiscall_crashpad::CrashReportDatabaseWin::DeleteReport_const_struct_crashpad::UUID__
lea ecx, [ebp - 0x1cc]
call fcn.00405484
push str.DeleteFile
push eax
mov dword [ebp - 4], 3
mov dword [ebp - 0x58], 3
call fcn.0040533a
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x53ce20
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
push eax
call fcn.0040299b
add esp, 0xc
lea ecx, [ebp - 0x1cc]
call fcn.004042b9
lea ecx, [ebp - 0x50]
call fcn.00405c40
mov esi, 2
jmp 0x53ce54
push dword [ebp - 0x60]
mov ecx, dword [ebp - 0x68]
call fcn.004022ed
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.0040518c
lea ecx, [ebp - 0x6c]
call fcn.0053b7f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00405a92
mov esp, ebp
pop ebp
ret 4