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

Disassembly:
sub esp, 0xbc
push ebx
push ebp
push esi
mov eax, vtable.Field_iterator_natural_join.0
mov esi, vtable.Field_iterator_table_ref.0
mov dword [esp + 0x58], eax
mov dword [esp + 0x9c], eax
mov eax, 1
mov dword [esp + 0x30], esi
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0xd0]
push edi
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x180], edi
mov edx, vtable.Field_iterator_table.0
mov ecx, vtable.Field_iterator_view.0
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], vtable.Query_arena.0
je 0x5085b0
cmp dword [esi + 0x30], edi
jne 0x5085b0
xor ebx, ebx
mov dword [esp + 0x20], ebx
jmp 0x5085b6
mov dword [esp + 0x20], esi
mov ebx, esi
mov eax, dword [esp + 0xd8]
cmp dword [eax + 0x180], edi
je 0x5085ce
cmp dword [eax + 0x30], edi
mov dword [esp + 0x24], edi
je 0x5085d2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xe0]
mov ebp, dword [esp + 0xd0]
mov dword [eax], edi
mov eax, dword [ebp + 0xa88]
cmp dword [eax + 0xc], 3
je 0x508612
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [eax + 8]
je 0x508612
lea edx, [esp + 0xbc]
push edx
push eax
mov ecx, ebp
call fcn.004033d2
mov eax, dword [ebp + 0xa88]
mov dword [esp + 0x28], eax
jmp 0x508616
mov dword [esp + 0x28], edi
push esi
lea ecx, [esp + 0x38]
call fcn.0040a56a
mov ecx, dword [esp + 0x38]
cmp ecx, dword [esp + 0x40]
jne 0x50863b
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
call dword [edx + 0xc]
test eax, eax
jne 0x508936
push ebx
lea ecx, [esp + 0x38]
xor ebp, ebp
call fcn.00402f4f
mov esi, eax
cmp esi, edi
mov dword [esp + 0x18], esi
je 0x508945
mov ecx, esi
call fcn.0040b66d
mov ebx, eax
mov eax, dword [esp + 0xdc]
cmp eax, edi
je 0x50867e
push eax
call fcn.00508460
add esp, 4
test eax, eax
mov dword [esp + 0x10], 1
jne 0x508682
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0xd8]
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x18], edi
call fcn.0040a56a
jmp 0x5086a0
mov ecx, dword [esp + 0x7c]
cmp ecx, dword [esp + 0x84]
jne 0x5086bd
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx]
call dword [edx + 0xc]
test eax, eax
jne 0x508731
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x7c]
call fcn.00402f4f
mov esi, eax
cmp esi, edi
je 0x508945
mov ecx, esi
call fcn.0040b66d
mov ecx, dword [0x9749e0]
mov edx, dword [ecx + 0x68]
push eax
push ebx
push ecx
call dword [edx + 0x1c]
add esp, 0xc
test eax, eax
jne 0x50871f
cmp dword [esi + 0xc], edi
jne 0x508917
cmp ebp, edi
je 0x508716
cmp dword [esp + 0xdc], edi
je 0x508917
cmp dword [esp + 0x10], edi
jne 0x508917
mov dword [esp + 0x14], esi
mov ebp, 1
lea ecx, [esp + 0x78]
call fcn.00406cf3
mov esi, dword [esp + 0x18]
jmp 0x5086a0
cmp dword [esp + 0x2c], edi
je 0x50874a
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x50874a
mov dword [eax + 0x3c], 1
mov dword [esp + 0x2c], edi
cmp ebp, edi
je 0x508905
cmp dword [esp + 0x14], edi
je 0x508905
cmp dword [esp + 0xdc], edi
je 0x50876f
cmp dword [esp + 0x10], edi
je 0x508905
mov eax, dword [esp + 0xd0]
push eax
mov ecx, esi
call fcn.00405aa1
mov ecx, dword [esp + 0xd0]
push ecx
mov ecx, dword [esp + 0x18]
mov ebx, eax
call fcn.00405aa1
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], esi
call fcn.00407d60
mov ecx, dword [esp + 0x14]
mov ebp, eax
call fcn.00407d60
cmp ebx, edi
mov dword [esp + 0x30], eax
je 0x508945
cmp esi, edi
je 0x508945
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 8]
push 0x24
push eax
call fcn.005d8dd0
add esp, 8
cmp eax, edi
je 0x508945
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x14], 0x405088
mov dword [eax + 0xc], esi
mov dword [eax + 8], esi
mov dword [ebx + 0x54], eax
mov esi, dword [edx + 8]
mov eax, dword [esp + 0xd0]
push ecx
call fcn.00504bb0
add esp, 4
test eax, eax
jne 0x508945
push 0xe8
call fcn.0040105a
add esp, 4
cmp eax, edi
je 0x508945
mov ecx, dword [esp + 0x10]
push ecx
push ebx
mov ecx, eax
call fcn.0040a8a8
cmp eax, edi
je 0x508945
mov ecx, dword [esp + 0xd4]
test byte [ecx + 0x148], 2
jne 0x508868
mov ecx, dword [esp + 0xd8]
push eax
push ecx
call fcn.0040b4d3
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xd8]
mov ecx, 1
add esp, 8
cmp ebp, edi
mov dword [esi + 0xc], ecx
mov dword [eax + 0xc], ecx
je 0x5088bb
mov ecx, dword [edx + 0xb30]
mov dword [ebp + 0x28], ecx
mov ecx, dword [edx + 0xb34]
mov dword [ebp + 0x2c], ecx
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x4c]
mov ecx, dword [ebp + 0x38]
mov ebx, dword [eax + 0x30]
add eax, 0x30
and ebx, ecx
mov dword [eax], ebx
mov ecx, dword [ebp + 0x3c]
and dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
cmp ecx, edi
je 0x5088f3
mov eax, dword [edx + 0xb30]
mov dword [ecx + 0x28], eax
mov edx, dword [edx + 0xb34]
mov dword [ecx + 0x2c], edx
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x4c]
mov edx, dword [ecx + 0x38]
mov esi, dword [eax + 0x30]
add eax, 0x30
and esi, edx
mov edx, dword [eax + 4]
mov dword [eax], esi
mov ecx, dword [ecx + 0x3c]
and edx, ecx
mov dword [eax + 4], edx
cmp dword [esp + 0xdc], edi
je 0x508905
mov eax, dword [esp + 0xe0]
inc dword [eax]
lea ecx, [esp + 0x34]
call fcn.00406cf3
mov ebx, dword [esp + 0x20]
jmp 0x508620
mov edx, dword [esp + 0xd0]
mov eax, dword [edx + 0x8d4]
push eax
push ebx
push edi
push 0x41c
call fcn.005db890
add esp, 0x10
jmp 0x508945
cmp ebx, edi
je 0x508941
mov dword [ebx + 0x3c], 1
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x28]
cmp eax, edi
pop edi
pop esi
pop ebp
pop ebx
je 0x508966
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xc4]
push eax
call fcn.00406d52
mov eax, dword [esp + 0xc]
add esp, 0xbc
ret