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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfc0d
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 0x518119
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00411b75
cmp dword [esi + 0x14], 0x10
mov eax, dword [ebx + 4]
jb 0x518124
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.00527a00
mov eax, dword [ebp - 0xf0]
cmp eax, dword [esi + 8]
je 0x518220
mov esi, dword [eax + 0xc]
mov dword [ebp - 0xec], esi
test esi, esi
je 0x518220
lea ecx, [ebp - 0xe8]
call fcn.0053cbc0
lea eax, [ebp - 0xe8]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00514880
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 0x5181ca
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 0x5181f5
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 0x518214
call fcn.0053cd00
mov eax, dword [ebp - 0xec]
jmp 0x519030
mov dword [ebp - 4], 0xffffffff
call fcn.0053cd00
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 0x518348
mov eax, dword [esi]
mov ecx, dword [edi + 8]
mov dword [ebp - 0xfc], eax
cmp dword [ecx + 0x14], 0x10
jb 0x51825e
mov esi, dword [ecx]
jmp 0x518260
mov esi, ecx
cmp dword [eax + 0x14], 0x10
jb 0x51826a
mov edx, dword [eax]
jmp 0x51826c
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 0x5182ec
sub ecx, 4
jb 0x5182a7
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x5182ac
add edx, 4
add esi, 4
sub ecx, 4
jae 0x518296
cmp ecx, 0xfffffffc
je 0x5182e0
mov al, byte [edx]
cmp al, byte [esi]
jne 0x5182d9
cmp ecx, 0xfffffffd
je 0x5182e0
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x5182d9
cmp ecx, 0xfffffffe
je 0x5182e0
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x5182d9
cmp ecx, 0xffffffff
je 0x5182e0
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x5182e0
sbb eax, eax
or eax, 1
jmp 0x5182e2
xor eax, eax
test eax, eax
jne 0x518307
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xf0]
cmp eax, ecx
jbe 0x5182fb
or eax, 0xffffffff
jmp 0x5182ff
sbb eax, eax
neg eax
test eax, eax
je 0x51843a
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 0x518254
mov esi, dword [ebx + 4]
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x51859b
push dword [edi + 8]
mov ecx, esi
call fcn.00527ea0
xor eax, eax
mov dword [ebp - 0xf0], eax
cmp dword [edi + 0x14], eax
jle 0x518402
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 0x51838e
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.00527a00
mov eax, dword [ebp - 0xf4]
cmp eax, dword [esi + 0xac]
je 0x5183c1
cmp dword [eax + 0xc], 0
jne 0x5183ec
mov eax, dword [ebx]
mov esi, dword [ebp - 0xec]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x5183df
mov eax, dword [edi + 0x10]
push dword [esi + eax]
call fcn.00515c70
test eax, eax
jne 0x5183ec
mov eax, dword [edi + 0x10]
mov ecx, dword [ebx]
push dword [esi + eax]
call fcn.00516a80
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp eax, dword [edi + 0x14]
jl 0x518370
mov eax, dword [ebx + 4]
mov dword [ebp - 0xec], eax
mov esi, dword [eax + 4]
sub esi, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x51857e
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
inc eax
cmp eax, 0x1000
jb 0x51856f
test cl, 0x1f
je 0x51854b
call fcn.0058ca51
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 0x5184da
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 0x518490
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.00519050
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x518544
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x51853b
test cl, 0x1f
je 0x518517
call fcn.0058ca51
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x518523
call fcn.0058ca51
sub ecx, eax
cmp ecx, 4
jae 0x51852f
call fcn.0058ca51
cmp ecx, 0x23
jbe 0x518539
call fcn.0058ca51
mov ecx, eax
push ecx
call fcn.004515b1
add esp, 4
xor eax, eax
jmp 0x519030
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x518557
call fcn.0058ca51
sub ecx, eax
cmp ecx, 4
jae 0x518563
call fcn.0058ca51
cmp ecx, 0x23
jbe 0x51856d
call fcn.0058ca51
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 0x518594
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.00527d70
mov esi, dword [ebx + 4]
push 0x50
call fcn.005708b1
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 0x5186c5
mov eax, dword [ebx + 4]
push 0x20
mov dword [ebp - 0xf4], eax
call fcn.005708b1
add esp, 4
mov dword [ebp - 0xf8], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x518678
mov ecx, eax
call fcn.0054c9a0
jmp 0x51867a
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 0x5186b1
mov eax, dword [0x6385a4]
mov eax, dword [eax + 0x7c]
mov ecx, dword [ebp - 0xf0]
push eax
call fcn.0054cd80
mov eax, dword [ebp - 0xf0]
jmp 0x5186ca
call fcn.0054cb80
mov dword [esi + 0x4c], eax
mov ecx, dword [ebx + 4]
call fcn.00517ae0
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x38], eax
mov dword [ecx + 0x48], eax
test byte [edi + 0x84], 1
jne 0x51878d
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.00519050
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x51875f
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 0x51878d
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.00517a30
mov dword [esi], eax
mov eax, dword [edi + 0x84]
shr eax, 1
test al, 1
je 0x5187b6
push dword [edi + 0xc]
mov ecx, dword [ebx + 4]
call fcn.00517a30
mov dword [esi + 4], eax
jmp 0x518809
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.00517a30
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x518809
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.00517950
test al, al
jne 0x51887e
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.00519050
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x51886f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00411a9e
mov ecx, dword [ebx + 4]
call fcn.00517590
xor eax, eax
jmp 0x519030
mov eax, dword [esi + 4]
cmp dword [eax + 0x10], 0
je 0x518891
push esi
push edi
push eax
mov ecx, ebx
call fcn.0051a320
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
call fcn.00525840
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 0x518900
push eax
call fcn.005708b1
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 0x518b7d
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.005236b0
cmp byte [ebp - 0x110], 0
jne 0x5189cf
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.00519050
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x5189a4
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 0x5189cf
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 0x5189e6
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.00527a00
mov eax, dword [ebp - 0xf8]
cmp eax, dword [esi + 0xac]
jne 0x518a1f
mov dword [ebp - 0xf0], 0
jmp 0x518a30
mov esi, dword [eax + 0xc]
mov dword [ebp - 0xf0], esi
test esi, esi
jne 0x518b55
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x518a5a
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0xf4]
push dword [eax + edx*4]
call fcn.00515c70
mov esi, eax
mov dword [ebp - 0xf0], esi
test esi, esi
jne 0x518b55
mov eax, dword [ebx]
cmp byte [eax + 0x15], 0
je 0x518a80
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0xf4]
push dword [eax + ecx*4]
mov ecx, ebx
call fcn.00519f20
mov dword [ebp - 0xf0], eax
jmp 0x518b55
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 0x518ac1
push 0x5ce304
push eax
call fcn.0040bf33
mov byte [ebp - 4], 0x15
push str.__has_not_been_loaded.
jmp 0x518ad5
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 0x518b00
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 0x518b2b
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.00519050
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xb
cmp eax, 0x10
jb 0x518b55
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 0x518920
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 0x518bc4
push eax
call fcn.005708b1
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 0x518c4a
mov eax, dword [edi + 0x20]
mov edx, dword [eax + ecx*4]
test edx, edx
js 0x518bfd
cmp edx, dword [edi + 0x14]
jge 0x518bfd
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 0x518c3e
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.00519050
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp eax, 0x10
jb 0x518c38
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 0x518bd4
mov eax, dword [ebp - 0xf0]
lea ecx, [ebx + 0x3c]
mov dword [esi + 0x14], eax
call fcn.00526850
cmp dword [esi + 0xc], 0
jle 0x518c7c
xor edi, edi
mov eax, dword [esi + 0x10]
mov ecx, ebx
push dword [eax + edi*4]
call fcn.00519450
inc edi
cmp edi, dword [esi + 0xc]
jl 0x518c63
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 0x518cc3
push eax
call fcn.005708b1
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 0x518d49
mov eax, dword [edi + 0x2c]
mov edx, dword [eax + ecx*4]
test edx, edx
js 0x518cfc
cmp edx, dword [edi + 0x14]
jge 0x518cfc
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 0x518d3d
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.00519050
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp eax, 0x10
jb 0x518d37
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 0x518cd3
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 0x518d95
push eax
call fcn.005708b1
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 0x518de7
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.0051a8e0
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 0x518db0
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 0x518e2a
push eax
call fcn.005708b1
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 0x518e79
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.0051be80
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 0x518e42
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.00520910
cmp dword [edi + 0x5c], 0
jle 0x518ed9
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.0051c470
mov edx, dword [ebp - 0xec]
inc esi
add edx, 0x18
mov dword [ebp - 0xec], edx
cmp esi, dword [edi + 0x5c]
jl 0x518ea3
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.005208c0
cmp dword [edi + 0x6c], 0
jle 0x518f3b
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.0051b340
mov edx, dword [ebp - 0xec]
inc esi
add edx, 0x48
mov dword [ebp - 0xec], edx
cmp esi, dword [edi + 0x6c]
jl 0x518f03
mov esi, dword [ebp - 0xfc]
mov eax, dword [edi + 0x84]
shr eax, 9
test al, 1
jne 0x518f51
mov dword [esi + 0x44], 0
jmp 0x518f69
mov eax, dword [edi + 0x78]
test eax, eax
jne 0x518f60
mov eax, dword [0x6385a4]
mov eax, dword [eax + 0x78]
push esi
push eax
mov ecx, ebx
call fcn.0051a850
push edi
push esi
mov ecx, ebx
call fcn.0051c670
cmp byte [ebx + 0x18], 0
jne 0x518fe5
push ebx
lea ecx, [ebp - 0x60]
call fcn.0051d5c0
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 0x20
cmp esi, dword [ebx + 0x10]
je 0x518fa4
push esi
lea ecx, [ebp - 0x60]
call fcn.0051d680
add esi, 0x38
cmp esi, dword [ebx + 0x10]
jne 0x518f90
lea eax, [ebx + 0xc]
push dword [ebp - 0xf8]
push eax
push dword [eax + 4]
push dword [eax]
call fcn.00521490
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x54]
add esp, 0x10
mov dword [ebx + 0x10], eax
mov byte [ebp - 4], 0xb
call fcn.00550100
cmp byte [ebx + 0x18], 0
mov esi, dword [ebp - 0xfc]
jne 0x518fe5
push edi
push esi
mov ecx, ebx
call fcn.0051f920
cmp byte [ebx + 0x18], 0
je 0x518ff1
mov ecx, dword [ebx + 4]
call fcn.00517590
xor esi, esi
jmp 0x518ff9
mov ecx, dword [ebx + 4]
call fcn.00517540
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.0053a9b0
push 1
push dword [ebp - 0x10c]
lea ecx, [ebp - 0x10c]
call fcn.00526a40
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.0057086f
mov esp, ebp
pop ebp
ret 4