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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e12f1
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x51093c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x64], esi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x4987e2
movups xmm0, xmmword [ebp - 0x28]
mov dword [eax + 4], edx
mov edx, 0xf
mov dword [eax], ecx
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
movups xmmword [eax + 8], xmm0
mov byte [ebp - 0x28], 0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x18], xmm0
add dword [esi + 4], 0x20
jmp 0x4987f1
lea ecx, [ebp - 0x30]
push ecx
push eax
mov ecx, esi
call fcn.00499560
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x498829
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x49881f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498d42
push edx
push ecx
call fcn.004a2127
add esp, 8
mov eax, dword [edi + 0x7c]
sub esp, 8
and eax, 0xfffffffc
mov ecx, esp
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x49883e
mov edx, dword [eax]
mov dword [ecx + 4], 0
mov dword [ecx], edx
mov eax, dword [eax + 0x10]
mov dword [ecx + 4], eax
call fcn.0049c8d0
add esp, 8
test al, al
jne 0x4988a6
push 0x278
push str.C:Workspace_vcpkg_buildtreesprotobuf_src_v3.21.12_fdb7676342.clean_srcgoogleprotobufdescriptor_database.cc
push 2
lea ecx, [ebp - 0x34]
call fcn.00434bc0
mov ecx, dword [edi + 0x7c]
and ecx, 0xfffffffc
mov dword [ebp - 4], 1
push ecx
push str.Invalid_package_name:
mov ecx, eax
call fcn.00435140
mov ecx, eax
call fcn.00434f80
push eax
lea ecx, [ebp - 0x59]
call fcn.00434f00
lea ecx, [ebp - 0x34]
call fcn.00434eb0
xor al, al
jmp 0x498d25
mov eax, dword [edi + 0x7c]
and eax, 0xfffffffc
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4988b6
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test ecx, ecx
jne 0x4988d7
push ecx
push 0x4e3418
jmp 0x4988d9
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00401840
mov edi, dword [esi + 4]
lea eax, [ebp - 0x28]
sub edi, 0x18
cmp edi, eax
je 0x498908
mov ecx, edi
call fcn.004036e0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
jmp 0x49893c
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x49893c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x498932
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498d47
push edx
push ecx
call fcn.004a2127
add esp, 8
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov edi, dword [ebp - 0x60]
sar eax, 5
dec eax
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x78]
and eax, 0xfffffffc
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x49895b
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test ecx, ecx
jne 0x49897c
push ecx
push 0x4e3418
jmp 0x49897e
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00401840
push dword [ebp - 0x68]
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 2
push eax
push 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x70], 0xff
push eax
lea ecx, [esi + 0xc]
call fcn.00499e10
cmp byte [ebp - 0x68], 0
je 0x498a85
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov edi, dword [edi + 0x78]
mov dword [ebp - 0x68], ecx
and edi, 0xfffffffc
sub ecx, eax
mov dword [ebp - 0x70], eax
mov eax, 0x92492493
mov dword [ebp - 0x78], edi
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
test esi, esi
jle 0x498a4d
mov ecx, edi
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x80], eax
nop dword [eax]
mov edx, dword [ebp - 0x70]
mov edi, esi
sar edi, 1
lea eax, [edi*8]
sub eax, edi
cmp dword [ecx + 0x14], 0x10
lea eax, [edx + eax*4]
mov edx, ecx
mov dword [ebp - 0x7c], eax
jb 0x498a10
mov edx, dword [ecx]
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x498a1c
mov ecx, dword [eax + 4]
push dword [ebp - 0x80]
push edx
push dword [eax + 0x14]
push ecx
call fcn.0044a5e0
add esp, 0x10
test al, al
je 0x498a42
mov eax, dword [ebp - 0x7c]
add eax, 0x1c
mov dword [ebp - 0x70], eax
or eax, 0xffffffff
sub eax, edi
add esi, eax
jmp 0x498a44
mov esi, edi
mov ecx, dword [ebp - 0x78]
test esi, esi
jg 0x4989f0
mov edi, ecx
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x68]
je 0x498a7f
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x498a5f
mov ecx, dword [edi]
cmp dword [eax + 0x18], 0x10
lea edx, [eax + 4]
jb 0x498a6b
mov edx, dword [eax + 4]
push dword [eax + 0x14]
push edx
push dword [edi + 0x10]
push ecx
call fcn.0044a5e0
add esp, 0x10
test al, al
je 0x498a85
mov byte [ebp - 0x59], 0
jmp 0x498a89
mov byte [ebp - 0x59], 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00495c00
cmp byte [ebp - 0x59], 0
je 0x498aee
push 0x282
push str.C:Workspace_vcpkg_buildtreesprotobuf_src_v3.21.12_fdb7676342.clean_srcgoogleprotobufdescriptor_database.cc
push 2
lea ecx, [ebp - 0x58]
call fcn.00434bc0
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 4], 3
mov ecx, dword [ecx + 0x78]
and ecx, 0xfffffffc
push ecx
push str.File_already_exists_in_database:
mov ecx, eax
call fcn.00435140
mov ecx, eax
call fcn.00434f80
push eax
lea ecx, [ebp - 0x71]
call fcn.00434f00
lea ecx, [ebp - 0x58]
call fcn.00434eb0
xor al, al
jmp 0x498d25
mov edi, dword [ebp - 0x60]
mov edx, dword [edi + 0x2c]
test edx, edx
mov ecx, edx
mov esi, edx
cmovne ecx, edx
neg esi
sbb esi, esi
lea eax, [edx + 4]
and esi, eax
mov eax, dword [edi + 0x24]
shl eax, 2
lea edi, [eax + 4]
add edi, ecx
test edx, edx
cmove edi, eax
cmp esi, edi
je 0x498b9d
nop
mov eax, dword [esi]
sub esp, 8
mov dword [ebp - 0x68], eax
mov ecx, esp
mov eax, dword [eax + 0x90]
and eax, 0xfffffffc
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x498b3d
mov edx, dword [eax]
mov dword [ecx + 4], 0
mov dword [ecx], edx
mov eax, dword [eax + 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x64]
call fcn.0049b9f0
test al, al
je 0x49889f
mov eax, dword [ebp - 0x60]
push dword [ebp - 0x68]
sub esp, 8
mov eax, dword [eax + 0x78]
mov ecx, esp
and eax, 0xfffffffc
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x498b77
mov edx, dword [eax]
mov dword [ecx + 4], 0
mov dword [ecx], edx
mov eax, dword [eax + 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x64]
call fcn.00498d50
test al, al
je 0x49889f
add esi, 4
cmp esi, edi
jne 0x498b20
mov edi, dword [ebp - 0x60]
mov edx, dword [edi + 0x3c]
test edx, edx
mov ecx, edx
mov esi, edx
cmovne ecx, edx
neg esi
sbb esi, esi
lea eax, [edx + 4]
and esi, eax
mov eax, dword [edi + 0x34]
shl eax, 2
lea edi, [eax + 4]
add edi, ecx
test edx, edx
cmove edi, eax
cmp esi, edi
je 0x498c0d
nop dword [eax]
mov eax, dword [esi]
sub esp, 8
mov ecx, esp
mov eax, dword [eax + 0x40]
and eax, 0xfffffffc
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x498be7
mov edx, dword [eax]
mov dword [ecx + 4], 0
mov dword [ecx], edx
mov eax, dword [eax + 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x64]
call fcn.0049b9f0
test al, al
je 0x49889f
add esi, 4
cmp esi, edi
jne 0x498bd0
mov edi, dword [ebp - 0x60]
mov edx, dword [edi + 0x5c]
test edx, edx
mov ecx, edx
mov esi, edx
cmovne ecx, edx
neg esi
sbb esi, esi
lea eax, [edx + 4]
and esi, eax
mov eax, dword [edi + 0x54]
shl eax, 2
lea edi, [eax + 4]
add edi, ecx
test edx, edx
cmove edi, eax
cmp esi, edi
je 0x498cba
nop dword [eax]
mov eax, dword [esi]
sub esp, 8
mov dword [ebp - 0x68], eax
mov ecx, esp
mov eax, dword [eax + 0x10]
and eax, 0xfffffffc
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x498c5a
mov edx, dword [eax]
mov dword [ecx + 4], 0
mov dword [ecx], edx
mov eax, dword [eax + 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x64]
call fcn.0049b9f0
test al, al
je 0x49889f
mov eax, dword [ebp - 0x60]
push dword [ebp - 0x68]
sub esp, 8
mov eax, dword [eax + 0x78]
mov ecx, esp
and eax, 0xfffffffc
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x498c94
mov edx, dword [eax]
mov dword [ecx + 4], 0
mov dword [ecx], edx
mov eax, dword [eax + 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x64]
call fcn.00498400
test al, al
je 0x49889f
add esi, 4
cmp esi, edi
jne 0x498c40
mov edi, dword [ebp - 0x60]
mov edx, dword [edi + 0x4c]
test edx, edx
mov ecx, edx
mov esi, edx
cmovne ecx, edx
neg esi
sbb esi, esi
lea eax, [edx + 4]
and esi, eax
mov eax, dword [edi + 0x44]
shl eax, 2
lea edi, [eax + 4]
add edi, ecx
test edx, edx
cmove edi, eax
cmp esi, edi
je 0x498d23
mov eax, dword [esi]
sub esp, 8
mov ecx, esp
mov eax, dword [eax + 0x20]
and eax, 0xfffffffc
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x498cfd
mov edx, dword [eax]
mov dword [ecx + 4], 0
mov dword [ecx], edx
mov eax, dword [eax + 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x64]
call fcn.0049b9f0
test al, al
je 0x49889f
add esi, 4
cmp esi, edi
jne 0x498ce6
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a2135
mov esp, ebp
pop ebp
ret 0xc
call fcn.004bd25c
call fcn.004bd25c
int3