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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fc126
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x68c4c0]
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 - 0x68], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0
cmp eax, dword [esi + 8]
je 0x4cfcb4
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 0x4cfcc3
lea ecx, [ebp - 0x30]
push ecx
push eax
mov ecx, esi
call fcn.004d1340
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x4cfcfb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cfcf1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d01bc
push edx
push ecx
call fcn.005d1105
add esp, 8
mov eax, dword [edi + 0x7c]
sub esp, 8
and eax, 0xfffffffe
mov ecx, esp
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4cfd10
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.004d3e10
add esp, 8
test al, al
jne 0x4cfd78
push 0x277
push str.G:Valve_steam_thirdpartycode_nonredistprotobufprotobuf_3.15.3_srcgoogleprotobufdescriptor_database.cc
push 2
lea ecx, [ebp - 0x34]
call fcn.004753d0
mov ecx, dword [edi + 0x7c]
and ecx, 0xfffffffe
mov dword [ebp - 4], 1
push ecx
push str.Invalid_package_name:
mov ecx, eax
call fcn.004759e0
mov ecx, eax
call fcn.004757f0
push eax
lea ecx, [ebp - 0x59]
call fcn.00475770
lea ecx, [ebp - 0x34]
call fcn.00475700
xor al, al
jmp 0x4d019f
mov eax, dword [edi + 0x7c]
and eax, 0xfffffffe
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4cfd88
mov ecx, dword [eax]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x4cfdad
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004475b0
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x28]
push eax
sub ecx, 0x18
call fcn.004628d0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4cfdf0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cfde6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d01bc
push edx
push ecx
call fcn.005d1105
add esp, 8
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 5
dec eax
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x78]
and eax, 0xfffffffe
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4cfe0c
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
test ecx, ecx
je 0x4cfe36
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004475b0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x60], 0xff
push eax
lea ecx, [esi + 0xc]
call fcn.004d11b0
cmp byte [ebp - 0x6c], 0
je 0x4cff3a
mov eax, dword [edi + 0x78]
mov ecx, dword [esi + 0x1c]
and eax, 0xfffffffe
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x6c], ecx
sub ecx, eax
mov dword [ebp - 0x74], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
test esi, esi
jle 0x4cfefe
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x74], edx
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x80], eax
nop dword [eax + eax]
mov edi, esi
shr 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 0x4cfebd
mov edx, dword [ecx]
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x4cfec9
mov ecx, dword [eax + 4]
push dword [ebp - 0x80]
push edx
push dword [eax + 0x14]
push ecx
call fcn.004d2bf0
add esp, 0x10
test al, al
je 0x4cfeef
mov edx, dword [ebp - 0x7c]
or eax, 0xffffffff
add edx, 0x1c
sub eax, edi
mov dword [ebp - 0x74], edx
add esi, eax
jmp 0x4cfef4
mov edx, dword [ebp - 0x74]
mov esi, edi
mov ecx, dword [ebp - 0x60]
test esi, esi
jg 0x4cfea0
mov edi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x6c]
je 0x4cff34
mov eax, dword [ebp - 0x60]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4cff13
mov edx, dword [eax]
cmp dword [ecx + 0x18], 0x10
mov esi, dword [eax + 0x10]
lea eax, [ecx + 4]
jb 0x4cff22
mov eax, dword [ecx + 4]
push dword [ecx + 0x14]
push eax
push esi
push edx
call fcn.004d2bf0
add esp, 0x10
test al, al
je 0x4cff3a
mov byte [ebp - 0x59], 0
jmp 0x4cff3e
mov byte [ebp - 0x59], 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.004ccd30
cmp byte [ebp - 0x59], 0
je 0x4cffa0
push 0x281
push str.G:Valve_steam_thirdpartycode_nonredistprotobufprotobuf_3.15.3_srcgoogleprotobufdescriptor_database.cc
push 2
lea ecx, [ebp - 0x58]
call fcn.004753d0
mov ecx, dword [edi + 0x78]
and ecx, 0xfffffffe
mov dword [ebp - 4], 3
push ecx
push str.File_already_exists_in_database:
mov ecx, eax
call fcn.004759e0
mov ecx, eax
call fcn.004757f0
push eax
lea ecx, [ebp - 0x75]
call fcn.00475770
lea ecx, [ebp - 0x58]
call fcn.00475700
xor al, al
jmp 0x4d019f
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x4cffb0
add ecx, 4
mov edx, ecx
mov esi, ecx
jmp 0x4cffb6
xor ecx, ecx
xor edx, edx
xor esi, esi
mov eax, dword [edi + 0x24]
lea edi, [ecx + eax*4]
cmp edx, edi
je 0x4d003d
mov eax, dword [esi]
sub esp, 8
mov dword [ebp - 0x6c], eax
mov ecx, esp
mov eax, dword [eax + 0x90]
and eax, 0xfffffffe
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4cffdd
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 - 0x68]
call fcn.004d2f20
test al, al
je 0x4cfd71
mov eax, dword [ebp - 0x64]
push dword [ebp - 0x6c]
sub esp, 8
mov eax, dword [eax + 0x78]
mov ecx, esp
and eax, 0xfffffffe
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4d0017
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 - 0x68]
call fcn.004d01d0
test al, al
je 0x4cfd71
add esi, 4
cmp esi, edi
jne 0x4cffc0
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x3c]
test edx, edx
je 0x4d004e
add edx, 4
mov esi, edx
jmp 0x4d0052
xor edx, edx
xor esi, esi
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x60], edx
lea edi, [edx + eax*4]
cmp edx, edi
je 0x4d00a0
nop
mov eax, dword [esi]
sub esp, 8
mov ecx, esp
mov eax, dword [eax + 0x40]
and eax, 0xfffffffe
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4d0077
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 - 0x68]
call fcn.004d2f20
test al, al
je 0x4cfd71
add esi, 4
cmp esi, edi
jne 0x4d0060
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x5c]
test edx, edx
je 0x4d00ae
add edx, 4
mov esi, edx
jmp 0x4d00b2
xor edx, edx
xor esi, esi
mov eax, dword [ecx + 0x54]
mov dword [ebp - 0x60], edx
lea edi, [edx + eax*4]
cmp edx, edi
je 0x4d013d
nop
mov eax, dword [esi]
sub esp, 8
mov dword [ebp - 0x6c], eax
mov ecx, esp
mov eax, dword [eax + 0x10]
and eax, 0xfffffffe
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4d00da
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 - 0x68]
call fcn.004d2f20
test al, al
je 0x4cfd71
mov eax, dword [ebp - 0x64]
push dword [ebp - 0x6c]
sub esp, 8
mov eax, dword [eax + 0x78]
mov ecx, esp
and eax, 0xfffffffe
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4d0114
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 - 0x68]
call fcn.004cf810
test al, al
je 0x4cfd71
add esi, 4
cmp esi, edi
jne 0x4d00c0
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x4d014b
add edx, 4
mov esi, edx
jmp 0x4d014f
xor edx, edx
xor esi, esi
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x60], edx
lea edi, [edx + eax*4]
cmp edx, edi
je 0x4d019d
nop dword [eax]
mov eax, dword [esi]
sub esp, 8
mov ecx, esp
mov eax, dword [eax + 0x20]
and eax, 0xfffffffe
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4d0177
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 - 0x68]
call fcn.004d2f20
test al, al
je 0x4cfd71
add esi, 4
cmp esi, edi
jne 0x4d0160
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.005d1826
mov esp, ebp
pop ebp
ret 0xc
call fcn.005d5f1c
int3