Function at 0x47bf90
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov eax, dword [0x5c1040]
xor eax, ebp
mov dword [esp + 0x138], eax
mov edi, dword [ecx]
mov dword [ecx], 0
test edi, edi
je 0x47c023
cmp byte [edi + 0x24], 0
jne 0x47c0b9
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 [edi + 4]
call dword [sym.imp.KERNEL32.dll_UnlockFileEx]
test eax, eax
je 0x47c064
mov ebx, dword [edi + 0x28]
test ebx, ebx
jne 0x47c03c
lea ecx, [edi + 0x18]
call fcn.004bcaf0
lea ecx, [edi + 0xc]
call fcn.004bcaf0
mov dword [edi], 0x599c50
cmp byte [edi + 8], 0
jne 0x47c039
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x47c01a
push eax
call fcn.00477eb0
add esp, 4
push edi
call fcn.004f193e
add esp, 4
mov ecx, dword [esp + 0x138]
xor ecx, ebp
call fcn.004f1eb0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
int3
mov esi, dword [edi + 0x2c]
mov eax, ebx
cmp esi, ebx
je 0x47c056
add esi, 0xffffffa8
mov ecx, esi
call fcn.00554f70
cmp esi, ebx
jne 0x47c045
mov eax, dword [edi + 0x28]
mov dword [edi + 0x2c], ebx
push eax
call fcn.004f193e
add esp, 4
jmp 0x47bfed
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x47bfe6
call fcn.0053eb80
lea esi, [esp + 0x90]
mov ecx, esi
push eax
push 2
push 0x13c
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.0053ed50
lea eax, [esp + 0x98]
push 0xc
push 0x5b02f6
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, esi
call fcn.0053edb0
jmp 0x47bfe6
xor eax, eax
push eax
push eax
push eax
push dword [edi + 4]
call fcn.00491b60
add esp, 0x10
or edx, eax
je 0x47c11c
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x47bfc3
lea esi, [esp + 0x90]
mov ecx, esi
push 2
push 0x204
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.0044fd30
lea eax, [esp + 0x98]
push 0x19
push str.failed_to_rewind_to_write
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, esi
call fcn.00450200
jmp 0x47bfc3
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x47c1b4
mov ebx, dword [edi + 0x28]
mov esi, dword [edi + 0x2c]
mov eax, esi
sub eax, ebx
sar eax, 3
imul ecx, eax, 0xba2e8ba3
lea eax, [esp + 0x40]
mov dword [eax + 0xc], 0
mov dword [eax], 0x43504144
mov dword [eax + 4], 1
mov dword [esp + 4], ecx
mov dword [eax + 8], ecx
push 0x10
push eax
push dword [edi + 4]
call fcn.0048d710
add esp, 0xc
test al, al
jne 0x47c209
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x47bfc3
lea esi, [esp + 0x90]
mov ecx, esi
push 2
push 0x217
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.0044fd30
lea eax, [esp + 0x98]
push 0x16
push str.failed_to_write_header
jmp 0x47c107
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x47bfc3
call fcn.0053eb80
lea esi, [esp + 0x90]
mov ecx, esi
push eax
push 2
push 0x20b
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.0053ed50
lea eax, [esp + 0x98]
push 0x12
push str.failed_to_truncate
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, esi
call fcn.0053edb0
jmp 0x47bfc3
cmp esi, ebx
je 0x47bfc3
xorps xmm0, xmm0
movsd qword [esp + 0x60], xmm0
mov dword [esp + 0x68], 0
cmp dword [esp + 4], 0x4924925
jae 0x47c6a9
imul esi, dword [esp + 4], 0x38
push esi
call fcn.004f190e
add esp, 4
add esi, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 0x3c], ecx
cmp eax, ecx
je 0x47c6b3
lea eax, [edi + 0xc]
mov dword [esp + 0x34], eax
jmp 0x47c2e1
test esi, esi
je 0x47c69f
movaps xmm0, xmmword [esp + 0x90]
movups xmmword [esi], xmm0
mov eax, dword [esp + 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], eax
mov al, byte [esp + 3]
mov byte [esi + 0x30], al
xor eax, eax
mov dword [esi + 0x31], eax
mov dword [esi + 0x34], eax
add esi, 0x38
mov dword [esp + 0xc], esi
mov eax, dword [esp + 4]
add eax, 0x58
mov dword [esp + 4], eax
cmp eax, dword [esp + 0x3c]
je 0x47c5be
mov eax, dword [esp + 4]
lea esi, [eax + 0x10]
mov ecx, esi
lea ebx, [esp + 0x90]
push ebx
call fcn.004bcb10
mov ecx, ebx
push dword [esp + 0x34]
call fcn.00451fc0
mov ebx, eax
lea ecx, [esp + 0x90]
call fcn.004bcaf0
test bl, bl
jne 0x47c518
mov eax, dword [esp + 4]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x90], xmm0
mov ecx, esi
lea esi, [esp + 0x70]
push esi
call fcn.004bd360
movsx eax, byte [esp + 0x7b]
mov ecx, esi
test eax, eax
jns 0x47c346
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
test eax, eax
js 0x47c68b
je 0x47c358
test ecx, ecx
je 0x47c695
push eax
push ecx
lea esi, [esp + 0x84]
push esi
call fcn.004b2ea0
add esp, 0xc
lea ecx, [esp + 0x60]
mov edx, esi
call fcn.005553e0
mov dword [esp + 0x30], eax
cmp byte [esp + 0x87], 0
jns 0x47c38f
push dword [esp + 0x7c]
call fcn.004f193e
add esp, 4
lea ecx, [esp + 0x70]
call fcn.004bcaf0
mov esi, dword [esp + 4]
lea edx, [esi + 0x1c]
lea ecx, [esp + 0x60]
call fcn.005553e0
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x2c], eax
mov al, byte [esi + 0x44]
add al, al
or al, byte [esi + 0x30]
mov byte [esp + 3], al
mov eax, dword [esi + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x8b], eax
mov dword [esp + 0x88], eax
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
cmp esi, eax
jb 0x47c26b
mov ecx, dword [esp + 8]
sub esi, ecx
sar esi, 3
imul esi, esi, 0xb6db6db7
lea ebx, [esi + 1]
cmp ebx, 0x4924925
jae 0x47c6a9
sub eax, ecx
sar eax, 3
imul eax, eax, 0xb6db6db7
lea ecx, [eax + eax]
cmp ecx, ebx
cmova ebx, ecx
cmp eax, 0x2492492
mov eax, 0x4924924
cmovae ebx, eax
test ebx, ebx
je 0x47c511
cmp ebx, 0x4924925
jae 0x47c6ae
imul eax, ebx, 0x38
push eax
call fcn.004f190e
add esp, 4
imul esi, esi, 0x38
add esi, eax
je 0x47c69f
imul ecx, ebx, 0x38
add eax, ecx
mov dword [esp + 0x38], eax
movaps xmm0, xmmword [esp + 0x90]
movups xmmword [esi], xmm0
mov eax, dword [esp + 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], eax
mov al, byte [esp + 3]
mov byte [esi + 0x30], al
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8b]
mov dword [esi + 0x31], eax
mov dword [esi + 0x34], ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
sub ecx, eax
mov ebx, esi
sub ebx, ecx
push ecx
push eax
push ebx
call fcn.004f53a0
add esp, 0xc
mov eax, dword [esp + 8]
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
test eax, eax
je 0x47c2c5
push eax
call fcn.004f193e
add esp, 4
jmp 0x47c2c5
xor eax, eax
jmp 0x47c460
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x47c575
lea ebx, [esp + 0x90]
mov ecx, ebx
push 2
push 0x225
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.0044fd30
lea eax, [esp + 0x98]
push esi
push eax
call fcn.0053fb40
add esp, 8
push 0x18
push str._expected_to_start_with
push eax
call fcn.00499a00
add esp, 0xc
push dword [esp + 0x34]
push eax
call fcn.0053fb40
add esp, 8
mov ecx, ebx
call fcn.00450200
mov eax, dword [esp + 8]
test eax, eax
je 0x47c5a2
mov ecx, dword [esp + 0xc]
cmp ecx, eax
je 0x47c599
add ecx, 0xffffffc8
jne 0x47c581
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
push 0x59a9a3
call fcn.00523170
push eax
call fcn.004f193e
add esp, 4
cmp byte [esp + 0x6b], 0
jns 0x47bfc3
push dword [esp + 0x60]
call fcn.004f193e
add esp, 4
jmp 0x47bfc3
mov eax, dword [esp + 8]
sub esi, eax
je 0x47c6b3
push esi
push eax
push dword [edi + 4]
call fcn.0048d710
add esp, 0xc
test al, al
je 0x47c641
movsx eax, byte [esp + 0x6b]
test eax, eax
cmovs eax, dword [esp + 0x64]
lea ecx, [esp + 0x60]
cmovs ecx, dword [esp + 0x60]
push eax
push ecx
push dword [edi + 4]
call fcn.0048d710
add esp, 0xc
test al, al
jne 0x47c575
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x47c575
lea esi, [esp + 0x90]
mov ecx, esi
push 2
push 0x233
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.0044fd30
lea eax, [esp + 0x98]
push 0x1c
push str.failed_to_write_string_table
jmp 0x47c67b
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x47c575
lea esi, [esp + 0x90]
mov ecx, esi
push 2
push 0x22e
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.0044fd30
lea eax, [esp + 0x98]
push 0x17
push str.failed_to_write_records
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, esi
jmp 0x47c570
push str....._third_partylibc_srcinclude_string_view:314:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
jmp 0x47c58f
push str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x47c58f
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
jmp 0x47c58f
call fcn.00522240
call fcn.005221d0
push str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
jmp 0x47c58f