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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fc286
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x68d4c0]
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 0x4cfd84
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 0x4cfd93
lea ecx, [ebp - 0x30]
push ecx
push eax
mov ecx, esi
call fcn.004d1410
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x4cfdcb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cfdc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d028c
push edx
push ecx
call fcn.005d1255
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 0x4cfde0
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.004d3ee0
add esp, 8
test al, al
jne 0x4cfe48
push 0x277
push str.G:Valve_steam_thirdpartycode_nonredistprotobufprotobuf_3.15.3_srcgoogleprotobufdescriptor_database.cc
push 2
lea ecx, [ebp - 0x34]
call fcn.00475450
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.00475a60
mov ecx, eax
call fcn.00475870
push eax
lea ecx, [ebp - 0x59]
call fcn.004757f0
lea ecx, [ebp - 0x34]
call fcn.00475780
xor al, al
jmp 0x4d026f
mov eax, dword [edi + 0x7c]
and eax, 0xfffffffe
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4cfe58
mov ecx, dword [eax]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x4cfe7d
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00447620
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x28]
push eax
sub ecx, 0x18
call fcn.00462950
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4cfec0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cfeb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d028c
push edx
push ecx
call fcn.005d1255
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 0x4cfedc
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 0x4cff06
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00447620
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.004d1280
cmp byte [ebp - 0x6c], 0
je 0x4d000a
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 0x4cffce
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 0x4cff8d
mov edx, dword [ecx]
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x4cff99
mov ecx, dword [eax + 4]
push dword [ebp - 0x80]
push edx
push dword [eax + 0x14]
push ecx
call fcn.004d2cc0
add esp, 0x10
test al, al
je 0x4cffbf
mov edx, dword [ebp - 0x7c]
or eax, 0xffffffff
add edx, 0x1c
sub eax, edi
mov dword [ebp - 0x74], edx
add esi, eax
jmp 0x4cffc4
mov edx, dword [ebp - 0x74]
mov esi, edi
mov ecx, dword [ebp - 0x60]
test esi, esi
jg 0x4cff70
mov edi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x6c]
je 0x4d0004
mov eax, dword [ebp - 0x60]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4cffe3
mov edx, dword [eax]
cmp dword [ecx + 0x18], 0x10
mov esi, dword [eax + 0x10]
lea eax, [ecx + 4]
jb 0x4cfff2
mov eax, dword [ecx + 4]
push dword [ecx + 0x14]
push eax
push esi
push edx
call fcn.004d2cc0
add esp, 0x10
test al, al
je 0x4d000a
mov byte [ebp - 0x59], 0
jmp 0x4d000e
mov byte [ebp - 0x59], 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.004cce00
cmp byte [ebp - 0x59], 0
je 0x4d0070
push 0x281
push str.G:Valve_steam_thirdpartycode_nonredistprotobufprotobuf_3.15.3_srcgoogleprotobufdescriptor_database.cc
push 2
lea ecx, [ebp - 0x58]
call fcn.00475450
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.00475a60
mov ecx, eax
call fcn.00475870
push eax
lea ecx, [ebp - 0x75]
call fcn.004757f0
lea ecx, [ebp - 0x58]
call fcn.00475780
xor al, al
jmp 0x4d026f
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x4d0080
add ecx, 4
mov edx, ecx
mov esi, ecx
jmp 0x4d0086
xor ecx, ecx
xor edx, edx
xor esi, esi
mov eax, dword [edi + 0x24]
lea edi, [ecx + eax*4]
cmp edx, edi
je 0x4d010d
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 0x4d00ad
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.004d2ff0
test al, al
je 0x4cfe41
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 0x4d00e7
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.004d02a0
test al, al
je 0x4cfe41
add esi, 4
cmp esi, edi
jne 0x4d0090
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x3c]
test edx, edx
je 0x4d011e
add edx, 4
mov esi, edx
jmp 0x4d0122
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 0x4d0170
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 0x4d0147
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.004d2ff0
test al, al
je 0x4cfe41
add esi, 4
cmp esi, edi
jne 0x4d0130
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x5c]
test edx, edx
je 0x4d017e
add edx, 4
mov esi, edx
jmp 0x4d0182
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 0x4d020d
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 0x4d01aa
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.004d2ff0
test al, al
je 0x4cfe41
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 0x4d01e4
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.004cf8e0
test al, al
je 0x4cfe41
add esi, 4
cmp esi, edi
jne 0x4d0190
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x4d021b
add edx, 4
mov esi, edx
jmp 0x4d021f
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 0x4d026d
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 0x4d0247
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.004d2ff0
test al, al
je 0x4cfe41
add esi, 4
cmp esi, edi
jne 0x4d0230
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.005d1976
mov esp, ebp
pop ebp
ret 0xc
call fcn.005d606c
int3