Function at 0x1c82c5c
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, 0x140
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x138], eax
mov esi, dword [ecx]
mov dword [ecx], 0
test esi, esi
je 0x1c83353
cmp byte [esi + 0x18], 0
je 0x1c832c4
xor eax, eax
push eax
push eax
push eax
push dword [esi + 4]
call fcn.01c87cf4
add esp, 0x10
or edx, eax
je 0x1c82cf6
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c832c4
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x1fb
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c4d250
lea eax, [esp + 0x88]
push 0x19
push str.failed_to_rewind_to_write
push eax
call fcn.01c23744
add esp, 0xc
mov ecx, edi
call fcn.01c4d620
jmp 0x1c832c4
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_SetEndOfFile]
test eax, eax
je 0x1c83064
mov edi, dword [esi + 0x20]
sub edi, dword [esi + 0x1c]
mov eax, edi
sar eax, 3
mov ecx, esi
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
mov dword [esp + 0x14], ecx
push dword [ecx + 4]
call fcn.01c88081
add esp, 0xc
test al, al
je 0x1c830b9
test edi, edi
je 0x1c832c0
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
cmp esi, 0x4924925
jae 0x1c83372
imul esi, esi, 0x38
push esi
call fcn.01c9b78d
add esp, 4
add esi, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], esi
mov edx, dword [esp + 0xc]
mov ebx, dword [edx + 0x1c]
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x3c], ecx
cmp ebx, ecx
je 0x1c83108
lea eax, [edx + 0xc]
mov dword [esp + 0x14], eax
lea edi, [ebx + 0x10]
mov ecx, edi
lea esi, [esp + 0x80]
push esi
call fcn.01c53b70
mov ecx, esi
push dword [esp + 0x14]
call fcn.01c53550
mov byte [esp + 4], al
mov ecx, esi
call fcn.01c53360
cmp byte [esp + 4], 0
jne 0x1c831cd
movups xmm0, xmmword [ebx]
movaps xmmword [esp + 0x80], xmm0
mov ecx, edi
lea esi, [esp + 0x74]
push esi
call fcn.01c53d70
movzx eax, byte [esp + 0x7f]
mov ecx, esi
test al, al
jns 0x1c82e11
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
push eax
push ecx
lea edi, [esp + 0x134]
push edi
call fcn.01c45970
add esp, 0xc
lea esi, [esp + 0x68]
mov ecx, esi
mov edx, edi
call fcn.01c849e0
mov dword [esp + 4], eax
cmp byte [esp + 0x137], 0
jns 0x1c82e4d
push dword [esp + 0x12c]
call fcn.01c8b528
add esp, 4
lea ecx, [esp + 0x74]
call fcn.01c53360
lea edx, [ebx + 0x1c]
mov ecx, esi
call fcn.01c849e0
mov dword [esp + 0x24], eax
mov esi, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x10], eax
mov cl, byte [ebx + 0x44]
add cl, cl
or cl, byte [ebx + 0x30]
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x12f], eax
mov dword [esp + 0x12c], eax
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
cmp edi, eax
jae 0x1c82f08
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [edi], xmm0
mov eax, dword [esp + 4]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], esi
mov eax, dword [esp + 0x20]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], edx
mov eax, dword [esp + 0x10]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x2c], eax
mov byte [edi + 0x30], cl
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x12f]
mov dword [edi + 0x31], eax
mov dword [edi + 0x34], ecx
add edi, 0x38
mov dword [esp + 0x60], edi
jmp 0x1c8304a
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
mov byte [esp + 0xb], cl
mov edx, dword [esp + 0x5c]
sub edi, edx
mov ecx, edi
sar ecx, 3
imul ecx, ecx, 0xb6db6db7
mov dword [esp + 0x2c], ecx
inc ecx
cmp ecx, 0x4924925
jae 0x1c83369
sub eax, edx
sar eax, 3
imul eax, eax, 0xb6db6db7
lea esi, [eax + eax]
cmp esi, ecx
cmovb esi, ecx
cmp eax, 0x2492492
mov eax, 0x4924924
cmovae esi, eax
test esi, esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], esi
je 0x1c82f84
mov eax, esi
cmp esi, 0x4924925
jae 0x1c83372
mov esi, edx
imul eax, eax, 0x38
push eax
call fcn.01c9b78d
add esp, 4
mov ebx, eax
mov edx, esi
jmp 0x1c82f86
xor ebx, ebx
imul esi, dword [esp + 0x2c], 0x38
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [ebx + esi], xmm0
mov eax, dword [esp + 4]
mov dword [ebx + esi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + esi + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + esi + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + esi + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + esi + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + esi + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + esi + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + esi + 0x2c], eax
mov al, byte [esp + 0xb]
mov byte [ebx + esi + 0x30], al
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x12f]
mov dword [ebx + esi + 0x31], eax
mov dword [ebx + esi + 0x34], ecx
lea eax, [ebx + esi]
imul ecx, dword [esp + 0x28], 0x38
add ecx, ebx
sub eax, edi
mov dword [esp + 4], eax
test edi, edi
jle 0x1c83023
push edi
push edx
push dword [esp + 0xc]
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.01c8ccf0
mov ecx, edi
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [ebx + esi]
add eax, 0x38
mov esi, dword [esp + 4]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
test edx, edx
mov ebx, dword [esp + 0x38]
je 0x1c8304a
push edx
call fcn.01c8b528
add esp, 4
add ebx, 0x58
cmp dword [esp + 0x3c], ebx
jne 0x1c82db4
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
jmp 0x1c8310a
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c832c4
call fcn.01c4dab0
lea edi, [esp + 0x80]
mov ecx, edi
push eax
push 2
push 0x202
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c4dc50
lea eax, [esp + 0x88]
push 0x12
push str.failed_to_truncate
push eax
call fcn.01c23744
add esp, 0xc
mov ecx, edi
call fcn.01c4dd00
jmp 0x1c832c4
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c832c0
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x20e
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c4d250
lea eax, [esp + 0x88]
push 0x16
push str.failed_to_write_header
push eax
call fcn.01c23744
add esp, 0xc
mov ecx, edi
call fcn.01c4d620
jmp 0x1c832c0
mov ecx, eax
sub ecx, eax
push ecx
push eax
mov esi, dword [esp + 0x14]
push dword [esi + 4]
call fcn.01c88081
add esp, 0xc
test al, al
je 0x1c83183
lea ecx, [esp + 0x68]
movzx eax, byte [ecx + 0xb]
test al, al
cmovs eax, dword [ecx + 4]
cmovs ecx, dword [ecx]
push eax
push ecx
push dword [esi + 4]
call fcn.01c88081
add esp, 0xc
test al, al
jne 0x1c83298
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c83298
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x22b
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c4d250
lea eax, [esp + 0x88]
push 0x1c
push str.failed_to_write_string_table
jmp 0x1c831bd
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c83298
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x226
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c4d250
lea eax, [esp + 0x88]
push 0x17
push str.failed_to_write_records
push eax
call fcn.01c23744
add esp, 0xc
mov ecx, edi
jmp 0x1c83293
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c83298
lea ecx, [esp + 0x80]
push 2
push 0x21c
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c4d250
lea eax, [esp + 0x88]
cmp byte [ebx + 0x1b], 0
jns 0x1c83207
mov edi, dword [ebx + 0x10]
push edi
push eax
call fcn.01c4dda0
add esp, 8
push 0x18
push str._expected_to_start_with
push eax
call fcn.01c23744
add esp, 0xc
mov edi, eax
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + 0x17]
test al, al
jns 0x1c83239
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x10]
push eax
push dword [esp + 0x18]
lea esi, [esp + 0x134]
push esi
call fcn.01c45970
add esp, 0xc
movzx eax, byte [esp + 0x137]
test al, al
jns 0x1c83268
mov eax, dword [esp + 0x130]
mov esi, dword [esp + 0x12c]
push eax
push esi
push edi
call fcn.01c23744
add esp, 0xc
cmp byte [esp + 0x137], 0
jns 0x1c8328c
push dword [esp + 0x12c]
call fcn.01c8b528
add esp, 4
lea ecx, [esp + 0x80]
call fcn.01c4d620
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1c832ad
mov dword [esp + 0x60], eax
push eax
call fcn.01c8b528
add esp, 4
cmp byte [esp + 0x73], 0
jns 0x1c832c0
push dword [esp + 0x68]
call fcn.01c8b528
add esp, 4
mov esi, dword [esp + 0xc]
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 0x1c83333
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c83333
call fcn.01c4dab0
lea edi, [esp + 0x80]
mov ecx, edi
push eax
push 2
push 0x136
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c4dc50
lea eax, [esp + 0x88]
push 0xc
push 0x1cc1d68
push eax
call fcn.01c23744
add esp, 0xc
mov ecx, edi
call fcn.01c4dd00
lea ecx, [esi + 0x1c]
call fcn.01c849a6
lea ecx, [esi + 0xc]
call fcn.01c53360
mov ecx, esi
call fcn.01c80aae
push esi
call fcn.01c8b528
add esp, 4
mov ecx, dword [esp + 0x138]
xor ecx, ebp
call fcn.01c8b52d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x5c]
call fcn.01c3f95c
call fcn.01c917d2
int3