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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfc3d
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x6300f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x1c]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x100], edi
mov eax, dword [edi + 8]
cmp esi, eax
je 0x518329
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00411b75
cmp dword [esi + 0x14], 0x10
mov eax, dword [ebx + 4]
jb 0x518334
mov esi, dword [esi]
mov dword [ebp - 0xec], esi
lea esi, [eax + 0xa4]
lea eax, [ebp - 0xec]
mov ecx, esi
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00527b30
mov eax, dword [ebp - 0xf0]
cmp eax, dword [esi + 8]
je 0x518430
mov esi, dword [eax + 0xc]
mov dword [ebp - 0xec], esi
test esi, esi
je 0x518430
lea ecx, [ebp - 0xe8]
call fcn.0053cd90
lea eax, [ebp - 0xe8]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00514a90
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00500e30
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xe8]
call fcn.00500e30
push esi
push eax
call fcn.00449554
mov byte [ebp - 0x101], al
add esp, 8
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x5183da
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00411a9e
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x518405
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00411a9e
cmp byte [ebp - 0x101], 0
lea ecx, [ebp - 0xe8]
je 0x518424
call fcn.0053ced0
mov eax, dword [ebp - 0xec]
jmp 0x519240
mov dword [ebp - 4], 0xffffffff
call fcn.0053ced0
mov esi, dword [ebx + 4]
mov eax, 0x2aaaaaab
mov dword [ebp - 0xf4], 0
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x518558
mov eax, dword [esi]
mov ecx, dword [edi + 8]
mov dword [ebp - 0xfc], eax
cmp dword [ecx + 0x14], 0x10
jb 0x51846e
mov esi, dword [ecx]
jmp 0x518470
mov esi, ecx
cmp dword [eax + 0x14], 0x10
jb 0x51847a
mov edx, dword [eax]
jmp 0x51847c
mov edx, eax
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xf0], eax
mov eax, ecx
cmp dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], ecx
cmovb ecx, dword [ebp - 0xf0]
test ecx, ecx
je 0x5184fc
sub ecx, 4
jb 0x5184b7
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x5184bc
add edx, 4
add esi, 4
sub ecx, 4
jae 0x5184a6
cmp ecx, 0xfffffffc
je 0x5184f0
mov al, byte [edx]
cmp al, byte [esi]
jne 0x5184e9
cmp ecx, 0xfffffffd
je 0x5184f0
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x5184e9
cmp ecx, 0xfffffffe
je 0x5184f0
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x5184e9
cmp ecx, 0xffffffff
je 0x5184f0
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x5184f0
sbb eax, eax
or eax, 1
jmp 0x5184f2
xor eax, eax
test eax, eax
jne 0x518517
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xf0]
cmp eax, ecx
jbe 0x51850b
or eax, 0xffffffff
jmp 0x51850f
sbb eax, eax
neg eax
test eax, eax
je 0x51864a
mov eax, dword [ebx + 4]
mov esi, dword [ebp - 0xf4]
add dword [ebp - 0xfc], 0x18
inc esi
mov dword [ebp - 0xf4], esi
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [edi + 8]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
mov eax, dword [ebp - 0xfc]
jb 0x518464
mov esi, dword [ebx + 4]
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x5187ab
push dword [edi + 8]
mov ecx, esi
call fcn.00527fd0
xor eax, eax
mov dword [ebp - 0xf0], eax
cmp dword [edi + 0x14], eax
jle 0x518612
nop
mov esi, dword [ebx + 4]
lea ecx, [eax*4]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xec], ecx
mov eax, dword [ecx + eax]
cmp dword [eax + 0x14], 0x10
jb 0x51859e
mov eax, dword [eax]
mov dword [ebp - 0xfc], eax
lea ecx, [esi + 0xa4]
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.00527b30
mov eax, dword [ebp - 0xf4]
cmp eax, dword [esi + 0xac]
je 0x5185d1
cmp dword [eax + 0xc], 0
jne 0x5185fc
mov eax, dword [ebx]
mov esi, dword [ebp - 0xec]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x5185ef
mov eax, dword [edi + 0x10]
push dword [esi + eax]
call fcn.00515e80
test eax, eax
jne 0x5185fc
mov eax, dword [edi + 0x10]
mov ecx, dword [ebx]
push dword [esi + eax]
call fcn.00516c90
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp eax, dword [edi + 0x14]
jl 0x518580
mov eax, dword [ebx + 4]
mov dword [ebp - 0xec], eax
mov esi, dword [eax + 4]
sub esi, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x51878e
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
inc eax
cmp eax, 0x1000
jb 0x51877f
test cl, 0x1f
je 0x51875b
call fcn.0058ca81
push 0x21
push str.File_recursively_imports_itself:
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00411795
mov eax, dword [ebx + 4]
mov esi, dword [ebp - 0xf4]
mov dword [ebp - 4], 2
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x5186ea
lea edi, [esi + esi*2]
shl edi, 3
nop dword [eax + eax]
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x40]
push 0xffffffffffffffff
push 0
mov eax, dword [eax]
add eax, edi
push eax
call fcn.0040be94
push 4
push 0x5cdf68
lea ecx, [ebp - 0x40]
call fcn.0040bdf1
mov eax, dword [ebx + 4]
inc esi
add edi, 0x18
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x5186a0
mov edi, dword [ebp - 0x100]
push 0xffffffffffffffff
push 0
push dword [edi + 8]
lea ecx, [ebp - 0x40]
call fcn.0040be94
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
push 9
push edi
push dword [edi + 8]
call fcn.00519260
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x518754
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x51874b
test cl, 0x1f
je 0x518727
call fcn.0058ca81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x518733
call fcn.0058ca81
sub ecx, eax
cmp ecx, 4
jae 0x51873f
call fcn.0058ca81
cmp ecx, 0x23
jbe 0x518749
call fcn.0058ca81
mov ecx, eax
push ecx
call fcn.004515b1
add esp, 4
xor eax, eax
jmp 0x519240
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x518767
call fcn.0058ca81
sub ecx, eax
cmp ecx, 4
jae 0x518773
call fcn.0058ca81
cmp ecx, 0x23
jbe 0x51877d
call fcn.0058ca81
mov ecx, eax
push ecx
call fcn.004515b1
mov eax, dword [ebp - 0xec]
add esp, 4
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x5187a4
mov esi, dword [esi]
mov byte [esi], 0
add dword [eax + 4], 0xffffffe8
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x54]
sub eax, dword [ecx + 0x50]
sar eax, 2
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx + 0x60]
sub eax, dword [ecx + 0x5c]
sar eax, 2
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + 0x6c]
sub eax, dword [ecx + 0x68]
sar eax, 2
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 0x78]
sub eax, dword [ecx + 0x74]
sar eax, 2
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0xe0]
sub eax, dword [ecx + 0xdc]
sar eax, 2
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0xec]
sub eax, dword [ecx + 0xe8]
sar eax, 2
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 0xf8]
sub eax, dword [ecx + 0xf4]
add ecx, 0xd0
sar eax, 3
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00527ea0
mov esi, dword [ebx + 4]
push 0x50
call fcn.005708a6
add esp, 4
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xfc]
lea ecx, [esi + 0x74]
push eax
call fcn.005006c0
mov esi, dword [ebp - 0xfc]
mov dword [ebx + 0x34], esi
mov eax, dword [edi + 0x84]
shr eax, 0xa
test al, 1
je 0x5188d5
mov eax, dword [ebx + 4]
push 0x20
mov dword [ebp - 0xf4], eax
call fcn.005708a6
add esp, 4
mov dword [ebp - 0xf8], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x518888
mov ecx, eax
call fcn.0054cb70
jmp 0x51888a
xor eax, eax
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xf0], eax
add ecx, 0x5c
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0xec]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.005006c0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x5188c1
mov eax, dword [0x6385a4]
mov eax, dword [eax + 0x7c]
mov ecx, dword [ebp - 0xf0]
push eax
call fcn.0054cf50
mov eax, dword [ebp - 0xf0]
jmp 0x5188da
call fcn.0054cd50
mov dword [esi + 0x4c], eax
mov ecx, dword [ebx + 4]
call fcn.00517cf0
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x38], eax
mov dword [ecx + 0x48], eax
test byte [edi + 0x84], 1
jne 0x51899d
push 0x28
push str.Missing_field:_FileDescriptorProto.name.
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00411795
push 0
push 0x5cda82
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 7
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00411795
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
push 9
push edi
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.00519260
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x51896f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00411a9e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x51899d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00411a9e
push dword [edi + 8]
mov ecx, dword [ebx + 4]
call fcn.00517c40
mov dword [esi], eax
mov eax, dword [edi + 0x84]
shr eax, 1
test al, 1
je 0x5189c6
push dword [edi + 0xc]
mov ecx, dword [ebx + 4]
call fcn.00517c40
mov dword [esi + 4], eax
jmp 0x518a19
push 0
push 0x5cda83
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00411795
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 9
call fcn.00517c40
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x518a19
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00411a9e
mov eax, dword [ebx]
mov dword [esi + 8], eax
mov ecx, dword [ebx + 4]
push esi
call fcn.00517b60
test al, al
jne 0x518a8e
push 0x2d
push str.A_file_with_this_name_is_already_in_the_pool.
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], al
call fcn.00411795
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xa
push eax
push 9
push edi
push dword [edi + 8]
mov ecx, ebx
call fcn.00519260
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x518a7f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00411a9e
mov ecx, dword [ebx + 4]
call fcn.005177a0
xor eax, eax
jmp 0x519240
mov eax, dword [esi + 4]
cmp dword [eax + 0x10], 0
je 0x518aa1
push esi
push edi
push eax
mov ecx, ebx
call fcn.0051a530
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
call fcn.00525930
mov dword [ebp - 0x10c], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x14]
mov ecx, dword [ebx + 4]
shl eax, 2
mov dword [ebp - 4], 0xb
mov dword [ebp - 0xf0], ecx
test eax, eax
je 0x518b10
push eax
call fcn.005708a6
mov ecx, dword [ebp - 0xf0]
add esp, 4
mov dword [ebp - 0xec], eax
add ecx, 0x74
lea eax, [ebp - 0xec]
push eax
call fcn.005006c0
mov eax, dword [ebp - 0xec]
xor edx, edx
mov dword [esi + 0x10], eax
mov dword [ebp - 0xf4], edx
cmp dword [edi + 0x14], edx
jle 0x518d8d
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edi + 0x10]
lea ecx, [ebp - 0x10c]
push dword [ebp - 0xf8]
push dword [eax + edx*4]
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.005237f0
cmp byte [ebp - 0x110], 0
jne 0x518bdf
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0xf4]
push dword [eax + edx*4]
lea eax, [ebp - 0x40]
push 0x5ce104
push eax
call fcn.0040bf33
push str.__was_listed_twice.
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
call fcn.0040bd8d
add esp, 0x18
push eax
push 9
push edi
push dword [edi + 8]
mov ecx, ebx
mov byte [ebp - 4], 0xf
call fcn.00519260
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x518bb4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00411a9e
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0xb
cmp eax, 0x10
jb 0x518bdf
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00411a9e
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0xf4]
mov esi, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x14], 0x10
jb 0x518bf6
mov eax, dword [eax]
mov dword [ebp - 0xec], eax
lea ecx, [esi + 0xa4]
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.00527b30
mov eax, dword [ebp - 0xf8]
cmp eax, dword [esi + 0xac]
jne 0x518c2f
mov dword [ebp - 0xf0], 0
jmp 0x518c40
mov esi, dword [eax + 0xc]
mov dword [ebp - 0xf0], esi
test esi, esi
jne 0x518d65
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x518c6a
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0xf4]
push dword [eax + edx*4]
call fcn.00515e80
mov esi, eax
mov dword [ebp - 0xf0], esi
test esi, esi
jne 0x518d65
mov eax, dword [ebx]
cmp byte [eax + 0x15], 0
je 0x518c90
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0xf4]
push dword [eax + ecx*4]
mov ecx, ebx
call fcn.0051a130
mov dword [ebp - 0xf0], eax
jmp 0x518d65
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp dword [eax + 4], 0
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0xf4]
mov byte [ebp - 4], 0x13
push dword [eax + ecx*4]
lea eax, [ebp - 0x58]
jne 0x518cd1
push 0x5ce304
push eax
call fcn.0040bf33
mov byte [ebp - 4], 0x15
push str.__has_not_been_loaded.
jmp 0x518ce5
push str.Import__
push eax
call fcn.0040bf33
mov byte [ebp - 4], 0x17
push str.__was_not_found_or_had_errors.
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040bd8d
add esp, 0x18
lea ecx, [ebp - 0x40]
push eax
call fcn.00410df8
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x518d10
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00411a9e
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0x13
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmp eax, 0x10
jb 0x518d3b
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00411a9e
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
push 9
push edi
push dword [edi + 8]
call fcn.00519260
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xb
cmp eax, 0x10
jb 0x518d65
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00411a9e
mov esi, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xf0]
mov eax, dword [esi + 0x10]
mov dword [eax + edx*4], ecx
inc edx
mov dword [ebp - 0xf4], edx
cmp edx, dword [edi + 0x14]
jl 0x518b30
mov eax, dword [edi + 0x24]
mov ecx, dword [ebx + 4]
shl eax, 2
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xf8], ecx
test eax, eax
je 0x518dd4
push eax
call fcn.005708a6
mov ecx, dword [ebp - 0xf8]
add esp, 4
mov dword [ebp - 0xec], eax
add ecx, 0x74
lea eax, [ebp - 0xec]
push eax
call fcn.005006c0
mov eax, dword [ebp - 0xec]
xor ecx, ecx
mov dword [esi + 0x18], eax
mov dword [ebp - 0xf4], ecx
cmp dword [edi + 0x24], ecx
jle 0x518e5a
mov eax, dword [edi + 0x20]
mov edx, dword [eax + ecx*4]
test edx, edx
js 0x518e0d
cmp edx, dword [edi + 0x14]
jge 0x518e0d
mov edi, dword [ebp - 0xf0]
mov eax, dword [esi + 0x18]
inc dword [ebp - 0xf0]
mov dword [eax + edi*4], edx
mov edi, dword [ebp - 0x100]
jmp 0x518e4e
push str.Invalid_public_dependency_index.
lea ecx, [ebp - 0x28]
call fcn.004116f2
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x19
push eax
push 9
push edi
push dword [edi + 8]
mov ecx, ebx
call fcn.00519260
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp eax, 0x10
jb 0x518e48
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00411a9e
mov ecx, dword [ebp - 0xf4]
inc ecx
mov dword [ebp - 0xf4], ecx
cmp ecx, dword [edi + 0x24]
jl 0x518de4
mov eax, dword [ebp - 0xf0]
lea ecx, [ebx + 0x3c]
mov dword [esi + 0x14], eax
call fcn.00526980
cmp dword [esi + 0xc], 0
jle 0x518e8c
xor edi, edi
mov eax, dword [esi + 0x10]
mov ecx, ebx
push dword [eax + edi*4]
call fcn.00519660
inc edi
cmp edi, dword [esi + 0xc]
jl 0x518e73
mov edi, dword [ebp - 0x100]
mov eax, dword [edi + 0x30]
mov ecx, dword [ebx + 4]
shl eax, 2
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xf8], ecx
test eax, eax
je 0x518ed3
push eax
call fcn.005708a6
mov ecx, dword [ebp - 0xf8]
add esp, 4
mov dword [ebp - 0xec], eax
add ecx, 0x74
lea eax, [ebp - 0xec]
push eax
call fcn.005006c0
mov eax, dword [ebp - 0xec]
xor ecx, ecx
mov dword [esi + 0x20], eax
mov dword [ebp - 0xf4], ecx
cmp dword [edi + 0x30], ecx
jle 0x518f59
mov eax, dword [edi + 0x2c]
mov edx, dword [eax + ecx*4]
test edx, edx
js 0x518f0c
cmp edx, dword [edi + 0x14]
jge 0x518f0c
mov edi, dword [ebp - 0xf0]
mov eax, dword [esi + 0x20]
inc dword [ebp - 0xf0]
mov dword [eax + edi*4], edx
mov edi, dword [ebp - 0x100]
jmp 0x518f4d
push str.Invalid_weak_dependency_index.
lea ecx, [ebp - 0x28]
call fcn.004116f2
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1b
push eax
push 9
push edi
push dword [edi + 8]
mov ecx, ebx
call fcn.00519260
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp eax, 0x10
jb 0x518f47
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00411a9e
mov ecx, dword [ebp - 0xf4]
inc ecx
mov dword [ebp - 0xf4], ecx
cmp ecx, dword [edi + 0x30]
jl 0x518ee3
mov eax, dword [ebp - 0xf0]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [ebx + 4]
shl eax, 6
mov dword [ebp - 0xf8], ecx
test eax, eax
je 0x518fa5
push eax
call fcn.005708a6
mov ecx, dword [ebp - 0xf8]
add esp, 4
mov dword [ebp - 0xec], eax
add ecx, 0x74
lea eax, [ebp - 0xec]
push eax
call fcn.005006c0
mov eax, dword [ebp - 0xec]
xor ecx, ecx
mov dword [esi + 0x28], eax
mov dword [ebp - 0xec], ecx
cmp dword [edi + 0x3c], ecx
jle 0x518ff7
xor edx, edx
mov dword [ebp - 0x100], edx
nop dword [eax]
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 0x28]
add eax, edx
push eax
push 0
push ecx
mov ecx, ebx
call fcn.0051aaf0
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp - 0x100]
inc ecx
add edx, 0x40
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0x100], edx
cmp ecx, dword [edi + 0x3c]
jl 0x518fc0
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x4c]
mov ecx, dword [ebx + 4]
shl eax, 5
mov dword [ebp - 0xf8], ecx
test eax, eax
je 0x51903a
push eax
call fcn.005708a6
mov ecx, dword [ebp - 0xf8]
add esp, 4
mov dword [ebp - 0xec], eax
add ecx, 0x74
lea eax, [ebp - 0xec]
push eax
call fcn.005006c0
mov eax, dword [ebp - 0xec]
xor ecx, ecx
mov dword [esi + 0x30], eax
mov dword [ebp - 0xec], ecx
cmp dword [edi + 0x4c], ecx
jle 0x519089
xor edx, edx
mov dword [ebp - 0x100], edx
mov eax, dword [edi + 0x48]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 0x30]
add eax, edx
push eax
push 0
push ecx
mov ecx, ebx
call fcn.0051c090
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp - 0x100]
inc ecx
add edx, 0x20
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0x100], edx
cmp ecx, dword [edi + 0x4c]
jl 0x519052
mov eax, dword [edi + 0x5c]
mov ecx, ebx
mov dword [esi + 0x34], eax
lea eax, [esi + 0x38]
push eax
push dword [edi + 0x5c]
mov dword [ebp - 0xf8], eax
call fcn.00520b20
cmp dword [edi + 0x5c], 0
jle 0x5190e9
xor edx, edx
xor esi, esi
mov dword [ebp - 0xec], edx
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + esi*4]
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax]
add eax, edx
push eax
push 0
push ecx
mov ecx, ebx
call fcn.0051c680
mov edx, dword [ebp - 0xec]
inc esi
add edx, 0x18
mov dword [ebp - 0xec], edx
cmp esi, dword [edi + 0x5c]
jl 0x5190b3
mov esi, dword [ebp - 0xfc]
mov eax, dword [edi + 0x6c]
mov ecx, ebx
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x40]
push eax
push dword [edi + 0x6c]
mov dword [ebp - 0xf8], eax
call fcn.00520ad0
cmp dword [edi + 0x6c], 0
jle 0x51914b
xor edx, edx
xor esi, esi
mov dword [ebp - 0xec], edx
mov eax, dword [edi + 0x68]
push 1
mov ecx, dword [eax + esi*4]
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax]
add eax, edx
push eax
push 0
push ecx
mov ecx, ebx
call fcn.0051b550
mov edx, dword [ebp - 0xec]
inc esi
add edx, 0x48
mov dword [ebp - 0xec], edx
cmp esi, dword [edi + 0x6c]
jl 0x519113
mov esi, dword [ebp - 0xfc]
mov eax, dword [edi + 0x84]
shr eax, 9
test al, 1
jne 0x519161
mov dword [esi + 0x44], 0
jmp 0x519179
mov eax, dword [edi + 0x78]
test eax, eax
jne 0x519170
mov eax, dword [0x6385a4]
mov eax, dword [eax + 0x78]
push esi
push eax
mov ecx, ebx
call fcn.0051aa60
push edi
push esi
mov ecx, ebx
call fcn.0051c880
cmp byte [ebx + 0x18], 0
jne 0x5191f5
push ebx
lea ecx, [ebp - 0x60]
call fcn.0051d7d0
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 0x20
cmp esi, dword [ebx + 0x10]
je 0x5191b4
push esi
lea ecx, [ebp - 0x60]
call fcn.0051d890
add esi, 0x38
cmp esi, dword [ebx + 0x10]
jne 0x5191a0
lea eax, [ebx + 0xc]
push dword [ebp - 0xf8]
push eax
push dword [eax + 4]
push dword [eax]
call fcn.00521650
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x54]
add esp, 0x10
mov dword [ebx + 0x10], eax
mov byte [ebp - 4], 0xb
call fcn.005502d0
cmp byte [ebx + 0x18], 0
mov esi, dword [ebp - 0xfc]
jne 0x5191f5
push edi
push esi
mov ecx, ebx
call fcn.0051fb30
cmp byte [ebx + 0x18], 0
je 0x519201
mov ecx, dword [ebx + 4]
call fcn.005177a0
xor esi, esi
jmp 0x519209
mov ecx, dword [ebx + 4]
call fcn.00517750
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x10c]
push eax
mov dword [ebp - 4], 0x21
push dword [eax]
lea eax, [ebp - 0xf8]
push eax
call fcn.0053ab80
push 1
push dword [ebp - 0x10c]
lea ecx, [ebp - 0x10c]
call fcn.00526b70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00570864
mov esp, ebp
pop ebp
ret 4