Function at 0x431310
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 [0x644040]
xor eax, ebp
mov dword [esp + 0x138], eax
mov edi, dword [ecx]
mov dword [ecx], 0
test edi, edi
je 0x4313c1
cmp byte [edi + 0x24], 0
jne 0x4314c8
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 0x431408
mov ebx, dword [edi + 0x28]
test ebx, ebx
jne 0x4313dd
cmp byte [edi + 0x23], 0
jns 0x431386
push dword [edi + 0x18]
call fcn.00564ea0
add esp, 4
cmp byte [edi + 0x17], 0
jns 0x431397
push dword [edi + 0xc]
call fcn.00564ea0
add esp, 4
mov dword [edi], 0x623054
cmp byte [edi + 8], 0
jne 0x4313d7
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x4313b8
push eax
call fcn.00431ab0
add esp, 4
test al, al
je 0x4313da
push edi
call fcn.00564ea0
add esp, 4
mov ecx, dword [esp + 0x138]
xor ecx, ebp
call fcn.00568175
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
int3
int3
mov esi, dword [edi + 0x2c]
mov eax, ebx
cmp esi, ebx
je 0x4313f7
add esi, 0xffffffa8
mov ecx, esi
call fcn.005d5a80
cmp esi, ebx
jne 0x4313e6
mov eax, dword [edi + 0x28]
mov dword [edi + 0x2c], ebx
push eax
call fcn.00564ea0
add esp, 4
jmp 0x431375
push 2
call fcn.00563020
add esp, 4
test al, al
je 0x43136e
call fcn.004ed0f0
lea esi, [esp + 0x90]
mov ecx, esi
push eax
push 2
push 0x145
push str.crash_report_database_win.cc
call fcn.00592570
lea eax, [esp + 0x98]
push 0xc
push 0x637a24
push eax
call fcn.005320d0
add esp, 0xc
mov ecx, esi
call fcn.00592350
jmp 0x43136e
cmp dword [esp + 4], esi
je 0x4314bf
mov eax, esi
mov ecx, dword [esp + 4]
sub eax, ecx
push eax
push ecx
push dword [edi + 4]
call fcn.00445af0
add esp, 0xc
test al, al
jne 0x43167d
push 2
call fcn.00563020
add esp, 4
test al, al
je 0x431748
lea ebx, [esp + 0x90]
mov ecx, ebx
push 2
push 0x238
push str.crash_report_database_win.cc
call fcn.0040a9f0
lea eax, [esp + 0x98]
push 0x17
push str.failed_to_write_records
jmp 0x4316dd
mov esi, dword [esp + 4]
jmp 0x43167d
xor eax, eax
push eax
push eax
push eax
push dword [edi + 4]
call fcn.00432540
add esp, 0x10
or edx, eax
je 0x43152b
push 2
call fcn.00563020
add esp, 4
test al, al
je 0x431347
lea esi, [esp + 0x90]
mov ecx, esi
push 2
push 0x20d
push str.crash_report_database_win.cc
call fcn.0040a9f0
lea eax, [esp + 0x98]
push 0x19
push str.failed_to_rewind_to_write
push eax
call fcn.005320d0
add esp, 0xc
mov ecx, esi
call fcn.00407a90
jmp 0x431347
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x4315c3
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.00445af0
add esp, 0xc
test al, al
jne 0x431618
push 2
call fcn.00563020
add esp, 4
test al, al
je 0x431347
lea esi, [esp + 0x90]
mov ecx, esi
push 2
push 0x220
push str.crash_report_database_win.cc
call fcn.0040a9f0
lea eax, [esp + 0x98]
push 0x16
push str.failed_to_write_header
jmp 0x431516
push 2
call fcn.00563020
add esp, 4
test al, al
je 0x431347
call fcn.004ed0f0
lea esi, [esp + 0x90]
mov ecx, esi
push eax
push 2
push 0x214
push str.crash_report_database_win.cc
call fcn.00592570
lea eax, [esp + 0x98]
push 0x12
push str.failed_to_truncate
push eax
call fcn.005320d0
add esp, 0xc
mov ecx, esi
call fcn.00592350
jmp 0x431347
cmp esi, ebx
je 0x431347
xorps xmm0, xmm0
movsd qword [esp + 0x60], xmm0
mov dword [esp + 0x68], 0
cmp dword [esp + 4], 0x4924925
jae 0x431aa0
imul ebx, dword [esp + 4], 0x38
push ebx
call fcn.00564ea5
add esp, 4
mov esi, eax
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], ecx
cmp eax, ecx
je 0x431679
mov eax, esi
add eax, ebx
mov dword [esp + 0x10], eax
lea eax, [edi + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 4], esi
jmp 0x43180f
mov dword [esp + 4], esi
lea eax, [esp + 0x60]
movsx ecx, byte [eax + 0xb]
test ecx, ecx
cmovs ecx, dword [eax + 4]
cmovs eax, dword [eax]
push ecx
push eax
push dword [edi + 4]
call fcn.00445af0
add esp, 0xc
test al, al
jne 0x431748
push 2
call fcn.00563020
add esp, 4
test al, al
je 0x431748
lea ebx, [esp + 0x90]
mov ecx, ebx
push 2
push 0x23d
push str.crash_report_database_win.cc
call fcn.0040a9f0
lea eax, [esp + 0x98]
push 0x1c
push str.failed_to_write_string_table
push eax
call fcn.005320d0
add esp, 0xc
jmp 0x431741
push 2
call fcn.00563020
add esp, 4
test al, al
je 0x431748
lea ebx, [esp + 0x90]
mov ecx, ebx
push 2
push 0x22e
push str.crash_report_database_win.cc
call fcn.0040a9f0
lea eax, [esp + 0x98]
push dword [esp + 0xc]
push eax
call fcn.005bd5b0
add esp, 8
push 0x18
push str._expected_to_start_with
push eax
call fcn.005320d0
add esp, 0xc
push dword [esp + 0x38]
push eax
call fcn.005bd5b0
add esp, 8
mov ecx, ebx
call fcn.00407a90
cmp dword [esp + 4], 0
je 0x431775
cmp esi, dword [esp + 4]
je 0x431769
add esi, 0xffffffc8
jne 0x43174f
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
push 0x624173
call fcn.00591ed0
push dword [esp + 4]
call fcn.00564ea0
add esp, 4
cmp byte [esp + 0x6b], 0
jns 0x431347
push dword [esp + 0x60]
call fcn.00564ea0
add esp, 4
jmp 0x431347
test esi, esi
je 0x431a96
movaps xmm0, xmmword [esp + 0x90]
movups xmmword [esi], xmm0
mov eax, dword [esp + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x2c], eax
mov al, byte [esp + 0xb]
mov byte [esi + 0x30], al
mov al, byte [esp + 0xa]
mov byte [esi + 0x31], al
mov dword [esi + 0x32], 0
mov word [esi + 0x36], 0
add esi, 0x38
mov eax, dword [esp + 0x14]
add eax, 0x58
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x3c]
je 0x43145d
mov eax, dword [esp + 0x14]
lea ecx, [eax + 0x10]
mov dword [esp + 0xc], ecx
lea ebx, [esp + 0x90]
push ebx
call fcn.0053dde0
mov ecx, ebx
push dword [esp + 0x38]
call fcn.00456070
mov ebx, eax
cmp byte [esp + 0x9b], 0
jns 0x43184d
push dword [esp + 0x90]
call fcn.00564ea0
add esp, 4
test bl, bl
jne 0x4316e8
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x90], xmm0
mov ecx, dword [esp + 0xc]
lea ebx, [esp + 0x70]
push ebx
call fcn.00525da0
movsx eax, byte [esp + 0x7b]
mov ecx, ebx
test eax, eax
jns 0x431885
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
test eax, eax
js 0x431a82
je 0x431897
test ecx, ecx
je 0x431a8c
push eax
push ecx
lea ebx, [esp + 0x84]
push ebx
call fcn.00530a10
add esp, 0xc
lea ecx, [esp + 0x60]
mov edx, ebx
call fcn.005d5f90
mov dword [esp + 0xc], eax
cmp byte [esp + 0x87], 0
jns 0x4318ce
push dword [esp + 0x7c]
call fcn.00564ea0
add esp, 4
cmp byte [esp + 0x7b], 0
jns 0x4318e1
push dword [esp + 0x70]
call fcn.00564ea0
add esp, 4
mov ebx, dword [esp + 0x14]
lea edx, [ebx + 0x1c]
lea ecx, [esp + 0x60]
call fcn.005d5f90
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x34], eax
mov al, byte [ebx + 0x44]
add al, al
or al, byte [ebx + 0x30]
mov byte [esp + 0xb], al
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x28], eax
mov al, byte [ebx + 0x45]
mov byte [esp + 0xa], al
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x24], eax
mov dword [esp + 0x88], 0
mov word [esp + 0x8c], 0
cmp esi, dword [esp + 0x10]
jb 0x431791
sub esi, dword [esp + 4]
mov eax, esi
sar eax, 3
imul ebx, eax, 0xb6db6db7
lea eax, [ebx + 1]
cmp eax, 0x4924925
jae 0x431aa0
mov edx, eax
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 4]
sar eax, 3
imul eax, eax, 0xb6db6db7
lea ecx, [eax + eax]
cmp ecx, edx
cmova edx, ecx
cmp eax, 0x2492492
mov eax, 0x4924924
cmovae edx, eax
mov dword [esp + 0x18], edx
test edx, edx
je 0x431a75
cmp dword [esp + 0x18], 0x4924925
jae 0x431aa5
imul eax, dword [esp + 0x18], 0x38
push eax
call fcn.00564ea5
add esp, 4
mov dword [esp + 0x10], eax
imul ebx, ebx, 0x38
add ebx, dword [esp + 0x10]
je 0x431a96
movaps xmm0, xmmword [esp + 0x90]
movups xmmword [ebx], xmm0
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x2c], eax
mov al, byte [esp + 0xb]
mov byte [ebx + 0x30], al
mov al, byte [esp + 0xa]
mov byte [ebx + 0x31], al
mov eax, dword [esp + 0x88]
mov dword [ebx + 0x32], eax
movzx eax, word [esp + 0x8c]
mov word [ebx + 0x36], ax
mov eax, ebx
sub eax, esi
push esi
mov esi, dword [esp + 8]
push esi
mov dword [esp + 0x14], eax
push eax
call fcn.00569390
add esp, 0xc
test esi, esi
je 0x431a5d
push dword [esp + 4]
call fcn.00564ea0
add esp, 4
imul eax, dword [esp + 0x18], 0x38
add dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
mov esi, ebx
jmp 0x4317f7
mov dword [esp + 0x10], 0
jmp 0x4319c2
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 0x43175f
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 0x43175f
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
jmp 0x43175f
call fcn.00596170
call fcn.005957f0
int3