Function at 0x590470
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 [0x7aa024]
xor eax, ebp
mov dword [esp + 0x128], eax
mov edi, dword [ecx]
mov dword [ecx], 0
test edi, edi
je 0x59050f
cmp byte [edi + 0x24], 0
jne 0x590525
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 0x59058c
mov ebx, dword [edi + 0x28]
test ebx, ebx
jne 0x5905e1
lea ecx, [edi + 0x18]
call fcn.005e1990
lea ecx, [edi + 0xc]
call fcn.005e1990
mov dword [edi], 0x741910
cmp byte [edi + 8], 0
jne 0x590627
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x590506
push eax
call fcn.0058e360
add esp, 4
push edi
call fcn.0064cd6e
add esp, 4
mov ecx, dword [esp + 0x128]
xor ecx, ebp
call fcn.0064d372
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push eax
push dword [edi + 4]
call fcn.005aaf00
add esp, 0x10
or edx, eax
je 0x59062a
push 2
call fcn.005e42f0
add esp, 4
test al, al
je 0x5904a3
lea esi, [esp + 0x80]
mov ecx, esi
push 2
push 0x202
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.005417e0
lea eax, [esp + 0x88]
push 0x19
push str.failed_to_rewind_to_write
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, esi
call fcn.00541c20
jmp 0x5904a3
push 2
call fcn.005e42f0
add esp, 4
test al, al
je 0x5904ca
call fcn.006a2ff0
lea esi, [esp + 0x80]
mov ecx, esi
push eax
push 2
push 0x13a
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.006a3120
lea eax, [esp + 0x88]
push 0xc
push 0x797366
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, esi
call fcn.006a3180
jmp 0x5904ca
mov esi, dword [edi + 0x2c]
cmp esi, ebx
je 0x59098a
add esi, 0xffffffb8
cmp byte [esi + 0x17], 0
jns 0x590600
push dword [esi + 0xc]
call fcn.0064cd6e
add esp, 4
mov ecx, esi
call fcn.005e1990
lea eax, [esi - 0x58]
add esi, 0xfffffff0
cmp esi, ebx
mov esi, eax
jne 0x5905ef
mov eax, dword [edi + 0x28]
mov dword [edi + 0x2c], ebx
push eax
call fcn.0064cd6e
add esp, 4
jmp 0x5904d5
int3
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x590991
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 + 0xc], ecx
mov dword [eax + 8], ecx
push 0x10
push eax
push dword [edi + 4]
call fcn.005aa5f0
add esp, 0xc
test al, al
je 0x5909e6
cmp esi, ebx
je 0x5904a3
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
cmp dword [esp + 0xc], 0x4924925
jae 0x590be0
imul eax, dword [esp + 0xc], 0x38
mov dword [esp + 0x10], eax
push eax
call fcn.0064cd3e
add esp, 4
mov dword [esp], eax
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x3c], ecx
cmp eax, ecx
je 0x590a64
mov eax, dword [esp]
add dword [esp + 0x10], eax
lea ecx, [edi + 0xc]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x1c], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
lea esi, [eax + 0x10]
mov ecx, esi
lea ebx, [esp + 0x80]
push ebx
call fcn.005e1f90
mov ecx, ebx
push dword [esp + 0x18]
call fcn.0053f520
mov ebx, eax
lea ecx, [esp + 0x80]
call fcn.005e1990
test bl, bl
jne 0x590a25
mov eax, dword [esp + 0xc]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x80], xmm0
mov ecx, esi
lea esi, [esp + 0x68]
push esi
call fcn.005e2360
movzx eax, byte [esp + 0x73]
mov ecx, esi
test al, al
jns 0x590751
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
push eax
push ecx
lea esi, [esp + 0x7c]
push esi
call fcn.005ee4b0
add esp, 0xc
lea ecx, [esp + 0x58]
mov edx, esi
call fcn.006e3de0
mov dword [esp + 0x14], eax
cmp byte [esp + 0x7f], 0
jns 0x590782
push dword [esp + 0x74]
call fcn.0064cd6e
add esp, 4
lea ecx, [esp + 0x68]
call fcn.005e1990
mov esi, dword [esp + 0xc]
lea edx, [esi + 0x1c]
lea ecx, [esp + 0x58]
call fcn.006e3de0
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x38], eax
mov al, byte [esi + 0x44]
add al, al
or al, byte [esi + 0x30]
mov byte [esp + 7], al
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
mov eax, dword [esp + 0x10]
cmp dword [esp + 8], eax
jae 0x590841
movaps xmm0, xmmword [esp + 0x80]
mov ecx, dword [esp + 8]
movups xmmword [ecx], xmm0
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x2c]
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 al, byte [esp + 7]
mov byte [ecx + 0x30], al
xor eax, eax
mov dword [ecx + 0x31], eax
mov dword [ecx + 0x34], eax
add ecx, 0x38
mov dword [esp + 8], ecx
jmp 0x590969
mov eax, dword [esp + 8]
sub eax, dword [esp]
mov dword [esp + 8], eax
sar eax, 3
imul ebx, eax, 0xb6db6db7
lea eax, [ebx + 1]
cmp eax, 0x4924925
jae 0x590be0
mov edx, eax
mov eax, dword [esp + 0x10]
sub eax, dword [esp]
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 + 0x10], edx
test edx, edx
je 0x590983
cmp dword [esp + 0x10], 0x4924925
jae 0x590be5
imul eax, dword [esp + 0x10], 0x38
push eax
call fcn.0064cd3e
add esp, 4
mov esi, eax
imul ebx, ebx, 0x38
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [esi + ebx], xmm0
mov eax, dword [esp + 0x14]
mov dword [esi + ebx + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esi + ebx + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + ebx + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [esi + ebx + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esi + ebx + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esi + ebx + 0x20], eax
mov eax, dword [esp + 0x24]
mov dword [esi + ebx + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [esi + ebx + 0x2c], eax
mov al, byte [esp + 7]
mov byte [esi + ebx + 0x30], al
lea ecx, [esi + ebx]
imul eax, dword [esp + 0x10], 0x38
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esi + ebx + 0x31], eax
mov dword [esi + ebx + 0x34], eax
mov eax, dword [esp + 8]
sub ecx, eax
mov dword [esp + 0x14], ecx
test eax, eax
jle 0x590943
push dword [esp + 8]
push dword [esp + 4]
push dword [esp + 0x1c]
call fcn.00650080
add esp, 0xc
add dword [esp + 0x10], esi
lea eax, [esi + ebx]
add eax, 0x38
mov dword [esp + 8], eax
cmp dword [esp], 0
je 0x590962
push dword [esp]
call fcn.0064cd6e
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
add eax, 0x58
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x3c]
jne 0x5906ec
jmp 0x590a6b
xor esi, esi
jmp 0x5908b4
mov eax, ebx
jmp 0x590616
push 2
call fcn.005e42f0
add esp, 4
test al, al
je 0x5904a3
call fcn.006a2ff0
lea esi, [esp + 0x80]
mov ecx, esi
push eax
push 2
push 0x209
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.006a3120
lea eax, [esp + 0x88]
push 0x12
push str.failed_to_truncate
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, esi
call fcn.006a3180
jmp 0x5904a3
push 2
call fcn.005e42f0
add esp, 4
test al, al
je 0x5904a3
lea esi, [esp + 0x80]
mov ecx, esi
push 2
push 0x215
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.005417e0
lea eax, [esp + 0x88]
push 0x16
push str.failed_to_write_header
jmp 0x590577
push 2
call fcn.005e42f0
add esp, 4
test al, al
jne 0x590b29
cmp dword [esp], 0
je 0x590a48
push dword [esp]
call fcn.0064cd6e
add esp, 4
cmp byte [esp + 0x63], 0
jns 0x5904a3
push dword [esp + 0x58]
call fcn.0064cd6e
add esp, 4
jmp 0x5904a3
mov eax, dword [esp]
mov dword [esp + 8], eax
mov eax, dword [esp]
mov ecx, dword [esp + 8]
sub ecx, eax
push ecx
push eax
push dword [edi + 4]
call fcn.005aa5f0
add esp, 0xc
test al, al
je 0x590adf
lea ecx, [esp + 0x58]
movzx eax, byte [ecx + 0xb]
test al, al
cmovs eax, dword [ecx + 4]
cmovs ecx, dword [ecx]
push eax
push ecx
push dword [edi + 4]
call fcn.005aa5f0
add esp, 0xc
test al, al
jne 0x590a37
push 2
call fcn.005e42f0
add esp, 4
test al, al
je 0x590a37
lea esi, [esp + 0x80]
mov ecx, esi
push 2
push 0x232
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.005417e0
lea eax, [esp + 0x88]
push 0x1c
push str.failed_to_write_string_table
jmp 0x590b19
push 2
call fcn.005e42f0
add esp, 4
test al, al
je 0x590a37
lea esi, [esp + 0x80]
mov ecx, esi
push 2
push 0x22d
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.005417e0
lea eax, [esp + 0x88]
push 0x17
push str.failed_to_write_records
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, esi
jmp 0x590bd6
lea ecx, [esp + 0x80]
push 2
push 0x223
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.005417e0
lea eax, [esp + 0x88]
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0x1b], 0
jns 0x590b59
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x10]
push esi
push eax
call fcn.006a3220
add esp, 8
push 0x18
push str._expected_to_start_with
push eax
call fcn.0067fe70
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0x17]
test al, al
jns 0x590b87
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x10]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x7c]
push eax
call fcn.005ee4b0
add esp, 0xc
movzx eax, byte [esp + 0x7f]
test al, al
jns 0x590bae
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x1c], ecx
push eax
push dword [esp + 0x20]
push esi
call fcn.0067fe70
add esp, 0xc
cmp byte [esp + 0x7f], 0
jns 0x590bcf
push dword [esp + 0x74]
call fcn.0064cd6e
add esp, 4
lea ecx, [esp + 0x80]
call fcn.00541c20
jmp 0x590a37
call fcn.0067fe60
call fcn.0067fe60
int3