Function at 0x46981c
Capabilities:
Clear file content
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [esp + 0x128], eax
mov ebx, dword [ecx]
mov dword [ecx], 0
test ebx, ebx
je 0x469944
cmp byte [ebx + 0x24], 0
je 0x4698ad
xor eax, eax
push eax
push eax
push eax
push dword [ebx + 4]
call fcn.0047f33c
add esp, 0x10
or edx, eax
je 0x46995a
push 2
call fcn.00410640
add esp, 4
test al, al
je 0x4698ad
lea esi, [esp + 0x80]
mov ecx, esi
push 2
push 0x203
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00452670
lea eax, [esp + 0x88]
push 0x19
push str.failed_to_rewind_to_write
push eax
call fcn.00413e90
add esp, 0xc
mov ecx, esi
call fcn.00452a50
xor eax, eax
lea ecx, [esp + 0x40]
mov dword [ecx + 0x10], eax
xorps xmm0, xmm0
movaps xmmword [ecx], xmm0
xor edx, edx
dec edx
push ecx
push edx
push edx
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_UnlockFileEx]
test eax, eax
jne 0x46991c
push 2
call fcn.00410640
add esp, 4
test al, al
je 0x46991c
call fcn.00453230
lea esi, [esp + 0x80]
mov ecx, esi
push eax
push 2
push 0x13b
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.004533d0
lea eax, [esp + 0x88]
push 0xc
push 0x4c7396
push eax
call fcn.00413e90
add esp, 0xc
mov ecx, esi
call fcn.00453480
lea ecx, [ebx + 0x28]
call fcn.0046b494
lea ecx, [ebx + 0x18]
call fcn.0043b780
lea ecx, [ebx + 0xc]
call fcn.0043b780
mov ecx, ebx
call fcn.00447ea8
push ebx
call fcn.0048ae3c
add esp, 4
mov ecx, dword [esp + 0x128]
xor ecx, ebp
call fcn.0048b34a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x469d04
mov edi, dword [ebx + 0x28]
mov ecx, ebx
mov ebx, dword [ebx + 0x2c]
mov eax, ebx
sub eax, edi
sar eax, 3
imul esi, eax, 0xba2e8ba3
lea eax, [esp + 0x40]
mov dword [eax + 0xc], 0
mov dword [eax], 0x43504144
mov dword [eax + 4], 1
mov dword [eax + 8], esi
push 0x10
push eax
mov dword [esp + 0x14], ecx
push dword [ecx + 4]
call fcn.0047f6e2
add esp, 0xc
test al, al
je 0x469d59
cmp ebx, edi
mov ebx, dword [esp + 0xc]
je 0x4698ad
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
cmp esi, 0x4924925
jae 0x469f02
mov ecx, esi
call fcn.0046b4cc
mov edi, eax
mov esi, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x3c], eax
cmp esi, eax
je 0x469f07
imul eax, edx, 0x38
add eax, edi
mov dword [esp + 8], eax
lea eax, [ebx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, edi
mov dword [esp + 0x14], eax
lea ebx, [esi + 0x10]
mov ecx, ebx
lea eax, [esp + 0x80]
push eax
call fcn.0043bdb0
lea ecx, [esp + 0x80]
push dword [esp + 0x1c]
call fcn.0043b940
mov byte [esp + 0x18], al
lea ecx, [esp + 0x80]
call fcn.0043b780
cmp byte [esp + 0x18], 0
jne 0x469d9c
mov dword [esp + 0x18], esi
movups xmm0, xmmword [esi]
movaps xmmword [esp + 0x80], xmm0
mov ecx, ebx
lea esi, [esp + 0x68]
push esi
call fcn.0043c030
movzx eax, byte [esp + 0x73]
mov ecx, esi
test al, al
jns 0x469a77
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
push eax
push ecx
lea esi, [esp + 0x7c]
push esi
call fcn.00439450
add esp, 0xc
lea ebx, [esp + 0x58]
mov ecx, ebx
mov edx, esi
call fcn.0046b4f0
mov dword [esp + 0x10], eax
cmp byte [esp + 0x7f], 0
jns 0x469aaa
push dword [esp + 0x74]
call fcn.0048ae3c
add esp, 4
lea ecx, [esp + 0x68]
call fcn.0043b780
mov esi, dword [esp + 0x18]
lea edx, [esi + 0x1c]
mov ecx, ebx
call fcn.0046b4f0
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x34], eax
mov edx, dword [esi + 0x3c]
mov bl, byte [esi + 0x44]
add bl, bl
or bl, byte [esi + 0x30]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x28], eax
cmp edi, dword [esp + 8]
jae 0x469b54
test edi, edi
mov eax, dword [esp + 0x14]
je 0x469ee7
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [edi], xmm0
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], edx
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x2c], ecx
mov byte [edi + 0x30], bl
xor ecx, ecx
mov dword [edi + 0x31], ecx
mov dword [edi + 0x34], ecx
jmp 0x469c68
mov dword [esp + 0x38], edx
mov eax, edi
mov edx, dword [esp + 0x14]
sub eax, edx
sar eax, 3
imul esi, eax, 0xb6db6db7
lea ecx, [esi + 1]
cmp ecx, 0x4924925
jae 0x469f02
mov eax, dword [esp + 8]
sub eax, edx
sar eax, 3
imul eax, eax, 0xb6db6db7
lea edx, [eax + eax]
cmp edx, ecx
cmova ecx, edx
cmp eax, 0x2492492
mov eax, 0x4924924
cmovae ecx, eax
test ecx, ecx
je 0x469ba7
call fcn.0046b4cc
jmp 0x469bab
xor eax, eax
xor edx, edx
imul ecx, esi, 0x38
mov dword [esp + 8], eax
add ecx, eax
je 0x469ee7
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [ecx], xmm0
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x2c], eax
mov byte [ecx + 0x30], bl
xor eax, eax
mov dword [ecx + 0x31], eax
mov dword [ecx + 0x34], eax
mov dword [esp + 0x10], ecx
mov ebx, ecx
mov esi, dword [esp + 0x14]
cmp edi, esi
je 0x469c4a
mov eax, dword [esp + 0x10]
movsd xmm0, qword [edi - 8]
movsd qword [eax - 8], xmm0
movups xmm0, xmmword [edi - 0x18]
movups xmmword [eax - 0x18], xmm0
movups xmm0, xmmword [edi - 0x38]
movups xmm1, xmmword [edi - 0x28]
lea ecx, [edi - 0x38]
lea ebx, [eax - 0x38]
movups xmmword [eax - 0x28], xmm1
movups xmmword [eax - 0x38], xmm0
mov eax, ebx
mov edi, ecx
cmp ecx, esi
jne 0x469c1a
imul edi, edx, 0x38
test esi, esi
je 0x469c5a
push esi
call fcn.0048ae3c
add esp, 4
add dword [esp + 8], edi
mov eax, ebx
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
add edi, 0x38
add esi, 0x58
cmp esi, dword [esp + 0x3c]
jne 0x469a08
sub edi, eax
mov ebx, dword [esp + 0xc]
je 0x469f07
push edi
mov edi, eax
push eax
push dword [ebx + 4]
call fcn.0047f6e2
add esp, 0xc
test al, al
je 0x469dea
movzx eax, byte [esp + 0x63]
test al, al
cmovs eax, dword [esp + 0x5c]
lea ecx, [esp + 0x58]
cmovs ecx, dword [esp + 0x58]
push eax
push ecx
push dword [ebx + 4]
call fcn.0047f6e2
add esp, 0xc
test al, al
jne 0x469ebe
push 2
call fcn.00410640
add esp, 4
test al, al
je 0x469ebe
lea esi, [esp + 0x80]
mov ecx, esi
push 2
push 0x233
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00452670
lea eax, [esp + 0x88]
push 0x1c
push str.failed_to_write_string_table
jmp 0x469e24
push 2
call fcn.00410640
add esp, 4
test al, al
je 0x4698ad
call fcn.00453230
lea esi, [esp + 0x80]
mov ecx, esi
push eax
push 2
push 0x20a
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.004533d0
lea eax, [esp + 0x88]
push 0x12
push str.failed_to_truncate
push eax
call fcn.00413e90
add esp, 0xc
mov ecx, esi
call fcn.00453480
jmp 0x4698ad
push 2
call fcn.00410640
add esp, 4
test al, al
mov ebx, dword [esp + 0xc]
je 0x4698ad
lea esi, [esp + 0x80]
mov ecx, esi
push 2
push 0x216
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00452670
lea eax, [esp + 0x88]
push 0x16
push str.failed_to_write_header
jmp 0x46989d
mov dword [esp + 8], ebx
push 2
call fcn.00410640
add esp, 4
test al, al
je 0x469de1
lea ecx, [esp + 0x80]
push 2
push 0x224
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00452670
lea eax, [esp + 0x88]
cmp byte [esi + 0x1b], 0
mov ebx, dword [esp + 0xc]
js 0x469e39
lea edi, [esp + 0x74]
mov ecx, dword [esp + 8]
jmp 0x469e43
mov ebx, dword [esp + 0xc]
jmp 0x469eba
push 2
call fcn.00410640
add esp, 4
test al, al
je 0x469ebe
lea esi, [esp + 0x80]
mov ecx, esi
push 2
push 0x22e
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00452670
lea eax, [esp + 0x88]
push 0x17
push str.failed_to_write_records
push eax
call fcn.00413e90
add esp, 0xc
mov ecx, esi
call fcn.00452a50
jmp 0x469ebe
mov ecx, dword [esp + 8]
mov ecx, dword [ecx]
lea edi, [esp + 0x74]
push ecx
push eax
call fcn.00453520
add esp, 8
push 0x18
push str._expected_to_start_with
push eax
call fcn.00413e90
add esp, 0xc
mov esi, eax
movzx eax, byte [ebx + 0x17]
test al, al
jns 0x469e71
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x10]
push eax
push dword [esp + 0x20]
push edi
call fcn.00439450
add esp, 0xc
movzx eax, byte [esp + 0x7f]
test al, al
jns 0x469e90
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
push eax
push edi
push esi
call fcn.00413e90
add esp, 0xc
cmp byte [esp + 0x7f], 0
jns 0x469eae
push dword [esp + 0x74]
call fcn.0048ae3c
add esp, 4
lea ecx, [esp + 0x80]
call fcn.00452a50
mov edi, dword [esp + 0x14]
test edi, edi
je 0x469ecb
push edi
call fcn.0048ae3c
add esp, 4
cmp byte [esp + 0x63], 0
jns 0x4698ad
push dword [esp + 0x58]
call fcn.0048ae3c
add esp, 4
jmp 0x4698ad
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x25
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.00414c6c
call fcn.00414960
push str.vector___index_out_of_bounds
push str.__n___size__
push 0x5b5
push str....._buildtools_third_partylibc_trunkinclude_vector
jmp 0x469ef8