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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x181cb008]
xor eax, esp
mov dword [esp + 0x68], eax
and dword [esp + 4], 0
mov eax, dword [0x181d4e10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], ebx
push esi
push edi
test al, 1
jne 0x180d1c1e
or eax, 1
mov edi, 0x181d4e1c
push 7
mov dword [0x181d4e10], eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
push 0x1817299b
call fcn.18144a69
pop ecx
mov esi, 0x181d4e1c
mov ecx, esi
call fcn.180cad47
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [ebx], 0
jne 0x180d1c40
mov ecx, ebx
mov byte [ebx], 1
call fcn.180d1e7b
mov ecx, esi
call fcn.180cad47
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp + 0xc], 0
je 0x180d1c73
mov edi, dword [ebx + 0x18]
xor esi, esi
test edi, edi
jle 0x180d1c73
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x180d1c6e
mov dl, 1
call fcn.180d1fdf
inc esi
cmp esi, edi
jl 0x180d1c5d
call fcn.180ebb4e
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 0x180d1c91
sub ecx, edx
push ecx
push dword [ebx + 0xc]
lea ecx, [esp + 0x40]
call fcn.18020b4e
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.180ebbbf
mov esi, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], esi
call fcn.1800e39c
test esi, esi
jne 0x180d1d0d
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:_srcpiper_branchesomaha_M36_release_branchgoogle3_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.1804ce18
lea eax, [esp + 0x50]
push eax
call fcn.180ca110
test byte [esp + 0x10], 1
je 0x180d1d1d
lea ecx, [esp + 0x5c]
call fcn.1800e39c
call fcn.180dc465
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 0x180d1d86
mov ebx, dword [esp + 0x10]
xor edi, edi
mov eax, dword [esi + 0x3c]
lea ecx, [esp + 0x20]
add eax, edi
push eax
call fcn.180d1a99
inc ebx
add edi, 0x58
cmp ebx, dword [esi + 0x24]
jl 0x180d1d66
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
xor edi, edi
cmp dword [esi + 0x28], edi
jle 0x180d1daa
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 0x180d1d8f
mov eax, dword [esi + 0x4c]
mov al, byte [eax + 0x57]
test al, al
je 0x180d1dd1
xor edx, edx
cmp dword [esi + 0x2c], edx
jle 0x180d1dd1
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 0x180d1dbd
mov eax, dword [0x181d4e18]
test al, 1
jne 0x180d1e17
or eax, 1
push 0x28
mov dword [0x181d4e18], eax
call fcn.18144dcf
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, 0x180d2840
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov edx, esi
call fcn.180cbf84
mov dword [0x181d4e14], esi
jmp 0x180d1e1d
mov esi, dword [0x181d4e14]
mov edi, dword [ebx + 0x2c]
mov ecx, esi
mov ebx, dword [esp + 0x24]
call fcn.180cad47
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 0x180d1e50
mov dword [eax], edi
mov dword [eax + 4], ebx
add dword [ecx + 4], 8
jmp 0x180d1e5b
lea edx, [esp + 0x14]
push edx
push eax
call fcn.180cc0c1
mov ecx, esi
call fcn.180cad47
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.18144705
mov esp, ebp
pop ebp
ret