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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fc116
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x68d494]
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 0x4cfc44
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 0x4cfc53
lea ecx, [ebp - 0x30]
push ecx
push eax
mov ecx, esi
call fcn.004d12d0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x4cfc8b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cfc81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d014c
push edx
push ecx
call fcn.005d1175
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 0x4cfca0
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.004d3da0
add esp, 8
test al, al
jne 0x4cfd08
push 0x277
push str.G:Valve_steam_thirdpartycode_nonredistprotobufprotobuf_3.15.3_srcgoogleprotobufdescriptor_database.cc
push 2
lea ecx, [ebp - 0x34]
call fcn.00475350
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.00475960
mov ecx, eax
call fcn.00475770
push eax
lea ecx, [ebp - 0x59]
call fcn.004756f0
lea ecx, [ebp - 0x34]
call fcn.00475680
xor al, al
jmp 0x4d012f
mov eax, dword [edi + 0x7c]
and eax, 0xfffffffe
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4cfd18
mov ecx, dword [eax]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x4cfd3d
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00447680
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x28]
push eax
sub ecx, 0x18
call fcn.00462850
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4cfd80
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cfd76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d014c
push edx
push ecx
call fcn.005d1175
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 0x4cfd9c
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 0x4cfdc6
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00447680
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.004d1140
cmp byte [ebp - 0x6c], 0
je 0x4cfeca
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 0x4cfe8e
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 0x4cfe4d
mov edx, dword [ecx]
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x4cfe59
mov ecx, dword [eax + 4]
push dword [ebp - 0x80]
push edx
push dword [eax + 0x14]
push ecx
call fcn.004d2b80
add esp, 0x10
test al, al
je 0x4cfe7f
mov edx, dword [ebp - 0x7c]
or eax, 0xffffffff
add edx, 0x1c
sub eax, edi
mov dword [ebp - 0x74], edx
add esi, eax
jmp 0x4cfe84
mov edx, dword [ebp - 0x74]
mov esi, edi
mov ecx, dword [ebp - 0x60]
test esi, esi
jg 0x4cfe30
mov edi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x6c]
je 0x4cfec4
mov eax, dword [ebp - 0x60]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4cfea3
mov edx, dword [eax]
cmp dword [ecx + 0x18], 0x10
mov esi, dword [eax + 0x10]
lea eax, [ecx + 4]
jb 0x4cfeb2
mov eax, dword [ecx + 4]
push dword [ecx + 0x14]
push eax
push esi
push edx
call fcn.004d2b80
add esp, 0x10
test al, al
je 0x4cfeca
mov byte [ebp - 0x59], 0
jmp 0x4cfece
mov byte [ebp - 0x59], 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.004cccc0
cmp byte [ebp - 0x59], 0
je 0x4cff30
push 0x281
push str.G:Valve_steam_thirdpartycode_nonredistprotobufprotobuf_3.15.3_srcgoogleprotobufdescriptor_database.cc
push 2
lea ecx, [ebp - 0x58]
call fcn.00475350
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.00475960
mov ecx, eax
call fcn.00475770
push eax
lea ecx, [ebp - 0x75]
call fcn.004756f0
lea ecx, [ebp - 0x58]
call fcn.00475680
xor al, al
jmp 0x4d012f
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x4cff40
add ecx, 4
mov edx, ecx
mov esi, ecx
jmp 0x4cff46
xor ecx, ecx
xor edx, edx
xor esi, esi
mov eax, dword [edi + 0x24]
lea edi, [ecx + eax*4]
cmp edx, edi
je 0x4cffcd
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 0x4cff6d
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.004d2eb0
test al, al
je 0x4cfd01
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 0x4cffa7
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.004d0160
test al, al
je 0x4cfd01
add esi, 4
cmp esi, edi
jne 0x4cff50
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x3c]
test edx, edx
je 0x4cffde
add edx, 4
mov esi, edx
jmp 0x4cffe2
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 0x4d0030
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 0x4d0007
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.004d2eb0
test al, al
je 0x4cfd01
add esi, 4
cmp esi, edi
jne 0x4cfff0
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x5c]
test edx, edx
je 0x4d003e
add edx, 4
mov esi, edx
jmp 0x4d0042
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 0x4d00cd
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 0x4d006a
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.004d2eb0
test al, al
je 0x4cfd01
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 0x4d00a4
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.004cf7a0
test al, al
je 0x4cfd01
add esi, 4
cmp esi, edi
jne 0x4d0050
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x4d00db
add edx, 4
mov esi, edx
jmp 0x4d00df
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 0x4d012d
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 0x4d0107
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.004d2eb0
test al, al
je 0x4cfd01
add esi, 4
cmp esi, edi
jne 0x4d00f0
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.005d19c6
mov esp, ebp
pop ebp
ret 0xc
call fcn.005d5ee4
int3