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

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, dword [esp + 0x54]
mov eax, dword [ebx]
push ebp
push esi
mov esi, dword [ebx + 8]
mov dword [esp + 0x14], eax
xor eax, eax
push edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
cmp esi, eax
jne 0x1007782e
call fcn.1002c190
mov esi, eax
mov dword [ebx + 8], eax
mov dword [esp + 0x30], esi
test esi, esi
je 0x10077819
push 0x99
call fcn.1003a230
add esp, 4
cmp dword [ebx + 0x198], 0
jne 0x1007782e
mov ecx, dword [ebx]
test byte [ecx + 0x3c], 8
jne 0x1007782e
mov byte [ebx + 0x17], 1
cmp dword [esp + 0x7c], 0
jge 0x1007784d
movzx edx, byte [edi + 0x18]
push 0
push edx
push 0x87
call fcn.1003a180
add esp, 0xc
mov dword [esp + 0x34], eax
cmp dword [edi + 0x14], 0
mov dword [esp + 0x14], 0
jle 0x10077a23
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10077874
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x14]
movzx eax, word [eax + ecx*2]
jmp 0x10077877
or eax, 0xffffffff
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
push edx
push ecx
call fcn.10030c10
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7c]
add esp, 8
test eax, eax
je 0x100778a3
mov edx, dword [esp + 0x14]
movzx eax, word [eax + edx*4]
jmp 0x100778ab
mov eax, dword [esp + 0x70]
movzx eax, word [eax + 0x24]
mov edx, dword [esp + 0x70]
cwde
lea ecx, [eax + eax*2]
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov ecx, dword [edx + ecx*8]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x100778e3
cmp byte [ecx], 0
mov eax, ecx
je 0x100778d6
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x100778d0
sub eax, ecx
and eax, 0x3fffffff
mov dword [esp + 0x20], eax
jmp 0x100778eb
mov dword [esp + 0x20], 0
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
xor eax, eax
inc ebx
push eax
lea ebp, [ebx + 0x30]
push ebp
call fcn.10028800
mov edi, eax
add esp, 8
test edi, edi
je 0x1007795a
push ebp
push 0
push edi
call fcn.10004b00
or eax, 0xffffffff
add esp, 0xc
mov byte [edi], 0x1b
mov word [edi + 0x22], ax
test ebx, ebx
jne 0x1007792f
or dword [edi + 4], 0x400
mov dword [edi + 8], ebx
jmp 0x10077953
mov esi, dword [esp + 0x20]
lea eax, [edi + 0x30]
mov dword [edi + 8], eax
test esi, esi
je 0x1007794c
mov ecx, dword [esp + 0x28]
push esi
push ecx
push eax
call fcn.100091c0
add esp, 0xc
mov edx, dword [edi + 8]
mov byte [esi + edx], 0
mov dword [edi + 0x18], 1
mov ebp, dword [esp + 0x60]
mov esi, dword [ebp]
push 0
push 0x30
call fcn.10028800
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10077991
push 0x30
push 0
push ebx
call fcn.10004b00
add esp, 0xc
or eax, 0xffffffff
mov byte [ebx], 0x4f
mov word [ebx + 0x22], ax
mov dword [ebx + 0x18], 1
mov esi, dword [ebp]
test ebx, ebx
jne 0x100779af
mov ecx, dword [esp + 0x24]
push ecx
push esi
call fcn.100316b0
push edi
push esi
call fcn.100316b0
add esp, 0x10
jmp 0x100779f8
test edi, edi
je 0x100779c2
mov dword [ebx + 0x10], edi
mov edx, dword [edi + 4]
and edx, 0x100
or dword [ebx + 4], edx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100779d8
mov dword [ebx + 0xc], eax
mov eax, dword [eax + 4]
and eax, 0x100
or dword [ebx + 4], eax
call fcn.10024cb0
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x64]
cmp dword [ebx + 0x18], eax
jle 0x100779f8
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
mov edi, ebp
call fcn.100320c0
add esp, 8
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x20]
call fcn.10036930
mov edx, dword [esp + 0x74]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
inc eax
add esp, 4
cmp eax, dword [edx + 0x14]
mov dword [esp + 0x14], eax
jl 0x1007785f
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
cmp eax, dword [ecx]
jne 0x10077d60
xor ebx, ebx
cmp dword [esp + 0x7c], ebx
jle 0x10077d60
test byte [eax + 0x2c], 0x20
jne 0x10077b46
mov edi, dword [esp + 0x60]
mov eax, dword [edi]
push ebx
lea edx, [esp + 0x2c]
push edx
push 0x9f
push eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.1002b750
add esp, 0x10
mov dword [esp + 0x60], eax
cmp eax, ebx
je 0x10077a7e
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x1c], ecx
mov byte [eax + 1], 0x44
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
mov esi, dword [edx + 0x38]
push ebx
lea eax, [esp + 0x2c]
push eax
push 0x9a
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.1002b750
mov ebp, eax
add esp, 0x10
cmp ebp, ebx
je 0x10077abc
mov edx, dword [esp + 0x68]
or eax, 0xffffffff
mov dword [ebp + 0x2c], edx
mov dword [ebp + 0x1c], esi
mov word [ebp + 0x20], ax
mov esi, dword [edi]
push 0
push 0x30
call fcn.10028800
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10077aee
push 0x30
push 0
push ebx
call fcn.10004b00
add esp, 0xc
or ecx, 0xffffffff
mov byte [ebx], 0x4e
mov word [ebx + 0x22], cx
mov dword [ebx + 0x18], 1
mov esi, dword [edi]
test ebx, ebx
jne 0x10077b0e
mov edx, dword [esp + 0x60]
push edx
push esi
call fcn.100316b0
push ebp
push esi
call fcn.100316b0
add esp, 0x10
jmp 0x10077d4b
test ebp, ebp
je 0x10077b20
mov dword [ebx + 0x10], ebp
mov eax, dword [ebp + 4]
and eax, 0x100
or dword [ebx + 4], eax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10077b37
mov dword [ebx + 0xc], eax
mov ecx, dword [eax + 4]
and ecx, 0x100
or dword [ebx + 4], ecx
call fcn.10024cb0
mov edx, dword [edi]
mov eax, dword [edx + 0x64]
jmp 0x10077d38
mov eax, dword [eax + 8]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x10077b6b
mov ecx, dword [eax + 0x34]
and cl, 3
cmp cl, 2
je 0x10077b67
mov eax, dword [eax + 0x14]
cmp eax, ebx
jne 0x10077b55
mov dword [esp + 0x24], eax
xor edx, edx
mov dword [esp + 0x14], ebx
cmp dx, word [eax + 0x2e]
jae 0x10077cc4
jmp 0x10077b80
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x14]
movzx edi, word [ecx + edx*2]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
push eax
push ecx
mov eax, edi
call fcn.10030c10
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x20]
mov ebp, dword [edx + 0x38]
push 0
push 0x31
mov dword [esp + 0x38], eax
call fcn.10028800
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x10077bfa
push 0x31
push 0
push ebx
call fcn.10004b00
mov ecx, dword [esp + 0x74]
add esp, 0xc
or eax, 0xffffffff
mov word [ebx + 0x22], ax
lea eax, [ebx + 0x30]
mov byte [ebx], 0x9a
mov dword [ebx + 8], eax
mov byte [eax], 0
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x1c], ebp
mov word [ebx + 0x20], di
mov edi, dword [esp + 0x60]
mov esi, dword [edi]
push 0
push 0x30
call fcn.10028800
mov esi, eax
add esp, 8
test esi, esi
je 0x10077c30
push 0x30
push 0
push esi
call fcn.10004b00
add esp, 0xc
or edx, 0xffffffff
mov byte [esi], 0x4f
mov word [esi + 0x22], dx
mov dword [esi + 0x18], 1
mov ebp, dword [edi]
test esi, esi
jne 0x10077c4d
mov eax, dword [esp + 0x28]
push eax
push ebp
call fcn.100316b0
push ebx
push ebp
call fcn.100316b0
add esp, 0x10
jmp 0x10077c96
test ebx, ebx
je 0x10077c60
mov dword [esi + 0x10], ebx
mov ecx, dword [ebx + 4]
and ecx, 0x100
or dword [esi + 4], ecx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10077c77
mov dword [esi + 0xc], eax
mov edx, dword [eax + 4]
and edx, 0x100
or dword [esi + 4], edx
mov ebx, esi
call fcn.10024cb0
mov eax, dword [edi]
mov eax, dword [eax + 0x64]
cmp dword [esi + 0x18], eax
jle 0x10077c96
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.100320c0
add esp, 8
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push esi
call fcn.10036930
mov ecx, dword [esp + 0x28]
movzx edx, word [ecx + 0x2e]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
inc eax
add esp, 4
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x10077b80
mov edi, dword [esp + 0x60]
mov esi, dword [edi]
push 0
push 0x30
call fcn.10028800
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10077cfa
push 0x30
push 0
push ebx
call fcn.10004b00
add esp, 0xc
or eax, 0xffffffff
mov byte [ebx], 0x13
mov word [ebx + 0x22], ax
mov dword [ebx + 0x18], 1
mov esi, dword [edi]
test ebx, ebx
jne 0x10077d17
mov ecx, dword [esp + 0x20]
push ecx
push esi
call fcn.100316b0
push ebx
push esi
call fcn.100316b0
add esp, 0x10
jmp 0x10077d4b
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10077d2e
mov dword [ebx + 0xc], eax
mov edx, dword [eax + 4]
and edx, 0x100
or dword [ebx + 4], edx
call fcn.10024cb0
mov eax, dword [edi]
mov eax, dword [eax + 0x64]
cmp dword [ebx + 0x18], eax
jle 0x10077d4b
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.100320c0
add esp, 8
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x20]
call fcn.10036930
add esp, 4
mov ebp, eax
jmp 0x10077d68
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov ebx, ebp
lea esi, [esp + 0x38]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edi
call fcn.10048610
mov edx, dword [esp + 0x64]
push 0
push 0
push 0
push 0
push ebp
push edx
push edi
call fcn.10074990
mov esi, dword [esp + 0x4c]
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x8c]
movzx ebx, byte [eax + 0x18]
add esp, 0x1c
cmp dword [ecx + 0x54], edi
jg 0x10077de3
push esi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10077e0b
mov eax, dword [esi + 4]
inc dword [esi + 0x20]
mov ecx, dword [esp + 0x7c]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x86
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10077e1c
push eax
call fcn.1003b2a0
add esp, 4
mov edx, dword [esp + 0x18]
push ebp
push edx
call fcn.100316b0
mov eax, dword [esp + 0x3c]
add esp, 8
test eax, eax
je 0x10077e4d
mov ecx, dword [esi + 0x20]
cmp ecx, eax
jbe 0x10077e43
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
dec eax
mov dword [ecx + 0x58], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret