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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x181c7008]
xor eax, esp
mov dword [esp + 0x68], eax
and dword [esp + 4], 0
mov eax, dword [0x181d0ce0]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], ebx
push esi
push edi
test al, 1
jne 0x180cfdf0
or eax, 1
mov edi, 0x181d0cc4
push 7
mov dword [0x181d0ce0], eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
push 0x1816f997
call fcn.18141b88
pop ecx
mov esi, 0x181d0cc4
mov ecx, esi
call fcn.180c8f19
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [ebx], 0
jne 0x180cfe12
mov ecx, ebx
mov byte [ebx], 1
call fcn.180d004d
mov ecx, esi
call fcn.180c8f19
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp + 0xc], 0
je 0x180cfe45
mov edi, dword [ebx + 0x18]
xor esi, esi
test edi, edi
jle 0x180cfe45
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x180cfe40
mov dl, 1
call fcn.180d01b1
inc esi
cmp esi, edi
jl 0x180cfe2f
call fcn.180e9d21
mov ecx, dword [ebx + 0xc]
mov esi, eax
and dword [esp + 0x48], 0
push 0xf
pop edi
mov dword [esp + 0x4c], edi
lea edx, [ecx + 1]
mov byte [esp + 0x38], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x180cfe63
sub ecx, edx
push ecx
push dword [ebx + 0xc]
lea ecx, [esp + 0x40]
call fcn.18020b98
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.180e9d92
mov esi, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], esi
call fcn.1800e379
test esi, esi
jne 0x180cfedf
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x5c]
and dword [esp + 0x6c], esi
push 0x1f
push str.CHECK_failed:_file___nullptr:
mov dword [esp + 0x58], 3
mov dword [esp + 0x5c], str.T:_srcpipergoogle3_third_partyprotobuf_legacy_opensource_srcgoogleprotobufgenerated_message_reflection.cc
mov dword [esp + 0x60], 0xd91
mov dword [esp + 0x78], edi
mov byte [esp + 0x64], 0
call fcn.1804cdff
lea eax, [esp + 0x50]
push eax
call fcn.180c82e2
test byte [esp + 0x10], 1
je 0x180cfeef
lea ecx, [esp + 0x5c]
call fcn.1800e379
call fcn.180da637
mov esi, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x30]
mov edi, dword [ebx + 0x28]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
and dword [esp + 0x10], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], edi
cmp dword [esi + 0x24], 0
jle 0x180cff58
mov ebx, dword [esp + 0x10]
xor edi, edi
mov eax, dword [esi + 0x3c]
lea ecx, [esp + 0x20]
add eax, edi
push eax
call fcn.180cfc68
inc ebx
add edi, 0x58
cmp ebx, dword [esi + 0x24]
jl 0x180cff38
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
xor edi, edi
cmp dword [esi + 0x28], edi
jle 0x180cff7c
xor edx, edx
mov eax, dword [esi + 0x40]
add eax, edx
add edx, 0x2c
mov dword [ecx], eax
mov ecx, dword [esp + 0x28]
add ecx, 4
inc edi
mov dword [esp + 0x28], ecx
cmp edi, dword [esi + 0x28]
jl 0x180cff61
mov eax, dword [esi + 0x4c]
mov al, byte [eax + 0x57]
test al, al
je 0x180cffa3
xor edx, edx
cmp dword [esi + 0x2c], edx
jle 0x180cffa3
xor edi, edi
mov ecx, dword [esi + 0x44]
mov eax, dword [ebx + 0x34]
add ecx, edi
add edi, 0x18
mov dword [eax + edx*4], ecx
inc edx
cmp edx, dword [esi + 0x2c]
jl 0x180cff8f
mov eax, dword [0x181d0ce4]
test al, 1
jne 0x180cffe9
or eax, 1
push 0x28
mov dword [0x181d0ce4], eax
call fcn.18141eee
mov esi, eax
xor edx, edx
pop ecx
push 6
pop ecx
mov dword [esi], edx
lea edi, [esi + 4]
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esi + 0x1c], edx
mov ecx, 0x180d0a12
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov edx, esi
call fcn.180ca156
mov dword [0x181d0cc0], esi
jmp 0x180cffef
mov esi, dword [0x181d0cc0]
mov edi, dword [ebx + 0x2c]
mov ecx, esi
mov ebx, dword [esp + 0x24]
call fcn.180c8f19
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], edi
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], ebx
cmp dword [ecx + 8], eax
je 0x180d0022
mov dword [eax], edi
mov dword [eax + 4], ebx
add dword [ecx + 4], 8
jmp 0x180d002d
lea edx, [esp + 0x14]
push edx
push eax
call fcn.180ca293
mov ecx, esi
call fcn.180c8f19
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18141824
mov esp, ebp
pop ebp
ret