Function at 0x4d6348
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 [0x597010]
xor eax, ebp
mov dword [esp + 0x128], eax
mov esi, dword [ecx]
mov dword [ecx], 0
test esi, esi
je 0x4d6479
cmp byte [esi + 0x24], 0
je 0x4d63d4
xor eax, eax
push eax
push eax
push eax
push dword [esi + 4]
call fcn.004f257d
add esp, 0x10
or edx, eax
je 0x4d648f
cmp dword [0x59d910], 2
jg 0x4d63d4
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x203
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00470c60
lea eax, [esp + 0x88]
push 0x19
push str.failed_to_rewind_to_write
push eax
call fcn.0042d698
add esp, 0xc
mov ecx, edi
call fcn.00471070
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 [esi + 4]
call dword [sym.imp.KERNEL32.dll_UnlockFileEx]
test eax, eax
jne 0x4d643f
cmp dword [0x59d910], 2
jg 0x4d643f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0x80]
mov ecx, edi
push eax
push 2
push 0x13b
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00471a00
lea eax, [esp + 0x88]
push 0xc
push 0x58a98d
push eax
call fcn.0042d698
add esp, 0xc
mov ecx, edi
call fcn.00471b70
lea ecx, [esi + 0x28]
call fcn.004d81aa
cmp byte [esi + 0x23], 0
jns 0x4d6458
push dword [esi + 0x18]
call fcn.00528424
add esp, 4
cmp byte [esi + 0x17], 0
jns 0x4d6469
push dword [esi + 0xc]
call fcn.00528424
add esp, 4
mov ecx, esi
call fcn.004d8172
push esi
call fcn.00528424
add esp, 4
mov ecx, dword [esp + 0x128]
xor ecx, ebp
call fcn.00528e13
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x4d685d
mov ecx, esi
mov esi, dword [esi + 0x28]
mov ebx, dword [ecx + 0x2c]
mov eax, ebx
sub eax, esi
sar eax, 3
imul edi, eax, 0xba2e8ba3
lea eax, [esp + 0x40]
mov dword [eax + 0xc], 0
mov dword [eax], 0x43504144
mov dword [eax + 4], 1
mov dword [eax + 8], edi
push 0x10
push eax
mov dword [esp + 0x10], ecx
push dword [ecx + 4]
call fcn.004f2898
add esp, 0xc
test al, al
je 0x4d68ae
cmp ebx, esi
mov esi, dword [esp + 8]
je 0x4d63d4
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
cmp edi, 0x4924925
jae 0x4d6a25
mov ecx, edi
call fcn.004d81e2
mov edi, eax
mov ebx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x3c], eax
cmp ebx, eax
je 0x4d6a30
imul eax, edx, 0x38
add eax, edi
mov dword [esp + 0x14], eax
lea eax, [esi + 0xc]
mov dword [esp + 0x1c], eax
mov eax, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
lea ecx, [ebx + 0x10]
mov esi, ecx
lea ebx, [esp + 0x80]
push ebx
call fcn.004756a0
mov ecx, ebx
push dword [esp + 0x1c]
call fcn.00475100
mov ebx, eax
cmp byte [esp + 0x8b], 0
jns 0x4d657d
push dword [esp + 0x80]
call fcn.00528424
add esp, 4
test bl, bl
jne 0x4d68ec
mov eax, dword [esp + 0x18]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x80], xmm0
mov ecx, esi
lea ebx, [esp + 0x64]
push ebx
call fcn.00475b50
movzx eax, byte [esp + 0x6f]
mov ecx, ebx
test al, al
lea ebx, [esp + 0x70]
jns 0x4d65b7
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
xor edx, edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], edx
push ebx
push eax
push ecx
call fcn.004648a0
add esp, 0xc
lea ecx, [esp + 0x58]
mov edx, ebx
call fcn.004d8206
mov dword [esp + 0xc], eax
cmp byte [esp + 0x7b], 0
jns 0x4d65f2
push dword [esp + 0x70]
call fcn.00528424
add esp, 4
cmp byte [esp + 0x6f], 0
mov ebx, dword [esp + 0x18]
jns 0x4d6609
push dword [esp + 0x64]
call fcn.00528424
add esp, 4
lea edx, [ebx + 0x1c]
lea ecx, [esp + 0x58]
call fcn.004d8206
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 eax, dword [ebx + 0x3c]
mov dword [esp + 0x38], eax
mov dl, byte [ebx + 0x44]
add dl, dl
or dl, byte [ebx + 0x30]
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x28], eax
cmp edi, dword [esp + 0x14]
jae 0x4d66b0
test edi, edi
mov eax, dword [esp + 0x10]
je 0x4d6a2a
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [edi], xmm0
mov ecx, dword [esp + 0xc]
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 ecx, dword [esp + 0x38]
mov dword [edi + 0x24], ecx
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x2c], ecx
mov byte [edi + 0x30], dl
xor ecx, ecx
mov dword [edi + 0x31], ecx
mov dword [edi + 0x34], ecx
jmp 0x4d67c6
mov byte [esp + 7], dl
mov eax, edi
mov edx, dword [esp + 0x10]
sub eax, edx
sar eax, 3
imul ebx, eax, 0xb6db6db7
lea ecx, [ebx + 1]
cmp ecx, 0x4924925
jae 0x4d6a25
mov eax, dword [esp + 0x14]
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 0x4d6703
call fcn.004d81e2
jmp 0x4d6707
xor eax, eax
xor edx, edx
imul ebx, ebx, 0x38
mov dword [esp + 0x14], eax
add ebx, eax
je 0x4d6a2d
movaps xmm0, xmmword [esp + 0x80]
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 + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x2c], eax
mov al, byte [esp + 7]
mov byte [ebx + 0x30], al
xor eax, eax
mov dword [ebx + 0x31], eax
mov dword [ebx + 0x34], eax
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x10]
cmp edi, esi
je 0x4d67a8
mov eax, dword [esp + 0xc]
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 0x4d6778
imul edi, edx, 0x38
test esi, esi
je 0x4d67b8
push esi
call fcn.00528424
add esp, 4
add dword [esp + 0x14], edi
mov eax, ebx
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
add edi, 0x38
add ebx, 0x58
cmp ebx, dword [esp + 0x3c]
jne 0x4d653d
sub edi, eax
mov esi, dword [esp + 8]
je 0x4d6a30
push edi
mov ebx, eax
push eax
push dword [esi + 4]
call fcn.004f2898
add esp, 0xc
test al, al
je 0x4d69bb
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 [esi + 4]
call fcn.004f2898
add esp, 0xc
test al, al
jne 0x4d69fc
cmp dword [0x59d910], 2
jg 0x4d69fc
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x233
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00470c60
lea eax, [esp + 0x88]
push 0x1c
push str.failed_to_write_string_table
jmp 0x4d69ec
cmp dword [0x59d910], 2
jg 0x4d63d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0x80]
mov ecx, edi
push eax
push 2
push 0x20a
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00471a00
lea eax, [esp + 0x88]
push 0x12
push str.failed_to_truncate
push eax
call fcn.0042d698
add esp, 0xc
mov ecx, edi
call fcn.00471b70
jmp 0x4d63d4
cmp dword [0x59d910], 2
mov esi, dword [esp + 8]
jg 0x4d63d4
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x216
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00470c60
lea eax, [esp + 0x88]
push 0x16
push str.failed_to_write_header
jmp 0x4d63c4
cmp dword [0x59d910], 2
lea ebx, [esp + 0x70]
jg 0x4d69b5
lea ecx, [esp + 0x80]
push 2
push 0x224
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00470c60
lea eax, [esp + 0x88]
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x1b], 0
jns 0x4d6928
mov esi, dword [esi]
push esi
push eax
call fcn.00471c10
add esp, 8
push 0x18
push str._expected_to_start_with
push eax
call fcn.0042d698
add esp, 0xc
mov edi, eax
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x17]
test al, al
jns 0x4d695e
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x10]
xor ecx, ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], ecx
push ebx
push eax
push dword [esp + 0x24]
call fcn.004648a0
add esp, 0xc
movzx eax, byte [esp + 0x7b]
test al, al
jns 0x4d698b
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
push eax
push ebx
push edi
call fcn.0042d698
add esp, 0xc
cmp byte [esp + 0x7b], 0
jns 0x4d69a9
push dword [esp + 0x70]
call fcn.00528424
add esp, 4
lea ecx, [esp + 0x80]
call fcn.00471070
mov ebx, dword [esp + 0x10]
jmp 0x4d69fc
cmp dword [0x59d910], 2
jg 0x4d69fc
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x22e
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00470c60
lea eax, [esp + 0x88]
push 0x17
push str.failed_to_write_records
push eax
call fcn.0042d698
add esp, 0xc
mov ecx, edi
call fcn.00471070
test ebx, ebx
je 0x4d6a09
push ebx
call fcn.00528424
add esp, 4
cmp byte [esp + 0x63], 0
jns 0x4d6a1c
push dword [esp + 0x58]
call fcn.00528424
add esp, 4
mov esi, dword [esp + 8]
jmp 0x4d63d4
call fcn.0053bf0b
int3
int3
int3