Function at 0x4a2fac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov eax, dword [0x591128]
xor eax, ebp
mov dword [esp + 0x148], eax
mov ebx, dword [ecx]
mov dword [ecx], 0
test ebx, ebx
je 0x4a30cc
cmp byte [ebx + 0x18], 0
je 0x4a303d
xor eax, eax
push eax
push eax
push eax
push dword [ebx + 4]
call fcn.004c457f
add esp, 0x10
or edx, eax
je 0x4a30e2
push 2
call fcn.0042ba80
add esp, 4
test al, al
je 0x4a303d
lea edi, [esp + 0x90]
mov ecx, edi
push 2
push 0x1fb
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042bb10
lea eax, [esp + 0x98]
push 0x19
push str.failed_to_rewind_to_write
push eax
call fcn.00401c3f
add esp, 0xc
mov ecx, edi
call fcn.0042bf20
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 [ebx + 4]
call dword [0x58b45c]
test eax, eax
jne 0x4a30ac
push 2
call fcn.0042ba80
add esp, 4
test al, al
je 0x4a30ac
call fcn.0042c580
lea edi, [esp + 0x90]
mov ecx, edi
push eax
push 2
push 0x136
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042c720
lea eax, [esp + 0x98]
push 0xc
push 0x54d6bf
push eax
call fcn.00401c3f
add esp, 0xc
mov ecx, edi
call fcn.0042c7d0
lea ecx, [ebx + 0x1c]
call fcn.004a4d84
lea ecx, [ebx + 0xc]
call fcn.00428b40
mov ecx, ebx
call fcn.004a4d02
push ebx
call fcn.0050f3dd
add esp, 4
mov ecx, dword [esp + 0x148]
xor ecx, ebp
call fcn.0050f421
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [ebx + 4]
call dword [0x58b3e0]
test eax, eax
je 0x4a3436
mov edi, dword [ebx + 0x20]
sub edi, dword [ebx + 0x1c]
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 + 4]
call fcn.004c490d
add esp, 0xc
test al, al
je 0x4a348b
test edi, edi
je 0x4a303d
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 0x4a36b8
imul esi, esi, 0x38
push esi
call fcn.0050f358
add esp, 4
add esi, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], esi
mov edx, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x38], esi
cmp edx, esi
je 0x4a34ca
mov ecx, edx
mov dword [esp + 0x10], ebx
lea eax, [ebx + 0xc]
mov dword [esp + 0x14], eax
mov ebx, edx
lea edi, [ebx + 0x10]
mov ecx, edi
lea esi, [esp + 0x90]
push esi
call fcn.004293d0
mov ecx, esi
push dword [esp + 0x14]
call fcn.00428db0
mov byte [esp + 8], al
mov ecx, esi
call fcn.00428b40
cmp byte [esp + 8], 0
jne 0x4a3538
movups xmm0, xmmword [ebx]
movaps xmmword [esp + 0x90], xmm0
mov ecx, edi
lea eax, [esp + 0x78]
push eax
call fcn.004295d0
movzx eax, byte [esp + 0x78]
test al, 1
je 0x4a31fe
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
jmp 0x4a3204
shr eax, 1
lea ecx, [esp + 0x7a]
push eax
push ecx
lea edi, [esp + 0x8c]
push edi
call fcn.00438670
add esp, 0xc
lea ecx, [esp + 0x68]
mov edx, edi
call fcn.004a4dbe
mov dword [esp + 0xc], eax
test byte [esp + 0x84], 1
je 0x4a323e
push dword [esp + 0x8c]
call fcn.0050f3dd
add esp, 4
lea ecx, [esp + 0x78]
call fcn.00428b40
lea edx, [ebx + 0x1c]
lea ecx, [esp + 0x68]
call fcn.004a4dbe
mov edi, eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x24], eax
mov cl, byte [ebx + 0x44]
add cl, cl
or cl, byte [ebx + 0x30]
mov esi, dword [ebx + 0x38]
mov edx, dword [ebx + 0x40]
mov dword [esp + 0x3c], ebx
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
cmp ebx, eax
jae 0x4a32dd
movaps xmm0, xmmword [esp + 0x90]
movups xmmword [ebx], xmm0
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], edx
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x2c], eax
mov byte [ebx + 0x30], cl
xor eax, eax
mov dword [ebx + 0x31], eax
mov dword [ebx + 0x34], eax
add ebx, 0x38
mov dword [esp + 0x60], ebx
jmp 0x4a3414
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edi
mov byte [esp + 7], cl
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
sub ebx, ecx
mov ecx, ebx
sar ecx, 3
imul esi, ecx, 0xb6db6db7
lea ecx, [esi + 1]
cmp ecx, 0x4924925
jae 0x4a36af
sub eax, dword [esp + 8]
sar eax, 3
imul eax, eax, 0xb6db6db7
lea edi, [eax + eax]
cmp edi, ecx
cmovb edi, ecx
cmp eax, 0x2492492
mov eax, 0x4924924
cmovae edi, eax
test edi, edi
je 0x4a335d
mov dword [esp + 0x28], esi
cmp edi, 0x4924925
jae 0x4a36b8
imul eax, edi, 0x38
push eax
call fcn.0050f358
add esp, 4
mov ecx, edi
mov edi, eax
mov esi, dword [esp + 0x28]
jmp 0x4a3361
mov ecx, edi
xor edi, edi
imul esi, esi, 0x38
movaps xmm0, xmmword [esp + 0x90]
movups xmmword [edi + esi], xmm0
mov eax, dword [esp + 0xc]
mov dword [edi + esi + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [edi + esi + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + esi + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [edi + esi + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [edi + esi + 0x24], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + esi + 0x20], eax
mov eax, dword [esp + 0x30]
mov dword [edi + esi + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [edi + esi + 0x2c], eax
mov al, byte [esp + 7]
mov byte [edi + esi + 0x30], al
lea eax, [edi + esi]
imul ecx, ecx, 0x38
add ecx, edi
xor edx, edx
mov dword [edi + esi + 0x31], edx
xor edx, edx
mov dword [edi + esi + 0x34], edx
sub eax, ebx
mov dword [esp + 0xc], eax
test ebx, ebx
jle 0x4a33eb
push ebx
push dword [esp + 0xc]
push dword [esp + 0x14]
mov ebx, ecx
call fcn.00512980
mov ecx, ebx
add esp, 0xc
lea eax, [edi + esi]
add eax, 0x38
mov esi, dword [esp + 0xc]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
cmp dword [esp + 8], 0
je 0x4a3414
push dword [esp + 8]
call fcn.0050f3dd
add esp, 4
mov ebx, dword [esp + 0x3c]
add ebx, 0x58
cmp dword [esp + 0x38], ebx
jne 0x4a319e
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x10]
jmp 0x4a34cc
push 2
call fcn.0042ba80
add esp, 4
test al, al
je 0x4a303d
call fcn.0042c580
lea edi, [esp + 0x90]
mov ecx, edi
push eax
push 2
push 0x202
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042c720
lea eax, [esp + 0x98]
push 0x12
push str.failed_to_truncate
push eax
call fcn.00401c3f
add esp, 0xc
mov ecx, edi
call fcn.0042c7d0
jmp 0x4a303d
push 2
call fcn.0042ba80
add esp, 4
test al, al
je 0x4a303d
lea edi, [esp + 0x90]
mov ecx, edi
push 2
push 0x20e
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042bb10
lea eax, [esp + 0x98]
push 0x16
push str.failed_to_write_header
jmp 0x4a302d
mov ecx, eax
sub ecx, eax
push ecx
push eax
push dword [ebx + 4]
call fcn.004c490d
add esp, 0xc
test al, al
je 0x4a34f9
movzx eax, byte [esp + 0x68]
test al, 1
je 0x4a357a
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
jmp 0x4a3580
push 2
call fcn.0042ba80
add esp, 4
test al, al
je 0x4a367e
lea edi, [esp + 0x90]
mov ecx, edi
push 2
push 0x226
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042bb10
lea eax, [esp + 0x98]
push 0x17
push str.failed_to_write_records
jmp 0x4a35cf
mov edi, ebx
push 2
call fcn.0042ba80
add esp, 4
test al, al
mov ebx, dword [esp + 0x10]
je 0x4a367e
lea ecx, [esp + 0x90]
push 2
push 0x21c
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042bb10
lea eax, [esp + 0x98]
test byte [edi + 0x10], 1
jne 0x4a35df
add edi, 0x12
jmp 0x4a35e2
shr eax, 1
lea ecx, [esp + 0x69]
push eax
push ecx
push dword [ebx + 4]
call fcn.004c490d
add esp, 0xc
test al, al
jne 0x4a367e
push 2
call fcn.0042ba80
add esp, 4
test al, al
je 0x4a367e
lea edi, [esp + 0x90]
mov ecx, edi
push 2
push 0x22b
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042bb10
lea eax, [esp + 0x98]
push 0x1c
push str.failed_to_write_string_table
push eax
call fcn.00401c3f
add esp, 0xc
mov ecx, edi
jmp 0x4a3679
mov edi, dword [edi + 0x18]
push edi
push eax
call fcn.0042c870
add esp, 8
push 0x18
push str._expected_to_start_with
push eax
call fcn.00401c3f
add esp, 0xc
mov edi, eax
movzx eax, byte [ebx + 0xc]
test al, 1
je 0x4a360e
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
jmp 0x4a3617
mov ecx, dword [esp + 0x14]
add ecx, 2
shr eax, 1
push eax
push ecx
lea eax, [esp + 0x8c]
push eax
call fcn.00438670
add esp, 0xc
movzx eax, byte [esp + 0x84]
test al, 1
je 0x4a3645
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
jmp 0x4a364e
shr eax, 1
lea ecx, [esp + 0x85]
push eax
push ecx
push edi
call fcn.00401c3f
add esp, 0xc
test byte [esp + 0x84], 1
je 0x4a3672
push dword [esp + 0x8c]
call fcn.0050f3dd
add esp, 4
lea ecx, [esp + 0x90]
call fcn.0042bf20
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a3693
mov dword [esp + 0x60], eax
push eax
call fcn.0050f3dd
add esp, 4
test byte [esp + 0x68], 1
je 0x4a303d
push dword [esp + 0x70]
call fcn.0050f3dd
add esp, 4
jmp 0x4a303d
lea ecx, [esp + 0x5c]
call fcn.0042341c
call fcn.00521a3d
int3