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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x181cf008]
xor eax, esp
mov dword [esp + 0x68], eax
and dword [esp + 4], 0
mov eax, dword [0x181d8f20]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], ebx
push esi
push edi
test al, 1
jne 0x180d34ce
or eax, 1
mov edi, 0x181d8f2c
push 7
mov dword [0x181d8f20], eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
push 0x18174282
call fcn.18146348
pop ecx
mov esi, 0x181d8f2c
mov ecx, esi
call fcn.180cc5fa
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [ebx], 0
jne 0x180d34f0
mov ecx, ebx
mov byte [ebx], 1
call fcn.180d372b
mov ecx, esi
call fcn.180cc5fa
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp + 0xc], 0
je 0x180d3523
mov edi, dword [ebx + 0x18]
xor esi, esi
test edi, edi
jle 0x180d3523
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x180d351e
mov dl, 1
call fcn.180d388f
inc esi
cmp esi, edi
jl 0x180d350d
call fcn.180ed3ff
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 0x180d3541
sub ecx, edx
push ecx
push dword [ebx + 0xc]
lea ecx, [esp + 0x40]
call fcn.18020cd8
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.180ed470
mov esi, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], esi
call fcn.1800e44a
test esi, esi
jne 0x180d35bd
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.1804d05e
lea eax, [esp + 0x50]
push eax
call fcn.180cb9c3
test byte [esp + 0x10], 1
je 0x180d35cd
lea ecx, [esp + 0x5c]
call fcn.1800e44a
call fcn.180ddd15
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 0x180d3636
mov ebx, dword [esp + 0x10]
xor edi, edi
mov eax, dword [esi + 0x3c]
lea ecx, [esp + 0x20]
add eax, edi
push eax
call fcn.180d3349
inc ebx
add edi, 0x58
cmp ebx, dword [esi + 0x24]
jl 0x180d3616
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
xor edi, edi
cmp dword [esi + 0x28], edi
jle 0x180d365a
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 0x180d363f
mov eax, dword [esi + 0x4c]
mov al, byte [eax + 0x57]
test al, al
je 0x180d3681
xor edx, edx
cmp dword [esi + 0x2c], edx
jle 0x180d3681
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 0x180d366d
mov eax, dword [0x181d8f28]
test al, 1
jne 0x180d36c7
or eax, 1
push 0x28
mov dword [0x181d8f28], eax
call fcn.181466ae
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, 0x180d40f0
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov edx, esi
call fcn.180cd837
mov dword [0x181d8f24], esi
jmp 0x180d36cd
mov esi, dword [0x181d8f24]
mov edi, dword [ebx + 0x2c]
mov ecx, esi
mov ebx, dword [esp + 0x24]
call fcn.180cc5fa
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 0x180d3700
mov dword [eax], edi
mov dword [eax + 4], ebx
add dword [ecx + 4], 8
jmp 0x180d370b
lea edx, [esp + 0x14]
push edx
push eax
call fcn.180cd974
mov ecx, esi
call fcn.180cc5fa
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.18145fe4
mov esp, ebp
pop ebp
ret