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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x1819f008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
push 0x60
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x44], edi
call fcn.180d5a22
mov esi, eax
xor eax, eax
mov dword [ebx + 0x34], esi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], eax
mov word [esi + 0x30], ax
mov eax, dword [edi + 8]
shr eax, 4
mov dword [ebp - 0x40], esi
and al, 1
je 0x180dbc1b
mov esi, dword [ebx + 4]
push 0x20
call fcn.18129579
pop ecx
mov ecx, eax
call fcn.180f732f
lea ecx, [esi + 0xa4]
mov dword [ebp - 0x54], eax
mov edx, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
cmp dword [ecx + 8], edx
je 0x180dbbd9
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x180dbbe9
lea eax, [ebp - 0x3c]
push eax
push edx
call fcn.180e90b4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov esi, dword [edi + 0x88]
test esi, esi
jne 0x180dbbf8
mov esi, 0x181a7050
cmp esi, eax
je 0x180dbc10
mov ecx, eax
call fcn.180f73b2
push esi
mov esi, dword [ebp - 0x54]
mov ecx, esi
call fcn.180f7548
jmp 0x180dbc13
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x5c], esi
jmp 0x180dbc23
call fcn.180f7397
mov dword [esi + 0x5c], eax
mov esi, dword [ebx + 4]
push 0x10c
call fcn.18129579
pop ecx
mov ecx, eax
call fcn.180d4b18
mov ecx, eax
mov eax, dword [esi + 0xc0]
mov dword [ebp - 0x3c], ecx
cmp dword [esi + 0xc4], eax
je 0x180dbc56
mov dword [eax], ecx
add dword [esi + 0xc0], 4
jmp 0x180dbc69
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [esi + 0xbc]
call fcn.180e6cec
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x38], ecx
mov dword [eax + 0x58], ecx
test byte [edi + 8], 1
jne 0x180dbcb0
xor eax, eax
mov dword [ebp - 0xc], 0xf
push eax
push 0x1817cc54
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x20], al
call fcn.1801dd77
push str.Missing_field:_FileDescriptorProto.name.
push 0xa
push edi
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.180da25d
lea ecx, [ebp - 0x20]
call fcn.1800ce96
mov eax, dword [edi + 0x80]
xor esi, esi
cmp dword [eax + 0x10], esi
je 0x180dbd23
mov edx, str.proto2
mov ecx, eax
call fcn.180e72a1
test al, al
jne 0x180dbd23
mov eax, dword [ebx + 0x34]
mov edx, str.proto3
mov ecx, dword [edi + 0x80]
add eax, 0x2c
mov dword [ebp - 0x3c], eax
call fcn.180e72a1
test al, al
mov eax, dword [ebp - 0x3c]
je 0x180dbcf5
mov dword [eax], 3
jmp 0x180dbd2d
mov dword [eax], esi
lea ecx, [ebp - 0x20]
push dword [edi + 0x80]
mov edx, str.Unrecognized_syntax:
call fcn.18098123
pop ecx
push eax
push 0xa
push edi
push dword [edi + 0x78]
mov ecx, ebx
call fcn.180da14a
lea ecx, [ebp - 0x20]
call fcn.1800ce96
jmp 0x180dbd2d
mov eax, dword [ebx + 0x34]
mov dword [eax + 0x2c], 2
push dword [edi + 0x78]
mov ecx, dword [ebx + 4]
call fcn.180d5946
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 4]
shr eax, 1
mov dword [ebp - 0x3c], ecx
test al, 1
je 0x180dbd5c
push dword [edi + 0x7c]
call fcn.180d5946
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 4], eax
jmp 0x180dbd98
xor eax, eax
mov dword [ebp - 0xc], 0xf
push eax
push 0x1817cc54
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x20], al
call fcn.1801dd77
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x20]
push eax
call fcn.180d5946
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x20]
call fcn.1800ce96
mov ecx, dword [ebp - 0x40]
xor esi, esi
mov eax, dword [ebx]
mov dword [ecx + 8], eax
mov eax, dword [ecx]
mov edx, dword [ebx + 4]
mov dword [ebp - 0x3c], edx
cmp dword [eax + 0x14], 0x10
jb 0x180dbdad
mov eax, dword [eax]
push dword [ebp - 0x48]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x60], ecx
push eax
lea ecx, [edx + 0xe8]
call fcn.180ebdf1
cmp byte [ebp - 0x70], 0
je 0x180dc437
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
add ecx, 0x128
mov edx, dword [eax]
cmp dword [edx + 0x14], 0x10
jb 0x180dbde9
mov edx, dword [edx]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x3c], edx
cmp dword [ecx + 8], edi
je 0x180dbdfc
mov dword [edi], edx
add dword [ecx + 4], 4
jmp 0x180dbe09
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.18008fd7
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 4]
mov edi, dword [ebp - 0x44]
cmp dword [ecx + 0x10], esi
je 0x180dbe1e
push eax
push edi
push ecx
mov ecx, ebx
call fcn.180db331
lea ecx, [ebp - 0x7c]
call fcn.180abac4
mov ecx, dword [ebp - 0x40]
mov eax, dword [edi + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x14]
shl eax, 2
test eax, eax
jne 0x180dbe3d
mov eax, esi
jmp 0x180dbe49
mov ecx, dword [ebx + 4]
push eax
call fcn.180d5a22
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x34], eax
mov eax, dword [ebx]
cmp byte [eax + 0x15], 0
je 0x180dbe98
mov ecx, dword [ebx + 4]
call fcn.180d59e7
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x14]
shl eax, 2
test eax, eax
jne 0x180dbe70
mov edx, esi
jmp 0x180dbe7b
mov ecx, dword [ebx + 4]
push eax
call fcn.180d5a22
mov edx, eax
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x38], edx
mov ecx, dword [edi + 0x14]
test ecx, ecx
jle 0x180dbe9e
shl ecx, 2
push ecx
push esi
push edx
call fcn.1812b9b0
add esp, 0xc
jmp 0x180dbe9e
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x38], esi
lea ecx, [ebx + 0x44]
call fcn.180e4f74
lea ecx, [ebp - 0x6c]
call fcn.180be17c
xor eax, eax
mov esi, eax
cmp dword [edi + 0x6c], eax
jle 0x180dbedf
mov eax, dword [edi + 0x74]
push dword [ebp - 0x48]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push ecx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x6c]
call fcn.180e914c
inc esi
cmp esi, dword [edi + 0x6c]
jl 0x180dbeb7
xor eax, eax
mov ecx, eax
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x50], ecx
cmp dword [edi + 0x14], eax
jle 0x180dc035
mov eax, dword [edi + 0x1c]
push dword [ebp - 0x48]
push dword [eax + ecx*4 + 4]
lea eax, [ebp - 0x84]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.180e8ded
cmp byte [ebp - 0x80], 0
jne 0x180dbf75
mov eax, dword [edi + 0x1c]
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x50]
push dword [eax + edx*4 + 4]
mov edx, str.Import__
call fcn.18098123
pop ecx
push 0x13
push str.__was_listed_twice.
mov ecx, eax
call fcn.1804a06e
xor ecx, ecx
mov byte [ebp - 0x48], cl
push dword [ebp - 0x48]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x20]
push eax
call fcn.1800cf4a
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [edi + 0x1c]
push 9
push edi
push dword [eax + ecx*4 + 4]
mov ecx, ebx
call fcn.180da14a
lea ecx, [ebp - 0x20]
call fcn.1800ce96
lea ecx, [ebp - 0x38]
call fcn.1800ce96
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x50]
push dword [eax + ecx*4 + 4]
mov ecx, dword [ebx + 4]
call fcn.180d5353
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x180dbfb1
mov ecx, dword [ebx]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x180dbfb1
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x50]
push dword [eax + ecx*4 + 4]
mov ecx, edx
call fcn.180d5df8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], eax
cmp eax, esi
je 0x180dc422
mov ecx, dword [ebx]
test eax, eax
jne 0x180dc05d
cmp byte [ecx + 0x15], al
jne 0x180dbff4
cmp byte [ecx + 0x16], al
jne 0x180dc048
cmp byte [ecx + 0x17], al
jne 0x180dbfe9
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x6c]
call fcn.180be135
mov eax, dword [eax]
cmp eax, dword [ebp - 0x6c]
jne 0x180dc048
push dword [ebp - 0x50]
mov ecx, ebx
push edi
call fcn.180db7c4
mov edx, dword [ebp - 0x4c]
mov eax, dword [esi + 0x34]
mov ecx, dword [ebp - 0x50]
mov dword [eax + ecx*4], edx
mov eax, dword [ebx]
cmp byte [eax + 0x15], 0
je 0x180dc026
test edx, edx
jne 0x180dc026
mov eax, dword [edi + 0x1c]
push dword [eax + ecx*4 + 4]
mov ecx, dword [ebx + 4]
call fcn.180d5946
mov ecx, dword [esi + 0x38]
mov edx, dword [ebp - 0x50]
mov dword [ecx + edx*4], eax
mov ecx, edx
inc ecx
mov dword [ebp - 0x50], ecx
cmp ecx, dword [edi + 0x14]
jl 0x180dbef0
xor eax, eax
mov ecx, dword [edi + 0x60]
mov edx, eax
shl ecx, 2
mov dword [ebp - 0x4c], edx
test ecx, ecx
jne 0x180dc0a5
mov ecx, eax
jmp 0x180dc0b5
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x50]
push dword [eax + ecx*4 + 4]
mov ecx, dword [ebx]
call fcn.180daf4b
mov edx, eax
jmp 0x180dbff7
cmp byte [ecx + 0x14], 0
je 0x180dbff4
push dword [edi + 0x78]
lea esi, [ecx + 0x1c]
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call fcn.180e59d1
mov edx, dword [ebp - 0x4c]
mov eax, dword [eax]
cmp eax, dword [esi]
je 0x180dc09d
cmp dword [edx + 0x14], 0
jne 0x180dc09d
push dword [ebp - 0x60]
lea eax, [ebp - 0x3c]
push eax
push ecx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebx + 0x44]
call fcn.180e8ea7
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
jmp 0x180dbff7
push ecx
mov ecx, dword [ebx + 4]
call fcn.180d5a22
mov edx, dword [ebp - 0x4c]
mov ecx, eax
xor eax, eax
mov dword [esi + 0x3c], ecx
mov ecx, eax
mov dword [ebp - 0x3c], eax
cmp dword [edi + 0x60], eax
jle 0x180dc11d
mov eax, dword [edi + 0x68]
mov ecx, dword [eax + ecx*4]
test ecx, ecx
js 0x180dc0fc
cmp ecx, dword [edi + 0x14]
jge 0x180dc0fc
mov eax, dword [esi + 0x3c]
mov dword [eax + edx*4], ecx
inc edx
mov eax, dword [ebx]
mov dword [ebp - 0x4c], edx
cmp byte [eax + 0x15], 0
jne 0x180dc111
push ecx
mov ecx, esi
call fcn.180e4849
mov dword [ebp - 0x48], eax
lea ecx, [ebx + 0x44]
lea eax, [ebp - 0x48]
push eax
call fcn.180e4f92
jmp 0x180dc10e
push str.Invalid_public_dependency_index.
push 0xa
push edi
push dword [edi + 0x78]
mov ecx, ebx
call fcn.180da25d
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x3c], ecx
cmp ecx, dword [edi + 0x60]
jl 0x180dc0c2
lea ecx, [ebx + 0x3c]
mov dword [esi + 0x14], edx
call fcn.180e4f74
mov eax, dword [ebx]
cmp byte [eax + 0x15], 0
jne 0x180dc152
xor eax, eax
cmp dword [esi + 0x10], eax
jle 0x180dc154
mov edi, eax
push edi
mov ecx, esi
call fcn.180e4849
push eax
mov ecx, ebx
call fcn.180da70c
inc edi
cmp edi, dword [esi + 0x10]
jl 0x180dc139
mov edi, dword [ebp - 0x44]
xor eax, eax
mov ecx, dword [edi + 0x6c]
mov edx, eax
shl ecx, 2
mov dword [ebp - 0x3c], edx
test ecx, ecx
jne 0x180dc167
mov ecx, eax
jmp 0x180dc177
push ecx
mov ecx, dword [ebx + 4]
call fcn.180d5a22
mov edx, dword [ebp - 0x3c]
mov ecx, eax
xor eax, eax
mov dword [esi + 0x40], ecx
mov ecx, eax
mov dword [ebp - 0x44], eax
cmp dword [edi + 0x6c], eax
jle 0x180dc1c9
mov eax, dword [edi + 0x74]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x48], eax
test eax, eax
js 0x180dc1a8
cmp eax, dword [edi + 0x14]
jge 0x180dc1a8
mov eax, dword [esi + 0x40]
mov esi, dword [ebp - 0x48]
mov dword [eax + edx*4], esi
inc edx
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x3c], edx
jmp 0x180dc1c0
push str.Invalid_weak_dependency_index.
push 0xa
push edi
push dword [edi + 0x78]
mov ecx, ebx
call fcn.180da25d
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x44], ecx
cmp ecx, dword [edi + 0x6c]
jl 0x180dc184
mov dword [esi + 0x18], edx
mov ecx, ebx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x44]
push eax
push dword [edi + 0x24]
mov dword [ebp - 0x4c], eax
call fcn.180e72ee
xor ecx, ecx
cmp dword [edi + 0x24], ecx
jle 0x180dc21d
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
add eax, edx
push eax
mov eax, dword [edi + 0x2c]
push ecx
mov ecx, ebx
push dword [eax + esi*4 + 4]
call fcn.180dc510
mov edx, dword [ebp - 0x44]
inc esi
add edx, 0x58
push 0
mov dword [ebp - 0x44], edx
pop ecx
cmp esi, dword [edi + 0x24]
jl 0x180dc1f1
mov esi, dword [ebp - 0x40]
mov eax, dword [edi + 0x34]
mov ecx, ebx
mov dword [esi + 0x20], eax
lea eax, [esi + 0x48]
push eax
push dword [edi + 0x34]
mov dword [ebp - 0x3c], eax
call fcn.180e730b
xor ecx, ecx
cmp dword [edi + 0x34], ecx
jle 0x180dc26e
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
add eax, edx
push eax
mov eax, dword [edi + 0x3c]
push ecx
mov ecx, ebx
push dword [eax + esi*4 + 4]
call fcn.180de4a9
mov edx, dword [ebp - 0x44]
inc esi
add edx, 0x30
push 0
mov dword [ebp - 0x44], edx
pop ecx
cmp esi, dword [edi + 0x34]
jl 0x180dc242
mov esi, dword [ebp - 0x40]
mov eax, dword [edi + 0x44]
mov dword [esi + 0x24], eax
imul eax, dword [edi + 0x44], 0x18
test eax, eax
jne 0x180dc280
mov eax, ecx
jmp 0x180dc28b
mov ecx, dword [ebx + 4]
push eax
call fcn.180d5a22
xor ecx, ecx
mov dword [esi + 0x4c], eax
mov edx, ecx
mov dword [ebp - 0x44], edx
cmp dword [edi + 0x44], ecx
jle 0x180dc2c5
mov dword [ebp - 0x3c], ecx
mov eax, dword [esi + 0x4c]
add eax, ecx
push eax
mov eax, dword [edi + 0x4c]
push ecx
mov ecx, ebx
push dword [eax + edx*4 + 4]
call fcn.180df1e2
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
inc edx
add ecx, 0x18
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x3c], ecx
cmp edx, dword [edi + 0x44]
jl 0x180dc29b
mov eax, dword [edi + 0x54]
mov ecx, ebx
mov dword [esi + 0x28], eax
lea eax, [esi + 0x50]
push eax
push dword [edi + 0x54]
mov dword [ebp - 0x3c], eax
call fcn.180e72ee
xor ecx, ecx
cmp dword [edi + 0x54], ecx
jle 0x180dc318
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x3c]
push 1
mov eax, dword [eax]
add eax, edx
push eax
mov eax, dword [edi + 0x5c]
push ecx
mov ecx, ebx
push dword [eax + esi*4 + 4]
call fcn.180dd4f8
mov edx, dword [ebp - 0x44]
inc esi
add edx, 0x58
push 0
mov dword [ebp - 0x44], edx
pop ecx
cmp esi, dword [edi + 0x54]
jl 0x180dc2ea
mov esi, dword [ebp - 0x40]
mov dword [esi + 0x54], ecx
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
je 0x180dc33d
mov eax, dword [edi + 0x84]
test eax, eax
jne 0x180dc334
mov eax, 0x181a6f58
push esi
push eax
mov ecx, ebx
call fcn.180db605
push edi
push esi
mov ecx, ebx
call fcn.180df476
mov cl, byte [ebx + 0x18]
test cl, cl
jne 0x180dc3c2
push ebx
lea ecx, [ebp - 0xd4]
call fcn.180e1d58
mov esi, dword [ebx + 0xc]
jmp 0x180dc36d
push esi
lea ecx, [ebp - 0xd4]
call fcn.180e1e60
add esi, 0x44
cmp esi, dword [ebx + 0x10]
jne 0x180dc35e
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.180e5bd4
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x180dc396
push eax
lea ecx, [ebp - 0xd4]
call fcn.180e2d27
lea ecx, [ebp - 0xd4]
call fcn.180e1e1a
mov cl, byte [ebx + 0x18]
mov esi, dword [ebp - 0x40]
test cl, cl
jne 0x180dc3c2
mov eax, dword [ebx]
cmp byte [eax + 0x15], cl
jne 0x180dc3be
push edi
push esi
mov ecx, ebx
call fcn.180e0761
mov cl, byte [ebx + 0x18]
test cl, cl
je 0x180dc3fb
xor eax, eax
cmp dword [edi + 0x24], eax
jle 0x180dc3fd
mov ecx, eax
mov esi, eax
mov dword [ebp - 0x44], ecx
mov eax, dword [edi + 0x2c]
push dword [eax + esi*4 + 4]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
add eax, ecx
mov ecx, ebx
push eax
call fcn.180e18e7
mov ecx, dword [ebp - 0x44]
inc esi
add ecx, 0x58
mov dword [ebp - 0x44], ecx
cmp esi, dword [edi + 0x24]
jl 0x180dc3d0
mov cl, byte [ebx + 0x18]
mov esi, dword [ebp - 0x40]
xor eax, eax
mov dl, cl
test cl, cl
jne 0x180dc41b
cmp dword [ebx + 0x48], eax
je 0x180dc41b
mov eax, dword [ebx]
cmp byte [eax + 0x15], cl
jne 0x180dc41b
push ecx
push edi
mov ecx, ebx
call fcn.180e42de
mov dl, byte [ebx + 0x18]
test dl, dl
jne 0x180dc422
mov dword [ebp - 0x5c], esi
lea ecx, [ebp - 0x6c]
call fcn.180ba9c2
lea ecx, [ebp - 0x7c]
call fcn.180e4dce
mov eax, dword [ebp - 0x5c]
jmp 0x180dc44b
push str.A_file_with_this_name_is_already_in_the_pool.
push 0xa
push edi
push dword [edi + 0x78]
mov ecx, ebx
call fcn.180da25d
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18128eaf
leave
ret 4