Function at 0x43d5a6
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 [0x49c3bc]
xor eax, ebp
mov dword [esp + 0x128], eax
xor eax, eax
mov ebx, dword [ecx]
mov dword [ecx], eax
test ebx, ebx
je 0x43d6b9
cmp byte [ebx + 0x14], 0
je 0x43d62e
xor eax, eax
push eax
push eax
push eax
push dword [ebx]
call fcn.00450a09
add esp, 0x10
or edx, eax
je 0x43d6cf
push 2
call fcn.0042c980
add esp, 4
test al, al
je 0x43d62e
lea edi, [esp + 0x78]
mov ecx, edi
push 2
push 0x1e1
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042ca20
lea eax, [esp + 0x7c]
push 0x19
push str.failed_to_rewind_to_write
push eax
call fcn.0041c9c0
add esp, 0xc
mov ecx, edi
call fcn.0042c1f0
xor eax, eax
xor edx, edx
lea ecx, [esp + 0x40]
xorps xmm0, xmm0
mov dword [ecx + 0x10], eax
movaps xmmword [ecx], xmm0
dec edx
push ecx
push edx
push edx
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_UnlockFileEx]
test eax, eax
jne 0x43d699
push 2
call fcn.0042c980
add esp, 4
test al, al
je 0x43d699
call sub.KERNEL32.dll_GetLastError
lea edi, [esp + 0x78]
mov ecx, edi
push eax
push 2
push 0x129
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042d100
lea eax, [esp + 0x80]
push 0xc
push 0x485c20
push eax
call fcn.0041c9c0
add esp, 0xc
mov ecx, edi
call fcn.0042d1c0
lea ecx, [ebx + 0x18]
call fcn.0043eb14
lea ecx, [ebx + 8]
call fcn.00420c10
mov ecx, ebx
call fcn.0042b40e
push ebx
call fcn.004591e8
add esp, 4
mov ecx, dword [esp + 0x128]
xor ecx, ebp
call fcn.00459221
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x43da4c
mov edi, dword [ebx + 0x1c]
sub edi, dword [ebx + 0x18]
mov 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
push dword [ebx]
call fcn.00450d91
add esp, 0xc
test al, al
je 0x43da9e
test edi, edi
je 0x43d62e
xor eax, eax
cmp esi, 0x4924925
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x5c], eax
jae 0x43dc8c
imul esi, esi, 0x38
push esi
call fcn.00459168
add esp, 4
add esi, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
mov ecx, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x18]
cmp esi, ecx
mov dword [esp + 0x3c], ecx
je 0x43dad7
lea eax, [ebx + 8]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
lea edi, [esi + 0x10]
lea ebx, [esp + 0x78]
mov ecx, edi
push ebx
call fcn.00421460
mov ecx, ebx
push dword [esp + 0xc]
call fcn.00420e50
lea ecx, [esp + 0x78]
mov ebx, eax
call fcn.00420c10
test bl, bl
jne 0x43dade
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
mov ecx, edi
lea edi, [esp + 0x6c]
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x80], xmm1
push edi
call fcn.004215c0
movzx eax, byte [esp + 0x77]
mov ecx, edi
test al, al
jns 0x43d7e9
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
push eax
push ecx
lea edi, [esp + 0x124]
push edi
call fcn.00426480
add esp, 0xc
lea ebx, [esp + 0x60]
mov edx, edi
mov ecx, ebx
call fcn.0043eb60
xor ebx, ebx
mov dword [esp + 0x2c], eax
cmp byte [esp + 0x127], bl
jns 0x43d826
push dword [esp + 0x11c]
call fcn.004591e8
add esp, 4
lea ecx, [esp + 0x6c]
call fcn.00420c10
lea edx, [esi + 0x1c]
lea ecx, [esp + 0x60]
call fcn.0043eb60
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x28]
mov cl, byte [esi + 0x44]
mov edx, dword [esi + 0x38]
mov edi, dword [esi + 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x2c]
add cl, cl
or cl, byte [esi + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x11f], ebx
mov dword [esp + 0x11c], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
cmp ebx, eax
jae 0x43d8ee
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
mov eax, dword [esp + 0x2c]
movsd qword [ebx + 8], xmm1
movsd qword [ebx], xmm0
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], eax
mov byte [ebx + 0x30], cl
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x11f]
mov dword [ebx + 0x31], eax
mov dword [ebx + 0x34], ecx
add ebx, 0x38
mov dword [esp + 0x58], ebx
jmp 0x43da31
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x54]
mov byte [esp + 7], cl
mov dword [esp + 0x38], edi
sub ebx, edx
mov ecx, ebx
sar ecx, 3
imul edi, ecx, 0xb6db6db7
lea ecx, [edi + 1]
cmp ecx, 0x4924925
jae 0x43dc83
sub eax, edx
mov dword [esp + 0x14], edx
mov edx, 0x4924924
sar eax, 3
imul eax, eax, 0xb6db6db7
cmp eax, 0x2492491
ja 0x43d946
add eax, eax
cmp eax, ecx
cmovb eax, ecx
test eax, eax
mov edx, eax
je 0x43da43
imul eax, edx, 0x38
mov dword [esp + 8], edx
push eax
call fcn.00459168
mov edx, dword [esp + 0xc]
add esp, 4
imul edx, edx, 0x38
imul ecx, edi, 0x38
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
add edx, eax
lea edi, [eax + ecx + 0x38]
mov dword [esp + 8], edx
lea edx, [eax + ecx]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
movsd qword [edi - 0x30], xmm1
movsd qword [edi - 0x38], xmm0
mov dword [edi - 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [edi - 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [edi - 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [edi - 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [edi - 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [edi - 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [edi - 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [edi - 0xc], eax
mov al, byte [esp + 7]
mov byte [edi - 8], al
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x11f]
mov dword [edi - 7], eax
mov dword [edi - 4], ecx
mov eax, ebx
mov ecx, 0x6db6db6d
imul ecx
mov ecx, dword [esp + 0x14]
sub edx, ebx
mov eax, edx
sar edx, 5
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x38
add eax, dword [esp + 0x30]
test ebx, ebx
jle 0x43da14
push ebx
push ecx
push eax
mov ebx, eax
call fcn.0045caa0
mov ecx, dword [esp + 0x20]
mov eax, ebx
add esp, 0xc
mov edx, dword [esp + 8]
test ecx, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edx
je 0x43da31
push ecx
call fcn.004591e8
add esp, 4
add esi, 0x58
cmp dword [esp + 0x3c], esi
jne 0x43d785
jmp 0x43dba1
xor edx, edx
xor eax, eax
jmp 0x43d95a
push 2
call fcn.0042c980
add esp, 4
test al, al
je 0x43d62e
call sub.KERNEL32.dll_GetLastError
lea edi, [esp + 0x78]
mov ecx, edi
push eax
push 2
push 0x1e8
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042d100
lea eax, [esp + 0x80]
push 0x12
push str.failed_to_truncate
push eax
call fcn.0041c9c0
add esp, 0xc
mov ecx, edi
call fcn.0042d1c0
jmp 0x43d62e
push 2
call fcn.0042c980
add esp, 4
test al, al
je 0x43d62e
lea edi, [esp + 0x78]
mov ecx, edi
push 2
push 0x1f4
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042ca20
lea eax, [esp + 0x7c]
push 0x16
push str.failed_to_write_header
jmp 0x43d61e
mov ecx, eax
jmp 0x43dbad
push 2
call fcn.0042c980
add esp, 4
mov ebx, dword [esp + 0x10]
test al, al
je 0x43dc52
lea ecx, [esp + 0x78]
push 2
push 0x202
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042ca20
cmp byte [esi + 0x1b], 0
lea eax, [esp + 0x7c]
jns 0x43db16
mov edi, dword [esi + 0x10]
lea esi, [esp + 0x11c]
push edi
push eax
call fcn.0042d250
add esp, 8
push 0x18
push str._expected_to_start_with
push eax
call fcn.0041c9c0
add esp, 0xc
mov edi, eax
movzx eax, byte [ebx + 0x13]
test al, al
jns 0x43db4b
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xc]
push eax
push dword [esp + 0x10]
push esi
call fcn.00426480
add esp, 0xc
movzx eax, byte [esp + 0x127]
test al, al
jns 0x43db73
mov eax, dword [esp + 0x120]
mov esi, dword [esp + 0x11c]
push eax
push esi
push edi
call fcn.0041c9c0
add esp, 0xc
xor eax, eax
cmp byte [esp + 0x127], al
jns 0x43db98
push dword [esp + 0x11c]
call fcn.004591e8
add esp, 4
lea ecx, [esp + 0x78]
jmp 0x43dc4d
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x10]
sub ecx, eax
push ecx
push eax
push dword [ebx]
call fcn.00450d91
add esp, 0xc
test al, al
je 0x43dc12
lea ecx, [esp + 0x60]
movzx eax, byte [ecx + 0xb]
test al, al
cmovs eax, dword [ecx + 4]
cmovs ecx, dword [ecx]
push eax
push ecx
push dword [ebx]
call fcn.00450d91
add esp, 0xc
test al, al
jne 0x43dc52
push 2
call fcn.0042c980
add esp, 4
test al, al
je 0x43dc52
lea edi, [esp + 0x78]
mov ecx, edi
push 2
push 0x211
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042ca20
lea eax, [esp + 0x7c]
push 0x1c
push str.failed_to_write_string_table
jmp 0x43dc42
push 2
call fcn.0042c980
add esp, 4
test al, al
je 0x43dc52
lea edi, [esp + 0x78]
mov ecx, edi
push 2
push 0x20c
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042ca20
lea eax, [esp + 0x7c]
push 0x17
push str.failed_to_write_records
push eax
call fcn.0041c9c0
add esp, 0xc
mov ecx, edi
call fcn.0042c1f0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x43dc67
mov dword [esp + 0x58], eax
push eax
call fcn.004591e8
add esp, 4
cmp byte [esp + 0x6b], 0
jns 0x43d62e
push dword [esp + 0x60]
call fcn.004591e8
add esp, 4
jmp 0x43d62e
lea ecx, [esp + 0x54]
call fcn.0041b7dc
call fcn.0046cb17
int3