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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x18195008]
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.180cdff2
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 0x180d41ee
mov esi, dword [ebx + 4]
push 0x20
call fcn.1812136a
pop ecx
mov ecx, eax
call fcn.180ef6e8
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 0x180d41ac
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x180d41bc
lea eax, [ebp - 0x3c]
push eax
push edx
call fcn.180e162b
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov esi, dword [edi + 0x88]
test esi, esi
jne 0x180d41cb
mov esi, 0x1819cac8
cmp esi, eax
je 0x180d41e3
mov ecx, eax
call fcn.180ef78d
push esi
mov esi, dword [ebp - 0x54]
mov ecx, esi
call fcn.180ef931
jmp 0x180d41e6
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x5c], esi
jmp 0x180d41f6
call fcn.180ef772
mov dword [esi + 0x5c], eax
mov esi, dword [ebx + 4]
push 0x10c
call fcn.1812136a
pop ecx
mov ecx, eax
call fcn.180cd0e8
mov ecx, eax
mov eax, dword [esi + 0xc0]
mov dword [ebp - 0x3c], ecx
cmp dword [esi + 0xc4], eax
je 0x180d4229
mov dword [eax], ecx
add dword [esi + 0xc0], 4
jmp 0x180d423c
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [esi + 0xbc]
call fcn.180df27b
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 0x180d4283
xor eax, eax
mov dword [ebp - 0xc], 0xf
push eax
push 0x18173c94
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x20], al
call fcn.1801dd29
push str.Missing_field:_FileDescriptorProto.name.
push 0xa
push edi
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.180d2830
lea ecx, [ebp - 0x20]
call fcn.1800ce55
mov eax, dword [edi + 0x80]
xor esi, esi
cmp dword [eax + 0x10], esi
je 0x180d42f6
mov edx, str.proto2
mov ecx, eax
call fcn.180df863
test al, al
jne 0x180d42f6
mov eax, dword [ebx + 0x34]
mov edx, str.proto3
mov ecx, dword [edi + 0x80]
add eax, 0x2c
mov dword [ebp - 0x3c], eax
call fcn.180df863
test al, al
mov eax, dword [ebp - 0x3c]
je 0x180d42c8
mov dword [eax], 3
jmp 0x180d4300
mov dword [eax], esi
lea ecx, [ebp - 0x20]
push dword [edi + 0x80]
mov edx, str.Unrecognized_syntax:
call fcn.18090534
pop ecx
push eax
push 0xa
push edi
push dword [edi + 0x78]
mov ecx, ebx
call fcn.180d271d
lea ecx, [ebp - 0x20]
call fcn.1800ce55
jmp 0x180d4300
mov eax, dword [ebx + 0x34]
mov dword [eax + 0x2c], 2
push dword [edi + 0x78]
mov ecx, dword [ebx + 4]
call fcn.180cdf16
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 0x180d432f
push dword [edi + 0x7c]
call fcn.180cdf16
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 4], eax
jmp 0x180d436b
xor eax, eax
mov dword [ebp - 0xc], 0xf
push eax
push 0x18173c94
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x20], al
call fcn.1801dd29
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x20]
push eax
call fcn.180cdf16
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x20]
call fcn.1800ce55
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 0x180d4380
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.180e42da
cmp byte [ebp - 0x70], 0
je 0x180d4a0c
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
add ecx, 0x128
mov edx, dword [eax]
cmp dword [edx + 0x14], 0x10
jb 0x180d43bc
mov edx, dword [edx]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x3c], edx
cmp dword [ecx + 8], edi
je 0x180d43cf
mov dword [edi], edx
add dword [ecx + 4], 4
jmp 0x180d43dc
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.18008f96
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 4]
mov edi, dword [ebp - 0x44]
cmp dword [ecx + 0x10], esi
je 0x180d43f1
push eax
push edi
push ecx
mov ecx, ebx
call fcn.180d3904
lea ecx, [ebp - 0x7c]
call fcn.180a3ed6
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 0x180d4410
mov eax, esi
jmp 0x180d441c
mov ecx, dword [ebx + 4]
push eax
call fcn.180cdff2
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x34], eax
mov eax, dword [ebx]
cmp byte [eax + 0x15], 0
je 0x180d446b
mov ecx, dword [ebx + 4]
call fcn.180cdfb7
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x14]
shl eax, 2
test eax, eax
jne 0x180d4443
mov edx, esi
jmp 0x180d444e
mov ecx, dword [ebx + 4]
push eax
call fcn.180cdff2
mov edx, eax
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x38], edx
mov ecx, dword [edi + 0x14]
test ecx, ecx
jle 0x180d4471
shl ecx, 2
push ecx
push esi
push edx
call fcn.181237a0
add esp, 0xc
jmp 0x180d4471
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x38], esi
lea ecx, [ebx + 0x44]
call fcn.180dd53d
lea ecx, [ebp - 0x6c]
call fcn.180b66e0
xor eax, eax
mov esi, eax
cmp dword [edi + 0x6c], eax
jle 0x180d44b2
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.180e16c3
inc esi
cmp esi, dword [edi + 0x6c]
jl 0x180d448a
xor eax, eax
mov ecx, eax
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x50], ecx
cmp dword [edi + 0x14], eax
jle 0x180d4608
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.180e1364
cmp byte [ebp - 0x80], 0
jne 0x180d4548
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.18090534
pop ecx
push 0x13
push str.__was_listed_twice.
mov ecx, eax
call fcn.18049e6c
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.1800cf09
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.180d271d
lea ecx, [ebp - 0x20]
call fcn.1800ce55
lea ecx, [ebp - 0x38]
call fcn.1800ce55
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x50]
push dword [eax + ecx*4 + 4]
mov ecx, dword [ebx + 4]
call fcn.180cd923
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x180d4584
mov ecx, dword [ebx]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x180d4584
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x50]
push dword [eax + ecx*4 + 4]
mov ecx, edx
call fcn.180ce3cb
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], eax
cmp eax, esi
je 0x180d49f7
mov ecx, dword [ebx]
test eax, eax
jne 0x180d4630
cmp byte [ecx + 0x15], al
jne 0x180d45c7
cmp byte [ecx + 0x16], al
jne 0x180d461b
cmp byte [ecx + 0x17], al
jne 0x180d45bc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x6c]
call fcn.180b6699
mov eax, dword [eax]
cmp eax, dword [ebp - 0x6c]
jne 0x180d461b
push dword [ebp - 0x50]
mov ecx, ebx
push edi
call fcn.180d3d97
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 0x180d45f9
test edx, edx
jne 0x180d45f9
mov eax, dword [edi + 0x1c]
push dword [eax + ecx*4 + 4]
mov ecx, dword [ebx + 4]
call fcn.180cdf16
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 0x180d44c3
xor eax, eax
mov ecx, dword [edi + 0x60]
mov edx, eax
shl ecx, 2
mov dword [ebp - 0x4c], edx
test ecx, ecx
jne 0x180d4678
mov ecx, eax
jmp 0x180d4688
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x50]
push dword [eax + ecx*4 + 4]
mov ecx, dword [ebx]
call fcn.180d351e
mov edx, eax
jmp 0x180d45ca
cmp byte [ecx + 0x14], 0
je 0x180d45c7
push dword [edi + 0x78]
lea esi, [ecx + 0x1c]
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call fcn.180ddfa5
mov edx, dword [ebp - 0x4c]
mov eax, dword [eax]
cmp eax, dword [esi]
je 0x180d4670
cmp dword [edx + 0x14], 0
jne 0x180d4670
push dword [ebp - 0x60]
lea eax, [ebp - 0x3c]
push eax
push ecx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebx + 0x44]
call fcn.180e141e
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
jmp 0x180d45ca
push ecx
mov ecx, dword [ebx + 4]
call fcn.180cdff2
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 0x180d46f0
mov eax, dword [edi + 0x68]
mov ecx, dword [eax + ecx*4]
test ecx, ecx
js 0x180d46cf
cmp ecx, dword [edi + 0x14]
jge 0x180d46cf
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 0x180d46e4
push ecx
mov ecx, esi
call fcn.180dce12
mov dword [ebp - 0x48], eax
lea ecx, [ebx + 0x44]
lea eax, [ebp - 0x48]
push eax
call fcn.180dd55b
jmp 0x180d46e1
push str.Invalid_public_dependency_index.
push 0xa
push edi
push dword [edi + 0x78]
mov ecx, ebx
call fcn.180d2830
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x3c], ecx
cmp ecx, dword [edi + 0x60]
jl 0x180d4695
lea ecx, [ebx + 0x3c]
mov dword [esi + 0x14], edx
call fcn.180dd53d
mov eax, dword [ebx]
cmp byte [eax + 0x15], 0
jne 0x180d4725
xor eax, eax
cmp dword [esi + 0x10], eax
jle 0x180d4727
mov edi, eax
push edi
mov ecx, esi
call fcn.180dce12
push eax
mov ecx, ebx
call fcn.180d2cdf
inc edi
cmp edi, dword [esi + 0x10]
jl 0x180d470c
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 0x180d473a
mov ecx, eax
jmp 0x180d474a
push ecx
mov ecx, dword [ebx + 4]
call fcn.180cdff2
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 0x180d479c
mov eax, dword [edi + 0x74]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x48], eax
test eax, eax
js 0x180d477b
cmp eax, dword [edi + 0x14]
jge 0x180d477b
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 0x180d4793
push str.Invalid_weak_dependency_index.
push 0xa
push edi
push dword [edi + 0x78]
mov ecx, ebx
call fcn.180d2830
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x44], ecx
cmp ecx, dword [edi + 0x6c]
jl 0x180d4757
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.180df8b0
xor ecx, ecx
cmp dword [edi + 0x24], ecx
jle 0x180d47f0
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.180d4ae5
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 0x180d47c4
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.180df8cd
xor ecx, ecx
cmp dword [edi + 0x34], ecx
jle 0x180d4841
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.180d6a82
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 0x180d4815
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 0x180d4853
mov eax, ecx
jmp 0x180d485e
mov ecx, dword [ebx + 4]
push eax
call fcn.180cdff2
xor ecx, ecx
mov dword [esi + 0x4c], eax
mov edx, ecx
mov dword [ebp - 0x44], edx
cmp dword [edi + 0x44], ecx
jle 0x180d4898
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.180d77c0
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 0x180d486e
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.180df8b0
xor ecx, ecx
cmp dword [edi + 0x54], ecx
jle 0x180d48eb
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.180d5acf
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 0x180d48bd
mov esi, dword [ebp - 0x40]
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
jne 0x180d48fa
mov dword [esi + 0x54], ecx
jmp 0x180d4912
mov eax, dword [edi + 0x84]
test eax, eax
jne 0x180d4909
mov eax, 0x1819c9d0
push esi
push eax
mov ecx, ebx
call fcn.180d3bd8
push edi
push esi
mov ecx, ebx
call fcn.180d7a57
mov cl, byte [ebx + 0x18]
test cl, cl
jne 0x180d4997
push ebx
lea ecx, [ebp - 0xd4]
call fcn.180da322
mov esi, dword [ebx + 0xc]
jmp 0x180d4942
push esi
lea ecx, [ebp - 0xd4]
call fcn.180da429
add esi, 0x44
cmp esi, dword [ebx + 0x10]
jne 0x180d4933
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.180de1a8
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x180d496b
push eax
lea ecx, [ebp - 0xd4]
call fcn.180db2f0
lea ecx, [ebp - 0xd4]
call fcn.180da3e4
mov cl, byte [ebx + 0x18]
mov esi, dword [ebp - 0x40]
test cl, cl
jne 0x180d4997
mov eax, dword [ebx]
cmp byte [eax + 0x15], cl
jne 0x180d4993
push edi
push esi
mov ecx, ebx
call fcn.180d8d42
mov cl, byte [ebx + 0x18]
test cl, cl
je 0x180d49d0
xor eax, eax
cmp dword [edi + 0x24], eax
jle 0x180d49d2
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.180d9ec8
mov ecx, dword [ebp - 0x44]
inc esi
add ecx, 0x58
mov dword [ebp - 0x44], ecx
cmp esi, dword [edi + 0x24]
jl 0x180d49a5
mov cl, byte [ebx + 0x18]
mov esi, dword [ebp - 0x40]
xor eax, eax
mov dl, cl
test cl, cl
jne 0x180d49f0
cmp dword [ebx + 0x48], eax
je 0x180d49f0
mov eax, dword [ebx]
cmp byte [eax + 0x15], cl
jne 0x180d49f0
push ecx
push edi
mov ecx, ebx
call fcn.180dc8a7
mov dl, byte [ebx + 0x18]
test dl, dl
jne 0x180d49f7
mov dword [ebp - 0x5c], esi
lea ecx, [ebp - 0x6c]
call fcn.180b2f98
lea ecx, [ebp - 0x7c]
call fcn.180dd397
mov eax, dword [ebp - 0x5c]
jmp 0x180d4a20
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.180d2830
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18120ca0
leave
ret 4