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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x1060f098]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x28], 0
push edi
mov edi, edx
or edx, 0xffffffff
mov dword [esp + 0x18], edi
mov ebx, dword [esi + 8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x10077910
cmp dword [esi + 0x78], ebx
jne 0x100778fa
mov eax, dword [esi]
test byte [eax + 0x44], 8
jne 0x100778fa
mov byte [esi + 0x17], 1
call fcn.1005f830
mov ebx, eax
or edx, 0xffffffff
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x10077bff
inc dword [esi + 0x3c]
test byte [edi + 4], 0x20
jne 0x1007792b
mov edx, 0x14
mov ecx, ebx
call fcn.1005fbb0
mov edx, eax
mov dword [esp + 0x20], eax
cmp byte [esi + 0x18f], 2
jne 0x10077986
push dword [esi + 0x1a0]
cmp byte [edi], 0x31
mov eax, str.SCALAR
mov ecx, str.LIST
cmovne ecx, eax
test edx, edx
push ecx
mov ecx, str.CORRELATED
mov eax, 0x105f9b3c
cmovs eax, ecx
push eax
push str.EXECUTE__s_s_SUBQUERY__d
push dword [esi]
call fcn.10043410
add esp, 0x14
mov edx, 0xaa
mov ecx, ebx
push 0xfffffffffffffff9
push eax
push 0
push 0
push dword [esi + 0x19c]
call fcn.1005ff40
add esp, 0x14
mov cl, byte [edi]
cmp cl, 0x31
je 0x10077afd
mov eax, dword [edi + 0x14]
mov dword [esp + 0x14], eax
cmp cl, 0x77
jne 0x100779a3
mov eax, dword [eax]
mov edx, dword [eax]
jmp 0x100779a8
mov edx, 1
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea ecx, [eax + 1]
add eax, edx
mov dword [esi + 0x2c], eax
cmp byte [edi], 0x77
mov dword [esp + 0x34], ecx
jne 0x100779fb
lea eax, [ecx - 1]
mov dword [esp + 0x38], ecx
add eax, edx
mov dword [esp + 0x3c], edx
push eax
push ecx
push 0
mov edx, 0x46
mov byte [esp + 0x3c], 0xa
mov ecx, ebx
call fcn.1005fb40
add esp, 0xc
jmp 0x10077a12
push ecx
push 0
mov edx, 0x43
mov byte [esp + 0x38], 3
mov ecx, ebx
call fcn.1005fc90
add esp, 8
mov ecx, dword [esi]
mov edx, 0x86
push 0
push 0x105f88dc
call fcn.10074f20
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov edx, dword [eax + 0x38]
test edx, edx
je 0x10077a57
mov edx, dword [edx + 0xc]
test edx, edx
je 0x10077a4b
mov ecx, dword [esi]
call fcn.100755f0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x38]
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0x14]
jmp 0x10077ad0
mov ecx, dword [esi]
push 0
push 0x30
call fcn.10041390
mov edi, eax
add esp, 8
test edi, edi
je 0x10077aba
push 0x30
push 0
push edi
call fcn.100eb400
or eax, 0xffffffff
mov byte [edi], 0x81
mov word [edi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10077a98
mov dword [edi + 0xc], eax
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [edi + 4], eax
mov ecx, edi
call fcn.10074e10
mov eax, dword [esi]
mov eax, dword [eax + 0x70]
cmp dword [edi + 0x18], eax
jle 0x10077ac9
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.10044360
add esp, 0xc
jmp 0x10077ac9
mov edx, dword [esp + 0x10]
test edx, edx
je 0x10077ac9
mov ecx, dword [esi]
call fcn.100755f0
mov eax, dword [esp + 0x14]
mov dword [eax + 0x38], edi
lea ecx, [esp + 0x30]
mov dword [eax + 0xc], 0
push ecx
mov edx, eax
mov ecx, esi
call fcn.1009e7b0
add esp, 4
test eax, eax
jne 0x10077bff
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
jmp 0x10077eec
mov edi, dword [edi + 0xc]
mov al, byte [edi]
cmp al, 0x98
jne 0x10077b09
mov al, byte [edi + 0x26]
cmp al, 0x99
jne 0x10077b14
mov eax, dword [edi + 0x14]
mov ecx, dword [eax]
jmp 0x10077b26
cmp al, 0x77
jne 0x10077b21
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x10077b26
mov ecx, 1
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x28]
mov dword [esp + 0x10], ecx
mov dword [edx + 0x1c], eax
mov eax, ecx
inc dword [esi + 0x28]
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
cmovne eax, ecx
push eax
push dword [edx + 0x1c]
lea edx, [ecx + 0x6e]
mov ecx, ebx
call fcn.1005fc90
add esp, 8
mov dword [esp + 0x48], eax
cmp dword [ebp + 0xc], 0
je 0x10077b66
mov dword [esp + 0x14], 0
jmp 0x10077b7a
mov edx, dword [esp + 0x10]
mov ecx, dword [esi]
push 1
call fcn.10098680
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
test dword [ecx + 4], 0x800
mov eax, dword [ecx + 0x14]
je 0x10077ce2
mov edx, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], edx
cmp dword [edx], eax
jne 0x10077e95
mov eax, dword [ecx + 0x1c]
mov edx, ecx
mov ecx, esi
mov byte [esp + 0x30], 0xb
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.10077720
mov edx, dword [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x40], eax
lea eax, [esp + 0x30]
push eax
mov dword [edx + 0xc], 0
call fcn.1009e7b0
mov edx, dword [esp + 0x44]
add esp, 4
mov ecx, dword [esi]
test eax, eax
je 0x10077c13
call fcn.100410f0
mov ecx, dword [esp + 0x14]
call fcn.10098730
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.100d22d5
mov esp, ebp
pop ebp
ret
call fcn.100410f0
cmp dword [esp + 0x10], 0
jle 0x10077e95
mov eax, dword [esp + 0x14]
xor ecx, ecx
add eax, 0x14
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
add eax, 4
mov dword [esp + 0x50], eax
nop
mov al, byte [edi]
mov byte [esp + 0x4f], al
cmp al, 0x98
jne 0x10077c4d
mov al, byte [edi + 0x26]
cmp al, 0x99
jne 0x10077c5a
mov edx, dword [edi + 0x14]
mov eax, dword [edx]
mov ebx, eax
jmp 0x10077c65
cmp al, 0x77
jne 0x10077c83
mov edx, dword [edi + 0x14]
mov eax, dword [edx]
mov ebx, dword [eax]
cmp ebx, 1
jle 0x10077c83
cmp byte [esp + 0x4f], 0x77
je 0x10077c7d
cmp byte [edi + 0x26], 0x77
je 0x10077c7d
mov edx, dword [edx + ecx + 4]
jmp 0x10077c85
mov edx, dword [eax + ecx + 4]
jmp 0x10077c85
mov edx, edi
test dword [edx + 4], 0x100
mov eax, dword [esp + 0x50]
mov ebx, dword [eax + ecx]
jne 0x10077caf
test ebx, ebx
je 0x10077ca2
test dword [ebx + 4], 0x100
jne 0x10077cad
mov ecx, esi
call fcn.10074550
test eax, eax
jne 0x10077cb6
mov edx, ebx
mov ecx, esi
call fcn.10074550
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add ecx, 0x18
mov dword [esp + 0x1c], ecx
mov dword [edx], eax
add edx, 4
sub dword [esp + 0x10], 1
mov dword [esp + 0x24], edx
jne 0x10077c40
mov ebx, dword [esp + 0x28]
jmp 0x10077e95
mov dword [esp + 0x50], eax
test eax, eax
je 0x10077e95
mov ecx, edi
call fcn.100743c0
mov edi, dword [esp + 0x14]
test al, al
movzx ecx, al
mov edx, 0x41
cmove ecx, edx
mov byte [esp + 0x4f], cl
test edi, edi
je 0x10077d1f
mov edx, dword [esp + 0x18]
mov ecx, esi
mov edx, dword [edx + 0xc]
call fcn.10074550
mov dword [edi + 0x14], eax
mov ecx, esi
call fcn.1007c100
mov dword [esp + 0x24], eax
call fcn.1007c100
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x10], eax
je 0x10077d54
push 0xffffffffffffffff
push 0x105f9b3c
push 0
push eax
push 0
mov edx, 0x48
mov ecx, ebx
call fcn.1005ff40
add esp, 0x14
mov eax, dword [esp + 0x50]
lea ecx, [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
test eax, eax
jle 0x10077e7f
nop dword [eax]
cmp dword [esp + 0x20], 0
mov edi, dword [ecx]
jl 0x10077d97
mov ecx, edi
call fcn.10076820
test eax, eax
jne 0x10077d97
mov edx, dword [esp + 0x20]
mov ecx, ebx
call fcn.100607e0
mov dword [esp + 0x20], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x10077dcf
lea edx, [esp + 0x50]
mov ecx, edi
call fcn.100769f0
test eax, eax
je 0x10077dcf
push dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov edx, 0x77
push dword [esp + 0x14]
mov ecx, ebx
push dword [eax + 0x1c]
call fcn.1005fb40
add esp, 0xc
jmp 0x10077e63
push dword [esp + 0x24]
mov edx, edi
mov ecx, esi
call fcn.100797f0
add esp, 4
mov edi, eax
cmp dword [ebp + 0xc], 0
je 0x10077e1b
mov ecx, dword [ebx + 0x88]
mov edx, 0x11
add ecx, 2
push ecx
push edi
mov ecx, ebx
call fcn.1005fc90
mov eax, dword [esp + 0x20]
mov edx, 0x76
push edi
push dword [esp + 0x1c]
mov ecx, ebx
push dword [eax + 0x1c]
call fcn.1005fb40
add esp, 0x14
jmp 0x10077e63
push 1
lea eax, [esp + 0x53]
mov edx, 0x65
push eax
push dword [esp + 0x18]
mov ecx, ebx
push 1
push edi
call fcn.1005ff40
add esp, 0x14
mov edx, edi
mov ecx, esi
push 1
call fcn.100792c0
mov eax, dword [esp + 0x1c]
add esp, 4
mov edx, 0x81
mov ecx, ebx
push 1
push edi
push dword [esp + 0x18]
push dword [eax + 0x1c]
call fcn.10060040
add esp, 0x10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
dec eax
add ecx, 0x18
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
test eax, eax
jg 0x10077d70
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.1007c120
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.1007c120
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10077eec
mov ecx, dword [ebx]
cmp byte [ecx + 0x49], 0
je 0x10077eb5
push edx
mov edx, 0xfffffff7
call fcn.100606a0
add esp, 4
jmp 0x10077eec
mov eax, dword [esp + 0x48]
test eax, eax
jns 0x10077ec4
mov eax, dword [ebx + 0x88]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x10077ee5
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, ebx
call fcn.10060830
add esp, 8
jmp 0x10077eec
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [ebp + 8]
test eax, eax
je 0x10077f05
push eax
mov eax, dword [esp + 0x1c]
mov ecx, ebx
mov edx, dword [eax + 0x1c]
call fcn.10076cb0
add esp, 4
mov ecx, dword [esp + 0x20]
test ecx, ecx
js 0x10077f2e
mov eax, dword [ebx]
mov edi, dword [ebx + 0x88]
cmp byte [eax + 0x49], 0
je 0x10077f22
mov eax, 0x106159c4
jmp 0x10077f2b
lea edx, [ecx + ecx*4]
mov ecx, dword [ebx + 0x58]
lea eax, [ecx + edx*4]
mov dword [eax + 8], edi
mov ecx, esi
call fcn.10079340
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d22d5
mov esp, ebp
pop ebp
ret