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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fc3d6
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x68e494]
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 0x4cfeb4
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 0x4cfec3
lea ecx, [ebp - 0x30]
push ecx
push eax
mov ecx, esi
call fcn.004d1540
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x4cfefb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cfef1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d03bc
push edx
push ecx
call fcn.005d1425
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 0x4cff10
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.004d4010
add esp, 8
test al, al
jne 0x4cff78
push 0x277
push str.G:Valve_steam_thirdpartycode_nonredistprotobufprotobuf_3.15.3_srcgoogleprotobufdescriptor_database.cc
push 2
lea ecx, [ebp - 0x34]
call fcn.004755e0
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.00475bf0
mov ecx, eax
call fcn.00475a00
push eax
lea ecx, [ebp - 0x59]
call fcn.00475980
lea ecx, [ebp - 0x34]
call fcn.00475910
xor al, al
jmp 0x4d039f
mov eax, dword [edi + 0x7c]
and eax, 0xfffffffe
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4cff88
mov ecx, dword [eax]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x4cffad
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004476a0
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x28]
push eax
sub ecx, 0x18
call fcn.00462af0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4cfff0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cffe6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d03bc
push edx
push ecx
call fcn.005d1425
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 0x4d000c
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 0x4d0036
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004476a0
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.004d13b0
cmp byte [ebp - 0x6c], 0
je 0x4d013a
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 0x4d00fe
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 0x4d00bd
mov edx, dword [ecx]
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x4d00c9
mov ecx, dword [eax + 4]
push dword [ebp - 0x80]
push edx
push dword [eax + 0x14]
push ecx
call fcn.004d2df0
add esp, 0x10
test al, al
je 0x4d00ef
mov edx, dword [ebp - 0x7c]
or eax, 0xffffffff
add edx, 0x1c
sub eax, edi
mov dword [ebp - 0x74], edx
add esi, eax
jmp 0x4d00f4
mov edx, dword [ebp - 0x74]
mov esi, edi
mov ecx, dword [ebp - 0x60]
test esi, esi
jg 0x4d00a0
mov edi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x6c]
je 0x4d0134
mov eax, dword [ebp - 0x60]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4d0113
mov edx, dword [eax]
cmp dword [ecx + 0x18], 0x10
mov esi, dword [eax + 0x10]
lea eax, [ecx + 4]
jb 0x4d0122
mov eax, dword [ecx + 4]
push dword [ecx + 0x14]
push eax
push esi
push edx
call fcn.004d2df0
add esp, 0x10
test al, al
je 0x4d013a
mov byte [ebp - 0x59], 0
jmp 0x4d013e
mov byte [ebp - 0x59], 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.004ccf30
cmp byte [ebp - 0x59], 0
je 0x4d01a0
push 0x281
push str.G:Valve_steam_thirdpartycode_nonredistprotobufprotobuf_3.15.3_srcgoogleprotobufdescriptor_database.cc
push 2
lea ecx, [ebp - 0x58]
call fcn.004755e0
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.00475bf0
mov ecx, eax
call fcn.00475a00
push eax
lea ecx, [ebp - 0x75]
call fcn.00475980
lea ecx, [ebp - 0x58]
call fcn.00475910
xor al, al
jmp 0x4d039f
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x4d01b0
add ecx, 4
mov edx, ecx
mov esi, ecx
jmp 0x4d01b6
xor ecx, ecx
xor edx, edx
xor esi, esi
mov eax, dword [edi + 0x24]
lea edi, [ecx + eax*4]
cmp edx, edi
je 0x4d023d
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 0x4d01dd
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.004d3120
test al, al
je 0x4cff71
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 0x4d0217
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.004d03d0
test al, al
je 0x4cff71
add esi, 4
cmp esi, edi
jne 0x4d01c0
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x3c]
test edx, edx
je 0x4d024e
add edx, 4
mov esi, edx
jmp 0x4d0252
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 0x4d02a0
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 0x4d0277
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.004d3120
test al, al
je 0x4cff71
add esi, 4
cmp esi, edi
jne 0x4d0260
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x5c]
test edx, edx
je 0x4d02ae
add edx, 4
mov esi, edx
jmp 0x4d02b2
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 0x4d033d
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 0x4d02da
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.004d3120
test al, al
je 0x4cff71
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 0x4d0314
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.004cfa10
test al, al
je 0x4cff71
add esi, 4
cmp esi, edi
jne 0x4d02c0
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x4d034b
add edx, 4
mov esi, edx
jmp 0x4d034f
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 0x4d039d
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 0x4d0377
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.004d3120
test al, al
je 0x4cff71
add esi, 4
cmp esi, edi
jne 0x4d0360
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.005d1c76
mov esp, ebp
pop ebp
ret 0xc
call fcn.005d6194
int3